root/gs2-extensions/gnome-lib/trunk/src/README @ 28298

Revision 28298, 1.8 KB (checked in by ak19, 6 years ago)

Adding a README for compiling and using the gnome-lib package, and instructions for generating the gnome-lib-minimal

Line 
1A. To configure and compile wvware in Greenstone2/3, need to first:
2   source ./devel.bash
3
4B. To compile up all of gnome-lib:
5   ./CASCADE-MAKE.sh
6
7C. To do a clean compile
8   At the toplevel, rm the <OS> directory completely
9   ./CASCADE-MAKE.sh tarclean
10   ./CASCADE-MAKE.sh
11The second step removes all the extracted packages. While the third step extracts and recompiles them all again.
12If you wish to just remove the intermediate files generated by configure and compile, then replace the 2nd step with
13   ./CASCADE-MAKE.sh distclean 
14
15
16D. To compile just a package in gnome-lib:
17   source ./devel.bash
18   ./packages/CASCADE-MAKE/<PACKAGE>.sh
19
20E. To completely clean a single package and compile it up by itself
21   (source ./devel.bash, unless you've already done it)
22   ./packages/CASCADE-MAKE/<PACKAGE>.sh tarclean
23   ./packages/CASCADE-MAKE/<PACKAGE>.sh
24If you wish to just remove the package's intermediate files generated by configure and compile, then replace the 2nd step with
25   ./packages/CASCADE-MAKE/<PACKAGE>.sh distclean 
26   
27
28F. To generate the gnome-lib-minimal-<os>.tar.gz archive file,
29
301. Open a fresh exterm
312. make sure the gnome-lib folder is renamed to "gnome-lib-minimal" first
323. source ./devel.bash
334. toplevel
34   ./CASCADE-MAKE.sh makeminimal
355. svn commit the tar.gz file
36
37This will generate a tar.gz file of the correct name. And because the gnome-lib folder had been renamed to gnome-lib-minimal in step 2,
38when the tar.gz file is extracted, it will extract as a folder called gnome-lib-minimal, as required.
39
40Tested on the Mac MountainLion.
41
42
43G. To generate the gnome-lib-<os>.tar.gz archive file
44
451. Open a fresh exterm
462. Make sure the top level gnome-lib folder is called "gnome-lib"
473. source ./devel.bash
484. toplevel
49   ./CASCADE-MAKE.sh makedist
505. svn commit the tar.gz file
51
Note: See TracBrowser for help on using the browser.