From 238d2bd9f90cee802acd6636b4d81cdb44274c83f9ff70fa79380e2d09b6c2d3 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Mon, 30 Oct 2017 06:56:57 +0000 Subject: [PATCH] - update to Firefox 56.0.2 * Disable Form Autofill completely on user request (bmo#1404531) * Fix for video-related crashes on Windows 7 (bmo#1409141) * Correct detection for 64-bit GSSAPI authentication (bmo#1409275) * Fix for shutdown crash (bmo#1404105) - update to Firefox 56.0.1 * Block D3D11 when using Intel drivers on Windows 7 systems with partial AVX support (bmo#1403353) -> just to sync the version number - enable stylo for TW (requires LLVM >= 3.9) - queue KDE filepicker requests to avoid non-opening file dialogs happening in certain situations (contributed by Ignaz Forster) - the placeholder dot in KDE file dialog in case of empty filenames was removed, apparently not required (anymore) (contributed by Ignaz Forster) OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=609 --- MozillaFirefox.changes | 23 +++++++++++++++++++++++ MozillaFirefox.spec | 10 +++++++--- compare-locales.tar.xz | 4 ++-- create-tar.sh | 4 ++-- firefox-56.0-source.tar.xz | 3 --- firefox-56.0.2-source.tar.xz | 3 +++ l10n-56.0.2.tar.xz | 3 +++ l10n-56.0.tar.xz | 3 --- mozilla-kde.patch | 33 +++++++++++++++++---------------- source-stamp.txt | 2 +- 10 files changed, 58 insertions(+), 30 deletions(-) delete mode 100644 firefox-56.0-source.tar.xz create mode 100644 firefox-56.0.2-source.tar.xz create mode 100644 l10n-56.0.2.tar.xz delete mode 100644 l10n-56.0.tar.xz diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index a39b7d2c..57dd1e36 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Sat Oct 28 06:30:37 UTC 2017 - wr@rosenauer.org + +- update to Firefox 56.0.2 + * Disable Form Autofill completely on user request (bmo#1404531) + * Fix for video-related crashes on Windows 7 (bmo#1409141) + * Correct detection for 64-bit GSSAPI authentication (bmo#1409275) + * Fix for shutdown crash (bmo#1404105) + +------------------------------------------------------------------- +Tue Oct 10 11:47:49 UTC 2017 - wr@rosenauer.org + +- update to Firefox 56.0.1 + * Block D3D11 when using Intel drivers on Windows 7 systems with + partial AVX support (bmo#1403353) + -> just to sync the version number +- enable stylo for TW (requires LLVM >= 3.9) +- queue KDE filepicker requests to avoid non-opening file dialogs + happening in certain situations (contributed by Ignaz Forster) +- the placeholder dot in KDE file dialog in case of empty filenames + was removed, apparently not required (anymore) + (contributed by Ignaz Forster) + ------------------------------------------------------------------- Sun Oct 1 18:25:16 UTC 2017 - stefan.bruens@rwth-aachen.de diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index 60580243..cb86d16c 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -19,10 +19,10 @@ # changed with every update %define major 56 -%define mainver %major.0 +%define mainver %major.0.2 %define update_channel release %define branding 1 -%define releasedate 20170926190823 +%define releasedate 20171024165158 # PIE, full relro (x86_64 for now) %define build_hardened 1 @@ -93,7 +93,9 @@ BuildRequires: pkgconfig(gtk+-unix-print-2.0) BuildRequires: pkgconfig(gtk+-unix-print-3.0) BuildRequires: pkgconfig(libffi) BuildRequires: pkgconfig(libpulse) -#BuildRequires: llvm-clang-devel >= 3.9.0 +%if 0%{?suse_version} > 1320 +BuildRequires: llvm-clang-devel >= 3.9.0 +%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 @@ -355,7 +357,9 @@ ac_add_options --enable-startup-notification ac_add_options --enable-update-channel=%{update_channel} ac_add_options --with-mozilla-api-keyfile=%{SOURCE18} ac_add_options --with-google-api-keyfile=%{SOURCE19} +%if 0%{?suse_version} <= 1320 ac_add_options --disable-stylo +%endif %if %branding ac_add_options --enable-official-branding %endif diff --git a/compare-locales.tar.xz b/compare-locales.tar.xz index 6d87aad9..a6a1147d 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:4d06bd7c006d22e249f2a537935a7df6a27375790f35c5f5e54d52987cfaef05 -size 28376 +oid sha256:e74ef907b2f1e30c66f69bc3246c18f826faf18ed360ed2640ac825a1f4e5dee +size 28384 diff --git a/create-tar.sh b/create-tar.sh index 7cb12eee..469f2b8e 100644 --- a/create-tar.sh +++ b/create-tar.sh @@ -7,8 +7,8 @@ CHANNEL="release" BRANCH="releases/mozilla-$CHANNEL" -RELEASE_TAG="8fbf05f4b92125e081984f5e39b559b83e5cc729" # 56 build6 -VERSION="56.0" +RELEASE_TAG="FIREFOX_56_0_2_RELEASE" # 56.0.1 build2 +VERSION="56.0.2" # mozilla if [ -d mozilla ]; then diff --git a/firefox-56.0-source.tar.xz b/firefox-56.0-source.tar.xz deleted file mode 100644 index 60e0930b..00000000 --- a/firefox-56.0-source.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:59eae64165c9d5917e4c934862a956fcc7aad424d4afd056e3941a210d0735e3 -size 271865016 diff --git a/firefox-56.0.2-source.tar.xz b/firefox-56.0.2-source.tar.xz new file mode 100644 index 00000000..53623683 --- /dev/null +++ b/firefox-56.0.2-source.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:35af0610782685d9e43fc53d7af53e91eb605993dd1be215f3145ec6f68521eb +size 271922384 diff --git a/l10n-56.0.2.tar.xz b/l10n-56.0.2.tar.xz new file mode 100644 index 00000000..affc342e --- /dev/null +++ b/l10n-56.0.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ffbe131f588deccb90f4041143be4a6a93221abb9eabaf7677c33ddb07b27ca9 +size 47686956 diff --git a/l10n-56.0.tar.xz b/l10n-56.0.tar.xz deleted file mode 100644 index 6937746d..00000000 --- a/l10n-56.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0a4704c6ae33b92f0f861cba02ab93bc5fe05b7429b7adc7e9180793556ef398 -size 47661016 diff --git a/mozilla-kde.patch b/mozilla-kde.patch index cab663da..f9ce5e56 100644 --- a/mozilla-kde.patch +++ b/mozilla-kde.patch @@ -1,5 +1,5 @@ # HG changeset patch -# Parent faadbf89d1cb02eefec4c5dfd3ab86bc20d815d5 +# Parent a930d4c1c3fba77f61071becdc51e3232e0b72ca Description: Add KDE integration to Firefox (toolkit parts) Author: Wolfgang Rosenauer Author: Lubos Lunak @@ -3276,7 +3276,7 @@ diff --git a/widget/gtk/nsFilePicker.cpp b/widget/gtk/nsFilePicker.cpp mFilters.AppendElement(filter); mFilterNames.AppendElement(name); -@@ -371,16 +375,34 @@ nsFilePicker::Show(int16_t *aReturn) +@@ -371,16 +375,37 @@ nsFilePicker::Show(int16_t *aReturn) NS_IMETHODIMP nsFilePicker::Open(nsIFilePickerShownCallback *aCallback) @@ -3287,19 +3287,22 @@ diff --git a/widget/gtk/nsFilePicker.cpp b/widget/gtk/nsFilePicker.cpp + // KDE file picker is not handled via callback + if( nsKDEUtils::kdeSupport()) { -+ int16_t result; + mCallback = aCallback; + mRunning = true; -+ NS_ADDREF_THIS(); -+ kdeFileDialog(&result); -+ if (mCallback) { -+ mCallback->Done(result); -+ mCallback = nullptr; -+ } else { -+ mResult = result; -+ } -+ mRunning = false; -+ NS_RELEASE_THIS(); ++ g_idle_add([](gpointer data) -> gboolean { ++ nsFilePicker* queuedPicker = (nsFilePicker*) data; ++ int16_t result; ++ queuedPicker->kdeFileDialog(&result); ++ if (queuedPicker->mCallback) { ++ queuedPicker->mCallback->Done(result); ++ queuedPicker->mCallback = nullptr; ++ } else { ++ queuedPicker->mResult = result; ++ } ++ queuedPicker->mRunning = false; ++ return G_SOURCE_REMOVE; ++ }, this); ++ + return NS_OK; + } + @@ -3311,7 +3314,7 @@ diff --git a/widget/gtk/nsFilePicker.cpp b/widget/gtk/nsFilePicker.cpp GtkFileChooserAction action = GetGtkFileChooserAction(mMode); -@@ -603,8 +625,235 @@ nsFilePicker::Done(GtkWidget* file_choos +@@ -603,8 +628,233 @@ nsFilePicker::Done(GtkWidget* file_choos if (mCallback) { mCallback->Done(result); mCallback = nullptr; @@ -3408,8 +3411,6 @@ diff --git a/widget/gtk/nsFilePicker.cpp b/widget/gtk/nsFilePicker.cpp + else + startdir = ToNewUTF8String(mDefault); + } -+ if( startdir.IsEmpty()) -+ startdir = "."; + + nsAutoCString filters; + PRInt32 count = mFilters.Length(); diff --git a/source-stamp.txt b/source-stamp.txt index a8fb5021..60b7da1d 100644 --- a/source-stamp.txt +++ b/source-stamp.txt @@ -1,2 +1,2 @@ -REV=8fbf05f4b921 +REV=66ffd1657af8 REPO=http://hg.mozilla.org/releases/mozilla-release