From 14ce29297b99d68e8ae99493b87d1c6e5fa0c7a7cdb0e9fb7f8050c2f95a5aa0 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Tue, 7 Mar 2017 08:35:10 +0000 Subject: [PATCH] - update to Firefox 52.0 * requires NSS >= 3.28.3 * Pages containing insecure password fields now display a warning directly within username and password fields. * Windows 8 touch screen support for multiprocess Firefox * Send and open a tab from one device to another with Sync * Removed NPAPI support for plugins other than Flash. Silverlight, Java, Acrobat and the like are no longer supported. * Removed Battery Status API to reduce fingerprinting of users by trackers - removed obsolete patches * mozilla-binutils-visibility.patch * mozilla-check_return.patch * mozilla-disable-skia-be.patch * mozilla-skia-overflow.patch * mozilla-skia-ppc-endianess.patch - rebased patches - enable rust usage for Tumbleweed OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=572 --- MozillaFirefox.changes | 22 +++ MozillaFirefox.spec | 54 +++--- compare-locales.tar.xz | 4 +- create-tar.sh | 4 +- firefox-51.0.1-source.tar.xz | 3 - firefox-52.0-source.tar.xz | 3 + firefox-kde.patch | 59 +++--- l10n-51.0.1.tar.xz | 3 - l10n-52.0.tar.xz | 3 + l10n_changesets.txt | 184 +++++++++---------- mozilla-binutils-visibility.patch | 30 --- mozilla-check_return.patch | 79 -------- mozilla-disable-skia-be.patch | 292 ------------------------------ mozilla-kde.patch | 163 +++++++++++++++-- mozilla-skia-overflow.patch | 32 ---- mozilla-skia-ppc-endianess.patch | 45 ----- source-stamp.txt | 2 +- 17 files changed, 336 insertions(+), 646 deletions(-) delete mode 100644 firefox-51.0.1-source.tar.xz create mode 100644 firefox-52.0-source.tar.xz delete mode 100644 l10n-51.0.1.tar.xz create mode 100644 l10n-52.0.tar.xz delete mode 100644 mozilla-binutils-visibility.patch delete mode 100644 mozilla-check_return.patch delete mode 100644 mozilla-disable-skia-be.patch delete mode 100644 mozilla-skia-overflow.patch delete mode 100644 mozilla-skia-ppc-endianess.patch diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index 766bbe47..a2c53515 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sat Mar 4 16:57:45 UTC 2017 - wr@rosenauer.org + +- update to Firefox 52.0 + * requires NSS >= 3.28.3 + * Pages containing insecure password fields now display a warning + directly within username and password fields. + * Windows 8 touch screen support for multiprocess Firefox + * Send and open a tab from one device to another with Sync + * Removed NPAPI support for plugins other than Flash. Silverlight, + Java, Acrobat and the like are no longer supported. + * Removed Battery Status API to reduce fingerprinting of users by + trackers +- removed obsolete patches + * mozilla-binutils-visibility.patch + * mozilla-check_return.patch + * mozilla-disable-skia-be.patch + * mozilla-skia-overflow.patch + * mozilla-skia-ppc-endianess.patch +- rebased patches +- enable rust usage for Tumbleweed + ------------------------------------------------------------------- Fri Jan 27 20:25:59 UTC 2017 - astieger@suse.com diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index 30193ee0..88caa292 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -18,14 +18,19 @@ # changed with every update -%define major 51 -%define mainver %major.0.1 +%define major 52 +%define mainver %major.0 %define update_channel release -%define releasedate 20170126000000 +%define releasedate 20170302000000 # PIE, full relro (x86_64 for now) %define build_hardened 1 +%if 0%{?suse_version} > 1320 +%define firefox_use_gtk3 1 +%define firefox_use_rust 1 +%endif + # general build definitions %if "%{update_channel}" != "aurora" %define progname firefox @@ -36,9 +41,6 @@ %define pkgname firefox-dev-edition %define appname Firefox Developer Edition %endif -%if 0%{?suse_version} > 1320 -%define firefox_use_gtk3 1 -%endif %define progdir %{_prefix}/%_lib/%{progname} %define gnome_dir %{_prefix} %define desktop_file_name %{progname} @@ -78,7 +80,7 @@ BuildRequires: libnotify-devel BuildRequires: libproxy-devel BuildRequires: makeinfo BuildRequires: mozilla-nspr-devel >= 4.13.1 -BuildRequires: mozilla-nss-devel >= 3.28.1 +BuildRequires: mozilla-nss-devel >= 3.28.3 BuildRequires: nss-shared-helper-devel BuildRequires: python-devel BuildRequires: startup-notification-devel @@ -94,6 +96,11 @@ BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gtk+-3.0) >= 3.4.0 BuildRequires: pkgconfig(gtk+-unix-print-3.0) %endif +%if 0%{?firefox_use_rust} +BuildRequires: cargo +BuildRequires: rust >= 1.10 +BuildRequires: rust-std +%endif # libavcodec is required for H.264 support but the # openSUSE version is currently not able to play H.264 # therefore the Packman version is required @@ -144,26 +151,20 @@ Patch3: mozilla-kde.patch Patch4: mozilla-preferences.patch Patch5: mozilla-language.patch Patch6: mozilla-ntlm-full-path.patch -Patch8: mozilla-openaes-decl.patch -Patch10: mozilla-no-stdcxx-check.patch -Patch11: mozilla-reduce-files-per-UnifiedBindings.patch -Patch13: mozilla-check_return.patch -Patch14: mozilla-skia-overflow.patch -Patch17: mozilla-binutils-visibility.patch -Patch18: mozilla-skia-ppc-endianess.patch -Patch19: mozilla-disable-skia-be.patch +Patch7: mozilla-openaes-decl.patch +Patch8: mozilla-no-stdcxx-check.patch +Patch9: mozilla-reduce-files-per-UnifiedBindings.patch +Patch10: mozilla-aarch64-startup-crash.patch # Firefox/browser Patch101: firefox-kde.patch Patch102: firefox-no-default-ualocale.patch Patch103: firefox-branded-icons.patch -# hotfix -Patch200: mozilla-aarch64-startup-crash.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(post): coreutils shared-mime-info desktop-file-utils Requires(postun): shared-mime-info desktop-file-utils %if %branding -Requires: %{name}-branding > 39.0 +Requires: %{name}-branding > 44.0 %endif Requires: mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr) Requires: mozilla-nss >= %(rpm -q --queryformat '%{VERSION}' mozilla-nss) @@ -260,19 +261,14 @@ cd $RPM_BUILD_DIR/mozilla %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 %patch8 -p1 +%patch9 -p1 %patch10 -p1 -%patch11 -p1 -%patch13 -p1 -%patch14 -p1 -%patch17 -p1 -%patch18 -p1 -%patch19 -p1 # Firefox %patch101 -p1 %patch102 -p1 %patch103 -p1 -%patch200 -p1 %build # no need to add build time to binaries @@ -328,6 +324,9 @@ ac_add_options --prefix=%{_prefix} ac_add_options --libdir=%{_libdir} ac_add_options --includedir=%{_includedir} ac_add_options --enable-release +%if 0%{?firefox_use_rust} +ac_add_options --enable-rust +%endif %if 0%{?firefox_use_gtk3} ac_add_options --enable-default-toolkit=cairo-gtk3 %else @@ -564,7 +563,6 @@ exit 0 %dir %{progdir}/browser/ %dir %{progdir}/browser/chrome/ %dir %{progdir}/browser/extensions/ -%{progdir}/browser/components/ %{progdir}/browser/defaults %{progdir}/browser/features/ %{progdir}/browser/icons/ @@ -586,9 +584,10 @@ exit 0 %{progdir}/firefox %{progdir}/firefox-bin %{progdir}/application.ini +%{progdir}/chrome.manifest %{progdir}/dependentlibs.list +%{progdir}/icudt58l.dat %{progdir}/*.so -%{progdir}/icudt56l.dat %{progdir}/omni.ja %{progdir}/fonts/ %{progdir}/platform.ini @@ -597,6 +596,7 @@ exit 0 %{progdir}/crashreporter %{progdir}/crashreporter.ini %{progdir}/Throbber-small.gif +%{progdir}/minidump-analyzer %{progdir}/browser/crashreporter-override.ini %endif %{_datadir}/applications/%{desktop_file_name}.desktop diff --git a/compare-locales.tar.xz b/compare-locales.tar.xz index 07792876..238bcfdc 100644 --- a/compare-locales.tar.xz +++ b/compare-locales.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:39f4acd60561c280126c6663b90027674e56c69720c8cd8a26e5072bd2023878 -size 28492 +oid sha256:48b13f30d86ee715f3f89fb39669de465d47571ca04e2fc7d8f342b523fe7037 +size 28392 diff --git a/create-tar.sh b/create-tar.sh index 32df5ae6..b7a45e3b 100644 --- a/create-tar.sh +++ b/create-tar.sh @@ -7,8 +7,8 @@ CHANNEL="release" BRANCH="releases/mozilla-$CHANNEL" -RELEASE_TAG="327e081221b064b05a302d7877c6e4be2949a617" -VERSION="51.0.1" +RELEASE_TAG="44d6a57ab554308585a67a13035d31b264be781e" +VERSION="52.0" # mozilla if [ -d mozilla ]; then diff --git a/firefox-51.0.1-source.tar.xz b/firefox-51.0.1-source.tar.xz deleted file mode 100644 index 2a23839b..00000000 --- a/firefox-51.0.1-source.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b8abc0d939bcf01a610440864408a43a96db993aa2052249daec3a29223a3d23 -size 213490132 diff --git a/firefox-52.0-source.tar.xz b/firefox-52.0-source.tar.xz new file mode 100644 index 00000000..f1136642 --- /dev/null +++ b/firefox-52.0-source.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29b424ea8ad39344efdc5f1821039b9158b426ca966a80c946a131930d671c6b +size 222387720 diff --git a/firefox-kde.patch b/firefox-kde.patch index f2ef0e68..939353d2 100644 --- a/firefox-kde.patch +++ b/firefox-kde.patch @@ -1,11 +1,11 @@ # HG changeset patch -# Parent 2cae514c05c8836ca5b69884d3a07998a5d53e8b +# Parent 1c4e33861cfcffe5a189802cf97957b0701260db diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul new file mode 100644 --- /dev/null +++ b/browser/base/content/browser-kde.xul -@@ -0,0 +1,1119 @@ +@@ -0,0 +1,1134 @@ +#filter substitution + +# -*- Mode: HTML -*- @@ -149,7 +149,13 @@ new file mode 100644 + + + -+