Ticket #27794: patch-bundler-bundler.py.diff
File patch-bundler-bundler.py.diff, 1009 bytes (added by gellule.xg@…, 14 years ago) |
---|
-
bundler/bundler.py
old new 103 103 line = "@executable_path/../Resources" + line 104 104 105 105 fout.write(line) 106 fout.write("\n") 106 107 fout.close() 107 108 108 109 os.unlink(tmp_filename) … … 112 113 utils.makedirs(path) 113 114 f = open(os.path.join(path, "pangorc"), "w") 114 115 f.write("[Pango]\n") 115 f.write("ModuleFiles=./ pango.modules\n")116 f.write("ModuleFiles=./Contents/Resources/etc/pango/pango.modules\n") 116 117 f.close() 117 118 118 119 def create_gtk_immodules_setup(self): … … 552 553 self.copy_plist() 553 554 554 555 # Note: could move this to xml file... 555 self.copy_path(Path(" ${prefix}/lib/charset.alias"))556 self.copy_path(Path("/usr/lib/charset.alias", dest="${bundle}/Contents/Resources")) 556 557 557 558 # Launcher script, if necessary. 558 559 launcher_script = self.project.get_launcher_script()