Ignore:
Timestamp:
2015-01-30T15:32:26+13:00 (9 years ago)
Author:
Jeremy Symon
Message:

Updated package generation readme

File:
1 edited

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?
Note: See TracChangeset for help on using the changeset viewer.