79 Commits
Author SHA1 Message Date
Noa Himesaka fc1b163686 [reMarkable] fix: native QTFB OTA update (#15538) 2026-06-14 15:59:48 +02:00
Noa Himesaka 644a80bce1 fix: appload quirk workaround (#15475)
AppLoad's quirk of removing framebuffer when nothing's holding framebuffer even though app is running prevented crash handling and restarting KOReader to fail, so introduce a keep-alive process (which was LLM assisted, and it's very cursed, but it works!) to work around this issue.

It wasn't a problem for shimmed version since shim loaded even for sh handling shell script too, which acted as keep-alive.
2026-05-31 12:09:04 +02:00
Benoit Pierre 4f24cb6a3d sony-prstux: add new OTA package generation 2026-05-28 17:45:14 +02:00
Benoit Pierre 783793d212 remarkable: add new OTA package generation 2026-05-28 17:45:14 +02:00
Benoit Pierre 6fddfd1634 pocketbook: add new OTA package generation 2026-05-28 17:45:14 +02:00
Benoit Pierre ba02608092 kobo: add new OTA package generation 2026-05-28 17:45:14 +02:00
Benoit Pierre 1459ebdee1 kindle: add new OTA package generation 2026-05-28 17:45:14 +02:00
Benoit Pierre 66cb7f7b42 cervantes: add new OTA package generation 2026-05-28 17:45:14 +02:00
Benoit Pierre 5fb3d38f10 linux: tweak release compression options
In this case, we don't need separate XZ blocks, ensure maximum compression by using only one.
2026-05-28 17:45:14 +02:00
Noa Himesaka 82ac90db76 feat: QTFB input/framebuffer support (#15461)
Frontend changes for koreader/koreader-base#2381. Makes the new QTFB backend deafult for reMarkable devices with appload.
2026-05-27 07:34:09 +02:00
Benoit Pierre bc0ef5a078 Drop remains of non-functional Ubuntu Touch target (#15442)
In favor of the standard Linux build with koreader/koreader-base#2373.

Close #4960.
2026-05-23 15:17:55 +02:00
Benoit Pierre baf14f456f make: drop duplicate AppImage stuff 2026-05-20 00:51:23 +02:00
Benoit Pierre 6b6ecb5b05 linux: fix metadata to match our flatpak package (#15126)
We're stuck with `rocks.koreader.KOReader` (cf. flathub/rocks.koreader.KOReader#65).
2026-03-18 07:53:04 +01:00
Benoit Pierre ccabe19ba7 cervantes: split update rule (#15119) 2026-03-16 08:58:03 +01:00
Benoit Pierre 40103df8b5 sony-prstux: split update rule 2026-03-15 23:00:26 +01:00
Benoit Pierre 9f9c5e5adb remarkable: split update rule 2026-03-15 23:00:26 +01:00
Benoit Pierre 3ab97ea6de pocketbook: split update rule 2026-03-15 23:00:26 +01:00
Benoit Pierre 723ec600b0 kobo: split update rule 2026-03-15 23:00:26 +01:00
Benoit Pierre b2a5b9815e kindle: split update rule 2026-03-15 23:00:26 +01:00
Benoit Pierre b175c972fb drop appimage target in favor of linux
Cf. koreader/kobase#2298.

The `linux` update target now build an AppImage too.

Other miscellaneous changes:
- AppImage:
  * better icons
  * update filename to conform to spec (`ApplicationName-$VERSION-$ARCH.AppImage`)
  * running from extracted contents will behave like the Linux distribution (multi-user mode)
- Debian package:
  * better icons
  * update version to include git commit
  * drop fakeroot requirement for building
  * fix dependencies (based on our targeted Ubuntu LTS: 22.04, AKA Jammy)
- Linux distribution:
  * better icons
  * improved start-up script (can be symlinked to)
2026-03-15 23:00:26 +01:00
Benoit Pierre dae69c3133 make: minor simplification 2026-03-15 23:00:26 +01:00
Benoit Pierre aa2b20159d AppImage: switch to mkappimage (#14963)
For generating the appimage, since it includes appstreamcli (for linting the appstream metadata).
2026-02-11 11:10:42 +01:00
Benoit Pierre 2237dce2e3 appimage: fix metadata
- correct appstream metadata filename and location
- correct desktop entry filename
2026-02-10 08:04:24 +01:00
Benoit Pierre 3644299a66 appimage: fix possible issue with the appimagetool binary (#14717)
Zero-out AppImage magic bytes from the ELF header extended ABI version so
binfmt+qemu can be used (e.g. when executed from `docker run --platform …`).

Cf.:
- https://github.com/AppImage/AppImageKit/issues/1056
- https://github.com/AppImage/AppImageSpec/blob/master/draft.md#type-2-image-format
- https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#:~:text=EI_ABIVERSION
2025-12-12 22:59:37 +01:00
Benoit Pierre c76f5f9805 android: drop no longer working make target (#14673)
Leftover from 2019, the `dev` target was removed in koreader/android-luajit-launcher@0bd2f4b.
2025-11-30 13:33:41 +01:00
Benoit Pierre 40793eaadf android: fix possible run target error (#14608)
Auto-granting the external storage permission does not work in all
cases, so ignore errors:

```
Error: Unknown operation string: MANAGE_EXTERNAL_STORAGE
```
2025-11-11 21:27:22 +01:00
Noa Himesaka 87a5116a24 fix/remarkable: simplify duplicate statements 2025-09-30 10:54:00 +02:00
Noa Himesaka 29e6ae4fe1 feat/remarkable: rMPPM move support part 2 and unified manifest with rm-appload 0.3.0 2025-09-30 10:54:00 +02:00
Benoit Pierre 9decbeb701 appimage: fix architecture (#14374)
Don't override variable set in base, which correctly handles ARMhf.
2025-09-28 19:27:56 +02:00
Frans de Jonge edc0203a7c Android: auto-grant MANAGE_EXTERNAL_STORAGE for faster dev testing (#14366) 2025-09-28 00:42:12 +02:00
Benoit Pierre 862d414c46 android: cleanup update rule
There's no need for stripping version number from shared libraries,
or debug info from binaries: it's already taken care of by the build
system.
2025-09-28 00:37:51 +02:00
Benoit Pierre 260a9a3f4e android: fix gradle lint task exclusion on CI
Account for architecture so it works for all of them, not just ARM.
2025-09-28 00:37:51 +02:00
Benoit Pierre 1d0aef1f6f appimage: support aarch64 (#14351) 2025-09-20 22:51:08 +02:00
Noa Himesaka 0a09f23532 fix/remarkable: indentation (#14175) 2025-08-16 10:35:16 +02:00
Noa Himesaka 9a357cc87b fix/remarkable: proper OTA model for remarkable-aarch64, do not set 8bpp depth for rMPP (#14163) 2025-08-13 15:12:43 +02:00
Noa Himesaka dd4a7fdb71 fix/remarkable: update for new AppLoad/qtfb-shim (#14162) 2025-08-12 21:52:06 +02:00
Benoit Pierre 456ce2fa36 gettext: switch to binary catalogs
Binary catalogs are more space efficient (total translations disk usage:
14MB instead of 35MB), and easier and faster (roughly 10 times) to load:
no parsing, and less processing (no need to unescape strings).

Not much difference on the Android APK size (a ~600KB reduction), but
other TAR.GZ / ZIP distributions see a reduction of ~3.5MB.
2025-06-21 17:47:15 +02:00
Benoit Pierre 09aab4b397 appimage: update appimagetool (#13885)
The more recent versions use ZSTD for compression, and net us a nice 2 MB reduction of the final AppImage' size.
2025-05-29 21:27:51 +02:00
Benoit Pierre 64529e755a android: libarchive based luajit-launcher
- https://github.com/koreader/koreader-base/pull/2088
- https://github.com/koreader/android-luajit-launcher/pull/552
- https://github.com/koreader/android-luajit-launcher/pull/558
- https://github.com/koreader/android-luajit-launcher/pull/559
2025-05-28 11:00:21 +02:00
Benoit Pierre 97e566ec70 minor cleanup 2025-05-28 11:00:21 +02:00
Benoit Pierre 7321c813e5 remarkable: factorize update rules (#13665) 2025-04-23 21:00:13 +02:00
Noa Himesaka 24f1a80ce8 fix: missing remarkable-aarch64 make file (#13656) 2025-04-22 13:31:23 +02:00
Benoit Pierre de676292f6 tests: drop nocov tags 2024-11-25 22:55:57 +01:00
Benoit Pierre 7188ce3bb1 make: tweak coverage rule for CI
Don't exclude `nocov` tests, since on master, only one run with coverage is used.
2024-11-25 22:55:57 +01:00
Benoit Pierre ea5d424868 tests: use new runner 2024-11-25 22:55:57 +01:00
Benoit Pierre c04023f1d1 make: factorize code for generating release updates (#12655)
Instead of splitting remove / exclusion of unwanted files in 2-3 places
(`all` rule, `update` rule, and update script in some cases), install
the same files in debug & release builds, and exclude unwanted stuff
when generating the update.

This should finally fix the CI issue with OCR tests (since we don't
remove the `data/dict` & `data/tessdata` directories on release build
anymore).
2024-11-23 20:48:37 +01:00
Benoit Pierre 35918326f0 android: fix apkanalyzer location
- fix SDK location: our install has 2 different versions: under
  `tools/bin/apkanalyzer` and `cmdline-tools/latest/bin/apkanalyzer`,
   but only the later is functional (trying to use the former raise
   some classpath exceptions)
- always use the SDK location, don't try to detect it: it's better to
  fail with a more explanatory "apkanalyzer: command not found" error
  than having the shell try to run a command with the wrong executable
  (`manifest …` because `$(APKANALYZER)` is empty)
2024-10-02 14:35:56 +02:00
Benoit Pierre 120d418b7e android: switch to monolibtic mode (#12576)
We can get rid of the `libs` and `sdcv` symlink in application files.

Depend on koreader/koreader-base#1920.

Close #12348.
2024-10-02 09:19:57 +02:00
NiLuJe a6584e312d Add kobov4 & kobov5 targets
kobov4 exists solely because there's a dedicated TC for it,
but we don't distribute binaries for it (it doesn't differ enough from
kobo, and experience has taught us that this kind of split was not a
great idea (e.g., kindle5 vs. kindlepw2)).

kobov5 targets a massively updated userland, and requires further
changes, including to the delivery mechanism, so it very much warrants a
dedicated package (re: #12401)
2024-10-01 23:26:03 +02:00
Benoit Pierre 521deb5f37 sdl: use our compiled version for the AppImage (#12575) 2024-10-01 21:30:16 +02:00