summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d11f759)
raw | patch | inline | side by side (parent: d11f759)
author | mjwybrow <mjwybrow@users.sourceforge.net> | |
Sat, 3 Feb 2007 03:34:28 +0000 (03:34 +0000) | ||
committer | mjwybrow <mjwybrow@users.sourceforge.net> | |
Sat, 3 Feb 2007 03:34:28 +0000 (03:34 +0000) |
updated versions of dependencies.
packaging/osx-app.sh | patch | blob | history |
diff --git a/packaging/osx-app.sh b/packaging/osx-app.sh
index 51d97007987c3ce74162eb086af63973f80db95d..ba981c6a8470b1362fc95c0285550cdd9dd7da91 100755 (executable)
--- a/packaging/osx-app.sh
+++ b/packaging/osx-app.sh
fi
-SW=/sw
+SW="$HOME/ws-fat"
+
+pangover=1.5.0
+gtkver=2.10.0
+
# Package always has the same name. Version information is stored in
# the Info.plist file which is filled in by the configure script.
sed -e "s,$SW,\"\${CWD},g" -e 's,\.so ,.so" ,g' $SW/etc/pango/pango.modules > $pkgetc/pango/pango.modules
cat > $pkgetc/pango/pangorc <<END_PANGO
[Pango]
-ModuleFiles = "\${HOME}/.inkscape-etc/pango.modules"
+ModuleFiles=\${HOME}/.inkscape-etc/pango.modules
[PangoX]
-AliasFiles = "\${HOME}/.inkscape-etc/pangox.aliases"
+AliasFiles=\${HOME}/.inkscape-etc/pangox.aliases
END_PANGO
# We use a modified fonts.conf file so only need the dtd
cp -r $SW/etc/$item $pkgetc/
done
+
pkglib="$package/Contents/Resources/lib"
-mkdir -p $pkglib/pango/1.4.0/modules
-cp $SW/lib/pango/1.4.0/modules/*.so $pkglib/pango/1.4.0/modules/
+mkdir -p $pkglib/pango/$pangover/modules
+cp $SW/lib/pango/$pangover/modules/*.so $pkglib/pango/$pangover/modules/
+
-mkdir -p $pkglib/gtk-2.0/2.4.0/{engines,immodules,loaders}
-cp -r $SW/lib/gtk-2.0/2.4.0/engines/* $pkglib/gtk-2.0/2.4.0/engines/
-cp $SW/lib/gtk-2.0/2.4.0/immodules/*.so $pkglib/gtk-2.0/2.4.0/immodules/
-cp $SW/lib/gtk-2.0/2.4.0/loaders/*.so $pkglib/gtk-2.0/2.4.0/loaders/
+mkdir -p $pkglib/gtk-2.0/$gtkver/{engines,immodules,loaders}
+cp -r $SW/lib/gtk-2.0/$gtkver/engines/* $pkglib/gtk-2.0/$gtkver/engines/
+cp $SW/lib/gtk-2.0/$gtkver/immodules/*.so $pkglib/gtk-2.0/$gtkver/immodules/
+cp $SW/lib/gtk-2.0/$gtkver/loaders/*.so $pkglib/gtk-2.0/$gtkver/loaders/
mkdir -p $pkglib/gnome-vfs-2.0/modules
cp $SW/lib/gnome-vfs-2.0/modules/*.so $pkglib/gnome-vfs-2.0/modules/
endl=true
while $endl; do
echo "Looking for dependencies. Round " $a
- libs="`otool -L $pkglib/gtk-2.0/2.4.0/loaders/* $pkglib/gtk-2.0/2.4.0/immodules/* $pkglib/gtk-2.0/2.4.0/engines/*.so $pkglib/pango/1.4.0/modules/* $pkglib/gnome-vfs-2.0/modules/* $package/Contents/Resources/lib/* $binary 2>/dev/null | fgrep compatibility | cut -d\( -f1 | grep $SW | sort | uniq`"
+ libs="`otool -L $pkglib/gtk-2.0/$gtkver/loaders/* $pkglib/gtk-2.0/$gtkver/immodules/* $pkglib/gtk-2.0/$gtkver/engines/*.so $pkglib/pango/$pangover/modules/* $pkglib/gnome-vfs-2.0/modules/* $package/Contents/Resources/lib/* $binary 2>/dev/null | fgrep compatibility | cut -d\( -f1 | grep $SW | sort | uniq`"
cp -f $libs $package/Contents/Resources/lib
let "a+=1"
nnfiles=`ls $package/Contents/Resources/lib | wc -l`