Installation instructions
==========================

On Linux install Xiphos through you package manager, for example on Fedora:

    $ sudo yum install xiphos

Or on Debian, Ubuntu, or Linux Mint:

    $ sudo apt-get update
    $ sudo apt-get install xiphos

If you use Windows download the .exe file from
http://sourceforge.net/projects/gnomesword/files/Xiphos/3.2.2/xiphos-3.2.2-win32.exe/download

Compile Xiphos from source
==========================

To compile Xiphos from source you will need to get a checkout of Xiphos from
Sourceforge. To do so, do:

    $ svn checkout svn://svn.code.sf.net/p/gnomesword/code/trunk xiphos

Now to compile the GTK3 version of Xiphos you need to make sure you have these
packages installed:

    $ sudo yum install gcc-c++ intltool gtk3-devel dbus-glib-devel gtkhtml3-devel webkitgtk4-devel libxml2-devel libgsf-devel gconfmm26-devel sword-devel libuuid-devel gnome-doc-utils rarian rarian-compat biblesync-devel

Or for ubuntu, both GTK3 and GTK2 versions, install:

    $ sudo apt-get install cpp intltool libgtk-3-dev libdbus-glib-1-dev libgtkhtml3.14-dev libwebkitgtk-3.0-dev libxml2-dev libgsf-1-dev libgconfmm-2.6-dev libsword-dev uuid-dev gnome-doc-utils rarian-compat libgtkhtml-editor-dev libwebkit-dev libglade2-dev libgtkhtml-4.0-dev libgtkhtml-editor-4.0-dev

Next we need to configure everything:

    $ ./waf configure --prefix=/usr --debug-level=optimized

Now we build:

    $ ./waf build

Then install:

    $ sudo ./waf install

