summaryrefslogtreecommitdiff
path: root/Docs/BUILDING-GTK
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2007-02-06 16:52:47 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2007-02-06 16:52:47 +0000
commit356ff18153eab9eb7832725e0e26d835cb1f071f (patch)
treeaee7b8851ad9ff4896862c237e19844a50aa3473 /Docs/BUILDING-GTK
parentb6cc8cc6eb15c2a4c0a3ef29dc9754802d6fc80d (diff)
downloadnetsurf-356ff18153eab9eb7832725e0e26d835cb1f071f.tar.gz
netsurf-356ff18153eab9eb7832725e0e26d835cb1f071f.tar.bz2
Remove bashism and improve nsgtk launcher shell script, add simple BUILDING-GTK document.
svn path=/trunk/netsurf/; revision=3167
Diffstat (limited to 'Docs/BUILDING-GTK')
-rw-r--r--Docs/BUILDING-GTK26
1 files changed, 26 insertions, 0 deletions
diff --git a/Docs/BUILDING-GTK b/Docs/BUILDING-GTK
new file mode 100644
index 000000000..da28abe6f
--- /dev/null
+++ b/Docs/BUILDING-GTK
@@ -0,0 +1,26 @@
+To build the GTK version of NetSurf on a UNIX-like platform (although it has
+only been tested on Debian, Ubuntu and FreeBSD), simply run "make gtk" once
+you have got the relevent build dependancies installed. Under a Debian-like
+OS, this should suffice:
+
+ apt-get install libglade2-dev libcurl3-dev libxml2-dev lemon re2c
+
+This will pull in loads of things, like all the GTK dev libraries, the PNG and
+JPEG libraries, colour management libraries, zlib, OpenSSL etc that NetSurf
+also depends on.
+
+lemon and re2c are the parser and lexer generators used to create NetSurf's CSS
+support. If you have trouble finding lemon for your platform, it forms part of
+the SQLite distribution, and consists of a single C file and a single runtime
+data file, and is trivial to build yourself.
+
+Type "make gtk". Currently, this produces a huge number of warnings, mostly
+due to confused signedness. These havn't been fixed yet but are mostly
+harmless.
+
+Once you've built NetSurf, you should have an executable called nsgtk. You
+can't run this directly without setting up some environment variables so that
+NetSurf can find its resources (such as the window definitions, text resources,
+etc). A small shell script called "netsurf" is provided to make it easy to run
+NetSurf from the build tree.
+