source: projects/specs/trunk/f/firefox/firefox-4.0-vine.patch @ 3236

Revision 3236, 3.7 KB checked in by daisuke, 13 years ago (diff)

firefox:

  • update to 4.0
  • BR: libjpeg-turbo-devel >= 1.1.0
  • BR: nspr-devel >= 4.8.7
  • BR: nss-devel >= 3.12.9
  • BR: cairo-devel >= 1.10.2-2
  • use langpacks.xpi instead of l10n source
  • update firefox startup script
  • add unofficial branding logos to svn repository
RevLine 
[3236]1diff -up mozilla-2.0/browser/app/profile/firefox.js.orig mozilla-2.0/browser/app/profile/firefox.js
2--- mozilla-2.0/browser/app/profile/firefox.js.orig     2011-03-19 08:33:32.000000000 +0900
3+++ mozilla-2.0/browser/app/profile/firefox.js  2011-03-29 23:12:00.000000000 +0900
4@@ -507,6 +507,9 @@ pref("browser.gesture.twist.right", "");
5 pref("browser.gesture.twist.left", "");
6 pref("browser.gesture.tap", "cmd_fullZoomReset");
7 
8+// Use LANG environment variable to choose locale
9+pref("intl.locale.matchOS", true);
10+
11 // 0=lines, 1=pages, 2=history , 3=text size
12 #ifdef XP_MACOSX
13 // On OS X, if the wheel has one axis only, shift+wheel comes through as a
14@@ -628,7 +631,7 @@ pref("browser.backspace_action", 0);
15 // 0 = spellcheck nothing
16 // 1 = check multi-line controls [default]
17 // 2 = check multi/single line controls
18-pref("layout.spellcheckDefault", 1);
19+pref("layout.spellcheckDefault", 0);
20 
21 pref("browser.send_pings", false);
22 
23diff -up mozilla-2.0/browser/base/content/browser.xul.orig mozilla-2.0/browser/base/content/browser.xul
24--- mozilla-2.0/browser/base/content/browser.xul.orig   2011-03-19 08:33:32.000000000 +0900
25+++ mozilla-2.0/browser/base/content/browser.xul        2011-03-29 23:12:00.000000000 +0900
26@@ -88,7 +88,7 @@
27         lightweightthemes="true"
28         lightweightthemesfooter="browser-bottombox"
29         windowtype="navigator:browser"
30-        screenX="4" screenY="4"
31+        screenX="4" screenY="4" width="1000" height="9999"
32         browsingmode="normal"
33         persist="screenX screenY width height sizemode">
34 
35diff -up mozilla-2.0/browser/branding/unofficial/locales/browserconfig.properties.orig mozilla-2.0/browser/branding/unofficial/locales/browserconfig.properties
36--- mozilla-2.0/browser/branding/unofficial/locales/browserconfig.properties.orig       2011-03-19 08:33:32.000000000 +0900
37+++ mozilla-2.0/browser/branding/unofficial/locales/browserconfig.properties    2011-03-29 23:47:29.000000000 +0900
38@@ -1,2 +1,2 @@
39 # Do NOT localize or otherwise change these values
40-browser.startup.homepage=about:home
41+browser.startup.homepage=http://vinelinux.org/
42diff -up mozilla-2.0/browser/branding/unofficial/pref/firefox-branding.js.orig mozilla-2.0/browser/branding/unofficial/pref/firefox-branding.js
43--- mozilla-2.0/browser/branding/unofficial/pref/firefox-branding.js.orig       2011-03-19 08:33:32.000000000 +0900
44+++ mozilla-2.0/browser/branding/unofficial/pref/firefox-branding.js    2011-03-29 23:45:59.000000000 +0900
45@@ -1,6 +1,6 @@
46-pref("startup.homepage_override_url","http://www.mozilla.org/projects/%APP%/%VERSION%/whatsnew/");
47-pref("startup.homepage_welcome_url","http://www.mozilla.org/projects/%APP%/%VERSION%/firstrun/");
48-pref("browser.panorama.welcome_url", "http://www.mozilla.com/firefox/panorama/");
49+pref("startup.homepage_override_url","http://vinelinux.org/");
50+pref("startup.homepage_welcome_url","http://vinelinux.org/");
51+pref("browser.panorama.welcome_url", "http://vinelinux.org/");
52 // The time interval between checks for a new version (in seconds)
53 // nightly=8 hours, official=24 hours
54 pref("app.update.interval", 28800);
55diff -up mozilla-2.0/modules/libpref/src/init/all.js.orig mozilla-2.0/modules/libpref/src/init/all.js
56--- mozilla-2.0/modules/libpref/src/init/all.js.orig    2011-03-19 08:34:02.000000000 +0900
57+++ mozilla-2.0/modules/libpref/src/init/all.js 2011-03-29 23:12:00.000000000 +0900
58@@ -2802,7 +2802,7 @@ pref("font.size.fixed.x-tibt", 13);
59 
60 /* PostScript print module prefs */
61 // pref("print.postscript.enabled",      true);
62-pref("print.postscript.paper_size",    "letter");
63+pref("print.postscript.paper_size",    "a4");
64 pref("print.postscript.orientation",   "portrait");
65 pref("print.postscript.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
66 
Note: See TracBrowser for help on using the repository browser.