source: gs2-extensions/gnome-lib/trunk/src/packages/CASCADE-MAKE.sh@ 28286

Last change on this file since 28286 was 28286, checked in by ak19, 11 years ago

On the latest Mac we found that gnome-lib failed to compile properly and failed at GLIB. Dr Bainbridge worked out that GLIB needed LIBICONV, and in order for GLIB to work with LIBICONV, it also needed CUPS. Dr Bainbridge got them all compiling together. Currently CASCADE-MAKE.sh specifies that these extra packages be processed for all darwin. It's now been tested to work on the latest Lion, but it still needs to be tested on Leopard.

  • Property svn:executable set to *
File size: 1.5 KB
Line 
1#!/bin/bash
2
3source ../cascade-make/lib/cascade-lib.bash GEXTGNOME .. $*
4
5# The standard list of packages
6pkglist="LIBZ LIBBZ2 EXPAT LIBPNG READLINE XMLPARSER INTLTOOL GETTEXT PKG-CONFIG LIBXML LIBFFI GLIB LIBGSF"
7
8# libiconv was found to be necessary on the latest DL mac (2013)
9# This triggered the need for 'cups' as well, not because libiconv needed it, but due to
10# glib getting a conflict during its configure stage over the version of iconv
11
12if [ "x$GSDLOS" = "xdarwin" ] ; then
13 pkglist="LIBZ LIBBZ2 EXPAT LIBPNG READLINE XMLPARSER INTLTOOL CUPS LIBICONV GETTEXT PKG-CONFIG LIBXML LIBFFI GLIB LIBGSF"
14fi
15
16if [ "x$crossOS" != "x" ] ; then
17 # cross compiling
18 windows_pkglist="LIBZ LIBBZ2 EXPAT LIBPNG READLINE INTLTOOL LIBICONV GETTEXT LIBXML GLIB LIBGSF"
19
20 android_pkglist="LIBZ LIBBZ2 EXPAT LIBPNG READLINE INTLTOOL LIBICONV GETTEXT LIBXML DBUS LIBFFI GLIB LIBGSF"
21
22
23 if [ $crossOS = "android" ] ; then
24 pkglist=$android_pkglist
25 elif [ $crossOS = "windows" ] ; then
26 pkglist=$windows_pkglist
27 fi
28
29fi
30
31for d in $pkglist; do
32
33 echo " Running CASCADE-MAKE/$d.sh"
34
35 ./CASCADE-MAKE/$d.sh $*
36
37 if [ $? != 0 ] ; then
38 echo "Error encountered running CASCADE-MAKE/$d.sh"
39 exit 1
40 fi
41done
42
43if [ $install = "1" ] ; then
44 touch "$GEXTGNOME_INSTALLED/lib/pkgconfig/.fixed-prefix.awk"
45fi
46
47if [ $makedist = "1" ] ; then
48 rm -f "$GEXTGNOME_INSTALLED/lib/pkgconfig/.fixed-prefix.awk"
49 lalist=`find $GEXTGNOME_INSTALLED/lib -name "*.la"`
50 if [ -n "$lalist" ] ; then
51 rm -f $lalist
52 fi
53fi
Note: See TracBrowser for help on using the repository browser.