2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00
Commit Graph

550 Commits

Author SHA1 Message Date
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
Valentin Dubois
526a1fb727
Initial support for new Kobo (Clara B/W + Colour, Libra Colour) (#11737)
* Support the Clara B&W, Clara Colour & Libra Colour
* Enable HW dithering on *all* the Kobo MTK devices
* Enforce 32bpp instead of 8bpp for Kobo devices with a color panel (the driver doesn't actually support 8bpp anyway)
* Enable standby support on MTK (whenever possible, i.e., not when plugged in, as that is horribly, horribly broken).
* Enforce the dedicated "color" waveform mode for image content in ScreenSaver, ImageViewer & Reader.
* Fix charging LED support on MTK
* Tweak the frontlight ramp on MTK + LM3630 so that it actually ramps smoothly
2024-05-09 03:27:37 +02:00
Benoit Pierre
ad6e3b34c4 bump luajit-launcher 2024-04-30 22:22:44 +02:00
poire-z
d178273671
bump base, luajit-launcher, avoid assert failure in sub-processes (#11658)
Bump base:
- Update LuaJIT to 20240310
- harfbuzz: fix ccache 4.9.1 errors
- ci: drop unnecessary macOS build dependency
- CRE: avoid assert failure in sub-processes
Bump luajit-launcher:
- Update LuaJIT to 20240310
Frontend:
- CreDocument: prevent assert failure in sub-processes
2024-04-10 22:39:59 +02:00
hugleo
cd7d3b5ef6
Bump luajit-launcher (#11636)
Add support for C64P
2024-04-07 18:18:46 +02:00
Martín Fernández
5d2782ddfe
bump luajit-launcher (#11554)
Add Linfiny eNote / Avalue ENT-13T1 / QuirkLogic Papyr
2024-03-15 19:36:34 +01:00
Martín Fernández
3638adc841
appimage: get full path before changing to assets dir (#11552) 2024-03-15 17:43:00 +01:00
hugleo
95ce974ef9
bump base/libk2pdfopt and luajit-launcher (#11540)
- libk2pdfopt: allow asymmetric margins for auto-crop.
- luajit-launcher: new devices for e-ink test
2024-03-14 00:18:31 +01:00
zwim
f836f6a237
Clear UI leftovers before doing an OTA-install, add unmovable to InfoMessage and ConfirmBox (#11412) 2024-01-29 22:37:32 +01:00
gbyl
a84ab265b8
reMarkable: More robust Wi-Fi scripts (#11287)
Fixing a bunch of issues in the process.

---------

Co-authored-by: gbyl <gbyl@users.noreply.github.com>
2024-01-15 04:38:30 +01:00
hugleo
98b598ddcb
Bump luajit-launcher (#11358)
Fix Android build error
2024-01-15 01:42:34 +01:00
NiLuJe
b2b87bd651 Bump platform/android/luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/436
https://github.com/koreader/android-luajit-launcher/pull/458
https://github.com/koreader/android-luajit-launcher/pull/460
https://github.com/koreader/android-luajit-launcher/pull/462
2024-01-13 23:36:02 +01:00
mergen3107
63329569eb
[android] toggle warmth on onyx devices (#11275) 2023-12-28 12:09:42 +01:00
NiLuJe
e7ee900cbd Bump android/luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/451
https://github.com/koreader/android-luajit-launcher/pull/431
https://github.com/koreader/android-luajit-launcher/pull/439
https://github.com/koreader/android-luajit-launcher/pull/452
2023-12-22 23:48:50 +01:00
Frans de Jonge
75d3c10496
Debian package: add X-Purism-FormFactor to koreader.desktop (#11249)
Fixes #11118.
2023-12-21 18:03:46 +01:00
NiLuJe
5ef4db6176 Bump android/luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/449
2023-11-26 08:37:41 +01:00
Frans de Jonge
7870e83410
Bump luajit-luancher: support Onyx Nova, warmth support Tolino Vision 4, LuaJIT 20231109 (#11128)
* Use Tolino NTX on Tolino Vision 4 to add warmth support <https://github.com/koreader/android-luajit-launcher/pull/446> @ailin-nemui
* Support for Onyx Nova <https://github.com/koreader/android-luajit-launcher/pull/443> @hugleo
* Bump LuaJIT to 20231109 <https://github.com/koreader/android-luajit-launcher/pull/447> @NiLuJe (same as in <https://github.com/koreader/koreader/pull/11127>)
2023-11-19 10:31:49 +01:00
NiLuJe
4eac18f9b9 Bump android/luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/441

Fix #10533, #10150, #10587, #10501

https://github.com/koreader/android-luajit-launcher/pull/442
2023-10-10 00:33:53 +02:00
hugleo
7ecd94b26a
Bump LuaJIT for Onyx Poke5 support (#10917) 2023-09-20 23:02:39 +02:00
Serge Baranov
55daf9fbf4
Bump LuaJIT (#10914)
New device: Onyx Boox Palma
2023-09-19 14:30:47 +02:00
NiLuJe
2a79ad918c Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/434
2023-09-06 02:28:44 +02:00
NiLuJe
689d9e2976
Kobo: Initial Elipsa 2E support (#10719)
Untested, but mostly everything should be there ;p.

Bumps base for MTK support (https://github.com/koreader/koreader-base/pull/1642)
2023-08-01 20:26:02 +02:00
Martín Fernández
0d40d9c99d
bump luajit-launcher: more devices (#10732) 2023-07-23 18:46:27 +02:00
NiLuJe
8e063d5b39 macOS: Comment on the expected gettext behavior
Someone who can actually run otool will have to confirm whether
the intended behavior (glib being linked against a static gettext copy)
is actually what's happening...
2023-07-18 02:11:25 +02:00
NiLuJe
17bdd56e02 Never export LD_LIBRARY_PATH
It's been made redundant by the RPATH changes

The only platform that gets the dubious honor of actually needing an
LD_LIBRARY_PATH is PocketBook, because of InkView.

Co-authored-by: Benoit Pierre <benoit.pierre@gmail.com>

Bump base to pull in the aforementioned RPATH changes ;).

https://github.com/koreader/koreader-base/pull/1638
2023-07-18 02:11:25 +02:00
NiLuJe
f61dc0cdb5 macOS: We ship our own webp, don't pull brew's
c.f., https://github.com/koreader/koreader/pull/10687#issuecomment-1633450159
2023-07-13 06:26:22 +02:00
NiLuJe
9e1197c489
LuaJIT update (#10689)
* Bump base (https://github.com/koreader/koreader-base/pull/1636)
* Bump android/luajit-launcher (https://github.com/koreader/android-luajit-launcher/pull/424)
2023-07-13 04:40:45 +02:00
NiLuJe
d0899f24e3 Bump android/luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/422

https://github.com/koreader/android-luajit-launcher/pull/423
2023-07-12 06:14:53 +02:00