]> sjero.net Git - linphone/commitdiff
fix pango bug on macos x
authorSimon Morlat <simon.morlat@linphone.org>
Mon, 24 Sep 2012 09:24:05 +0000 (11:24 +0200)
committerSimon Morlat <simon.morlat@linphone.org>
Mon, 24 Sep 2012 09:24:34 +0000 (11:24 +0200)
Makefile.am

index 6faebc4fc7a971cf6cd42b358a65207d332524f2..8756019f4982b7ae68e0eabb4faf394a7e062749 100644 (file)
@@ -218,7 +218,9 @@ bundle: $(LIBICONV_HACK)
        MS2_PLUGINS_INSTALL_PREFIX=$(prefix) \
        gtk-mac-bundler $(PACKAGE_BUNDLE_FILE)
        printf "[Pango]\nModuleFiles=./etc/pango/pango.modules\n" \
-       > $(BUNDLEDIR)/Contents/Resources/etc/pango/pangorc 
+       > $(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/../Resources:../..:g' $(BUNDLEDIR)/Contents/Resources/etc/pango/pango.modules.orig  > $(BUNDLEDIR)/Contents/Resources/etc/pango/pango.modules
        cp -f $(LIBICONV_HACK) $(BUNDLEDIR)/Contents/Resources/lib/.
        cd $(BUNDLEDIR)/.. && rm -f $(MACAPPZIP) && zip -r $(MACAPPZIP) $(MACAPPNAME) && cd -