A port of Gargoyle, the great interactive fiction player, to PocketBook e-readers.
💡 Only support for Linux based PocketBook readers is envisionned, Android excluded.
This project is work in progress. There's nothing to install right now, sorry.
The build host is expected to be a Linux box. Examples are written with Debian 12 (Bookworm) in mind.
Install build tools and populate source tree:
$ sudo apt install -y cmake meson 7zip build-essential
$ git submodule update --init --recursive
Download, unpack and patch PocketBook SDK, then activate SDK and cross-compile 3rd-parties libraries:
$ ./scripts/install-sdk.sh
$ source env_set.sh
$ ./scripts/install-3rd-parties.sh
Finally build:
$ cd garglk
garglk$ cmake --fresh -B build -S . \
-D BUILD_SHARED_LIBS=OFF \
-D CMAKE_BUILD_TYPE=Debug \
-D CMAKE_EXPORT_COMPILE_COMMANDS=ON \
-D CMAKE_INSTALL_BINDIR=/mnt/ext1/applications/garglk \
-D CMAKE_INSTALL_LIBDIR=/mnt/ext1/applications/garglk \
-D CMAKE_INSTALL_PREFIX=/mnt/ext1/applications/garglk \
-D CMAKE_TOOLCHAIN_FILE=${BUILDROOT}/SDK-B288/share/cmake/arm_conf.cmake \
-D GARGLK_NO_CXX17=ON \
-D INSTALL_DEV=ON \
-D POCKETBOOK=ON \
-D SOUND=OFF \
-D WITH_FREEDESKTOP=OFF \
-D WITH_LAUNCHER=OFF
garglk$ cmake --build build -j$(nproc)
garglk$ cmake --build build -t install DESTDIR=dist
- The Interactive Fiction Database huge catalog to test the build with
- MobileRead discussion at the origin of this project
- The Interactive Fiction Archive