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  
    103103                line = "@executable_path/../Resources" + line
    104104
    105105            fout.write(line)
     106            fout.write("\n")
    106107        fout.close()
    107108
    108109        os.unlink(tmp_filename)
     
    112113        utils.makedirs(path)
    113114        f = open(os.path.join(path, "pangorc"), "w")
    114115        f.write("[Pango]\n")
    115         f.write("ModuleFiles=./pango.modules\n")
     116        f.write("ModuleFiles=./Contents/Resources/etc/pango/pango.modules\n")
    116117        f.close()
    117118
    118119    def create_gtk_immodules_setup(self):
     
    552553        self.copy_plist()
    553554
    554555        # 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"))
    556557
    557558        # Launcher script, if necessary.
    558559        launcher_script = self.project.get_launcher_script()