Skip to content

Commit ee79e99

Browse files
EeemsLinusCDEJayy001
authored
Call update-desktop-database to refresh Oxide's application cache on install (#700)
* Update oxide to v2.6 * Style fixes * Add missing pkgnames * Update image paths * Fix liboxide path * Don't check to see if tarnish is active update-desktop-database safely handles tarnish not running. * update-desktop-database for all applicaitons * Update build image for plato * Re-trigger CI Most likely a one-off error: Timeout when connecting to github * Update to latest image for zoneinfo-utils * Add libc6 build dependency to zoneinfo-utils * Revert all changes to zoneinfo-utils * Update all packages to use install-lib method * Fix formatting * Also run oxide hook for draft apps * Remove manual reload-oxide-apps calls * Bump all other packages that have draft/oxide files * Format fixes * Add back missing documentation change * Don't update whiteboard-hypercard This package is failing to build * Revert folly version * Bump whiteboard-hypercard now that the build is fixed * Bump xochitl version number * Use github for KOReader release --------- Co-authored-by: Linus <linus@cosmos-ink.net> Co-authored-by: Jayy001 <56607897+Jayy001@users.noreply.github.com>
1 parent 5fc766d commit ee79e99

File tree

27 files changed

+51
-60
lines changed

27 files changed

+51
-60
lines changed

docs/package.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,3 +440,12 @@ When upgrading a package from version A to B, the following happens:
440440
* `postupgrade B`, if it exists, is called from version A
441441
* New package files are unpacked and installed
442442
* `configure`, if it exists, is called from version B
443+
444+
445+
### reload-oxide-apps hook
446+
447+
If a package contains one or more files in `/opt/etc/draft` or `/opt/usr/share/applications` the `reload-oxide-apps` method in `install-lib` will be appended to the following:
448+
449+
* `configure`
450+
* `postupgrade`
451+
* `postremove`

package/calculator/package

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
pkgnames=(calculator)
66
pkgdesc="Touch-based calculator"
77
url=https://github.com/reHackable/Calculator
8-
pkgver=0.0.0-15
8+
pkgver=0.0.0-16
99
timestamp=2020-08-20T12:28Z
1010
section="math"
1111
maintainer="Mattéo Delabre <spam@delab.re>"

package/chessmarkable/package

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
pkgnames=(chessmarkable)
66
pkgdesc="Chess game"
77
url=https://github.com/LinusCDE/chessmarkable
8-
pkgver=0.8.0-1
8+
pkgver=0.8.0-2
99
timestamp=2021-07-22T12:04Z
1010
section="games"
1111
maintainer="Linus K. <linus@cosmos-ink.net>"

package/doomarkable/package

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
pkgnames=(doomarkable)
66
pkgdesc="DOOM game"
77
url=https://github.com/LinusCDE/doomarkable
8-
pkgver=0.4.1-1
8+
pkgver=0.4.1-2
99
timestamp=2021-10-31T16:15Z
1010
section="games"
1111
maintainer="Linus K. <linus@cosmos-ink.net>"

package/fingerterm/package

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
pkgnames=(fingerterm)
66
pkgdesc="Terminal emulator with an on-screen touch keyboard"
77
url=https://github.com/dixonary/fingerterm-reMarkable
8-
pkgver=1.3.5-14
8+
pkgver=1.3.5-15
99
timestamp=2020-10-27T12:02Z
1010
section="admin"
1111
maintainer="Mattéo Delabre <spam@delab.re>"

package/keywriter/package

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
pkgnames=(keywriter)
66
pkgdesc="Markdown-enabled free writing app"
77
url=https://github.com/dps/remarkable-keywriter
8-
pkgver=0.2~20-gddc9e73-1
8+
pkgver=0.2~20-gddc9e73-2
99
timestamp=2022-02-09T07:05:03Z
1010
section="writing"
1111
maintainer="Mattéo Delabre <spam@delab.re>"

