Common code base for all Kiwix ports
Go to file
Matthieu Gautier 12f148974f Remove the need of the aria2c dependency.
Aria2c is not use at all in kiwix-lib.

Fix #13
2017-01-17 15:56:02 +01:00
include Fix header include for cross-compilation to Windows. 2017-01-17 10:20:59 +01:00
scripts All static compilation with several generated resource code. 2016-12-23 14:27:58 +01:00
src We must include <time.h> with mingw. 2017-01-17 15:54:44 +01:00
static Add a new script to compile resources. 2016-12-23 13:06:12 +01:00
COPYING + GPL license 2016-12-31 09:29:53 +01:00
README.md Update README.md 2017-01-10 10:50:04 +01:00
meson.build Remove the need of the aria2c dependency. 2017-01-17 15:56:02 +01:00
meson_options.txt Switch build system to mesonbuild. 2016-12-22 12:01:20 +01:00

README.md

libkiwix

libkiwix contains the common code base for all kiwix ports.

Build kiwix-tools

Most of the compilation steps (including download and compilation of dependencies and other tools (kiwix-tools)) 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:

  • icu
  • libzim
  • pugixml
  • aria2c
  • ctpp2
  • xapian (optional)

On debian architecture, you can install the following deb packages:

  • libicu-dev
  • libxapian-dev
  • libctpp2-dev
  • aria2c

You will need to install yourself:

  • libzim
  • libpugixml - 1.8+, compiled with -DBUILD_PKGCONFIG=1 -DBUILD_SHARED_LIBS=1

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 libraries. If you want statically linked libraries, you can add --default-library=static option to the meson command.

Licensed as GPLv3 or later, see COPYING for more details.