summaryrefslogtreecommitdiff
path: root/INSTALL.md
blob: bcac010af4fa4360f5890bfd58358fe7de6aaded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Installation instructions
==========================

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

    $ sudo dnf install xiphos-gtk3

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://xiphos.org/download/

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

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

    $ git clone https://github.com/crosswire/xiphos.git

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

    $ sudo dnf 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 libdbus-glib-1-dev libwebkitgtk-3.0-dev libxml2-dev libgsf-1-dev libsword-dev uuid-dev gnome-doc-utils rarian-compat libwebkitgtk-dev libglade2-dev libgconf2-dev libbiblesync-dev

Next we need to configure everything:

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

Now we build:

    $ ./waf build

Then install:

    $ sudo ./waf install