Commit Graph
601 Commits
Author SHA1 Message Date
Benoit Pierre 651eae828f kindle: add SSH server support to KUAL extension (#15352)
So the server can be started/stopped from there.
2026-05-10 13:01:45 +02:00
Tomáš Janoušek 510b9abe6d handle multiple args in common/koreader.sh (#15271)
The previous handling had two problems:

- current dir only appended if argc == 1
- multiple args passed as one to reader.lua

As a result:

- `bin/koreader -v -d` doesn't work (reader.lua sees it as one arg)
- `bin/koreader -d abc.epub` doesn't work either (for the same reason)

The fix is to go through args one by one and use `set -- …` to keep them
as an array of args (preserves white-space and avoid unintended
expansions that might happen if we attempted to do some eval trickery
instead).

Note that reader.lua doesn't currently handle multiple file/dir args, so
we could instead just look at the last arg and add pwd to that one.
Unfortunately doing this in POSIX sh isn't any simpler than processing
all args. :-)

(While at it, use `$PWD` which is required by POSIX to always be
present.)

Tested with bash 5.3.9, busybox 1.37.0 and dash 0.5.12.
2026-04-21 22:59:55 +02:00
Benoit Pierre 6456e9ea79 macos: tweak release 7z name (#15284)
- don't truncate version (stop removing arguably the most important part)
- add `macos` to the name to avoid confusion with other artifacts
- add deployment target too
2026-04-18 19:16:42 +02:00
Frans de Jonge ee94423ae3 [Android] Bump luajit-launcher (#15251) 2026-04-09 07:58:32 +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 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 d18736fcc4 fix appstream metadata warnings
```
P: rocks.koreader.KOReader:4: cid-contains-uppercase-letter rocks.koreader.KOReader
P: rocks.koreader.KOReader:376: screenshot-no-caption
P: rocks.koreader.KOReader:379: screenshot-no-caption
P: rocks.koreader.KOReader:382: screenshot-no-caption
```
2026-02-10 08:04:24 +01:00
Benoit Pierre db9e64c54d update metadata translations 2026-02-10 08:04:24 +01:00
Min S. Kim ba0e6e5838 Add support for Onyx Boox Note Air 5C, Fix Onyx Boox black screen on wake after font size change (#14956)
On some Onyx Boox devices, the SurfaceView surface is not recreated
after the rapid activity cycling that the Boox system performs on wake,
leaving android.app.window permanently nil. This caused a black screen
after font size change + sleep + wake.

The SurfaceView with setZOrderOnTop(true) was introduced for NGL4/Tolino
devices. The Onyx Qualcomm EPD API (View.refreshScreen) does not require
a SurfaceView — einkUpdate() already falls back to the DecorView content
view when no SurfaceView exists. Setting
OnyxEPDController.needsView()=false makes Onyx devices use
NativeActivity's default DecorView surface, which follows the standard
activity lifecycle and correctly survives wake.

Fixes #12445
2026-02-09 21:35:41 +01:00
Benoit Pierre 0b53cefb9f cervantes: detect if launcher script has changed
And a complete restart from the parent launcher is needed.
2026-01-06 21:26:30 +01:00
Benoit Pierre 8d7b0792fb kindle / pocketbook / remarkable: fix startup script change detection
- prior to #14719, `$KOREADER_DIR` was not part of the environment,
  so an update relying on it without a restart from the parent
  launcher would crash KOReader on startup
- pocketbook: fix check (`koreader.app` is located in `$KOREADER_DIR/..`)
- remarkable: ensure `$KOREADER_DIR` remain correct after relocalization
2026-01-06 21:26:30 +01:00
hugleo eb1827c016 bump luajit-launcher (#14753)
[feat: Boox Palma 2 Pro support (](https://github.com/koreader/android-luajit-launcher/commit/b2434073bf4c1383d46de6b423406f38d61ccfb0) 575)

[Add support for new e-ink devices: Boox Poke5S, Boox C67ML, Boox Note S, BOOX Darwin 5, Boox Go Color 7, Crema Soundup, Nook Glowlight plus 7.8" (2019) (](https://github.com/koreader/android-luajit-launcher/commit/6d84bf671d0919e822e6b092f1ee1db321ff04c6) 576)
2025-12-25 16:51:25 +01:00
Benoit Pierre 2e2a4875c9 remarkable: detect if launcher script has changed
And a complete restart from the parent launcher is needed.
2025-12-13 10:59:04 +01:00
Benoit Pierre 0094ea2cb0 pocketbook: detect if launcher script has changed
And a complete restart from the parent launcher is needed.
2025-12-13 10:59:04 +01:00
Benoit Pierre c93624d2c5 kindle: detect if launcher script has changed
And a complete restart from the parent launcher (e.g. KUAL) is needed.
2025-12-13 10:59:04 +01:00
Benoit Pierre e04f1800ba kobo: minor cleanups 2025-12-13 10:59:04 +01:00
Natalie 9486753946 bump luajit-launcher to 75e7eaf (#14672) 2025-11-30 09:54:22 +01:00
Benoit Pierre fec9c1ea38 platform: remove leftovers from old install on update (#14637)
Files present in the old `ota/package.index` but not in the new one.
2025-11-25 15:37:58 +01:00
Noa Himesaka 54281ae279 misc/remarkable: enable full refresh by default for xovi-based setup (#14575) 2025-11-06 10:51:17 +01:00
Noa Himesaka 7c677bf2ae fix/remarkable: remove duplicated RM2FB check in koreader.sh (#14421) 2025-10-06 08:56:51 +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
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
hugleo a44e8e958e bump luajit-launcher, Add Hyread Gaze Note Plus CC to color devices (#14125) 2025-08-02 09:26:43 +02:00
hugleo f2c678c205 bump luajit-launcher (#13924)
Removed ONYX Book GO COLOR 7 From Onyx/Qualcomm EDP (https://github.com/koreader/android-luajit-launcher/commit/b0fd95f2897ca6afae127d4f8b0bc5c15acc7913)
Remove Boox Go7 from EDP driver and add support for Hisense Touch Lite (https://github.com/koreader/android-luajit-launcher/commit/3468bdbf0dd514c869c1c5066f2914c2e59336c4)
JNI: always use the C interface (https://github.com/koreader/android-luajit-launcher/commit/473ccd5a93167f1c0527d7f810ae4adff2d3fc98)
Add Onyx Boox Go7 and Palma to ADB for improved lighting (https://github.com/koreader/android-luajit-launcher/pull/560)
2025-06-19 15:06:49 +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 58860f65dd bump luajit-launcher (#13867)
- https://github.com/koreader/android-luajit-launcher/pull/549
- https://github.com/koreader/android-luajit-launcher/pull/550
- https://github.com/koreader/android-luajit-launcher/pull/551
- https://github.com/koreader/android-luajit-launcher/pull/553
- https://github.com/koreader/android-luajit-launcher/pull/556
- https://github.com/koreader/android-luajit-launcher/pull/557
2025-05-27 07:54:25 +02:00
Benoit Pierre 52528d63a4 macos: no need to bundle tar anymore (#13861) 2025-05-26 17:03:28 +02:00
Martín Fernández 23bcb530c9 Debian: misc changes (#13596)
- Updated changelog with proper version & date.
- Updated description (based on common metadata)
- Removed duplicated files that are condensed in /usr/share/doc/koreader

Misc:

- make `frontend/device/devicelistener.lua` non executable
- make `plugins/terminal.koplugin/profile` executable
2025-04-15 08:34:11 +02:00
Benoit Pierre 29b728020f android: fix STL (#13594)
- https://github.com/koreader/koreader-base/pull/2058
- https://github.com/koreader/android-luajit-launcher/pull/548

Close #13575.
2025-04-14 19:49:15 +02:00
Benoit Pierre c95822f0a4 bump luajit-launcher (#13595)
- https://github.com/koreader/android-luajit-launcher/pull/547
2025-04-14 18:16:12 +02:00
Martín Fernández d6771ebe61 bump metadata translations (#13551) 2025-04-10 21:40:12 +02:00
Martín Fernández fcb9200a12 avoid debian fonts (#13512)
Fixes #13509
2025-04-05 21:57:21 +02:00
Martín Fernández d106336a79 bump luajit-launcher (#13432)
Handle links from browsers et al.

New Onyx Boox devices: Note Max, Livingstone 3, Galileo 2, Palma 2.
2025-03-18 20:27:41 +01:00
hugleo bc2c205cf8 Bump luajit-launcher (#13170)
Fix DeviceInfo for InkBook Focus and InkBook Focus Plus
2025-01-30 17:46:59 +01:00
hugleo 9911ef71d1 Bump luajit-launcher (#13166)
Fix DeviceInfo for InkBook Focus and InkBook Focus Plus
2025-01-30 00:49:45 +01:00
hugleo d0cadc7023 Bump luajit-launcher (#13112)
Support for new devices:

Inkbook Focus
Inkbook Focus Plus
Meebook M6C
Obook P78D
Onyx Note Air 3C
Onyx Tab Ultra C Pro
Storytel Reader 2
2025-01-22 12:32:54 +01:00
hugleo 67af55bb7e Bump luajit-launcher (#12850)
fix Tolino Epos 2 warmth (#531)
2024-12-04 23:23:19 +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 06a3b13636 android: bump luajit-launcher to fix incorrect eink driver for a number of tolino devices (#12779)
- https://github.com/koreader/android-luajit-launcher/pull/530 (close #12769)
2024-11-22 17:50:02 +01:00
Martín Fernández fd3727274b bump android-luajit-launcher (#12734)
Includes:

https://github.com/koreader/android-luajit-launcher/pull/526
https://github.com/koreader/android-luajit-launcher/pull/527
https://github.com/koreader/android-luajit-launcher/pull/528
https://github.com/koreader/android-luajit-launcher/pull/529
2024-11-13 14:55:40 +01:00
mergen3107 f8446538c0 Fix KOReader spelling in the code (#12670) 2024-10-24 10:46:46 +02:00
Benoit Pierre e9f83a8cd0 bump luajit-launcher (#12630)
- https://github.com/koreader/android-luajit-launcher/pull/517
- https://github.com/koreader/android-luajit-launcher/pull/521
- https://github.com/koreader/android-luajit-launcher/pull/522
- https://github.com/koreader/android-luajit-launcher/pull/523
- https://github.com/koreader/android-luajit-launcher/pull/524
2024-10-13 00:18:18 +02:00
Jose San Pedro 93935f34ef Add wifi support to Cervantes Touch Light devices (#12148) 2024-10-06 17:39:58 +02:00
Martín Fernández 28b72f081a update metadata translations for fdroid/flathub (#12581) 2024-10-06 17:37:58 +02:00
Benoit Pierre f0e5acfd26 android: drop unnecessary code (#12594)
No need for dlopen machinery with monolibtic library.
2024-10-04 18:59:58 +02:00
NiLuJe 3c60d440ad Bump platform/android/luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/514
https://github.com/koreader/android-luajit-launcher/pull/513
https://github.com/koreader/android-luajit-launcher/pull/512
https://github.com/koreader/android-luajit-launcher/pull/515
2024-10-01 23:26:03 +02:00
Benoit Pierre a1edbbf0c4 use new ffi.loadlib helper (#12545)
To load our native libraries.
2024-09-26 18:36:09 +02:00
Frans de Jonge 776cc21f1d Bump luajit-launcher for Onyx Boox Go 10.3 support (#12533)
https://github.com/koreader/android-luajit-launcher/pull/509
2024-09-19 18:30:01 +02:00
NiLuJe 89fdb5516b Bump platform/android/luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/508
https://github.com/koreader/android-luajit-launcher/pull/506
https://github.com/koreader/android-luajit-launcher/pull/510
2024-08-30 22:09:57 +02:00