diff options
author | David Robillard <d@drobilla.net> | 2015-01-10 05:05:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-01-10 05:05:26 +0000 |
commit | 87e705caa05527d031d6c3b8d38a2aeba8bf2977 (patch) | |
tree | 95b5a6494c4b6d4665917d3b142e0163a98ebdb2 /osx/bundleify.sh | |
parent | bfd3c4af97e377ef0a5774083bd334a0c1c7743e (diff) | |
download | patchage-87e705caa05527d031d6c3b8d38a2aeba8bf2977.tar.gz patchage-87e705caa05527d031d6c3b8d38a2aeba8bf2977.tar.bz2 patchage-87e705caa05527d031d6c3b8d38a2aeba8bf2977.zip |
Fix about dialog logo on OSX.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5513 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'osx/bundleify.sh')
-rwxr-xr-x | osx/bundleify.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/osx/bundleify.sh b/osx/bundleify.sh index 75bb030..102cf2a 100755 --- a/osx/bundleify.sh +++ b/osx/bundleify.sh @@ -23,6 +23,12 @@ mkdir -p "$bundle/Contents/lib/gtk-2.0/engines" cp $prefix/lib/gtk-2.0/2.10.0/engines/libquartz.so $bundle/Contents/lib/gtk-2.0/engines cp $prefix/lib/pango/1.8.0/modules/*basic*.so $bundle/Contents/lib/modules +# Copy GdkPixbuf loaders +for fmt in icns png; do + cp $prefix/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-$fmt.so \ + $bundle/Contents/lib/gdk-pixbuf-2.0/2.10.0/loaders/; +done + # Copy libraries depended on by the executable to bundle libs="`otool -L $exe | grep '\.dylib\|\.so' | grep '/User\|/opt/local\|/usr/local' | sed 's/(.*//'`" for l in $libs; do @@ -30,13 +36,13 @@ for l in $libs; do done # Add libraries depended on by those libraries -reclibs="`otool -L $bundle/Contents/lib/* $bundle/Contents/lib/gtk-2.0/engines/* $bundle/Contents/lib/modules/* | grep '\.dylib\|\.so' | grep \"$prefix\|/User\|/opt/local\|/usr/local\" | sed 's/(.*//'`" +reclibs="`otool -L $bundle/Contents/lib/* $bundle/Contents/lib/gtk-2.0/engines/* $bundle/Contents/lib/modules/* $bundle/Contents/lib/gdk-pixbuf-2.0/2.10.0/loaders/* | grep '\.dylib\|\.so' | grep \"$prefix\|/User\|/opt/local\|/usr/local\" | sed 's/(.*//'`" for l in $reclibs; do cp $l $bundle/Contents/lib done # ... and libraries depended on by those libraries (yes, this should be done more sanely) -recreclibs="`otool -L $bundle/Contents/lib/* $bundle/Contents/lib/gtk-2.0/engines/* $bundle/Contents/lib/modules/* | grep '\.dylib\|\.so' | grep \"$prefix\|/User\|/opt/local\|/usr/local\" | sed 's/(.*//'`" +recreclibs="`otool -L $bundle/Contents/lib/* $bundle/Contents/lib/gtk-2.0/engines/* $bundle/Contents/lib/modules/* $bundle/Contents/lib/gdk-pixbuf-2.0/2.10.0/loaders/* | grep '\.dylib\|\.so' | grep \"$prefix\|/User\|/opt/local\|/usr/local\" | sed 's/(.*//'`" for l in $recreclibs; do cp $l $bundle/Contents/lib done |