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

Subscribers

People subscribed via source and target branches