osx: Bundle fixes

This commit is contained in:
Alexander Kojevnikov 2011-02-21 19:33:42 +08:00
parent f64f87fa62
commit cb3460234d
4 changed files with 29 additions and 2 deletions

1
.gitignore vendored
View File

@ -28,6 +28,7 @@ missing
mkinstalldirs
omf.make
osx/Spek.app
osx/Spek.dmg
osx/bin
po/*.gmo
po/.intltool-merge-cache

BIN
osx/DS_Store Normal file

Binary file not shown.

View File

@ -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 ..

View File

@ -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">