package/koreader/package

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
pkgnames=(koreader)
66
pkgdesc="Ebook reader supporting PDF, DjVu, EPUB, FB2 and many more formats"
77
url=https://github.com/koreader/koreader
8-
pkgver=2023.08-1
8+
pkgver=2023.08-2
99
timestamp=2023-08-29T16:21:01Z
1010
section="readers"
1111
maintainer="raisjn <of.raisjn@gmail.com>"
@@ -14,7 +14,7 @@ installdepends=(fbink fbdepth display rm2fb-client)
1414

1515
_srcver="v${pkgver%-*}"
1616
source=(
17-
"https://build.koreader.rocks/download/stable/$_srcver/koreader-remarkable-$_srcver.zip"
17+
"https://github.com/koreader/koreader/releases/download/$_srcver/koreader-remarkable-$_srcver.zip"
1818
koreader.draft
1919
KOReader.oxide
2020
koreader-toltec.service

package/netsurf/package

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
pkgnames=(netsurf)
66
pkgdesc="Lightweight web browser"
77
url=https://github.com/alex0809/netsurf-reMarkable
8-
pkgver=0.4.0-2
8+
pkgver=0.4.0-3
99
timestamp=2021-05-31T11:15+00:00
1010
maintainer="Alex Friesenhahn <rm-dev@alexfriesenhahn.de>"
1111
archs=(rmall)

package/oxide/package

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ fret() {
4949
install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/release/opt/bin/fret
5050
install -D -m 644 -t "$pkgdir"/opt/usr/share/applications "$srcdir"/release/opt/usr/share/applications/codes.eeems.fret.oxide
5151
}
52-
53-
configure() {
54-
update-desktop-database
55-
}
5652
}
5753

5854
oxide() {
@@ -66,9 +62,6 @@ oxide() {
6662
install -D -m 644 -t "$pkgdir"/opt/usr/share/applications "$srcdir"/release/opt/usr/share/applications/codes.eeems.oxide.oxide
6763
install -D -m 644 -t "$pkgdir"/opt/usr/share/icons/oxide/702x702/splash "$srcdir"/release/opt/usr/share/icons/oxide/702x702/splash/oxide.png
6864
}
69-
configure() {
70-
update-desktop-database
71-
}
7265
}
7366

7467
rot() {
@@ -128,10 +121,6 @@ decay() {
128121
install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/release/opt/bin/decay
129122
install -D -m 644 -t "$pkgdir"/opt/usr/share/applications "$srcdir"/release/opt/usr/share/applications/codes.eeems.decay.oxide
130123
}
131-
132-
configure() {
133-
update-desktop-database
134-
}
135124
}
136125
corrupt() {
137126
pkgdesc="Task Switcher for Oxide"
@@ -142,10 +131,6 @@ corrupt() {
142131
install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/release/opt/bin/corrupt
143132
install -D -m 644 -t "$pkgdir"/opt/usr/share/applications "$srcdir"/release/opt/usr/share/applications/codes.eeems.corrupt.oxide
144133
}
145-
146-
configure() {
147-
update-desktop-database
148-
}
149134
}
150135

151136
anxiety() {
@@ -159,10 +144,6 @@ anxiety() {
159144
install -D -m 644 -t "$pkgdir"/opt/usr/share/icons/oxide/48x48/apps "$srcdir"/release/opt/usr/share/icons/oxide/48x48/apps/image.png
160145
install -D -m 644 -t "$pkgdir"/opt/usr/share/icons/oxide/702x702/splash "$srcdir"/release/opt/usr/share/icons/oxide/702x702/splash/anxiety.png
161146
}
162-
163-
configure() {
164-
update-desktop-database
165-
}
166147
}
167148

168149
oxide-utils() {

package/plato/package

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
pkgnames=(plato)
66
pkgdesc="Document reader"
77
url=https://github.com/LinusCDE/plato
8-
pkgver=0.9.34-1
8+
pkgver=0.9.34-2
99
timestamp=2023-03-08T17:58Z
1010
section="readers"
1111
maintainer="Linus K. <linus@cosmos-ink.net>"

0 commit comments

Comments
 (0)