source: main/trunk/package-kits/linux/gs2build.patch@ 29460

Last change on this file since 29460 was 29460, checked in by Jeremy Symon, 9 years ago

Initial commit for linux packages. Contains scripts and patches, and package definitions for pacman.

File size: 3.1 KB
  • gs2build/build-src/configure.in

    old new  
    8888AC_SUBST(ENABLE_JAVA)
    8989
    9090dnl
    91 dnl Set use of wvware (enabled by default)
    92 dnl
    93 AC_ARG_ENABLE(wvware, [  --disable-wvware          Disable wvWare compilation], USE_WVWARE=$enableval, USE_WVWARE=yes)
    94 if test $USE_WVWARE = "yes" -o $USE_WVWARE = "1" ; then
    95   USE_WVWARE=1
    96   AC_DEFINE(USE_WVWARE,[])
    97 else
    98   USE_WVWARE=0
    99 fi
    100 AC_SUBST(USE_WVWARE)
    101 
    102 dnl
    10391dnl Set use of JDBM (enabled by default)
    10492dnl
    10593AC_ARG_ENABLE(jdbm, [  --disable-jdbm          Disable JDBM compilation], USE_JDBM=$enableval, USE_JDBM=yes)
     
    472460  AC_SUBST(MODULEDIRS)
    473461fi
    474462
    475 #----------------------------------------------------------------------------
    476 # GS3 uses this to set up gnome-lib env, GS2 uses the configure in gs2build/toplevel GS2 installation
    477 # For gnome-lib-minimal need to source its ./devel.bash before wvware can even be configured
    478 # For a gnome-lib that's already compiled, don't need to its source ./devel.bash to configure wvware
    479 # If a gnome-lib is not yet compiled, we compile it first with CASCADE-MAKE.sh
    480 # Need to make sure that the gnome-lib-minimal is not the cut-down gnome-lib-minimal (which contains
    481 # only the linux/lib subfolder) that's included with linux and mac binaries, because we can't compile
    482 # wvware with the cut-down one, only run wvware with it. The test for the cut-down version is that
    483 # it does not contain devel.bash.
    484 
    485 if test $ENABLE_GNOMELIB_EXT = 1; then
    486 
    487    if test -z "$GSDLHOME"; then
    488       cd ..
    489       gshome=`pwd`
    490       cd build-src
    491    else
    492       gshome=$GSDLHOME 
    493    fi
    494 
    495    if test -f $gshome/ext/gnome-lib-minimal/devel.bash; then
    496       echo "*** gnome-lib (minimal) detected. Sourcing the gnomelib env for configuring wvware..."
    497       cd $gshome/ext/gnome-lib-minimal
    498       source ./devel.bash
    499       cd $gshome/build-src
    500    elif test -d $gshome/ext/gnome-lib; then
    501      if test -d $gshome/ext/gnome-lib/$gsdlos; then
    502         echo "*** Sourcing the gnomelib env for configuring wvware..."
    503     cd $gshome/ext/gnome-lib
    504         source ./devel.bash
    505         cd $gshome/build-src   
    506      fi
    507    fi
    508 
    509 fi
    510 
    511463# ---------------------------------------------------------------------------
    512 AC_CONFIG_SUBDIRS(packages)
    513464
    514465# the list of folders in the src folder
    515466srclist="src/hashfile/Makefile \
    516467         src/phind/generate/Makefile \
    517468         src/java/org/nzdl/gsdl/Makefile"
    518469
    519 AC_OUTPUT(packages/Makefile Makefile $srclist $moduleDirs)
     470AC_OUTPUT(Makefile $srclist $moduleDirs)
    520471
    521472
  • gs2build/build-src/Makefile.in

    old new  
    4848ALLFILES = $(OBJECTS)
    4949
    5050# all directories should be compiled
    51 COMPILEDIRS = packages src/hashfile src/phind/generate src/java/org/nzdl/gsdl
     51COMPILEDIRS = src/hashfile src/phind/generate src/java/org/nzdl/gsdl
    5252# a subset of the directories get installed
    53 INSTALLDIRS = packages src/hashfile src/phind/generate
     53INSTALLDIRS = src/hashfile src/phind/generate
    5454
    5555MODULEDIRS = @MODULEDIRS@
    5656
Note: See TracBrowser for help on using the repository browser.