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

Last change on this file since 32887 was 31084, checked in by sjm84, 7 years ago

Some instructions are no longer required, indicating that they're vestigial.

File size: 2.4 KB
Line 
1A. To configure and compile wvware in Greenstone2/3, it used to be require to first:
2 source ./devel.bash
3
4Now the above is done automatically when compiling up Greenstone 2 or 3. If compiling manually, then the above is still necessary to compile wvware.
5
6
7B. To compile up all of gnome-lib:
8 ./CASCADE-MAKE.sh
9
10C. To do a clean compile
11 At the toplevel, rm the <OS> directory completely
12 ./CASCADE-MAKE.sh tarclean
13 ./CASCADE-MAKE.sh
14The second step removes all the extracted packages. While the third step extracts and recompiles them all again.
15If you wish to just remove the intermediate files generated by configure and compile, then replace the 2nd step with
16 ./CASCADE-MAKE.sh distclean
17
18
19D. To compile just a package in gnome-lib:
20 source ./devel.bash
21 ./packages/CASCADE-MAKE/<PACKAGE>.sh
22
23E. To completely clean a single package and compile it up by itself
24 (source ./devel.bash, unless you've already done it)
25 ./packages/CASCADE-MAKE/<PACKAGE>.sh tarclean
26 ./packages/CASCADE-MAKE/<PACKAGE>.sh
27If you wish to just remove the package's intermediate files generated by configure and compile, then replace the 2nd step with
28 ./packages/CASCADE-MAKE/<PACKAGE>.sh distclean
29
30
31F. To generate the gnome-lib-minimal-<os>.tar.gz archive file,
32
331. Open a fresh exterm
342. make sure the gnome-lib folder is renamed to "gnome-lib-minimal" first
353. source ./devel.bash
36 from the gnome-lib-minimal folder
374. From the toplevel (gnome-lib-minimal) folder, run:
38 ./CASCADE-MAKE.sh makeminimal
39This 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.
405. Check out trunk level of gnome-lib and put the tar.gz there:
41 svn co --depth files http://svn.greenstone.org/gs2-extensions/gnome-lib/trunk/
42(--depth files only checks out files at that level, not a recursive checkout of folders and subfolders)
436. svn commit the tar.gz file
44
45This 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,
46when the tar.gz file is extracted, it will extract as a folder called gnome-lib-minimal, as required.
47
48Tested on the Mac MountainLion.
49
50
51G. To generate the gnome-lib-<os>.tar.gz archive file
52
531. Open a fresh exterm
542. Make sure the top level gnome-lib folder is called "gnome-lib"
553. source ./devel.bash
564. toplevel
57 ./CASCADE-MAKE.sh makedist
585. svn commit the tar.gz file
59
Note: See TracBrowser for help on using the repository browser.