Changeset 23076
- Timestamp:
- 2010-10-11T10:27:08+13:00 (13 years ago)
- Location:
- gs2-extensions/gnome-lib/trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/gnome-lib/trunk/src/CASCADE-MAKE.sh
r23026 r23076 1 1 #!/bin/bash 2 2 3 source setup.bash 4 5 cd cascade-make/lib ; source cascade-lib.bash ; cd ../.. 3 source devel.bash 6 4 7 5 for d in packages ; do -
gs2-extensions/gnome-lib/trunk/src/devel.bash
r23026 r23076 3 3 if [ "x$GEXTGNOME" = "x" ] ; then 4 4 source setup.bash 5 fi 6 7 if [ -d cascade-make ] ; then 8 source cascade-make/lib/cascade-lib.bash 5 9 fi 6 10 … … 15 19 export LDFLAGS="-L$GEXTGNOME_INSTALLED/lib $LDFLAGS" 16 20 17 echo "+Your environment is now setup to compile with the Gnome Support Library" 21 echo "+Your environment is now setup to compile with the GNOME Support Library" 22 23 if [ -d "$GEXTGNOME_INSTALLED/lib/pkgconfig" ] ; then 24 echo "" 25 echo "+Testing that pkg-config is correctly configured..." 26 27 pushd $GEXTGNOME_INSTALLED/lib/pkgconfig 28 29 # pcfilelist=`ls *.pc` 30 # firstfile=`$pcfilelist | head -1` 31 # pkgconfigprefix=`awk '/^prefix=/{ sub(/^prefix=/, "") ; print }' $firstfile` 32 33 # if [ "$pkgconfigprefix" = "$GEXTGNOME_INSTALLED" ] ; then 34 # echo "OK" 35 # else 36 # echo "NO - Correcting configuration..." 37 38 # for file in $pcfilelist ; do 39 # awk '{ sub(/^prefix=\/.*$/, "prefix=$GEXTGNOME_INSTALLED") ; print }' $file > $file 40 # done 41 # 42 # echo "COMPLETE" 43 # fi 44 45 46 if [ ! -e .fixed-prefix.awk ] ; then 47 48 echo "Configuring ..." 49 50 echo "/^prefix=/ { print \"prefix=$GEXTGNOME_INSTALLED\" ; next }" > .fixed-prefix.awk 51 echo " { print $0 }" >> .fixed-prefix.awk 52 53 for file in *.pc ; do 54 cat $file | awk -f .fixed-prefix.awk > $file.new && \ 55 /bin/mv $file.new $file 56 done 57 echo "... done" 58 else 59 echo "No configuration needed" 60 fi 61 62 popd 63 fi 18 64 else 19 echo "+Your environment is already setup to compile with the G nomeSupport Library"65 echo "+Your environment is already setup to compile with the GNOME Support Library" 20 66 fi -
gs2-extensions/gnome-lib/trunk/src/packages/CASCADE-MAKE.sh
r22825 r23076 1 1 #!/bin/bash 2 3 source ../cascade-make/lib/cascade-lib.bash 2 4 3 5 for d in INTLTOOL GETTEXT PKG-CONFIG LIBXML GLIB LIBGSF; do … … 11 13 fi 12 14 done 15 16 17 if [ $install = "1" ] ; then 18 touch "$GEXTGNOME_INSTALLED/lib/pkgconfig/.fixed-prefix.awk" 19 fi 20 -
gs2-extensions/gnome-lib/trunk/src/setup.bash
r23026 r23076 6 6 fulldir=${fulldir%/.} 7 7 8 source cascade-make/lib/cascade-lib.bash 8 if [ "x$GSDLHOME" = "x" ] ; then 9 if [ -e ../../setup.bash ] ; then 10 ( gsopt_noexts=1 && cd ../.. && source setup.bash ) 11 fi 12 fi 13 9 14 10 15 if [ "x$GEXTGNOME" = "x" ] ; then
Note:
See TracChangeset
for help on using the changeset viewer.