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

Last change on this file since 30965 was 30965, checked in by ak19, 7 years ago

Further clarification

File size: 2.3 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 (gnome-lib-minimal) 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. Check out trunk level of gnome-lib and put the tar.gz there:
38 svn co --depth files http://svn.greenstone.org/gs2-extensions/gnome-lib/trunk/
39(--depth files only checks out files at that level, not a recursive checkout of folders and subfolders)
406. svn commit the tar.gz file
41
42This 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,
43when the tar.gz file is extracted, it will extract as a folder called gnome-lib-minimal, as required.
44
45Tested on the Mac MountainLion.
46
47
48G. To generate the gnome-lib-<os>.tar.gz archive file
49
501. Open a fresh exterm
512. Make sure the top level gnome-lib folder is called "gnome-lib"
523. source ./devel.bash
534. toplevel
54 ./CASCADE-MAKE.sh makedist
555. svn commit the tar.gz file
56
Note: See TracBrowser for help on using the repository browser.