diff --git a/docs/package.md b/docs/package.md index fcd9690a4..1342df0ac 100644 --- a/docs/package.md +++ b/docs/package.md @@ -328,6 +328,7 @@ math | Apps to assist the user in performing mathematical tasks. readers | Apps for reading and annotating documents (PDF, EPUB, …). screensharing | Apps for streaming the display between the PC and tablet. templates | Templates for xochitl notebooks. +splashscreens | Splashscreens for device startup, poweroff, suspend, etc. utils | System tools and various apps. If the package does not fit into one of the existing sections, you are free to create a new one and document it here. @@ -439,3 +440,12 @@ When upgrading a package from version A to B, the following happens: * `postupgrade B`, if it exists, is called from version A * New package files are unpacked and installed * `configure`, if it exists, is called from version B + + +### reload-oxide-apps hook + +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: + +* `configure` +* `postupgrade` +* `postremove` diff --git a/package/calculator/package b/package/calculator/package index 072063a15..092ef00d6 100644 --- a/package/calculator/package +++ b/package/calculator/package @@ -5,7 +5,7 @@ pkgnames=(calculator) pkgdesc="Touch-based calculator" url=https://github.com/reHackable/Calculator -pkgver=0.0.0-15 +pkgver=0.0.0-16 timestamp=2020-08-20T12:28Z section="math" maintainer="Mattéo Delabre " diff --git a/package/rmscreens/package b/package/changescrn/package similarity index 74% rename from package/rmscreens/package rename to package/changescrn/package index a2670ea70..f45f98023 100644 --- a/package/rmscreens/package +++ b/package/changescrn/package @@ -5,7 +5,7 @@ pkgnames=(changescrn) pkgdesc="Change sleep/suspend/poweroff/reboot screens" url=https://github.com/pr0fsmith/rMscreens/ -pkgver=1.0.0-1 +pkgver=1.0.0-2 timestamp=2022-03-15T01:28:33Z section="utils" maintainer="pr0fsmith " @@ -17,3 +17,13 @@ sha256sums=(3c2e8b0952d848d7326c0a4ce45da625dd7fd0fbc6b564a2d40c3b97015138e3) package() { install -Dm755 "$srcdir"/changescrn "$pkgdir/opt/bin/changescrn" } + +configure() { + if [ ! -d /opt/usr/share/backupscrns ] || [ -z "$(ls -A /opt/usr/share/backupscrns)" ]; then + changescrn -b + fi +} + +preremove() { + changescrn -r all +} diff --git a/package/chessmarkable/package b/package/chessmarkable/package index f8a4b50bd..6258ab355 100644 --- a/package/chessmarkable/package +++ b/package/chessmarkable/package @@ -5,7 +5,7 @@ pkgnames=(chessmarkable) pkgdesc="Chess game" url=https://github.com/LinusCDE/chessmarkable -pkgver=0.8.0-1 +pkgver=0.8.0-2 timestamp=2021-07-22T12:04Z section="games" maintainer="Linus K. " diff --git a/package/doomarkable/package b/package/doomarkable/package index 14863079f..3e5ae8735 100644 --- a/package/doomarkable/package +++ b/package/doomarkable/package @@ -5,7 +5,7 @@ pkgnames=(doomarkable) pkgdesc="DOOM game" url=https://github.com/LinusCDE/doomarkable -pkgver=0.4.1-1 +pkgver=0.4.1-2 timestamp=2021-10-31T16:15Z section="games" maintainer="Linus K. " diff --git a/package/fingerterm/package b/package/fingerterm/package index 03dc4956e..80a8ea8e7 100644 --- a/package/fingerterm/package +++ b/package/fingerterm/package @@ -5,7 +5,7 @@ pkgnames=(fingerterm) pkgdesc="Terminal emulator with an on-screen touch keyboard" url=https://github.com/dixonary/fingerterm-reMarkable -pkgver=1.3.5-14 +pkgver=1.3.5-15 timestamp=2020-10-27T12:02Z section="admin" maintainer="Mattéo Delabre " diff --git a/package/keywriter/package b/package/keywriter/package index 542a6359d..32ab6d891 100644 --- a/package/keywriter/package +++ b/package/keywriter/package @@ -5,7 +5,7 @@ pkgnames=(keywriter) pkgdesc="Markdown-enabled free writing app" url=https://github.com/dps/remarkable-keywriter -pkgver=0.2~20-gddc9e73-1 +pkgver=0.2~20-gddc9e73-2 timestamp=2022-02-09T07:05:03Z section="writing" maintainer="Mattéo Delabre " diff --git a/package/koreader/package b/package/koreader/package index 09a02d6e2..79e03cdc7 100644 --- a/package/koreader/package +++ b/package/koreader/package @@ -5,7 +5,7 @@ pkgnames=(koreader) pkgdesc="Ebook reader supporting PDF, DjVu, EPUB, FB2 and many more formats" url=https://github.com/koreader/koreader -pkgver=2023.08-1 +pkgver=2023.08-2 timestamp=2023-08-29T16:21:01Z section="readers" maintainer="raisjn " @@ -14,7 +14,7 @@ installdepends=(fbink fbdepth display rm2fb-client) _srcver="v${pkgver%-*}" source=( - "https://build.koreader.rocks/download/stable/$_srcver/koreader-remarkable-$_srcver.zip" + "https://github.com/koreader/koreader/releases/download/$_srcver/koreader-remarkable-$_srcver.zip" koreader.draft KOReader.oxide koreader-toltec.service diff --git a/package/netsurf/package b/package/netsurf/package index 8213b73fb..74d427851 100644 --- a/package/netsurf/package +++ b/package/netsurf/package @@ -5,7 +5,7 @@ pkgnames=(netsurf) pkgdesc="Lightweight web browser" url=https://github.com/alex0809/netsurf-reMarkable -pkgver=0.4.0-2 +pkgver=0.4.0-3 timestamp=2021-05-31T11:15+00:00 maintainer="Alex Friesenhahn " archs=(rmall) diff --git a/package/oxide/package b/package/oxide/package index c4e25b486..993d16996 100644 --- a/package/oxide/package +++ b/package/oxide/package @@ -4,7 +4,7 @@ pkgnames=(erode fret oxide rot tarnish decay corrupt anxiety oxide-utils inject_evdev liboxide libsentry) _oxidever=2.6 -pkgver=$_oxidever-1 +pkgver=$_oxidever-2 _sentryver=0.5.0 timestamp=2023-06-05T23:27:53Z maintainer="Eeems " @@ -49,10 +49,6 @@ fret() { install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/release/opt/bin/fret install -D -m 644 -t "$pkgdir"/opt/usr/share/applications "$srcdir"/release/opt/usr/share/applications/codes.eeems.fret.oxide } - - configure() { - update-desktop-database - } } oxide() { @@ -66,9 +62,6 @@ oxide() { install -D -m 644 -t "$pkgdir"/opt/usr/share/applications "$srcdir"/release/opt/usr/share/applications/codes.eeems.oxide.oxide install -D -m 644 -t "$pkgdir"/opt/usr/share/icons/oxide/702x702/splash "$srcdir"/release/opt/usr/share/icons/oxide/702x702/splash/oxide.png } - configure() { - update-desktop-database - } } rot() { @@ -128,10 +121,6 @@ decay() { install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/release/opt/bin/decay install -D -m 644 -t "$pkgdir"/opt/usr/share/applications "$srcdir"/release/opt/usr/share/applications/codes.eeems.decay.oxide } - - configure() { - update-desktop-database - } } corrupt() { pkgdesc="Task Switcher for Oxide" @@ -142,10 +131,6 @@ corrupt() { install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/release/opt/bin/corrupt install -D -m 644 -t "$pkgdir"/opt/usr/share/applications "$srcdir"/release/opt/usr/share/applications/codes.eeems.corrupt.oxide } - - configure() { - update-desktop-database - } } anxiety() { @@ -159,10 +144,6 @@ anxiety() { install -D -m 644 -t "$pkgdir"/opt/usr/share/icons/oxide/48x48/apps "$srcdir"/release/opt/usr/share/icons/oxide/48x48/apps/image.png install -D -m 644 -t "$pkgdir"/opt/usr/share/icons/oxide/702x702/splash "$srcdir"/release/opt/usr/share/icons/oxide/702x702/splash/anxiety.png } - - configure() { - update-desktop-database - } } oxide-utils() { @@ -179,6 +160,7 @@ oxide-utils() { install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/release/opt/bin/xdg-desktop-menu install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/release/opt/bin/xdg-desktop-icon install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/release/opt/bin/xdg-open + install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/release/opt/bin/xdg-settings install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/release/opt/bin/gio } } diff --git a/package/plato/package b/package/plato/package index 45ddcacd3..c58215fcd 100644 --- a/package/plato/package +++ b/package/plato/package @@ -5,7 +5,7 @@ pkgnames=(plato) pkgdesc="Document reader" url=https://github.com/LinusCDE/plato -pkgver=0.9.34-1 +pkgver=0.9.34-2 timestamp=2023-03-08T17:58Z section="readers" maintainer="Linus K. " diff --git a/package/puzzles/package b/package/puzzles/package index c8be2ea79..3af1b64d3 100644 --- a/package/puzzles/package +++ b/package/puzzles/package @@ -5,7 +5,7 @@ pkgnames=(puzzles) timestamp=2021-03-04T14:03-08:00 maintainer="Mattéo Delabre " -pkgver=0.2.2-3 +pkgver=0.2.2-4 license=MIT pkgdesc="Simon Tatham's Puzzle Package" url="https://github.com/mrichards42/remarkable_puzzles" diff --git a/package/reboot-guard/package b/package/reboot-guard/package index 61825f748..ef9ceb257 100644 --- a/package/reboot-guard/package +++ b/package/reboot-guard/package @@ -5,7 +5,7 @@ pkgnames=(reboot-guard) pkgdesc="Block systemd-initiated poweroff/reboot/halt until configurable condition checks pass" url=https://github.com/stephanritscher/reboot-guard -pkgver=1.0.1-6 +pkgver=1.0.1-7 timestamp=2020-05-04T06:16Z section="devel" maintainer="Eeems " @@ -34,8 +34,13 @@ configure() { } preremove() { - if systemctl list-units --full -all | grep -Fq 'rguard.service'; then - systemctl disable --now rguard + if is-active rguard.service; then + echo "Stopping rguard.service" + systemctl stop rguard.service + fi + if is-enabled rguard.service; then + echo "Disabling rguard.service" + systemctl disable rguard.service fi } diff --git a/package/recrossable/package b/package/recrossable/package index 7b191353b..476b87bef 100644 --- a/package/recrossable/package +++ b/package/recrossable/package @@ -5,7 +5,7 @@ pkgnames=(recrossable) pkgdesc="Solve crossword puzzles" url=https://github.com/sandsmark/recrossable -pkgver=0.0.0-7 +pkgver=0.0.0-8 timestamp=2021-01-15T12:58:22Z section="games" maintainer="Mattéo Delabre " diff --git a/package/regenda/package b/package/regenda/package index e899d531e..1f2b48c9b 100644 --- a/package/regenda/package +++ b/package/regenda/package @@ -5,7 +5,7 @@ pkgnames=(regenda) pkgdesc="Caldav agenda app" url=https://github.com/tenJirka/reGenda -pkgver=0.0.2-1 +pkgver=0.0.2-2 timestamp=2023-09-06T06:45Z section="utils" maintainer="tenJirka " diff --git a/package/remarkable_templates/package b/package/remarkable_templates/package new file mode 100644 index 000000000..6cae08725 --- /dev/null +++ b/package/remarkable_templates/package @@ -0,0 +1,142 @@ +#!/usr/bin/env bash +# Copyright (c) 2023 The Toltec Contributors +# SPDX-License-Identifier: MIT + +pkgnames=( + template-daily-planner + template-weekly-planner + template-journal + template-meeting-notes + template-smart-goals + template-good-time-journal +) +url=https://github.com/msencer/remarkable_templates +pkgver=0.0.0-1 +timestamp=2023-07-27T12:28:59Z +section="templates" +maintainer="Eeems " +license=MIT +installdepends=(templatectl) + +source=("https://github.com/msencer/remarkable_templates/archive/03282d34b905e7e6431132b022b5a9cb3af116a2.zip") +sha256sums=(7a39d53767963f59c8d5b8a7ebda411b60d1256fe1077a3864cc43cd59281e03) + +template-daily-planner() { + pkgdesc="Daily Planner template" + package() { + install -D -m 755 \ + -t "$pkgdir"/opt/share/remarkable/templates \ + "$srcdir"/templates/pngs/daily_planner.png + } + configure() { + templatectl add \ + --name "Daily Planner" \ + --filename "daily_planner" \ + --category "Custom" \ + --category "Life/organize" \ + --icon_code "e9da" + } + preremove() { + templatectl remove --name "Daily Planner" + } +} + +template-weekly-planner() { + pkgdesc="Weekly Planner template" + package() { + install -D -m 755 \ + -t "$pkgdir"/opt/share/remarkable/templates \ + "$srcdir"/templates/pngs/weekly_planner.png + } + configure() { + templatectl add \ + --name "Weekly Planner" \ + --filename "weekly_planner" \ + --category "Custom" \ + --category "Life/organize" \ + --icon_code "e997" + } + preremove() { + templatectl remove --name "Weekly Planner" + } +} + +template-journal() { + pkgdesc="Journal template" + package() { + install -D -m 755 \ + -t "$pkgdir"/opt/share/remarkable/templates \ + "$srcdir"/templates/pngs/journal.png + } + configure() { + templatectl add \ + --name "Journal" \ + --filename "journal" \ + --category "Custom" \ + --category "Life/organize" \ + --icon_code "e991" + } + preremove() { + templatectl remove --name "Journal" + } +} + +template-meeting-notes() { + pkgdesc="Meeting Notes template" + package() { + install -D -m 755 \ + -t "$pkgdir"/opt/share/remarkable/templates \ + "$srcdir"/templates/pngs/meeting_notes.png + } + configure() { + templatectl add \ + --name "1:1 / Meeting Notes" \ + --filename "meeting_notes" \ + --category "Custom" \ + --category "Life/organize" \ + --icon_code "e9d8" + } + preremove() { + templatectl remove --name "1:1 / Meeting Notes" + } +} + +template-smart-goals() { + pkgdesc="Smart Goals template" + package() { + install -D -m 755 \ + -t "$pkgdir"/opt/share/remarkable/templates \ + "$srcdir"/templates/pngs/goals.png + } + configure() { + templatectl add \ + --name "Smart Goals" \ + --filename "goals" \ + --category "Custom" \ + --category "Life/organize" \ + --icon_code "e98f" + } + preremove() { + templatectl remove --name "Smart Goals" + } +} + +template-good-time-journal() { + pkgdesc="Smart Goals template" + package() { + install -D -m 755 \ + -t "$pkgdir"/opt/share/remarkable/templates \ + "$srcdir"/templates/pngs/gt_journal.png + } + configure() { + templatectl add \ + --name "Good Time Journal" \ + --filename "gt_journal" \ + --category "Custom" \ + --category "Life/organize" \ + --icon_code "e9b2" + } + preremove() { + templatectl remove --name "Good Time Journal" + } +} diff --git a/package/reterm/package b/package/reterm/package index a0a37a6d2..f8dee0995 100644 --- a/package/reterm/package +++ b/package/reterm/package @@ -4,7 +4,7 @@ pkgnames=(reterm) pkgdesc="Landscape terminal support for the Remarkable 2 + type cover" section="admin" -pkgver="20230628.1927-1" +pkgver="20230628.1927-2" timestamp="2023-06-28T19:28:06Z" maintainer="Eeems " url="https://github.com/i-am-shodan/ReTerm" @@ -49,9 +49,3 @@ package() { install -D -m 644 -t "$pkgdir"/opt/etc/draft/icons "$srcdir"/draft/reterm.png install -D -m 644 -t "$pkgdir"/opt/usr/share/applications "$srcdir"/oxide/reterm.oxide } - -configure() { - if is-active "tarnish.service"; then - type update-desktop-database &> /dev/null && update-desktop-database - fi -} diff --git a/package/retris/package b/package/retris/package index 173b5d8ba..db8a00839 100644 --- a/package/retris/package +++ b/package/retris/package @@ -5,7 +5,7 @@ pkgnames=(retris) pkgdesc="Tetris game" url=https://github.com/LinusCDE/retris -pkgver=0.6.3-3 +pkgver=0.6.3-4 timestamp=2021-01-30T02:41Z section="games" maintainer="Linus K. " diff --git a/package/rmfm/package b/package/rmfm/package index 01bdfca9d..aeeb76484 100644 --- a/package/rmfm/package +++ b/package/rmfm/package @@ -5,25 +5,24 @@ pkgnames=(rmfm) pkgdesc="Bare-bones file manager using Node.js and sas" url="https://forgejo.sny.sh/sun/rmFM" -pkgver=1.4.0-3 -timestamp=2022-08-19T11:20:10+02:00 +pkgver=1.5.0-2 +timestamp=2023-08-08T22:19:23+02:00 section=utils -maintainer="Sunny " -license=MIT +maintainer="Sunny " +license=Unlicense installdepends=(node simple) source=( - https://forgejo.sny.sh/sun/rmFM/archive/1.4.0.zip + https://forgejo.sny.sh/sun/rmFM/archive/1.5.0.zip path_fix.patch ) sha256sums=( - 28ce80c67fecc370d11f3fe2069742c2789b388a9426fff49d269d7900ae3dc9 + 515cc1843bf61f628c3a0b2b2dcb3256a0182352c6b491585fd52cf96a554b26 SKIP ) prepare() { - # Assume node to be in /opt/bin and add that directory - # to the path of the app to allow finding simple + # Assume node to be in /opt/bin # This is a temporary fix for not working in remux patch -d "$srcdir" < "$srcdir"/path_fix.patch } diff --git a/package/rmfm/path_fix.patch b/package/rmfm/path_fix.patch index a2cf4aef2..d8c314aef 100644 --- a/package/rmfm/path_fix.patch +++ b/package/rmfm/path_fix.patch @@ -1,9 +1,7 @@ diff --git a/rmfm b/rmfm -index 4571db9..172eedf 100755 +index 63eeb98..b28dbd0 100755 --- a/rmfm +++ b/rmfm -@@ -1,2 +1,3 @@ +@@ -1 +1 @@ -#!/usr/bin/env node +#!/opt/bin/node -+process.env.PATH += ":/opt/bin" - diff --git a/package/rmkit/package b/package/rmkit/package index 9c5cda508..be1585793 100644 --- a/package/rmkit/package +++ b/package/rmkit/package @@ -40,14 +40,13 @@ bufshot() { dumbskull() { pkgdesc="Dungeon Crawl themed Solitaire" url="https://rmkit.dev/apps/dumbskull" - pkgver=0.0.1-2 + pkgver=0.0.1-3 section="games" package() { install -D -m 755 "$srcdir"/src/build/dumbskull "$pkgdir"/opt/bin/dumbskull install -D -m 644 "$srcdir"/src/dumbskull/dumbskull.draft "$pkgdir"/opt/etc/draft/dumbskull.draft } - } genie() { @@ -80,7 +79,7 @@ genie() { harmony() { pkgdesc="Procedural sketching app" url="https://rmkit.dev/apps/harmony" - pkgver=0.2.2-1 + pkgver=0.2.2-2 section="drawing" package() { @@ -120,7 +119,7 @@ lamp() { mines() { pkgdesc="Mine detection game" url="https://rmkit.dev/apps/minesweeper" - pkgver=0.1.4-2 + pkgver=0.1.4-3 section="games" package() { @@ -133,7 +132,7 @@ mines() { nao() { pkgdesc="Nao Package Manager: opkg UI built with SAS" url="https://rmkit.dev/apps/nao" - pkgver=0.1.2-3 + pkgver=0.1.2-4 section="admin" installdepends+=(simple) @@ -179,7 +178,7 @@ remux() { rpncalc() { pkgdesc="RPN Calculator" url="https://rmkit.dev/apps/rpncalc" - pkgver=0.0.3-2 + pkgver=0.0.3-3 section="math" package() { @@ -187,7 +186,6 @@ rpncalc() { install -D -m 644 "$srcdir"/src/rpncalc/rpncalc.draft "$pkgdir"/opt/etc/draft/rpncalc.draft install -D -m 644 "$srcdir"/src/rpncalc/rpncalc.png "$pkgdir"/opt/etc/draft/icons/rpncalc.png } - } simple() { @@ -204,12 +202,11 @@ simple() { wordlet() { pkgdesc="Wordle clone" url="https://rmkit.dev/apps/wordlet" - pkgver=0.0.2-2 + pkgver=0.0.2-3 section="games" package() { install -D -m 755 "$srcdir"/src/build/wordlet "$pkgdir"/opt/bin/wordlet install -D -m 644 "$srcdir"/src/wordlet/wordlet.draft "$pkgdir"/opt/etc/draft/wordlet.draft } - } diff --git a/package/sill/package b/package/sill/package index 773f1e33a..f34ee5fe2 100644 --- a/package/sill/package +++ b/package/sill/package @@ -5,7 +5,7 @@ pkgnames=(sill) pkgdesc="Gesture-based text editor (and shell) for the reMarkable tablet" url=https://github.com/bkirwi/sill -pkgver=0.1.1-alpha +pkgver=0.1.1-1 section="writing" timestamp=2023-08-12T00:00Z maintainer="Kai " diff --git a/package/splashcreens-wavy-lines/package b/package/splashcreens-wavy-lines/package new file mode 100644 index 000000000..86ed7f77d --- /dev/null +++ b/package/splashcreens-wavy-lines/package @@ -0,0 +1,50 @@ +#!/usr/bin/env bash +# Copyright (c) 2023 The Toltec Contributors +# SPDX-License-Identifier: MIT + +pkgnames=( + splashscreen-starting-wavey-lines + splashscreen-suspended-wavey-lines +) +url=https://github.com/EnglishLFC/reMarkable +pkgver=0.0.0-1 +timestamp=2021-03-19T18:46:40Z +section="splashscreens" +maintainer="Eeems " +license=BSD-2-Clause +installdepends=(changescrn) + +source=("https://github.com/EnglishLFC/reMarkable/archive/a06b10ea9f28c784e6941085a30944c0489450f4.zip") +sha256sums=(ec5f0321342bf6b48bb1431f4b1cf4416c37681879b3ec6c9375f889077a0b7f) + +splashscreen-starting-wavey-lines() { + pkgdesc="Barnsley Fern battery empty splashscreen" + replaces=("splashscreen-starting") + conflicts=("splashscreen-starting") + package() { + install -D -m 755 -T "$srcdir"/splash/splash.png \ + "$pkgdir"/opt/share/remarkable/splashscreens/starting.png + } + configure() { + changescrn -c starting /opt/share/remarkable/splashscreens/starting.png + } + postremove() { + changescrn -r starting + } +} + +splashscreen-suspended-wavey-lines() { + pkgdesc="Barnsley Fern power off splashscreen" + replaces=("splashscreen-suspended") + conflicts=("splashscreen-suspended") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splash/suspended.png + } + configure() { + changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png + } + postremove() { + changescrn -r suspended + } +} diff --git a/package/splashscreens-1094/package b/package/splashscreens-1094/package new file mode 100644 index 000000000..12c395643 --- /dev/null +++ b/package/splashscreens-1094/package @@ -0,0 +1,118 @@ +#!/usr/bin/env bash +# Copyright (c) 2023 The Toltec Contributors +# SPDX-License-Identifier: MIT + +pkgnames=( + splashscreen-poweroff-gallifreyan + splashscreen-suspended-gallifreyan + splashscreen-suspended-gallifreyan-dark + splashscreen-starting-gallifreyan + splashscreen-suspended-gallifreyan-2 + splashscreen-suspended-flower-pause +) +url=https://github.com/1094/rM-customizations +pkgver=0.0.0-1 +timestamp=2023-05-15T11:27:58Z +section="splashscreens" +maintainer="Eeems " +license=CC-BY-NC-3.0 +installdepends=(changescrn) + +source=("https://github.com/1094/rM-customizations/archive/623171a1268e9ff45a8669fa36637e3eabd4ca40.zip") +sha256sums=(8cc8d02fe04c12bacfc798c1f6737cb55f581f191e2bf54147256df265318a31) + +splashscreen-poweroff-gallifreyan() { + pkgdesc="Gallifreyan poweroff splashscreen" + replaces=("splashscreen-poweroff") + conflicts=("splashscreen-poweroff") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splash-screens/gallifreyan/poweroff.png + } + configure() { + changescrn -c poweroff /opt/share/remarkable/splashscreens/poweroff.png + } + postremove() { + changescrn -r poweroff + } +} + +splashscreen-suspended-gallifreyan() { + pkgdesc="Gallifreyan suspended splashscreen" + replaces=("splashscreen-suspended") + conflicts=("splashscreen-suspended") + package() { + install -D -m 755 -T "$srcdir"/splash-screens/gallifreyan/sleeping-v1.png \ + "$pkgdir"/opt/share/remarkable/splashscreens/suspended.png + } + configure() { + changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png + } + postremove() { + changescrn -r suspended + } +} + +splashscreen-suspended-gallifreyan-dark() { + pkgdesc="Gallifreyan dark suspended splashscreen" + replaces=("splashscreen-suspended") + conflicts=("splashscreen-suspended") + package() { + install -D -m 755 -T "$srcdir"/splash-screens/gallifreyan/sleeping-v3.png \ + "$pkgdir"/opt/share/remarkable/splashscreens/suspended.png + } + configure() { + changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png + } + postremove() { + changescrn -r suspended + } +} + +splashscreen-starting-gallifreyan() { + pkgdesc="Gallifreyan starting splashscreen" + replaces=("splashscreen-starting") + conflicts=("splashscreen-starting") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splash-screens/gallifreyan/starting.png + } + configure() { + changescrn -c starting /opt/share/remarkable/splashscreens/starting.png + } + postremove() { + changescrn -r starting + } +} + +splashscreen-suspended-gallifreyan-2() { + pkgdesc="Gallifreyan suspended splashscreen" + replaces=("splashscreen-suspended") + conflicts=("splashscreen-suspended") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splash-screens/gallifreyan/suspended.png + } + configure() { + changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png + } + postremove() { + changescrn -r suspended + } +} + +splashscreen-suspended-flower-pause() { + pkgdesc="Flower suspended splashscreen" + replaces=("splashscreen-suspended") + conflicts=("splashscreen-suspended") + package() { + install -D -m 755 -T "$srcdir"/splash-screens/misc/flower-pause.png \ + "$pkgdir"/opt/share/remarkable/splashscreens/suspended.png + } + configure() { + changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png + } + postremove() { + changescrn -r suspended + } +} diff --git a/package/splashscreens/package b/package/splashscreens/package new file mode 100644 index 000000000..224311751 --- /dev/null +++ b/package/splashscreens/package @@ -0,0 +1,705 @@ +#!/usr/bin/env bash +# Copyright (c) 2023 The Toltec Contributors +# SPDX-License-Identifier: MIT + +pkgnames=( + splashscreen-batteryempty-barnsley_fern + splashscreen-poweroff-barnsley_fern + splashscreen-starting-barnsley_fern + splashscreen-suspended-barnsley_fern + + splashscreen-batteryempty-chaotic_ribbon + splashscreen-poweroff-chaotic_ribbon + splashscreen-starting-chaotic_ribbon + splashscreen-suspended-chaotic_ribbon + + splashscreen-batteryempty-collatz_sea_weed + splashscreen-poweroff-collatz_sea_weed + splashscreen-starting-collatz_sea_weed + splashscreen-suspended-collatz_sea_weed + + splashscreen-batteryempty-dragon_curve + splashscreen-poweroff-dragon_curve + splashscreen-starting-dragon_curve + splashscreen-suspended-dragon_curve + + splashscreen-batteryempty-fire + splashscreen-poweroff-fire + splashscreen-starting-fire + splashscreen-suspended-fire + + splashscreen-batteryempty-fractal_tree + splashscreen-poweroff-fractal_tree + splashscreen-starting-fractal_tree + splashscreen-suspended-fractal_tree + + splashscreen-batteryempty-sacks_spiral + splashscreen-poweroff-sacks_spiral + splashscreen-starting-sacks_spiral + splashscreen-suspended-sacks_spiral + + splashscreen-batteryempty-sierpinski_triangle + splashscreen-poweroff-sierpinski_triangle + splashscreen-starting-sierpinski_triangle + splashscreen-suspended-sierpinski_triangle + + splashscreen-batteryempty-snowy_hills + splashscreen-poweroff-snowy_hills + splashscreen-starting-snowy_hills + splashscreen-suspended-snowy_hills + + splashscreen-batteryempty-starr + splashscreen-poweroff-starr + splashscreen-starting-starr + splashscreen-suspended-starr +) +url=https://github.com/engeir/remarkable-splashscreens +pkgver=0.0.0-1 +timestamp=2023-05-19T06:37:08Z +section="splashscreens" +maintainer="Eeems " +license=MIT +installdepends=(changescrn) + +source=("https://github.com/engeir/remarkable-splashscreens/archive/18e2c2a4d1d278240079ff4eb848d5e5255cc3f2.zip") +sha256sums=(ac49db5539d3901e02b8b94b381bed6a98002371378bf2d4ffa804c80eae0efb) + +splashscreen-batteryempty-barnsley_fern() { + pkgdesc="Barnsley Fern battery empty splashscreen" + replaces=("splashscreen-batteryempty") + conflicts=("splashscreen-batteryempty") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/barnsley_fern/batteryempty.png + } + configure() { + changescrn -c batteryempty /opt/share/remarkable/splashscreens/batteryempty.png + } + postremove() { + changescrn -r batteryempty + } +} + +splashscreen-poweroff-barnsley_fern() { + pkgdesc="Barnsley Fern power off splashscreen" + replaces=("splashscreen-poweroff") + conflicts=("splashscreen-poweroff") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/barnsley_fern/poweroff.png + } + configure() { + changescrn -c poweroff /opt/share/remarkable/splashscreens/poweroff.png + } + postremove() { + changescrn -r poweroff + } +} + +splashscreen-starting-barnsley_fern() { + pkgdesc="Barnsley Fern starting splashscreen" + replaces=("splashscreen-starting") + conflicts=("splashscreen-starting") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/barnsley_fern/starting.png + } + configure() { + changescrn -c starting /opt/share/remarkable/splashscreens/starting.png + } + postremove() { + changescrn -r starting + } +} + +splashscreen-suspended-barnsley_fern() { + pkgdesc="Barnsley Fern suspended splashscreen" + replaces=("splashscreen-suspended") + conflicts=("splashscreen-suspended") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/barnsley_fern/suspended.png + } + configure() { + changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png + } + postremove() { + changescrn -r suspended + } +} + +splashscreen-batteryempty-chaotic_ribbon() { + pkgdesc="Chaotic ribbon battery empty splashscreen" + replaces=("splashscreen-batteryempty") + conflicts=("splashscreen-batteryempty") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/chaotic_ribbon/batteryempty.png + } + configure() { + changescrn -c batteryempty /opt/share/remarkable/splashscreens/batteryempty.png + } + postremove() { + changescrn -r batteryempty + } +} + +splashscreen-poweroff-chaotic_ribbon() { + pkgdesc="Chaotic ribbon power off splashscreen" + replaces=("splashscreen-poweroff") + conflicts=("splashscreen-poweroff") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/chaotic_ribbon/poweroff.png + } + configure() { + changescrn -c poweroff /opt/share/remarkable/splashscreens/poweroff.png + } + postremove() { + changescrn -r poweroff + } +} + +splashscreen-starting-chaotic_ribbon() { + pkgdesc="Chaotic ribbon starting splashscreen" + replaces=("splashscreen-starting") + conflicts=("splashscreen-starting") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/chaotic_ribbon/starting.png + } + configure() { + changescrn -c starting /opt/share/remarkable/splashscreens/starting.png + } + postremove() { + changescrn -r starting + } +} + +splashscreen-suspended-chaotic_ribbon() { + pkgdesc="Chaotic ribbon suspended splashscreen" + replaces=("splashscreen-suspended") + conflicts=("splashscreen-suspended") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/chaotic_ribbon/suspended.png + } + configure() { + changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png + } + postremove() { + changescrn -r suspended + } +} + +splashscreen-batteryempty-collatz_sea_weed() { + pkgdesc="Collatz sea weed battery empty splashscreen" + replaces=("splashscreen-batteryempty") + conflicts=("splashscreen-batteryempty") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/collatz_sea_weed/batteryempty.png + } + configure() { + changescrn -c batteryempty /opt/share/remarkable/splashscreens/batteryempty.png + } + postremove() { + changescrn -r batteryempty + } +} + +splashscreen-poweroff-collatz_sea_weed() { + pkgdesc="Collatz sea weed power off splashscreen" + replaces=("splashscreen-poweroff") + conflicts=("splashscreen-poweroff") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/collatz_sea_weed/poweroff.png + } + configure() { + changescrn -c poweroff /opt/share/remarkable/splashscreens/poweroff.png + } + postremove() { + changescrn -r poweroff + } +} + +splashscreen-starting-collatz_sea_weed() { + pkgdesc="Collatz sea weed starting splashscreen" + replaces=("splashscreen-starting") + conflicts=("splashscreen-starting") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/collatz_sea_weed/starting.png + } + configure() { + changescrn -c starting /opt/share/remarkable/splashscreens/starting.png + } + postremove() { + changescrn -r starting + } +} + +splashscreen-suspended-collatz_sea_weed() { + pkgdesc="Collatz sea weed suspended splashscreen" + replaces=("splashscreen-suspended") + conflicts=("splashscreen-suspended") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/collatz_sea_weed/suspended.png + } + configure() { + changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png + } + postremove() { + changescrn -r suspended + } +} + +splashscreen-batteryempty-dragon_curve() { + pkgdesc="Dragon curve battery empty splashscreen" + replaces=("splashscreen-batteryempty") + conflicts=("splashscreen-batteryempty") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/dragon_curve/batteryempty.png + } + configure() { + changescrn -c batteryempty /opt/share/remarkable/splashscreens/batteryempty.png + } + postremove() { + changescrn -r batteryempty + } +} + +splashscreen-poweroff-dragon_curve() { + pkgdesc="Dragon curve power off splashscreen" + replaces=("splashscreen-poweroff") + conflicts=("splashscreen-poweroff") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/dragon_curve/poweroff.png + } + configure() { + changescrn -c poweroff /opt/share/remarkable/splashscreens/poweroff.png + } + postremove() { + changescrn -r poweroff + } +} + +splashscreen-starting-dragon_curve() { + pkgdesc="Dragon curve starting splashscreen" + replaces=("splashscreen-starting") + conflicts=("splashscreen-starting") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/dragon_curve/starting.png + } + configure() { + changescrn -c starting /opt/share/remarkable/splashscreens/starting.png + } + postremove() { + changescrn -r starting + } +} + +splashscreen-suspended-dragon_curve() { + pkgdesc="Dragon curve suspended splashscreen" + replaces=("splashscreen-suspended") + conflicts=("splashscreen-suspended") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/dragon_curve/suspended.png + } + configure() { + changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png + } + postremove() { + changescrn -r suspended + } +} + +splashscreen-batteryempty-fire() { + pkgdesc="Fire battery empty splashscreen" + replaces=("splashscreen-batteryempty") + conflicts=("splashscreen-batteryempty") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/fire/batteryempty.png + } + configure() { + changescrn -c batteryempty /opt/share/remarkable/splashscreens/batteryempty.png + } + postremove() { + changescrn -r batteryempty + } +} + +splashscreen-poweroff-fire() { + pkgdesc="Fire power off splashscreen" + replaces=("splashscreen-poweroff") + conflicts=("splashscreen-poweroff") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/fire/poweroff.png + } + configure() { + changescrn -c poweroff /opt/share/remarkable/splashscreens/poweroff.png + } + postremove() { + changescrn -r poweroff + } +} + +splashscreen-starting-fire() { + pkgdesc="Fire starting splashscreen" + replaces=("splashscreen-starting") + conflicts=("splashscreen-starting") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/fire/starting.png + } + configure() { + changescrn -c starting /opt/share/remarkable/splashscreens/starting.png + } + postremove() { + changescrn -r starting + } +} + +splashscreen-suspended-fire() { + pkgdesc="Fire suspended splashscreen" + replaces=("splashscreen-suspended") + conflicts=("splashscreen-suspended") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/fire/suspended.png + } + configure() { + changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png + } + postremove() { + changescrn -r suspended + } +} + +splashscreen-batteryempty-fractal_tree() { + pkgdesc="Fractal tree battery empty splashscreen" + replaces=("splashscreen-batteryempty") + conflicts=("splashscreen-batteryempty") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/fractal_tree/batteryempty.png + } + configure() { + changescrn -c batteryempty /opt/share/remarkable/splashscreens/batteryempty.png + } + postremove() { + changescrn -r batteryempty + } +} + +splashscreen-poweroff-fractal_tree() { + pkgdesc="Fractal tree power off splashscreen" + replaces=("splashscreen-poweroff") + conflicts=("splashscreen-poweroff") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/fractal_tree/poweroff.png + } + configure() { + changescrn -c poweroff /opt/share/remarkable/splashscreens/poweroff.png + } + postremove() { + changescrn -r poweroff + } +} + +splashscreen-starting-fractal_tree() { + pkgdesc="Fractal tree starting splashscreen" + replaces=("splashscreen-starting") + conflicts=("splashscreen-starting") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/fractal_tree/starting.png + } + configure() { + changescrn -c starting /opt/share/remarkable/splashscreens/starting.png + } + postremove() { + changescrn -r starting + } +} + +splashscreen-suspended-fractal_tree() { + pkgdesc="Fractal tree suspended splashscreen" + replaces=("splashscreen-suspended") + conflicts=("splashscreen-suspended") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/fractal_tree/suspended.png + } + configure() { + changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png + } + postremove() { + changescrn -r suspended + } +} + +splashscreen-batteryempty-sacks_spiral() { + pkgdesc="Sacks spiral battery empty splashscreen" + replaces=("splashscreen-batteryempty") + conflicts=("splashscreen-batteryempty") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/sacks_spiral/batteryempty.png + } + configure() { + changescrn -c batteryempty /opt/share/remarkable/splashscreens/batteryempty.png + } + postremove() { + changescrn -r batteryempty + } +} + +splashscreen-poweroff-sacks_spiral() { + pkgdesc="Sacks spiral power off splashscreen" + replaces=("splashscreen-poweroff") + conflicts=("splashscreen-poweroff") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/sacks_spiral/poweroff.png + } + configure() { + changescrn -c poweroff /opt/share/remarkable/splashscreens/poweroff.png + } + postremove() { + changescrn -r poweroff + } +} + +splashscreen-starting-sacks_spiral() { + pkgdesc="Sacks spiral starting splashscreen" + replaces=("splashscreen-starting") + conflicts=("splashscreen-starting") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/sacks_spiral/starting.png + } + configure() { + changescrn -c starting /opt/share/remarkable/splashscreens/starting.png + } + postremove() { + changescrn -r starting + } +} + +splashscreen-suspended-sacks_spiral() { + pkgdesc="Sacks spiral suspended splashscreen" + replaces=("splashscreen-suspended") + conflicts=("splashscreen-suspended") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/sacks_spiral/suspended.png + } + configure() { + changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png + } + postremove() { + changescrn -r suspended + } +} + +splashscreen-batteryempty-sierpinski_triangle() { + pkgdesc="Sierpinski triangle battery empty splashscreen" + replaces=("splashscreen-batteryempty") + conflicts=("splashscreen-batteryempty") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/sierpinski_triangle/batteryempty.png + } + configure() { + changescrn -c batteryempty /opt/share/remarkable/splashscreens/batteryempty.png + } + postremove() { + changescrn -r batteryempty + } +} + +splashscreen-poweroff-sierpinski_triangle() { + pkgdesc="Sierpinski triangle power off splashscreen" + replaces=("splashscreen-poweroff") + conflicts=("splashscreen-poweroff") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/sierpinski_triangle/poweroff.png + } + configure() { + changescrn -c poweroff /opt/share/remarkable/splashscreens/poweroff.png + } + postremove() { + changescrn -r poweroff + } +} + +splashscreen-starting-sierpinski_triangle() { + pkgdesc="Sierpinski triangle starting splashscreen" + replaces=("splashscreen-starting") + conflicts=("splashscreen-starting") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/sierpinski_triangle/starting.png + } + configure() { + changescrn -c starting /opt/share/remarkable/splashscreens/starting.png + } + postremove() { + changescrn -r starting + } +} + +splashscreen-suspended-sierpinski_triangle() { + pkgdesc="Sierpinski triangle suspended splashscreen" + replaces=("splashscreen-suspended") + conflicts=("splashscreen-suspended") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/sierpinski_triangle/suspended.png + } + configure() { + changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png + } + postremove() { + changescrn -r suspended + } +} + +splashscreen-batteryempty-snowy_hills() { + pkgdesc="Snowy hills battery empty splashscreen" + replaces=("splashscreen-batteryempty") + conflicts=("splashscreen-batteryempty") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/snowy_hills/batteryempty.png + } + configure() { + changescrn -c batteryempty /opt/share/remarkable/splashscreens/batteryempty.png + } + postremove() { + changescrn -r batteryempty + } +} + +splashscreen-poweroff-snowy_hills() { + pkgdesc="Snowy hills power off splashscreen" + replaces=("splashscreen-poweroff") + conflicts=("splashscreen-poweroff") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/snowy_hills/poweroff.png + } + configure() { + changescrn -c poweroff /opt/share/remarkable/splashscreens/poweroff.png + } + postremove() { + changescrn -r poweroff + } +} + +splashscreen-starting-snowy_hills() { + pkgdesc="Snowy hills starting splashscreen" + replaces=("splashscreen-starting") + conflicts=("splashscreen-starting") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/snowy_hills/starting.png + } + configure() { + changescrn -c starting /opt/share/remarkable/splashscreens/starting.png + } + postremove() { + changescrn -r starting + } +} + +splashscreen-suspended-snowy_hills() { + pkgdesc="Snowy hills suspended splashscreen" + replaces=("splashscreen-suspended") + conflicts=("splashscreen-suspended") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/snowy_hills/suspended.png + } + configure() { + changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png + } + postremove() { + changescrn -r suspended + } +} + +splashscreen-batteryempty-starr() { + pkgdesc="Starr battery empty splashscreen" + replaces=("splashscreen-batteryempty") + conflicts=("splashscreen-batteryempty") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/starr/batteryempty.png + } + configure() { + changescrn -c batteryempty /opt/share/remarkable/splashscreens/batteryempty.png + } + postremove() { + changescrn -r batteryempty + } +} + +splashscreen-poweroff-starr() { + pkgdesc="Starr power off splashscreen" + replaces=("splashscreen-poweroff") + conflicts=("splashscreen-poweroff") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/starr/poweroff.png + } + configure() { + changescrn -c poweroff /opt/share/remarkable/splashscreens/poweroff.png + } + postremove() { + changescrn -r poweroff + } +} + +splashscreen-starting-starr() { + pkgdesc="Starr starting splashscreen" + replaces=("splashscreen-starting") + conflicts=("splashscreen-starting") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/starr/starting.png + } + configure() { + changescrn -c starting /opt/share/remarkable/splashscreens/starting.png + } + postremove() { + changescrn -r starting + } +} + +splashscreen-suspended-starr() { + pkgdesc="Starr suspended splashscreen" + replaces=("splashscreen-suspended") + conflicts=("splashscreen-suspended") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splashscreens/starr/suspended.png + } + configure() { + changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png + } + postremove() { + changescrn -r suspended + } +} diff --git a/package/tilem/package b/package/tilem/package index 436678c87..0c5b954f3 100644 --- a/package/tilem/package +++ b/package/tilem/package @@ -5,7 +5,7 @@ pkgnames=(tilem) pkgdesc="TI-84+ calculator emulator" url=https://github.com/timower/rM2-stuff/tree/master/apps/tilem -pkgver=0.0.7-2 +pkgver=0.0.7-3 timestamp=2021-04-30T10:42Z maintainer="Mattéo Delabre " license=GPL-3.0 diff --git a/package/toltec-bootstrap/package b/package/toltec-bootstrap/package index a07acf822..1b033cc4a 100644 --- a/package/toltec-bootstrap/package +++ b/package/toltec-bootstrap/package @@ -5,8 +5,8 @@ pkgnames=(toltec-bootstrap) pkgdesc="Manage your Toltec install" url=https://toltec-dev.org/ -pkgver=0.2.2-1 -timestamp=2022-02-28T00:12Z +pkgver=0.2.3-1 +timestamp=2023-09-17T17:35Z section="utils" maintainer="Eeems " license=MIT diff --git a/package/toltec-bootstrap/toltecctl b/package/toltec-bootstrap/toltecctl index 2480d6eee..b9ea0bcb3 100644 --- a/package/toltec-bootstrap/toltecctl +++ b/package/toltec-bootstrap/toltecctl @@ -338,7 +338,7 @@ uninstall() { # Remove installed packages in reverse dependency order list-installed-ordered | while read -r pkgname; do - "$opkg_path" remove --force-depends --force-remove "$pkgname" + "$opkg_path" remove --force-removal-of-essential-packages --force-depends --force-remove "$pkgname" done systemctl daemon-reload diff --git a/package/vnsee/package b/package/vnsee/package index 4ed1a8b1c..057220d0c 100644 --- a/package/vnsee/package +++ b/package/vnsee/package @@ -5,7 +5,7 @@ pkgnames=(vnsee) pkgdesc="VNC client allowing you to use the device as a second screen" url=https://github.com/matteodelabre/vnsee -pkgver=0.4.1-1 +pkgver=0.4.1-2 timestamp=2021-08-29T13:45:26Z section="screensharing" maintainer="Mattéo Delabre " diff --git a/package/whiteboard-hypercard/package b/package/whiteboard-hypercard/package index 36dc05edc..581882d83 100644 --- a/package/whiteboard-hypercard/package +++ b/package/whiteboard-hypercard/package @@ -1,32 +1,34 @@ #!/usr/bin/env bash -# Copyright (c) 2021 The Toltec Contributors +# Copyright (c) 2023 The Toltec Contributors # SPDX-License-Identifier: MIT pkgnames=(whiteboard-hypercard) pkgdesc="Real-time collaboration, drawing or whiteboarding" url=https://github.com/fenollp/reMarkable-tools -pkgver=0.3.4-1 -timestamp=2021-10-25T15:45Z +pkgver=0.3.7-2 +timestamp=2023-10-11T12:57Z section="drawing" maintainer="Pierre Fenoll " -license=Apache-2.0 +license=CC-BY-NC-ND installdepends=(display) flags=(patch_rm2fb) -image=rust:v2.2 +image=rust:v3.1 source=( - https://github.com/fenollp/reMarkable-tools/archive/v0.3.4.zip + https://github.com/fenollp/reMarkable-tools/archive/v0.3.7.zip whiteboard-hypercard.draft ) sha256sums=( - b343e1b4af9e0bf247ff2fab8331648ddd89941fb5c0ea9a45417d3bb4b20193 + 642fd954ec4f9a1d132b10cc7f7dfbee3467e9c08b1253cc32d1e372178d168b SKIP ) build() { - cd marauder + pushd marauder rustup component add rustfmt - cargo build --release --bin whiteboard --locked + cargo fetch + cargo build --release --bin whiteboard --locked --frozen --offline + popd } package() { diff --git a/package/whiteboard-hypercard/whiteboard-hypercard.draft b/package/whiteboard-hypercard/whiteboard-hypercard.draft index 19800df55..c1565788e 100644 --- a/package/whiteboard-hypercard/whiteboard-hypercard.draft +++ b/package/whiteboard-hypercard/whiteboard-hypercard.draft @@ -1,4 +1,4 @@ -# Copyright (c) 2020 The Toltec Contributors +# Copyright (c) 2023 The Toltec Contributors # SPDX-License-Identifier: MIT name=whiteboard diff --git a/package/wikipedia/package b/package/wikipedia/package index a7c44adf6..a03eb4d22 100644 --- a/package/wikipedia/package +++ b/package/wikipedia/package @@ -5,7 +5,7 @@ pkgnames=(wikipedia) pkgdesc="The free encyclopedia" url=https://github.com/dps/remarkable-wikipedia -pkgver=0.1.0-3 +pkgver=0.1.0-4 timestamp=2021-03-11T04:50Z section="readers" maintainer="David Singleton " diff --git a/package/xochitl/package b/package/xochitl/package index 1ebefec09..1841988bf 100644 --- a/package/xochitl/package +++ b/package/xochitl/package @@ -5,7 +5,7 @@ pkgnames=(xochitl) pkgdesc="Read documents and take notes" url=https://remarkable.com -pkgver=0.0.0-14 +pkgver=0.0.0-16 timestamp=2022-11-07T20:19:57Z section="readers" maintainer="Mattéo Delabre " diff --git a/package/xochitl/xochitl b/package/xochitl/xochitl index a745d8bea..f16945fe0 100644 --- a/package/xochitl/xochitl +++ b/package/xochitl/xochitl @@ -18,4 +18,4 @@ fi if ! systemctl is-active --quiet manual-sync.service; then systemctl enable --now manual-sync.service fi -exec /usr/bin/xochitl "$@" +exec -a /usr/bin/xochitl /usr/bin/xochitl "$@" diff --git a/package/yaft/bash-l.patch b/package/yaft/bash-l.patch deleted file mode 100644 index ad6d27be7..000000000 --- a/package/yaft/bash-l.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/apps/yaft/main.cpp b/apps/yaft/main.cpp -index baa1f56..1d4ee6a 100755 ---- a/apps/yaft/main.cpp -+++ b/apps/yaft/main.cpp -@@ -200,7 +200,7 @@ main(int argc, const char* argv[]) { - extern volatile sig_atomic_t need_redraw; - extern volatile sig_atomic_t child_alive; - extern struct termios termios_orig; -- static const char* shell_args[2] = { shell_cmd, NULL }; -+ static const char* shell_args[3] = { shell_cmd, "-l", NULL }; - - Keyboard keyboard; - diff --git a/package/yaft/package b/package/yaft/package index 8bc4e5154..8a94a0946 100644 --- a/package/yaft/package +++ b/package/yaft/package @@ -5,9 +5,9 @@ pkgnames=(yaft) pkgdesc="Yet another framebuffer terminal" url=https://github.com/timower/rM2-stuff/tree/master/apps/yaft -_tag=0.0.8 +_tag=0.0.10 pkgver=${_tag}-2 -timestamp=2021-05-02T09:23Z +timestamp=2023-08-12T14:31Z maintainer="Mattéo Delabre " license=GPL-3.0 section="admin" @@ -17,18 +17,15 @@ installdepends=(display terminfo) source=( "https://github.com/timower/rM2-stuff/archive/refs/tags/v${_tag}.zip" input.patch - bash-l.patch ) sha256sums=( - 718a9fc7a8e26d587bac790fd83ad8242978b59745269b2ff213e04820bf45b8 - SKIP + 1cd4741a93cde6bd545215eb303e51219fc9901cba1c28b6206b1b5e0871a7b5 SKIP ) build() { patch -u libs/rMlib/Device.cpp -i input.patch - patch -u apps/yaft/main.cpp -i bash-l.patch mkdir build mkdir install cd build @@ -37,6 +34,8 @@ build() { cd apps/yaft make make install + cd ../../libs/libYaft + make install } package() { diff --git a/package/zshelf/package b/package/zshelf/package index bd1491464..0562ac3e3 100644 --- a/package/zshelf/package +++ b/package/zshelf/package @@ -5,7 +5,7 @@ pkgnames=(zshelf) pkgdesc="Z-Library browser and downloader" url=https://github.com/khanhas/zshelf -pkgver=0.3.1-3 +pkgver=0.3.1-4 section=utils timestamp=2021-02-20T01:45Z maintainer="khanhas " diff --git a/scripts/install-lib b/scripts/install-lib index cb98421bf..59c35e2bb 100644 --- a/scripts/install-lib +++ b/scripts/install-lib @@ -105,10 +105,18 @@ reload-oxide-apps() { return fi echo -n "Reloading Oxide applications: " - if ! /opt/bin/rot apps call reload 2> /dev/null; then - echo "Failed!" + local ret + if type update-desktop-database &> /dev/null; then + update-desktop-database --quiet + ret=$? else + /opt/bin/rot apps call reload 2> /dev/null + ret=$? + fi + if [ $ret -eq 0 ]; then echo "Done!" + else + echo "Failed!" fi } diff --git a/scripts/toltec/builder.py b/scripts/toltec/builder.py index 27253eef2..ee14b0e29 100644 --- a/scripts/toltec/builder.py +++ b/scripts/toltec/builder.py @@ -548,7 +548,9 @@ def _archive(self, package: Package, pkg_dir: str) -> None: os.makedirs(ar_dir, exist_ok=True) # Inject Oxide-specific hook for reloading apps - if os.path.exists(os.path.join(pkg_dir, "opt/usr/share/applications")): + if os.path.exists( + os.path.join(pkg_dir, "opt/usr/share/applications") + ) or os.path.exists(os.path.join(pkg_dir, "opt/etc/draft")): oxide_hook = "\nreload-oxide-apps\n" package.functions["configure"] += oxide_hook package.functions["postupgrade"] += oxide_hook