more build script cleanups
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 24 May 2012 16:27:50 +0000 (16:27 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 24 May 2012 16:27:50 +0000 (16:27 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@12425 d708f5d6-7413-0410-9779-e7cbd77b26cf

tools/linux_packaging/build

index 5605af2f0ac68d59438ca050658d49900f3205fa..a6d98ee09d1338afb155d69b8126718670e9fffc 100755 (executable)
@@ -289,31 +289,21 @@ fi
 # Copy stuff that may be dynamically loaded
 # 
 
-cp -R $GTKSTACK_ROOT/etc/fonts $Etc
 cp -R $GTKSTACK_ROOT/etc/* $Etc
 echo "Copying all Pango modules ..."
 cp -R $GTKSTACK_ROOT/lib/pango/1.6.0/modules/*.so $Modules
 echo "Copying all GDK Pixbuf loaders ..."
 cp -R $GTKSTACK_ROOT/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so $Loaders
 # charset alias file
-cp -R $GTKSTACK_ROOT/lib/charset.alias $Etc
 
 pango-querymodules | sed "s?$GTKSTACK_ROOT/lib/pango/1.6.0/?@ROOTDIR@/?" > $Etc/pango.modules.in
 gdk-pixbuf-query-loaders | sed "s?$GTKSTACK_ROOT/lib/gdk-pixbuf-2.0/2.10.0/?@ROOTDIR@/?" > $Etc/gdk-pixbuf.loaders.in
 
-# We sort of rely on clearlooks, so include a version
+# We rely on clearlooks, so include a version from our own build tree
 # this one is special - we will set GTK_PATH to $Libraries/clearlooks
 
-clearlooks_so=${GTKLIB}/engines/libclearlooks.so
-if [ ! -e $clearlooks.so ]; then
-       echo "!!! ERROR !!! - not able to locate libclearlooks.so"
-       echo ""
-       echo "Packager with exit"
-       exit 1
-fi
-
 echo "Copying clearlooks ..."
-cp $clearlooks_so $Libraries
+cp $BUILD_ROOT/lib/clearlooks-newer/libclearlooks.so $Libraries
 mkdir -p $Libraries/clearlooks/engines
 (cd $Libraries/clearlooks/engines && ln -s ../../libclearlooks* libclearlooks.so )