~ubuntu-branches/ubuntu/gutsy/firefox/gutsy

« back to all changes in this revision

Viewing changes to xpinstall/packager/os2/makexpi.pl

  • Committer: Bazaar Package Importer
  • Author(s): Ian Jackson
  • Date: 2006-10-10 18:49:32 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20061010184932-da75izt7y0e59afq
Tags: 1.99+2.0rc2+dfsg-0ubuntu1
* New upstream version 2.0rc2.
* Fix/workaround for epiphany GtkSocket lifetype crash:
  apply patch id=241087 from Mozilla Bugzilla #241535 to fix LP #63814.
* Change application name to `Firefox', as requested by mdz.
  Files changed:
    - browser/locales/en-US/chrome/branding/brand.dtd
    - browser/locales/en-US/chrome/branding/brand.properties;
  New values:
    - brandShortName and brandFullName: `Bon Echo' => `Firefox'
    - vendorShortName: `Mozilla' => `Ubuntu'
* Make preferences dialogue fit again (bah!).

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
            if(($entry =~ /\.dll/i) || ($entry =~ /\.exe/i))
88
88
            {
89
89
                # Make sure it is not read only
90
 
                system("chmod 755 $entry");
 
90
                # we already are in xpinstall/packager/os2, call without path
 
91
                system("strip.cmd \"$entry\"");
91
92
            }
92
93
        }
93
94
 
152
153
 
153
154
system("cp $inComponentName.js $inStagePath\\$inComponentName\\install.js");
154
155
 
155
 
# DLLRNAME and possibly LXLITE DLLs
156
 
print "Modifying DLLs in $inStagePath/$inComponentName...\n";
 
156
# set permissions and possibly lxLite-strip binaries
 
157
print "Modifying EXEs and DLLs in $inStagePath/$inComponentName...\n";
157
158
RecursiveModify("$inStagePath\\$inComponentName");
158
159
 
159
160
# change directory to where the files are, else zip will store
160
161
# unwanted path information.
161
162
chdir("$inStagePath\\$inComponentName");
162
 
if(system("zip -r $inDestPath\\$inComponentName.xpi *"))
 
163
if(system("zip -rD $inDestPath\\$inComponentName.xpi *"))
163
164
{
164
165
  chdir("$saveCwdir");
165
 
  die "\n Error: zip -r $inDestPath\\$inComponentName.xpi *\n";
 
166
  die "\n Error: zip -rD $inDestPath\\$inComponentName.xpi *\n";
166
167
}
167
168
chdir("$saveCwdir");
168
169