Changeset 29702

Show
Ignore:
Timestamp:
30.01.2015 15:32:26 (4 years ago)
Author:
jts21
Message:

Updated package generation readme

Location:
main/trunk/package-kits/linux
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/package-kits/linux/ReadMe

    r29474 r29702  
     1Generating: 
     2    Run './generate' to generate build scripts 
     3        (prints further usage instructions) 
     4 
     5Required Packages: 
     6    Packages required to build Greenstone are defined in the Greenstone package 
     7    build scripts, however you will also need the necessary packages for 
     8    building packages on your current distro. 
     9    These are: 
     10        Ubuntu: build-essential, debhelper 
     11        Arch:   base-devel, <check this> 
     12        Fedora: <fill out> 
     13 
     14Building: 
     15    Generated packages are found in ./build/<distro>/<package> 
     16    To build a package, run 'make' in the package directory. 
     17    If building a package requires other packages to be installed, they may be 
     18    automatically installed, or if not they should be printed to the terminal. 
     19    To build all packages, cd into ./build/<distro>/, and run 
     20        for pkg in *; do test -d $pkg && pushd $pkg && make; popd; done 
     21    I recommend only doing this if you know all the packages will build 
     22    successfully. 
     23 
    124Patches: 
    225    To generate a patch: 
     
    427    To apply a patch: 
    528        patch -p0 -i package.patch 
    6         where -p0 assumes the paths in the patch are valid in the current directory 
     29        where -p0 assumes the paths in the patch are valid in the current 
     30        directory 
    731 
    832    gs2build.patch 
     
    1135    perl-util.patch 
    1236        Contains a patch to change the tmp folder for gs2build 
    13         This is necessary because the original location of the tmp folder was in the gs2build folder, which contains executables, and as such should be read-only. 
     37        This is necessary because the original location of the tmp folder was 
     38        in the gs2build folder, which contains executables, and as such should 
     39        be read-only. 
    1440        Thus the tmp folder has been changed to /tmp/greenstone-build 
    1541 
     
    2046        Runs greenstone to set up the environment, then runs GLI 
    2147    wvWare 
    22         Removes itself from $PATH, then runs wvWare (which will be the system wvWare) 
     48        Removes itself from $PATH, then runs wvWare (which will be the system 
     49        wvWare) 
    2350 
    2451Gotchas: 
     
    2956Issues: 
    3057    Debian package has lots of warnings 
     58    Pacman package has lots of file ownership warnings when updating 
     59        (because we chown the web directory) 
     60        Maybe chown it back to root in a pre-update script? 
  • main/trunk/package-kits/linux/segments/base

    r29595 r29702  
    1010DESTDIR    ?= / 
    1111 
    12 all: build 
     12all: package 
    1313 
    1414.PHONY: all svn clean cleanall install install_greenstone install_greenstone-native install_greenstone-tools