summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 849e304)
raw | patch | inline | side by side (parent: 849e304)
author | mjwybrow <mjwybrow@users.sourceforge.net> | |
Wed, 23 Sep 2009 15:42:41 +0000 (15:42 +0000) | ||
committer | mjwybrow <mjwybrow@users.sourceforge.net> | |
Wed, 23 Sep 2009 15:42:41 +0000 (15:42 +0000) |
not getting properly relocated.
packaging/macosx/osx-app.sh | patch | blob | history |
index 02771575887728a9acef9837c8a1b36e2c3fdad0..eb479d69b51a3f902dc5c7eadbd295cd72ecff07 100755 (executable)
mkdir -p $pkglib/gnome-vfs-2.0/modules
cp $LIBPREFIX/lib/gnome-vfs-2.0/modules/*.so $pkglib/gnome-vfs-2.0/modules/
-imagemagick_version=`pkg-config --modversion ImageMagick`
-cp -r "$LIBPREFIX/lib/ImageMagick-$imagemagick_version" "$pkglib/"
-cp -r "$LIBPREFIX/share/ImageMagick-$imagemagick_version" "$pkgresources/share/"
+cp -r "$LIBPREFIX/lib/ImageMagick-$IMAGEMAGICKVER" "$pkglib/"
+cp -r "$LIBPREFIX/share/ImageMagick-$IMAGEMAGICKVER" "$pkgresources/share/"
# Copy aspell dictionary files:
cp -r "$LIBPREFIX/lib/aspell-0.60" "$pkglib/"
endl=true
while $endl; do
echo -e "\033[1mLooking for dependencies.\033[0m Round" $a
- libs="`otool -L $pkglib/gtk-2.0/$gtk_version/{engines,immodules,loaders,printbackends}/*.{dylib,so} $pkglib/pango/$pango_version/modules/* $pkglib/gnome-vfs-2.0/modules/* $package/Contents/Resources/lib/* $pkglib/ImageMagick/modules-Q16/{filters,coders}/*.so $binary 2>/dev/null | fgrep compatibility | cut -d\( -f1 | grep $LIBPREFIX | sort | uniq`"
+ libs="`otool -L $pkglib/gtk-2.0/$gtk_version/{engines,immodules,loaders,printbackends}/*.{dylib,so} $pkglib/pango/$pango_version/modules/* $pkglib/gnome-vfs-2.0/modules/* $package/Contents/Resources/lib/* $pkglib/ImageMagick-$IMAGEMAGICKVER/modules-Q16/{filters,coders}/*.so $binary 2>/dev/null | fgrep compatibility | cut -d\( -f1 | grep $LIBPREFIX | sort | uniq`"
cp -f $libs $package/Contents/Resources/lib
let "a+=1"
nnfiles=`ls $package/Contents/Resources/lib | wc -l`
fixlib "$file" "`pwd`"
done
)
- (cd "$package/Contents/Resources/lib/ImageMagick/modules-Q16/filters"
+ (cd "$package/Contents/Resources/lib/ImageMagick-$IMAGEMAGICKVER/modules-Q16/filters"
for file in *.so; do
echo "Rewriting dylib paths for $file..."
fixlib "$file" "`pwd`"
done
)
- (cd "$package/Contents/Resources/lib/ImageMagick/modules-Q16/coders"
+ (cd "$package/Contents/Resources/lib/ImageMagick-$IMAGEMAGICKVER/modules-Q16/coders"
for file in *.so; do
echo "Rewriting dylib paths for $file..."
fixlib "$file" "`pwd`"