|
From: | Álvaro Serrano |
Subject: | Re: [Linphone-developers] Mac OS bundle not generating correctly: running app displays no characters. |
Date: | Thu, 13 Dec 2012 13:54:38 +0100 |
Hello Laurent, I think I found the source of the error. It is in bundler.py as I suspected. The latest patch (v0.7.3) of this file broke it for the pango version that is available on Macports. I don't know if it works with newer versions of pango (ironically, fixing pango was the whole reason for the patch) but I doubt it, the error is quite clear as you'll see in a moment. The problem occurs in lines 78 and 105 of the file, when the module_version string is used. There's a "/" missing on the next word to be attached to the string. The fragment is: module_version = utils.evaluate_pkgconfig_variables("${pkg:pango:pango_module_version}") modulespath = self.project.get_bundle_path("Contents/Resources/lib/pango/" + module_version + "modules/") Which produces an erroneous path : .Linphone.app/Contents/Resources/lib/pango/1.6.0modules/ It should be like this: module_version = utils.evaluate_pkgconfig_variables("${pkg:pango:pango_module_version}") modulespath = self.project.get_bundle_path("Contents/Resources/lib/pango/" + module_version + "/modules/") Which produces the correct path: .Linphone.app/Contents/Resources/lib/pango/1.6.0/modules/ I have recreated the bundle and tested it on both my development Mac and the other one, and it worked flawlessly on both machines :D I could submit a patch to the gtk-mac-bundler project but I have no idea how to do that. Thank you very much again for your help, I couldn't have done it without you. Álvaro. El 13/12/2012, a las 11:01, Álvaro Serrano <address@hidden> escribió:
|
[Prev in Thread] | Current Thread | [Next in Thread] |