diff --git a/Makefile.am b/Makefile.am
index 007dc5dbf..0c23d65c0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -226,10 +226,6 @@ Linphone.app:
MS2_PLUGINS_INSTALL_PREFIX=$(prefix) \
LINPHONE_ADDITIONAL_DEPENDENCIES_PREFIX=$(LINPHONE_ADDITIONAL_DEPENDENCIES_PREFIX) \
gtk-mac-bundler $(PACKAGE_BUNDLE_FILE)
- printf "[Pango]\nModuleFiles=./etc/pango/pango.modules\n" \
- > $(BUNDLEDIR)/Contents/Resources/etc/pango/pangorc
- cp -f $(BUNDLEDIR)/Contents/Resources/etc/pango/pango.modules $(BUNDLEDIR)/Contents/Resources/etc/pango/pango.modules.orig
- sed -e 's:@executable_path.*/::g' $(BUNDLEDIR)/Contents/Resources/etc/pango/pango.modules.orig > $(BUNDLEDIR)/Contents/Resources/etc/pango/pango.modules
patch -R ${BUNDLEDIR}/Contents/Resources/share/themes/Quartz/gtk-2.0/gtkrc ${srcdir}/build/macos/quartz-theme-gtkrc.patch
rm -f ${BUNDLEDIR}/Contents/Resources/lib/libopenh264*
diff --git a/build/macos/linphone.bundle b/build/macos/linphone.bundle
index f9309ebaa..3b533a208 100644
--- a/build/macos/linphone.bundle
+++ b/build/macos/linphone.bundle
@@ -17,6 +17,7 @@
${env:MS2_PLUGINS_INSTALL_PREFIX}
${env:LINPHONE_ADDITIONAL_DEPENDENCIES_PREFIX}
+
-
- ${prefix}/lib/gio/modules/libgiognutls.so
+ ${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/printbackends/*.so
-
+
+ ${prefix}/lib/gdk-pixbuf-2.0/${pkg:${gtk}:gtk_binary_version}/*.so
+
+
+
+
+
+
+
-
- ${prefix:linphone}/share/locale
-
-
- ${prefix}/share/locale
-
-
- ${prefix}/share/locale
-
${prefix}/share/locale
+
+ ${prefix:linphone}/share/locale
+
+
+
+ ${prefix}/share/locale
+
+
+
+ ${prefix}/share/locale
+
@@ -155,7 +162,6 @@
${project}/../../pixmaps/linphone.icns
-
${project}/environment.sh