source: gs2-extensions/gnome-lib/trunk/src/README@ 30873

Last change on this file since 30873 was 30873, checked in by ak19, 8 years ago

Making some instructions more explicit.

File size: 2.0 KB
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
33 from the gnome-lib-minimal folder
344. From the toplevel folder, run:
35 ./CASCADE-MAKE.sh makeminimal
36This will generate the tar.gz file. For ElCapitan and later MacOS, ensure the tar.gz file is named correctly. It may need to be moved into the folder containing the src subfolder.
375. svn commit the tar.gz file
38
39This 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,
40when the tar.gz file is extracted, it will extract as a folder called gnome-lib-minimal, as required.
41
42Tested on the Mac MountainLion.
43
44
45G. To generate the gnome-lib-<os>.tar.gz archive file
46
471. Open a fresh exterm
482. Make sure the top level gnome-lib folder is called "gnome-lib"
493. source ./devel.bash
504. toplevel
51 ./CASCADE-MAKE.sh makedist
525. svn commit the tar.gz file
53
Note: See TracBrowser for help on using the repository browser.