Nux

Merge lp:~bregma/nux/lp-1011395 into lp:nux

Proposed by Stephen M. Webb
Status: Merged
Approved by: Brandon Schaefer
Approved revision: 788
Merged at revision: 788
Proposed branch: lp:~bregma/nux/lp-1011395
Merge into: lp:nux
Diff against target: 66 lines (+62/-0)
1 file modified
README (+62/-0)
To merge this branch: bzr merge lp:~bregma/nux/lp-1011395
Reviewer Review Type Date Requested Status
Brandon Schaefer (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+163351@code.launchpad.net

Commit message

Add build instructions to the sources (lp: #1011395).

Description of the change

Add build instructions to the sources (lp: #1011395).

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

Yay, this is a nice thing to have. LGTM :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'README'
2--- README 2010-09-01 16:03:10 +0000
3+++ README 2013-05-10 17:55:29 +0000
4@@ -0,0 +1,62 @@
5+Building Nux
6+============
7+Stephen M. Webb <stephen.webb@canonical.com>
8+4.0.0, 2013-05-10
9+
10+
11+Building from Revision Control
12+------------------------------
13+
14+A fresh checkout from source control (bzr lp:nux) requires the build
15+infrastructure to be prepared. Unlike most projects that use the GNU autotools,
16+Nux requires the use of the GNOME autotools wrapper to be run in order to pick
17+up some GNOME-specific autoconf macros. Using the GNU autotools tool,
18+autoreconf, for that purpose will not prepare a working build system.
19+
20+Preparing the build system requires that the gnome-common package be installed.
21+The shell command `./autogen.sh` is sufficient to prepare the build system.
22+
23+Normally, Nux is built out-of-source, in other words in a dorectory thatis not
24+the source directory. Running `autogen.sh` in the build directory will generate
25+the configure and Makefile.in files in the _source_ directory.
26+
27+
28+Building from a Source Tarball
29+------------------------------
30+
31+After the build system is prepared, ir when building from a source tarball, the
32+shell commands './configure; make; make install' should configure, build, ad
33+install the package. Additional instructions on how to configure and build Nux
34+are found in the INSTALL file included with the source.
35+
36+Interesting Additional Arguments to `autogen.sh`
37+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38+
39+Atthe least, the installation prefix is usually specified when running
40+`autogen.sh` or `configure`. The default installation prefix will be
41+`/usr/local`, which is most likely not what you want.
42+
43+-------
44+./autogen.sh --prefix=<installation_directory> <@arguments>
45+-------
46+
47+Some interesting arguments are:
48+ x_support:: enable X11 support (default=YES)
49+ opengles_20:: enable OpenGL ES 2.0 (default=NO)
50+ minimal_build:: enable minimal builds (default=NO)
51+ disable-gestures:: disable multitouch gestures (auto)
52+ enable-tests:: enable tests (default=YES)
53+ enable-documentation:: enable documentation (default=NO)
54+ enable-maintainer-mode:: use strict compiler flags (default=NO)
55+ enable-debug:: enable nux debugging (default=NO)
56+ enable-examples:: enable building of examples (default=YES)
57+ enable-gputests:: enable building of gputests (default=YES)
58+
59+example usage:
60+-------
61+export PREFIX=/home/user/staging/install/nux
62+./autogen.sh --prefix=$PREFIX --enable-debug
63+make
64+make install
65+-------
66+

Subscribers

People subscribed via source and target branches