Changeset 27198


Ignore:
Timestamp:
04/17/13 19:48:12 (8 years ago)
Author:
ak19
Message:

If a source code version of imagemagick exists in the gs2build ext folder, gnomelib's CASCADE-MAKE compilation script will source that imagemagick folder's devel.bash first before proceeding with compilation. This was thought to be necessary after gnomelib was changed to require imagemagick to exist on the unix/mac machine when compiling. While imagemagick often exists, it doesn't always (e.g. on a Mac). In such cases, greenstone compilation can be made to succeed by providing an imagemagick src version. The imagemagick src folder in ext gets compiled up before gnome-lib by build.xml (the changes for which will be committed next).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/gnome-lib/trunk/src/CASCADE-MAKE.sh

    r23103 r27198  
    11#!/bin/bash
     2
     3# if there's an imagemagick src folder in ext, then source its devel.bash first
     4# (imagemagick would have been compiled up before gnome-lib by build.xml)
     5if [ -e "../imagemagick/devel.bash" ]; then
     6    pushd "../imagemagick";
     7    source devel.bash;
     8    popd
     9else
     10    echo "no imagemagick source extension";
     11fi
    212
    313source devel.bash
Note: See TracChangeset for help on using the changeset viewer.