Partial GObject/C bindings for the libzim.
This bindings was primarly done to permit libzim usage for WebArchives.
See flatpak manifest and adapt your system in consequence.
mkdir build && cd build
meson ..
ninja
Enable tests by passing enable-tests=true
argument during meson configuration.
cd build
meson -Denable-tests=true ..
Disclaimer: tests are not truely unit tests, just try to use the library to get informations from an archive. Those are useful to quickly show result of bindings use.
meson test --test-args=<archive-path>
Notice: don't forget to:
- give absolute path of the archive.
- double quote the path.
- escape space character with backslash.
meson test --test-args=<archive-path> prog-c -v
Notice: same requirements as previous notice.
Use environment variables ZIM_DIRENTCACHE
and ZIM_CLUSTERCACHE
to control in
memory cache sizing.
Example: ZIM_DIRENTCACHE=1 ZIM_CLUSTERCACHE=1
is the minimal size.
- Write true unit tests.
- Make doc.
GPLv3 or later, see COPYING for more details.