Changeset 29702
- Timestamp:
- 2015-01-30T15:32:26+13:00 (9 years ago)
- Location:
- main/trunk/package-kits/linux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/package-kits/linux/ReadMe
r29474 r29702 1 Generating: 2 Run './generate' to generate build scripts 3 (prints further usage instructions) 4 5 Required 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 14 Building: 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 1 24 Patches: 2 25 To generate a patch: … … 4 27 To apply a patch: 5 28 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 7 31 8 32 gs2build.patch … … 11 35 perl-util.patch 12 36 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. 14 40 Thus the tmp folder has been changed to /tmp/greenstone-build 15 41 … … 20 46 Runs greenstone to set up the environment, then runs GLI 21 47 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) 23 50 24 51 Gotchas: … … 29 56 Issues: 30 57 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 10 10 DESTDIR ?= / 11 11 12 all: build12 all: package 13 13 14 14 .PHONY: all svn clean cleanall install install_greenstone install_greenstone-native install_greenstone-tools
Note:
See TracChangeset
for help on using the changeset viewer.