From 7ce9483bb65bca9658d78cf5e0feb6933dc4dab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grisez?= Date: Thu, 1 Oct 2015 14:58:16 +0200 Subject: [PATCH] Prevent gtk-mac-bundler from copying pango modules There are no pango modules anymore since pango 1.38 --- Makefile.am | 4 --- build/macos/linphone.bundle | 50 +++++++++++++++++++++---------------- 2 files changed, 28 insertions(+), 26 deletions(-) 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