Skip to content


Folders and files

Last commit message
Last commit date

Latest commit


Repository files navigation


GObject/C bindings for the Xapian API

Xapian-GLib is a wrapper library that offers a C API and GObject types for the Xapian database.

Xapian-GLib allows accessing the Xapian API in various languages, through the GObject Introspection API.


Xapian-GLib, unsurprisingly, requires:

  • Xapian ≥ 1.3.4
  • GObject ≥ 2.40

You will also need Meson in order to build Xapian-GLib.


In order to build Xapian-GLib you will need to clone the Git repository:

$ git clone git://
$ cd xapian-glib

Then run:

$ meson _build .
$ ninja -C _build
$ meson test -C _build		# Run the test suite

To build the library.

You can install to the default location of /usr/local by using:

$ sudo ninja -C _build install

If you want to use an alternative location for the installation, use the --prefix configuration switch with Meson. See meson --help for additional configuration options.


The API reference for the latest version of Xapian-GLib is available online.


Like Xapian, Xapian-GLib is released under the terms of the GNU General Public License, version 2.0 or (at your option) later.

See the file COPYING for details.