mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-22 11:22:38 -04:00

ctpp2-st is not a standard name, all other projects use the same base name for dynamic and static libs. Debian already patch the lib name in the ctpp2 package. As we also patch it in kiwix-build, we can ignore ctpp2-st and always try to link on ctpp2. This is even necessary as ctpp2-st is not existing at all is those usecases, so we cannot try to link with ctpp2-st when compiling statically. We could fix, the ctpp2 lib search to search ctpp2 and ctpp2-st when compiling statically but it seems to be a lot of work for nothing as ctpp2-st is not used at all in our usecases.
kiwix-tools
kiwix-tools contains a set of tools to interact with kiwix and zim files.
Build kiwix-tools
Most of the compilation steps (including dependencies download and compilation) are handle by kiwix-build script. If you don't have any special need, we recommand you to use kiwix-build instead of doing all the steps yourself.
Dependencies:
You'll need the following dependencies to build libkiwix:
- kiwix-lib (and its dependencies)
- libmicrohttpd
As we use meson to build kiwix-tools, you will need the common meson tools:
- meson >= 0.34
- ninja
- pkg-config
To build:
$ cd kiwix-lib
$ meson . build
$ cd build
$ ninja
$ ninja install
By default, it will compile dynamic linked binaries.
If you want statically linked binaries, you can add --default-library=static
option to the meson command.
Licensed as GPLv3 or later, see COPYING for more details.
Languages
C++
66.1%
Roff
22.8%
Meson
4.9%
Dockerfile
4.5%
Shell
1.7%