/[gnomoradio]/mozilla/gnomoradio/BUILDING
ViewVC logotype

Contents of /mozilla/gnomoradio/BUILDING

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Mon Jul 11 17:21:05 2005 UTC (18 years, 9 months ago) by garrison
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +7 -0 lines
added a few notes to the build instructions.  everything should work now

1 Before you begin the build process, be sure that you have all necessary
2 dependencies for your platform. These can be found online at
3 <http://www.mozilla.org/build/>
4
5 Also, be sure to download gstreamer 0.8, as it is used as the
6 media-playing back end.
7
8 I. Check out Gnomoradio CVS
9
10 $ CVS_RSH=ssh cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/gnomoradio co mozilla/gnomoradio
11
12 As a result the gnomoradio sources should be located in
13 mozilla/gnomoradio.
14
15 We must move this directory out of the way so we can check out mozilla.
16
17 $ mv mozilla/gnomoradio gnomoradio-sources
18 $ rm -fr mozilla
19
20 II. Get the mozilla tarball
21
22 Gnomoradio is currently built against the 1.8b1 release branch.
23
24 Using wget (any other browser works fine):
25
26 $ wget http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.8b1/source/mozilla-source-1.8b1.tar.bz2
27 $ tar xvfj mozilla-source-18.b1.tar.bz2
28
29 This tarball does not include the actual chrome directory, which
30 is needed for gnomoradio, but not the suite. To fetch it...
31
32 $ cd mozilla
33 $ rm -fr chrome
34 $ cvs login
35
36 (just hit enter when prompted for a cvs password)
37
38 $ cvs -z3 up -d chrome
39 $ cd ..
40
41 III. Move the gnomoradio directory back into the Mozilla distribution
42
43 $ mv gnomoradio-sources mozilla/gnomoradio
44
45 IV. Patch Mozilla CVS
46
47 This will modify the mozilla build system to include an option
48 to build Gnomoradio from the base tree. To do this, you must obtain
49 the tar file from gnomoradio.org and unpack it from the base
50 directory (of which mozilla/ is a subdirectory).
51
52 $ wget http://gnomoradio.org/mozilla-tree-changes/mozilla-tree-changes.tar.bz2
53 $ tar xvfj mozilla-tree-changes.tar.bz2
54
55 V. Configure and Make Mozilla
56
57 $ cd mozilla
58 $ ./configure --enable-application=gnomoradio --enable-debug --disable-xpfe-components
59 $ make
60
61 VI. Run Gnomoradio
62
63 $ ./dist/bin/gnomoradio
64
65
66
67 NOTE: When developing Gnomoradio, it is often a good idea to simply run
68 "make" from mozilla/gnomoradio when rebuilding. This will save a lot
69 of time. If you do happen to run "make" from the base mozilla
70 directory, you may have to wait a long time for everything to rebuild,
71 especially if system header files have been modified since the last
72 build.

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26