spek

Acoustic spectrum analyser
git clone http://git.hanabi.in/repos/spek.git
Log | Files | Refs | README

commit cb3460234d4df75503e1d00d24f87d05aa697bf3
parent f64f87fa62c9bb5a05e86d4aeb4d8fa8997b27d2
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date:   Mon, 21 Feb 2011 19:33:42 +0800

osx: Bundle fixes

Diffstat:
M.gitignore | 1+
Aosx/DS_Store | 0
Mosx/bundle.sh | 25++++++++++++++++++++++++-
Mosx/spek.bundle | 5++++-
4 files changed, 29 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -28,6 +28,7 @@ missing mkinstalldirs omf.make osx/Spek.app +osx/Spek.dmg osx/bin po/*.gmo po/.intltool-merge-cache diff --git a/osx/DS_Store b/osx/DS_Store Binary files differ. diff --git a/osx/bundle.sh b/osx/bundle.sh @@ -41,6 +41,29 @@ cp -Rp $DMG_APP $MOUNT_POINT find $MOUNT_POINT -type d -iregex '.*\.svn$' &>/dev/null | xargs rm -rf -#pushd $MOUNT_POINT &>/dev/null +cd $MOUNT_POINT +ln -s /Applications " " +cd .. + +cp DS_Store $MOUNT_POINT/.DS_Store + +echo "Detaching from disk image..." +hdiutil detach $MOUNT_POINT -quiet + +mv $DMG_FILE $DMG_FILE.master + +echo "Creating distributable image..." +hdiutil convert -quiet -format UDBZ -o $DMG_FILE $DMG_FILE.master + +#echo "Installing end user license agreement..." +#hdiutil flatten -quiet $DMG_FILE +#/Developer/Tools/Rez /Developer/Headers/FlatCarbon/*.r dmg-data/license.r -a -o $DMG_FILE +#hdiutil unflatten -quiet $DMG_FILE + +echo "Done." + +if [ ! "x$1" = "x-m" ]; then + rm $DMG_FILE.master +fi cd .. diff --git a/osx/spek.bundle b/osx/spek.bundle @@ -18,7 +18,10 @@ ${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/engines/*.so </binary> <binary> - ${prefix}/lib/pango/${pkg:pango:pango_module_version}/modules/pango-basic-atsui.so + ${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/immodules/*.so + </binary> + <binary> + ${prefix}/lib/pango/${pkg:pango:pango_module_version}/modules/*.so </binary> <!-- translations name="gtk20">