diff --git a/dist/osx/bundle.sh b/dist/osx/bundle.sh
index d92e67a..2762cb5 100755
--- a/dist/osx/bundle.sh
+++ b/dist/osx/bundle.sh
@@ -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
diff --git a/dist/osx/launcher.sh b/dist/osx/launcher.sh
index 4d81fc8..3528147 100755
--- a/dist/osx/launcher.sh
+++ b/dist/osx/launcher.sh
@@ -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
diff --git a/dist/osx/spek.bundle b/dist/osx/spek.bundle
index df24c14..dbdc69c 100644
--- a/dist/osx/spek.bundle
+++ b/dist/osx/spek.bundle
@@ -12,21 +12,21 @@
${project}/bin/bin/spek
- ${prefix}/lib/${gtkdir}/modules/*.so
+ ${prefix}/lib/gdk-pixbuf-2.0/${pkg:${gtk}:gtk_binary_version}/loaders/*.so
${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/engines/*.so
-
- ${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/immodules/*.so
-
+
${prefix}/lib/pango/${pkg:pango:pango_module_version}/modules/*.so
-
+
${project}/bin/share