Update building/packaging documentation

svn path=/trunk/netsurf/; revision=4776
This commit is contained in:
Rob Kendrick 2008-07-28 21:02:20 +00:00
parent fe7cae2bfe
commit e0e6f02f82
2 changed files with 22 additions and 11 deletions

View File

@ -12,15 +12,20 @@
Building and executing NetSurf
=================================
To build GTK NetSurf on a UNIX-like platform, provided you have the relevant
build dependencies installed, simply run:
First of all, you should examine the contents of Makefile.config and enable
and disable relevant features as you see fit. Some of these options can be
automatically detected and used, and where this is the case they are set to
such. Others cannot be automatically detected from the Makefile, so you will
either need to install the dependancies, or set them to NO.
Once done, to build GTK NetSurf on a UNIX-like platform, simply run:
$ make
If that produces errors, you probably don't have some of NetSurf's build
dependencies installed. See "Obtaining NetSurf's dependencies" below. You
may need to "make clean" before attempting to build after installing the
dependencies.
dependencies installed. See "Obtaining NetSurf's dependencies" below. Or turn
off the complaining features in Makefile.config. You may need to "make clean"
before attempting to build after installing the dependencies.
Run NetSurf by executing the "netsurf" shell script:
@ -77,7 +82,11 @@
is currently enabled by default, and cannot be auto-detected by the Makefile.
If you wish to disable it, do so by editing Makefile.config.
Haru PDF can be obtained from http://libharu.sourceforge.net/
Haru PDF can be obtained from http://libharu.sourceforge.net/, although we
currently depend on features that the official version does not have. You
can obtain our patched version from the following Subversion address until
the patches are accepted upstream;
svn://svn.netsurf-browser.org/branches/adamblokus/libharu/adamblokus
Lemon
-------
@ -103,3 +112,4 @@
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.

View File

@ -1,5 +1,5 @@
--------------------------------------------------------------------------------
Packaging suggestions for NetSurf 21 March 2008
Packaging suggestions for NetSurf 28 July 2008
--------------------------------------------------------------------------------
This document lays out some suggestions for people interested in packaging
@ -46,10 +46,10 @@
3. /usr/share/netsurf/
The second one is how the netsurf launcher script controls it. The third
location is controlled by #define RESPATH in gtk/gtk_gui.c, and this is
the recommended way for packagers to change the location it searches,
as this still allows the user some flexibility in changing what NetSurf
uses.
location is controlled the NETSURF_GTK_RESOURCES option in Makefile.config,
and this is the recommended way for packagers to change the location it
searches, as this still allows the user some flexibility in changing what
NetSurf uses.
User agent string
@ -83,3 +83,4 @@
users to report bugs to your bug tracker, not ours. We'd also be interested
in seeing the diffs for these changes - we may be able to integrate them
to make your job easier in future.