osx: Bundle fixes

This commit is contained in:
Alexander Kojevnikov 2011-03-31 21:30:01 +08:00
parent 1ea359b8ad
commit 96b344459d
3 changed files with 13 additions and 11 deletions

7
dist/osx/bundle.sh vendored
View File

@ -9,14 +9,17 @@ case "$(uname)" in
;;
esac
rm -fr dist/osx/bin
./autogen.sh --prefix=$(pwd)/dist/osx/bin
gmake
gmake install
ige-mac-bundler dist/osx/spek.bundle
cd dist/osx
mv bin/lib/locale bin/share/
ige-mac-bundler spek.bundle
# Make DMG image
cd dist/osx
VOLUME_NAME=Spek
DMG_APP=Spek.app
DMG_FILE=$VOLUME_NAME.dmg

View File

@ -30,11 +30,10 @@ export GTK_EXE_PREFIX="$bundle_res"
export GTK_PATH="$bundle_res"
export GTK2_RC_FILES="$bundle_etc/gtk-2.0/gtkrc"
export GTK_IM_MODULE_FILE="$bundle_etc/gtk-2.0/gtk.immodules"
export GDK_PIXBUF_MODULE_FILE="$bundle_etc/gtk-2.0/gdk-pixbuf.loaders"
export GDK_PIXBUF_MODULE_FILE="$bundle_etc/gdk-pixbuf-2.0/2.10.0/gdk-pixbuf.loaders"
export PANGO_SYSCONFDIR="$bundle_etc"
APP=name
APP=spek
I18NDIR="$bundle_data/locale"
# Set the locale-related variables appropriately:
unset LANG LC_MESSAGES LC_MONETARY LC_COLLATE

12
dist/osx/spek.bundle vendored
View File

@ -12,21 +12,21 @@
${project}/bin/bin/spek
</main-binary>
<binary>
${prefix}/lib/${gtkdir}/modules/*.so
${prefix}/lib/gdk-pixbuf-2.0/${pkg:${gtk}:gtk_binary_version}/loaders/*.so
</binary>
<binary>
${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/engines/*.so
</binary>
<binary>
${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/immodules/*.so
</binary>
<!-- binary>
${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/printbackends/*.so
</binary -->
<binary>
${prefix}/lib/pango/${pkg:pango:pango_module_version}/modules/*.so
</binary>
<!-- translations name="gtk20">
<translations name="gtk20">
${prefix}/share/locale
</translations -->
</translations>
<data dest="${bundle}/Contents/Resources/share">
${project}/bin/share