diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index 481620f..a442d37 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Mar 5 13:31:48 UTC 2012 - vdziewiecki@suse.com + +- add Provides: browser(npapi) FATE#313084 + +------------------------------------------------------------------- +Tue Feb 28 07:25:08 UTC 2012 - wr@rosenauer.org + +- update to version 11.0b5 +- ported and reenabled KDE integration (bnc#746591) +- explicitely build-require X libs + +------------------------------------------------------------------- +Fri Feb 17 17:41:11 UTC 2012 - pcerny@suse.com + +- better plugin directory resolution (bnc#747320) + ------------------------------------------------------------------- Thu Feb 16 08:47:31 UTC 2012 - wr@rosenauer.org diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index 00dd521..4685b98 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -18,7 +18,7 @@ %define major 10 -%define mainver %major.0.2 +%define mainver %major.99 Name: MozillaFirefox BuildRequires: Mesa-devel @@ -34,6 +34,7 @@ BuildRequires: python BuildRequires: startup-notification-devel BuildRequires: unzip BuildRequires: update-desktop-files +BuildRequires: xorg-x11-libXt-devel BuildRequires: yasm BuildRequires: zip %if %suse_version > 1110 @@ -42,19 +43,20 @@ BuildRequires: libproxy-devel %else BuildRequires: wireless-tools %endif -BuildRequires: mozilla-nspr-devel >= 4.8.9 -BuildRequires: mozilla-nss-devel >= 3.13.1 +BuildRequires: mozilla-nspr-devel >= 4.9.0 +BuildRequires: mozilla-nss-devel >= 3.13.3 BuildRequires: nss-shared-helper-devel Version: %{mainver} Release: 0 -%define releasedate 2012021500 -Provides: web_browser -Provides: firefox = %{version}-%{release} +%define releasedate 2012022900 Provides: firefox = %{mainver} +Provides: firefox = %{version}-%{release} +Provides: web_browser # this is needed to match this package with the kde4 helper package without the main package # having a hard requirement on the kde4 package %define kde_helper_version 6 Provides: mozilla-kde4-version = %{kde_helper_version} +Provides: browser(npapi) Summary: Mozilla Firefox Web Browser License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+ Group: Productivity/Networking/Web/Browsers @@ -86,10 +88,8 @@ Patch9: mozilla-repo.patch Patch10: mozilla-dump_syms-static.patch Patch11: mozilla-sle11.patch Patch12: mozilla-linux3.patch -Patch13: mozilla-a11y.patch Patch14: mozilla-disable-neon-option.patch -Patch15: mozilla-bmo703534.patch -Patch16: mozilla-yarr-pcre.patch +Patch15: mozilla-yarr-pcre.patch # Firefox/browser Patch31: firefox-browser-css.patch Patch32: firefox-cross-desktop.patch @@ -101,9 +101,9 @@ Patch41: firefox-branded-icons.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(post): coreutils shared-mime-info desktop-file-utils Requires(postun): shared-mime-info desktop-file-utils +Requires: %{name}-branding > 4.0 Requires: mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr) Requires: mozilla-nss >= %(rpm -q --queryformat '%{VERSION}' mozilla-nss) -Requires: %{name}-branding > 4.0 %define firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\} %define _use_internal_dependency_generator 0 %define __find_requires sh %{SOURCE4} @@ -137,8 +137,8 @@ Summary: Devel package for Firefox Group: Development/Tools/Other Provides: firefox-devel = %{version}-%{release} Requires: %{name} = %{version} -Requires: perl(XML::Simple) Requires: perl(Archive::Zip) +Requires: perl(XML::Simple) %description devel Development files for Firefox to make packaging of addons easier. @@ -206,7 +206,7 @@ cd $RPM_BUILD_DIR/mozilla %patch2 -p1 %patch3 -p1 %patch4 -p1 -#%patch5 -p1 +%patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 @@ -216,18 +216,16 @@ cd $RPM_BUILD_DIR/mozilla %patch11 -p1 %endif %patch12 -p1 -%patch13 -p1 %patch14 -p1 -%patch15 -p1 -%patch16 -p1 +#%patch15 -p1 # %patch31 -p1 %patch32 -p1 %if %suse_version >= 1110 -#%patch33 -p1 +%patch33 -p1 %endif %if %suse_version >= 1140 -#%patch34 -p1 +%patch34 -p1 %endif %patch38 -p1 %patch39 -p1 @@ -240,11 +238,11 @@ DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" TIME="\"$(date -d "${modified}" "+%%R")\"" find . -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} + # -#kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3) -#if test "$kdehelperversion" != %{kde_helper_version}; then -# echo fix kde helper version in the .spec file -# exit 1 -#fi +kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3) +if test "$kdehelperversion" != %{kde_helper_version}; then + echo fix kde helper version in the .spec file + exit 1 +fi source %{SOURCE5} export MOZ_SOURCE_STAMP=$REV export SOURCE_REPO=$REPO @@ -282,7 +280,7 @@ ac_add_options --disable-tests ac_add_options --disable-debug ac_add_options --enable-startup-notification #ac_add_options --enable-chrome-format=jar -ac_add_options --enable-update-channel=release +ac_add_options --enable-update-channel=beta EOF %if %suse_version > 1130 cat << EOF >> $MOZCONFIG diff --git a/compare-locales.tar.bz2 b/compare-locales.tar.bz2 index e945208..c914180 100644 --- a/compare-locales.tar.bz2 +++ b/compare-locales.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9ef03e912b119f21ce100c4423cac0303339b344fe2d6d0a2f1aa1f4a9bf5e24 -size 25686 +oid sha256:ed6f2335b5fb457f70d9d30566b2546f2f513514f620e35cfa86523762da6208 +size 29353 diff --git a/create-tar.sh b/create-tar.sh index 620cd43..1e72d3d 100644 --- a/create-tar.sh +++ b/create-tar.sh @@ -1,9 +1,9 @@ #!/bin/bash -CHANNEL="release" +CHANNEL="beta" BRANCH="releases/mozilla-$CHANNEL" -RELEASE_TAG="FIREFOX_10_0_2_RELEASE" -VERSION="10.0.2" +RELEASE_TAG="FIREFOX_11_0b5_RELEASE" +VERSION="10.99" # mozilla hg clone http://hg.mozilla.org/$BRANCH mozilla diff --git a/firefox-10.0.2-source.tar.bz2 b/firefox-10.0.2-source.tar.bz2 deleted file mode 100644 index bcfe1c8..0000000 --- a/firefox-10.0.2-source.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e3f32a41ec22fa4dce633d512ec68f52fcabcfacbef90c58cdfb7557b7bc6b49 -size 75330039 diff --git a/firefox-10.99-source.tar.bz2 b/firefox-10.99-source.tar.bz2 new file mode 100644 index 0000000..0506eee --- /dev/null +++ b/firefox-10.99-source.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50e0b4c51464c73710095176a6c01902c9321b4b12736173d14ced822461ce2d +size 78218358 diff --git a/firefox-branded-icons.patch b/firefox-branded-icons.patch index 83ecc40..9836780 100644 --- a/firefox-branded-icons.patch +++ b/firefox-branded-icons.patch @@ -1,11 +1,11 @@ # HG changeset patch -# Parent 87462739809ad0f41fd335f9a68203fd70f9883c +# Parent efffa19fa0b2530d2aca1ebd5b885a6fc68e51de diff --git a/browser/app/Makefile.in b/browser/app/Makefile.in --- a/browser/app/Makefile.in +++ b/browser/app/Makefile.in -@@ -194,16 +194,21 @@ DEFINES += -DMOZILLA_OFFICIAL - endif +@@ -169,16 +169,21 @@ endif # LIBXUL_SDK + DEFINES += -DFIREFOX_ICO=\"$(DIST)/branding/firefox.ico\" -DDOCUMENT_ICO=\"$(DIST)/branding/document.ico\" ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2) libs:: @@ -54,7 +54,7 @@ diff --git a/browser/branding/official/Makefile.in b/browser/branding/official/M 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 -@@ -415,18 +415,21 @@ +@@ -424,18 +424,21 @@ #ifdef SHIP_FEEDBACK @BINPATH@/distribution/extensions/testpilot@labs.mozilla.com.xpi #endif diff --git a/firefox-browser-css.patch b/firefox-browser-css.patch index c7d960b..6fc3119 100644 --- a/firefox-browser-css.patch +++ b/firefox-browser-css.patch @@ -6,10 +6,10 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=478632 wr: changed because of https://bugzilla.novell.com/show_bug.cgi?id=561027 -diff --git a/browser/themes/gnomestripe/browser/browser.css b/browser/themes/gnomestripe/browser/browser.css ---- a/browser/themes/gnomestripe/browser/browser.css -+++ b/browser/themes/gnomestripe/browser/browser.css -@@ -954,16 +954,30 @@ toolbar[iconsize="small"] #feed-button { +diff --git a/browser/themes/gnomestripe/browser.css b/browser/themes/gnomestripe/browser.css +--- a/browser/themes/gnomestripe/browser.css ++++ b/browser/themes/gnomestripe/browser.css +@@ -1018,16 +1018,30 @@ toolbar[iconsize="small"] #feed-button { } #urlbar-display { @@ -33,10 +33,10 @@ diff --git a/browser/themes/gnomestripe/browser/browser.css b/browser/themes/gno +} + /* Favicon */ - #page-proxy-favicon, - #urlbar-throbber { + #page-proxy-favicon { width: 16px; height: 16px; } #page-proxy-stack { + width: 24px; diff --git a/firefox-kde.patch b/firefox-kde.patch index 4be9e24..dec4d11 100644 --- a/firefox-kde.patch +++ b/firefox-kde.patch @@ -2,7 +2,7 @@ diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser new file mode 100644 --- /dev/null +++ b/browser/base/content/browser-kde.xul -@@ -0,0 +1,1111 @@ +@@ -0,0 +1,1125 @@ +#filter substitution + +# -*- Mode: HTML -*- @@ -42,6 +42,7 @@ new file mode 100644 +# Patrick Walton +# David Dahl +# Frank Yan ++# Victor Porof +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or @@ -59,7 +60,8 @@ new file mode 100644 + + + -+ ++ ++ + + + @@ -284,7 +286,11 @@ new file mode 100644 + if (gContextMenu.shouldDisplay) + updateEditUIVisibility(); + return gContextMenu.shouldDisplay;" -+ onpopuphiding="if (event.target == this) { gContextMenu = null; updateEditUIVisibility(); }"> ++ onpopuphiding="if (event.target != this) ++ return; ++ gContextMenu.hiding(); ++ gContextMenu = null; ++ updateEditUIVisibility();"> +#include browser-context.inc + + @@ -517,8 +523,6 @@ new file mode 100644 + ontextentered="this.handleCommand(param);" + ontextreverted="return this.handleRevert();" + pageproxystate="invalid" -+ onsearchbegin="LocationBarHelpers._searchBegin();" -+ onsearchcomplete="LocationBarHelpers._searchComplete();" + onfocus="document.getElementById('identity-box').style.MozUserFocus= 'normal'" + onblur="setTimeout(function() document.getElementById('identity-box').style.MozUserFocus = '', 0);"> +