a free manga reader for the Progress Technologies eOneBook http://src.kaivo.net/hw/freeonebook/

Jakob Kaivo f1795ce97c remove debug output 5 years ago
linux 329ead8346 add linux/mxcfb.h for controlling the framebuffer, update CFLAGS 5 years ago
.gitignore 43d7600d44 redo dependency build as a straight-up shell script 5 years ago
LICENSE c190a16df0 add email address 5 years ago
Makefile b94d852b74 use MagickWand instead of MagickCore 5 years ago
README.md 6c6528e3a5 automate dependency building 5 years ago
build-deps.sh 43d7600d44 redo dependency build as a straight-up shell script 5 years ago
convert.c e791b3713a more error checking 5 years ago
convert.h 9384cfdbdd split image conversion to a separate file 5 years ago
fb.c 6d5b39e764 properly loading a PNG from disk 5 years ago
fb.h a432069f94 add option to specify which screen to map images to 5 years ago
freeonebook.c 33b9c3fd55 serialize button queue to avoid screen update races 5 years ago
gpio.c f1795ce97c remove debug output 5 years ago
gpio.h 5a5ef973c6 capture button presses and shutdown requests 5 years ago

README.md

freeonebook

Compiling

In order to compile this, you will need an ARM cross compiler (unless you are building natively on ARM, in which case skip this step). You'll also need make and pkg-config (otherwise ImageMagick won't build). On Debian, this is easy with:

$ sudo apt install gcc-arm-linux-gnueabihf make pkg-config

Dependencies

Image support is provided by ImageMagick, which in turn depends on libpng, which in turn depends on zlib. The eOneBook already has dynamic libraries for libpng installed, but you still need them installed in your cross-compilation environment so ImageMagick knows they will be there. A make target is included to simplify the process of installing them. If one or more is already installed in your cross-compilation environment, it will be skipped.

$ make install-deps

freeonebook

Once dependencies are installed, simply run make in the freeonebook directory.

$ make

Installing

Copy freeonebook to .a001 on your SD card:

$ cp freeonebook /path/to/sd/.a001

Using

Insert your SD card into your eOneBook and open it up. The program will run automatically.

At present, the program is in pre-alpha state and simply initializes the display, logs button presses to stdout, and cleanly shuts down when requested by closing the eOneBook. Don't expect much.