# HG changeset patch # User Wolfgang Rosenauer # Date 1319114523 -7200 # Node ID 01755c4d35453ce55ef08cc66d70173d88ad4781 # Parent 31fc3eccb905c2bf7f80e2cddef4aa7a9a4e0746# Parent 880a90eb0f924f49bf7830aa24969965de16392d merge from firefox7 diff -r 880a90eb0f92 -r 01755c4d3545 MozillaFirefox/MozillaFirefox.spec --- a/MozillaFirefox/MozillaFirefox.spec Thu Oct 20 14:35:33 2011 +0200 +++ b/MozillaFirefox/MozillaFirefox.spec Thu Oct 20 14:42:03 2011 +0200 @@ -19,7 +19,7 @@ # norootforbuild %define major 7 -%define mainver %major.0 +%define mainver %major.99 Name: MozillaFirefox BuildRequires: Mesa-devel autoconf213 dbus-1-glib-devel fdupes gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel python startup-notification-devel unzip update-desktop-files yasm zip @@ -33,9 +33,9 @@ BuildRequires: mozilla-nss-devel >= 3.12.10 BuildRequires: nss-shared-helper-devel License: MPLv1.1 or GPLv2+ or LGPLv2+ -Version: %{mainver}.1 +Version: %{mainver} Release: 1 -%define releasedate 2011092900 +%define releasedate 2011102000 Provides: web_browser Provides: firefox = %{version}-%{release} Provides: firefox = %{mainver} @@ -68,13 +68,11 @@ Patch5: mozilla-kde.patch Patch6: mozilla-preferences.patch Patch7: mozilla-language.patch -Patch9: mozilla-cairo-return.patch -Patch10: mozilla-ntlm-full-path.patch -Patch12: mozilla-repo.patch -Patch13: mozilla-dump_syms-static.patch -Patch14: mozilla-sle11.patch -Patch15: mozilla-linux3.patch -Patch16: mozilla-curl.patch +Patch8: mozilla-ntlm-full-path.patch +Patch9: mozilla-repo.patch +Patch10: mozilla-dump_syms-static.patch +Patch11: mozilla-sle11.patch +Patch12: mozilla-linux3.patch # Firefox/browser Patch31: firefox-browser-css.patch Patch32: firefox-cross-desktop.patch @@ -199,15 +197,13 @@ %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 %patch9 -p1 %patch10 -p1 +%if %suse_version < 1120 +%patch11 -p1 +%endif %patch12 -p1 -%patch13 -p1 -%if %suse_version < 1120 -%patch14 -p1 -%endif -%patch15 -p1 -%patch16 -p1 # %patch31 -p1 %patch32 -p1 @@ -270,7 +266,7 @@ ac_add_options --disable-debug ac_add_options --enable-startup-notification #ac_add_options --enable-chrome-format=jar -ac_add_options --enable-update-channel=default +ac_add_options --enable-update-channel=beta EOF %if %suse_version > 1130 cat << EOF >> $MOZCONFIG @@ -306,9 +302,6 @@ mkdir -p $RPM_BUILD_ROOT/%{progdir} cp -rf $RPM_BUILD_DIR/obj/dist/firefox/* $RPM_BUILD_ROOT%{progdir} mkdir -p $RPM_BUILD_ROOT/%{progdir}/distribution/extensions -# remove some executable permissions -find $RPM_BUILD_ROOT%{progdir} \ - -name "*.js" -o -name "*.jsm" -o -name "*.rdf" | xargs chmod a-x mkdir -p $RPM_BUILD_ROOT%{progdir}/searchplugins # install kde.js %if %suse_version >= 1110 @@ -334,8 +327,8 @@ popd LOCALE_MERGEDIR=$RPM_BUILD_DIR/l10n-merged/$locale \ make -C browser/locales langpack-$locale - cp -r dist/xpi-stage/locale-$locale \ - $RPM_BUILD_ROOT%{progdir}/extensions/langpack-$locale@firefox.mozilla.org + cp -rL dist/xpi-stage/locale-$locale \ + $RPM_BUILD_ROOT%{progdir}/extensions/langpack-$locale@firefox.mozilla.org # remove prefs and profile defaults from langpack rm -rf $RPM_BUILD_ROOT%{progdir}/extensions/langpack-$locale@firefox.mozilla.org/defaults # check against the fixed common list and sort into the right filelist @@ -349,6 +342,13 @@ esac done %endif +# remove some executable permissions +find $RPM_BUILD_ROOT%{progdir} \ + -name "*.js" -o \ + -name "*.jsm" -o \ + -name "*.rdf" -o \ + -name "*.properties" -o \ + -name "*.dtd" | xargs chmod a-x # overwrite the mozilla start-script and link it to /usr/bin mkdir --parents $RPM_BUILD_ROOT/usr/bin sed "s:%%PREFIX:%{_prefix}:g diff -r 880a90eb0f92 -r 01755c4d3545 MozillaFirefox/create-tar.sh --- a/MozillaFirefox/create-tar.sh Thu Oct 20 14:35:33 2011 +0200 +++ b/MozillaFirefox/create-tar.sh Thu Oct 20 14:42:03 2011 +0200 @@ -1,8 +1,9 @@ #!/bin/bash -BRANCH="releases/mozilla-release" -RELEASE_TAG="FIREFOX_7_0_1_RELEASE" -VERSION="7.0.1" +CHANNEL="beta" +BRANCH="releases/mozilla-$CHANNEL" +RELEASE_TAG="FIREFOX_8_0b4_RELEASE" +VERSION="7.99" # mozilla hg clone http://hg.mozilla.org/$BRANCH mozilla @@ -23,7 +24,7 @@ ja-JP-mac|en-US) ;; *) - hg clone http://hg.mozilla.org/releases/l10n/mozilla-release/$locale l10n/$locale + hg clone http://hg.mozilla.org/releases/l10n/mozilla-$CHANNEL/$locale l10n/$locale [ "$RELEASE_TAG" == "default" ] || hg -R l10n/$locale up -C -r $RELEASE_TAG ;; esac diff -r 880a90eb0f92 -r 01755c4d3545 MozillaFirefox/mozilla-cairo-return.patch --- a/MozillaFirefox/mozilla-cairo-return.patch Thu Oct 20 14:35:33 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../mozilla-cairo-return.patch \ No newline at end of file diff -r 880a90eb0f92 -r 01755c4d3545 MozillaFirefox/mozilla-curl.patch --- a/MozillaFirefox/mozilla-curl.patch Thu Oct 20 14:35:33 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../mozilla-curl.patch \ No newline at end of file diff -r 880a90eb0f92 -r 01755c4d3545 firefox-branded-icons.patch --- a/firefox-branded-icons.patch Thu Oct 20 14:35:33 2011 +0200 +++ b/firefox-branded-icons.patch Thu Oct 20 14:42:03 2011 +0200 @@ -1,10 +1,10 @@ # HG changeset patch -# Parent 6948d58326d5c2e46936e186079421e7d76445e2 +# Parent 87462739809ad0f41fd335f9a68203fd70f9883c diff --git a/browser/app/Makefile.in b/browser/app/Makefile.in --- a/browser/app/Makefile.in +++ b/browser/app/Makefile.in -@@ -199,16 +199,21 @@ DEFINES += -DMOZILLA_OFFICIAL +@@ -194,16 +194,21 @@ DEFINES += -DMOZILLA_OFFICIAL endif ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2) @@ -20,16 +20,16 @@ +endif endif - ifdef MOZ_SPLASHSCREEN - ifeq ($(MOZ_WIDGET_TOOLKIT),windows) - libs:: - $(INSTALL) $(IFLAGS1) $(DIST)/branding/splash.bmp $(DIST)/bin - endif - endif + libs:: $(srcdir)/profile/prefs.js + $(INSTALL) $(IFLAGS1) $^ $(DIST)/bin/defaults/profile + + libs:: $(srcdir)/blocklist.xml + $(INSTALL) $(IFLAGS1) $^ $(DIST)/bin + diff --git a/browser/branding/official/Makefile.in b/browser/branding/official/Makefile.in --- a/browser/branding/official/Makefile.in +++ b/browser/branding/official/Makefile.in -@@ -69,18 +69,21 @@ OSX_BRANDING_FILES = \ +@@ -65,18 +65,21 @@ OSX_BRANDING_FILES = \ firefox.icns \ disk.icns \ document.icns \ @@ -54,7 +54,7 @@ diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in --- a/browser/installer/package-manifest.in +++ b/browser/installer/package-manifest.in -@@ -421,18 +421,21 @@ +@@ -415,18 +415,21 @@ #ifdef SHIP_FEEDBACK @BINPATH@/distribution/extensions/testpilot@labs.mozilla.com.xpi #endif diff -r 880a90eb0f92 -r 01755c4d3545 firefox-kde.patch --- a/firefox-kde.patch Thu Oct 20 14:35:33 2011 +0200 +++ b/firefox-kde.patch Thu Oct 20 14:42:03 2011 +0200 @@ -2,7 +2,7 @@ new file mode 100644 --- /dev/null +++ b/browser/base/content/browser-kde.xul -@@ -0,0 +1,1038 @@ +@@ -0,0 +1,1055 @@ +#filter substitution + +# -*- Mode: HTML -*- @@ -239,14 +239,6 @@ + close="true" + onpopuphiding="InspectorUI.closeInspectorUI();" + label="&inspectPanelTitle.label;"> -+ -+ -+ + + + @@ -286,10 +278,10 @@ + oncommand="BrowserFullScreen();"/> + + -+ + + ++ ++ ++ ++ ++ ++ + + +#ifdef CAN_DRAW_IN_TITLEBAR @@ -473,12 +483,12 @@ + label="&backCmd.label;" + command="Browser:BackOrBackDuplicate" + onclick="checkForMiddleClick(this, event);" -+ tooltiptext="&backButton.tooltip;"/> ++ tooltip="back-button-tooltip"/> + ++ tooltip="forward-button-tooltip"/> + + + + + ++ + + + -+ ++ + + + @@ -1029,12 +1052,6 @@ +#endif + + -+#