Commit Graph

577 Commits

Author SHA1 Message Date
hugleo
f2c678c205 bump luajit-launcher (#13924)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
Removed ONYX Book GO COLOR 7 From Onyx/Qualcomm EDP (b0fd95f289)
Remove Boox Go7 from EDP driver and add support for Hisense Touch Lite (3468bdbf0d)
JNI: always use the C interface (473ccd5a93)
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
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
- 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)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
- 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)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-05-26 17:03:28 +02:00
Martín Fernández
23bcb530c9 Debian: misc changes (#13596)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
- 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)
Some checks are pending
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (10.15, 13, x86-64, 15.2) (push) Waiting to run
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (11.0, 14, ARM64, 15.4) (push) Waiting to run
Fix DeviceInfo for InkBook Focus and InkBook Focus Plus
2025-01-30 00:49:45 +01:00
hugleo
d0cadc7023 Bump luajit-launcher (#13112)
Some checks failed
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (10.15, 13, x86-64, 15.2) (push) Has been cancelled
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (11.0, 14, ARM64, 15.4) (push) Has been cancelled
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
Benoit Pierre
bd4a651fbf make: improve android update
- out-of-tree luajit-launcher build: no leftovers after `make clean`
- use the luajit library compiled by base: no point wasting time
  building a second (different, possibly incompatible) version
2024-08-10 23:34:17 +02:00
Benoit Pierre
2d2921032d bump luajit-launcher (#12317)
- https://github.com/koreader/android-luajit-launcher/pull/495
- https://github.com/koreader/android-luajit-launcher/pull/500
- https://github.com/koreader/android-luajit-launcher/pull/501
- https://github.com/koreader/android-luajit-launcher/pull/503
- https://github.com/koreader/android-luajit-launcher/pull/503
2024-08-08 22:45:38 +02:00
NiLuJe
d59c837714 Kobo: Refactor various aspects of the Kaleido/MTK support (#12221)
* UIManager: Let the fb backend deal with Kaleido wfm promotion. This fixes a number of quirks that poisoned the refresh queue with spurious full-screen refreshes. See https://github.com/koreader/koreader-base/pull/1865 for more details.
* This also means we now disable Kaleido waveform modes when color rendering is disabled (remember to trash your thumbnail cache if you don't want to mix color w/ grayscale thumbnails, though).
* UIManager: Merge refreshes that share an edge, because that was driving me nuts (and would have most likely been merged by the kernel anyway). A perfect test-case is the FM, which trips two separate refreshes because of its title bar.
* ReaderFlipping: Use sensible dimensions, so that we only refresh the icon's region.
* ReaderBookmark: Only refresh the dogear instead of the whole page when toggling bookmarks.
* NetworkSetting: Make it a real boy, so it consistently refreshes properly on dismiss instead of relying on UIManager saving the day.
* Kobo: Aggressively prevent *both* suspend & standby while MTK devices are plugged-in, as both will horribly implode the kernel (we previously only prevent standby while charging).
* Kobo: Switch to 8bpp on B&W MTK devices (or when color rendering is disabled on Kaleido panels).
2024-07-28 01:19:40 +02:00
NiLuJe
ad1286fbcc Bump platform/android/luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/493
https://github.com/koreader/android-luajit-launcher/pull/496
https://github.com/koreader/android-luajit-launcher/pull/497
https://github.com/koreader/android-luajit-launcher/pull/498
2024-07-20 21:17:07 +02:00
Martín Fernández
bbe4ce466b bump android-luajit-launcher (#12147)
* prune old assets before uncompressing new ones.
* move Poke5 to OnyxAdb driver
2024-07-07 23:03:46 +02:00
Martín Fernández
388a27336d android: import files if path cannot be guessed (#12121)
closes #9787
2024-06-29 07:57:45 +02:00
hugleo
b7fc048bbe Bump android-luajit-launcher (#12084)
Long time no update. A lot of changes.
2024-06-24 21:12:51 +02:00
NiLuJe
9fd6c82b3b Kobo: Overengineer the manual CLOEXEC logic in the Wi-Fi scripts (#12045)
So it catches non-CLOEXEC sockets properly...

Fix #12043
2024-06-18 21:20:14 +02:00
Benoit Pierre
088ae7d4ee lint: fix issues reported by newer shellcheck / shfmt 2024-06-15 23:02:52 +02:00
NiLuJe
94e7c5ad9e Kobo: Don't touch the fb state on shutdown/reboot.
Apparently, the refresh can be slow enough to race with the state
switch, resulting in it being displayed at the wrong bitdepth.

Fix #12009
2024-06-15 00:31:05 +02:00
Benoit Pierre
1568303b93 macos: sign (ad hoc) application bundle
Necessary for the arm64 variant, or macOS will complain about the
application being "damaged" (instead of the developer being not
verified), with no possible right click / ctrl+click workaround.
2024-06-11 21:34:40 +02:00
Benoit Pierre
951d9eb9c7 macos: strip application bundle tar binary
Only keep the target architecture.
2024-06-11 21:34:40 +02:00
Benoit Pierre
e757f2bf18 macos: add architecture name to update bundle 2024-06-11 21:34:40 +02:00
Benoit Pierre
10e6f489d0 kopt: honor TESSDATA_PREFIX environment variable
Don't override it by default, but honor it if present.
2024-06-01 09:56:36 +02:00
Benoit Pierre
b7c1957e4b macos: fix bundle
The new build system should normally be free from "brew infections",
and already have the proper runtime path and library names.
2024-05-30 07:54:22 +02:00
Martín Fernández
3fb2f18041 update tool to generate metadata translations (#11869)
* updated:

    - strings to translate
    - english metadata

* added:

    - appstream: metadata generator
    - appstream: translation of screenshot captions, if they're present.
    - appstream: link to gh release notes
2024-05-26 20:10:12 +02:00
Martín Fernández
36d2e3cf74 Add README.md to Linux package (#11859) 2024-05-20 18:12:54 +02:00
Martín Fernández
1eb2095ead Desktop: add all supported mimetypes. (#11847)
Change the comment to "ebook reader"
2024-05-19 22:27:36 +02:00
Martín Fernández
89a6ae28a6 appstream: update metadata (#11851)
proper requires, supports and recommends
all supported mimetypes
add branding colors
2024-05-19 22:26:58 +02:00
Martín Fernández
635d243152 debian: update metadata (#11854)
Slightly modified to avoid: E: koreader: description-starts-with-package-name
2024-05-19 21:51:03 +02:00
Martín Fernández
7bded465eb SDL: add flatpak flavor (#11833)
* ship metadata with generic linux binaries
* append release version & data at build time
2024-05-18 13:21:59 +02:00
Martín Fernández
79be8a10b1 appimage: keep metadata in sync with flathub (#11819)
Because it is actually pulled from here :p
2024-05-14 14:44:11 +02:00
Martín Fernández
2c6808ba78 Add generic Linux package (#9351)
Relates to https://github.com/koreader/koreader/issues/9268
Requires https://github.com/koreader/koreader-base/pull/1504

Usage: 
- `kodev release linux` for native package (same arch as host)
- `LINUX_ARCH=arm release linux` for armhf on a x86_64 host.
- `LINUX_ARCH=arm64 release linux` for arm64 on a x86_64 host.

It produces a `koreader-linux-$ARCH-$VERSION.tar.xz` archive, where $ARCH follows `uname -m` convention {x86_64, armv7l, aarch64}

To generate the debian package from the generic archive the following command is required

`./platform/linux/do_debian_package.sh path_to.tar.xz`
2024-05-13 12:11:11 +02:00
sdasda7777
eb7af994e1 Check if /usr/bin symlink is present to fix instance reuse issue on older Pocketbooks (#11764)
Fixes #11760.
2024-05-13 12:08:16 +02:00