Matthieu Gautier 88f6b3a0f9 On Windows, ctpp2 use the iconv libraries.
If we are cross-compiling to windows, we need to also link with the
iconv library.

We do not check for the iconv library existance here. We assume that
if the ctpp2 library is present all its own dependencies are present also.
2017-01-17 17:33:35 +01:00
2017-01-17 15:54:44 +01:00
2016-12-31 09:29:53 +01:00
2017-01-10 10:50:04 +01:00

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.

Description
Common code base for all Kiwix ports
Readme 14 MiB
Languages
C++ 76.1%
JavaScript 16.9%
CSS 2.1%
HTML 2%
Python 1.7%
Other 1.1%