Commit Graph
77 Commits
Author SHA1 Message Date
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 ed1a2c09ec doc: update build requirements (#15437)
- curl is not needed anymore
- update requirements for generating FFI cdecls
2026-05-22 15:53:47 +02:00
Benoit Pierre 27183d6961 doc: another update to build requirements (#15191)
- add missing requirements (that would normally be already installer or
  transitively installed by other requirements on most distributions)
- drop perl (no longer needed since the switch from OpenSSL to LibreSSL)
- fix SDL3 Ubuntu requirements
- add instructions for OpenSUSE
2026-03-26 19:56:23 +01:00
Benoit Pierre 99619452e8 doc: update optional build requirements (#15141) 2026-03-20 22:00:51 +01:00
TechnoCode44 bb04cb8a1f [doc] Add DataStorage developer docs (#15121) 2026-03-17 22:18:49 +01:00
Benoit Pierre 42aaa2031e sdl: fix scrolling when fractional values are involved (#15077)
Use accumulated whole scroll "ticks" in mouse wheel events.
2026-03-06 19:21:10 +01:00
Benoit Pierre 37cf09b12d sdl: switch to SDL3 (3.4.0) (#14983) 2026-02-15 16:43:29 +01:00
Benoit Pierre f94e00ebc7 docs: update macOS build requirements (#14894)
Need meson >= 1.8.3 to work around koreader/koreader-base#2258.
2026-01-28 22:49:37 +01:00
Benoit Pierre 5c3dfb2d88 doc: fix and improve build requirements (#14713)
- gettext is required since the switch to binary translations catalogs
- add shellcheck and shfmt to the optional dependencies for linting
- clarify minimum required and recommended versions
2025-12-12 22:58:05 +01:00
MartV0 af50d71113 Added shell.nix and updated Building.md (#14019) 2025-09-14 17:13:02 +02:00
Frans de Jonge 07845f29a3 Revert "doc: fix macOS build instructions (#14030)" (#14033)
This reverts commit 8a7e077cdd.
2025-07-07 19:40:27 +02:00
Benoit Pierre 8a7e077cdd doc: fix macOS build instructions (#14030)
Add missing flock dependency.

Close #14029.
2025-07-07 08:24:12 +02:00
Benoit Pierre 4dc4339bc7 doc: update testing instructions 2025-06-14 21:18:19 +02:00
Benoit Pierre b373941a6f doc: update building instructions
- remove unnecessary LUA requirements already provided by the build system
- clarify necessary vs optional requirements
- simplify macOS instructions around the minimum targeted deployment version
2025-06-14 21:18:19 +02:00
Benoit Pierre ec3470c521 cmake: bump minimum required version to 3.17.5 (#13775) 2025-05-13 14:10:23 +02:00
Shixian Sheng d799468a80 Update some links in Porting.md (#13504) 2025-04-02 15:05:41 +02:00
Benoit Pierre 926eb9d455 doc: fix / update build instructions for Alpine Linux (#13319)
- add `findutils`: we need the real deal (for `-printf`)
- add `nasm`: for building libjpeg-turbo' SIMD support
- drop `ninja-is-really-ninja` in favor of `ninja-build`:
  the former now conflicts with `samurai` (required by `meson`)
2025-02-26 12:00:55 +01:00
NiLuJe 85b8689d39 [doc] Update macOS PATH shenanigans (#12873)
Drop the sentence about brew being in PATH altogether: you wouldn't even be
able to invoke brew at all if this weren't already the case.

Fix #12868
2024-12-12 22:20:22 +01:00
Benoit Pierre 58e37ce68b doc: update macOS build instructions (#12886)
Add bash to the list of required Homebrew packages (macOS ship version 3, we need at least 4).

Closes #12868.
2024-12-10 22:47:43 +01:00
Benoit Pierre 765f1e92cb doc: minor tweak to building requirements (#12762)
Ninja is not optional.
2024-11-21 10:43:10 +01:00
mergen3107 33dfdacae1 Building.md - Debian bookworm meson install from backports (#12680) 2024-10-25 21:50:30 +02:00
mergen3107 f8446538c0 Fix KOReader spelling in the code (#12670) 2024-10-24 10:46:46 +02:00
Benoit Pierre 2403087f68 doc: update Android build instructions (#12368) 2024-08-17 22:50:21 +02:00
Frans de Jonge 6eddc66516 [doc] Build: update Android instructions to openjdk-17-jdk-headless (#12345)
Closes #12344.
2024-08-13 17:27:34 +02:00
Benoit Pierre f22e8bbbc2 doc: update building documentation (#12295)
Meson is now required.
2024-08-05 13:00:38 +02:00
Benoit Pierre 18439e7578 doc: explicitly mention perl dependency (#12240)
It usually gets pulled when installing git.
2024-07-30 08:36:08 +02:00
Benoit Pierre ce8e27a67c doc: update macOS building instructions 2024-07-19 22:43:42 +02:00
Nikola Kotur 48c41fccee doc: add Arch Linux building instructions (#12090) 2024-06-26 12:03:25 +02:00
Benoit Pierre 6e81162231 doc: update building documentation (#11961)
Together with koreader/koreader-base#1810, close #10116.

Supersede #10115.
2024-06-14 14:00:48 +02:00
Benoit Pierre a9a023c062 doc: fix android NDK / SDK instructions (#11818) 2024-05-14 12:17:59 +02:00
Benoit Pierre 12552f1c71 doc: remove ragel from the build requirements (#11661)
Not necessary anymore.
2024-04-10 23:30:52 +02:00
Frans de Jonge 6e57ccaf4f [doc] Building targets: remove mentions of Ubuntu Touch (#10974)
Deprecated or at least untested for years. Noticed due to <https://github.com/koreader/koreader/discussions/10972#discussion-5701647>
2023-10-12 14:46:58 +02:00
Frans de Jonge 1f03e76aea [doc] Building: add libtool-bin to Debian/Ubuntu prerequisites as a workaround for ancient libzmq (#10897)
Fixes #10896.

It's because of an extremely old version of libzmq, fixed since <https://github.com/zeromq/libzmq/pull/1497>.
2023-09-14 10:51:34 +02:00
NiLuJe 53e6cf563a Deal with table.pack corner-cases properly (#10350)
c.f., https://github.com/koreader/koreader-base/pull/1603 for more
details.

Re: #9624
2023-04-24 00:21:05 +02:00
NiLuJe da65ac8b02 Cleanup various varargs shenanigans (#9624)
* Iterate over varargs directly via select if possible
* Use table.pack otherwise (https://github.com/koreader/koreader-base/pull/1535).
* This allows us to simplify a few Logger calls, as logger now handles nil values.
2022-10-12 19:59:48 +02:00
Frans de Jonge 57b9c08f5a [doc] Update busted version mentioned in docs (#9078) 2022-05-07 18:22:55 +02:00
Frans de Jonge 4b0f7471f4 Fix docs after Exporter plugin refactor (#9075)
The file was moved in <https://github.com/koreader/koreader/pull/8944> but not changed in the docs config.
2022-05-07 08:59:12 +02:00
raffaem f37699a12b [doc] Build deps for Fedora (#9034)
The build deps listed in the README are not sufficient to build
KOReader. Inserting the full list of dependencies.
2022-04-24 10:30:28 +02:00
Will f709cc48e6 [doc] Add location of logs to Hacking document (#8901) 2022-03-14 09:07:08 +01:00
Frans de Jonge 9a2cf203b1 Fix docs, evernote → exporter (#8158)
Cf. https://github.com/koreader/koreader/pull/7983#issuecomment-908981240
2021-08-31 09:51:12 +02:00
NiLuJe 2d12f8a8ee Mention that arguments are always evaluated, to curb enthusiasm at
putting too much fancy stuff in a logger call ;).

(Not actually an issue in our current codebase).
2021-08-09 02:32:58 +02:00
yparitcher dc59391632 Dispatcher: use UIManager:sendEvent instead of the current instance (#7999)
This fixes inheritance issues when changing documents.
Also allow "Go to page" in FM.
2021-07-23 13:27:12 +02:00
Frans de Jonge 81eb5f8c49 Add Lua 5.1 to sample Debubuntu apt-get command (#7421)
To ensure it gets installed.

Cf. <https://github.com/koreader/koreader/issues/7409#issuecomment-800267291>.
2021-03-27 10:41:01 +01:00
NiLuJe fe10d0bce5 Revamp flash_ui handling, once more, with feeling ;) (#7262)
* Simplify flash_ui handling (by handling the unhighlight pre-callback, c.f., #7262 for more details).
* UIManager: Handle translucent window-level widgets (and those wrapped in a translucent MovableContainer) properly in setDirty directly, making sure what's *underneath* them gets repainted to avoid alpha layering glitches. (This was previously handled via localized hacks).
* Update UIManager's documentation, and format it properly for ldoc parsing, making the HTML docs more useful.
* ReaderView: Reinitialize the various page areas when opening a new document, to prevent poisoning from the previous document.
* Event: Handle nils in an event's arguments.
* CheckButton/RadioButton: Switch to simple inversion to handle highlighting
* CheckButton: Make the highlight span the inner frame's width, instead of just the text's width, if possible.
* AlphaContainer: Fix & simplify, given the UIManager alpha handling.
* MovableContainer: When translucent, cache the canvas bb used for composition.
* Avoid spurious refreshes in a few widgets using various dummy *TextWidgets in order to first compute a text height.
* KeyValuePage: Avoid floats in size computations.
2021-02-20 18:22:48 +01:00
NiLuJe 995668ac02 Unbreak macOS build (#7313)
* Bump base

https://github.com/koreader/koreader-base/pull/1308
https://github.com/koreader/koreader-base/pull/1310

* Include bison in macOS build deps

Apparently something in gettext is possibly unhappy with the hilariously
outdated stock version (2.3).
2021-02-18 23:46:29 +01:00
Rex Kerr 286a6b4883 Emulator: update mac instructions to include gnu grep (#7266)
Since `grep -z` is not available on posix grep
2021-02-10 20:55:26 +01:00
NiLuJe 04a980649f kodev: Use getopt instead of a hand-rolled hack (#6980)
* Update log android to match the current issue template
* Fix GUI gdb frontends getting wrecked by the older glib library we ship w/
KOReader
* Slightly more aggressive valgrind defaults
  It's slower, but interpreting results without leak-check=full ends up
  costing more time than just running with it.
* Add a callgrind shortcut
* Use getopt instead of a hand-rolled hack for option parsing
* Make it clearer that complex args should be quoted
* Document prompt
* Add a Valgrind suppression file for libdrm/mesa on AMD hardware
  Because mesa/libdrm isn't built w/ -D valgrind=enabled on Gentoo,
  and Valgrind is very much not happy with mesa ;p.
* Allow toggling reader.lua's sane return mode
  (Enabled automatically under gdb/valgrind).
  Should hopefully weed out some noise from valgrind reports.
* Propagate reader.lua's return code
* Sim a few other common devices
* Handle assigning values to short options with an equal instead of a space, like the previous solution
  (This is purely for backward compatibility purposes, this is a syntax that'd fail with the C getopt, too).
* Add gnu-getopt to the build requirement on macOS, because of course everything is terrible.
2020-12-18 18:26:32 +01:00
Frans de Jonge 090f33b5b8 [fix] Minor doc touchups re. QR encode (#6861)
Cf. <https://github.com/koreader/koreader/pull/6844#issuecomment-723672448>.
2020-11-09 09:17:11 +01:00
yparitcher 602e0b3feb ldoc fixes 2020-10-20 18:11:55 -04:00
NiLuJe f0f0cfd167 [Dev docs] Steer people more strongly towards koxtoolchain (#6727)
* Steer people more strongly towards koxtoolchain

And stop mentioning blatantly broken/outdated stuff

* Add macOS to the list

Also, put 'em in hierarchical order, and link to the main build docs for
the native emulator.
2020-09-29 15:06:40 +02:00