Ignore:
Timestamp:
2021-04-01T11:55:33+13:00 (3 years ago)
Author:
anupama
Message:

Merging the gnome-lib branch macos-dev at https://trac.greenstone.org/browser/gs2-extensions/gnome-lib/branches/macos-dev with the main trunk after testing it first on assigned linux 64 bit machine in lab as well as 64 bit LSB VM, and making changes for it to compile on Linux 64 bit LSB.

File:
1 edited

Legend:

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

    r32887 r34983  
    22
    33# glib2.28.1 was modified for Greenstone to allow compilation to succed on a Mac, so it has acquired a 'gs-' prefix
     4# More recently compiling on Mojave (MacOS) newer compilation errors were encountered,
     5# prompting a signficant bump up in version number
     6# Back to using gs- prefix as this newer glib needed customisations for linux 64 bit LSB env,
     7# see packages/README.txt for details
     8
    49package=gs-glib
     10#package=glib
    511#version=-2.24.2
    6 version=-2.28.1
    7 #version=-2.34.3
     12#version=-2.28.1
     13##version=-2.34.3
     14version=-2.54.3
    815
    916progname=$0
     
    1724export CXXFLAGS="$CXXFLAGS -I$GEXTGNOME_INSTALLED/include"
    1825export LDFLAGS="$LDFLAGS -L$GEXTGNOME_INSTALLED/lib"
     26
     27export LIBFFI_CFLAGS="-I$GEXTGNOME_INSTALLED/lib/libffi-3.0.11/include"
     28export LIBFFI_LIBS="-L$GEXTGNOME_INSTALLED/lib -lffi"
     29
     30export PCRE_CFLAGS="-I$GEXTGNOME_INSTALLED/include"
     31export PCRE_LIBS="-L$GEXTGNOME_INSTALLED/lib -lpcre"
    1932
    2033if [ "x$crossOS" = "xandroid" ] ; then
     
    3750fi
    3851
     52# Disabling libmount, as it breaks compilation:
     53# - http://unix.stackexchange.com/questions/327019/ddg#398242
     54#   "Unless you actually need libmount for something it's much easier
     55#   to simply disable it by passing --enable-libmount=no to configure"
     56# - http://linuxfromscratch.org/lfs/view/systemd/chapter08/util-linux.html
     57#   "Purpose of libmount: Contains routines for block device mounting and unmounting"
    3958opt_run_untar $force_untar $auto_untar $package $version
    4059opt_run_configure $force_config $auto_config $package $version $prefix \
    41   --disable-shared --enable-static --disable-dtrace --disable-systemtap $extra_config_args
     60          --disable-shared --enable-static --disable-dtrace --disable-systemtap \
     61          --enable-libmount=no $extra_config_args
    4262
    4363# In the above ...
Note: See TracChangeset for help on using the changeset viewer.