Icons and IconsGUI are helper programs that add icons for programs and covers for FB2 books installed on your DR device.
. icons is the command line program which does all the work
. icons-gui is the graphical interface for icons
Copy the contents of the "bin" directory in this package to <SD card>/Programs folder on your DR. They aren't any external dependencies.
Note that "icons" binary can only be in "<SD card>/Programs/_icons" to be found by "icons-gui".
Comparing with old version written in lua
Some months ago I wrote a first version of these same programs in another language called lua. That version is now obsolete, as this one is faster, has more features (live update of output) and is fully integrated with the DR (popupmenu).
Regarding speed, this version is 2x faster and its memory consumption is lower.
On the other side, the XML parser included here is not as good as the lua based parser of the old version so maybe this version could not extract as many FB2 books covers (~6% less covers for my books).
Though this program is provided as a standalone binary, it is written in Vala, a high level language which is then compiled to C.
Note that sources and all the stuff of "Vala for DR" needed to build this program is already included in this package. Search for "Vala for DR" for more information.
Instructions to build
- You need a running DR development environment
- Download, build and install Vala
. download v0.11.7
. build and install Vala using devel machine compiler (i.e, gcc, not arm-poky-linux-gnueabi-gcc)
- Build SysInfo:
. all Vala needed files are in the "irex" directory
. set the cross-compiling environment:
$ source /usr/local/poky/eabi-glibc/arm/environment-setup
. run "make"
- That's it
. there could be some warnings, they usually don't matter