diff --git a/.gitignore b/.gitignore index 559c5cd..6285fa9 100644 --- a/.gitignore +++ b/.gitignore @@ -538,3 +538,5 @@ firefox-3.6.4.source.tar.bz2 /firefox-langpacks-105.0.2-20221005.tar.xz /firefox-langpacks-106.0-20221014.tar.xz /firefox-106.0.source.tar.xz +/firefox-106.0.1.source.tar.xz +/firefox-langpacks-106.0.1-20221023.tar.xz diff --git a/firefox.spec b/firefox.spec index e967852..dbfff39 100644 --- a/firefox.spec +++ b/firefox.spec @@ -21,6 +21,13 @@ ExcludeArch: i686 # as the build is *very* slow. %global debug_build 0 +# rhbz#2134527 - Use portal Gtk file dialog on Fedora 37+ +%if 0%{?fedora} >= 37 +%global use_xdg_file_portal 1 +%else +%global use_xdg_file_portal 0 +%endif + %global system_nss 1 %global system_libevent 1 %global build_with_asan 0 @@ -163,13 +170,13 @@ ExcludeArch: i686 Summary: Mozilla Firefox Web browser Name: firefox -Version: 106.0 -Release: 2%{?pre_tag}%{?dist} +Version: 106.0.1 +Release: 1%{?pre_tag}%{?dist} URL: https://www.mozilla.org/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz %if %{with langpacks} -Source1: firefox-langpacks-%{version}%{?pre_version}-20221014.tar.xz +Source1: firefox-langpacks-%{version}%{?pre_version}-20221023.tar.xz %endif Source2: cbindgen-vendor.tar.xz Source10: firefox-mozconfig @@ -333,6 +340,9 @@ BuildRequires: python3-setuptools %if !0%{?flatpak} Requires: u2f-hidraw-policy %endif +%if %{?use_xdg_file_portal} +Requires: xdg-desktop-portal +%endif BuildRequires: desktop-file-utils %if !0%{?flatpak} @@ -933,9 +943,7 @@ ln -s %{_datadir}/myspell %{buildroot}%{mozappdir}/dictionaries # Default %{__cp} %{SOURCE12} %{buildroot}%{mozappdir}/browser/defaults/preferences - -# rhbz#2134527 - Use portal Gtk file dialog on Fedora 37+ -%if 0%{?fedora} > 36 +%if %{?use_xdg_file_portal} echo 'pref("widget.use-xdg-desktop-portal.file-picker", 1);' >> %{buildroot}%{mozappdir}/browser/defaults/preferences/firefox-redhat-default-prefs.js %endif @@ -1099,6 +1107,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #--------------------------------------------------------------------- %changelog +* Sun Oct 23 2022 Martin Stransky - 106.0.1-1 +- Update to 106.0.01 +- Require xdg-desktop-portal when file dialog portal is used. + * Thu Oct 20 2022 Jan Grulich - 106.0-2 - Enable upstream WebRTC code for screensharing on Wayland diff --git a/sources b/sources index 3608af1..26fd11c 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ SHA512 (mochitest-python.tar.gz) = 18e1aeb475df5fbf1fe3838897d5ac2f3114aa349030713fc2be27af087b1b12f57642621b87bd052f324a7cb7fbae5f36b21502191d85692f62c8cdd69c8bf2 SHA512 (cbindgen-vendor.tar.xz) = 0d45c1decfd7aaee853748745c9f5a907c0c6a0cf809c2387aac1cdcf680b0844b1ef4d05148e0527de4ff6e4d4666110bea317bd00b7d73a1210eb58a815563 -SHA512 (firefox-langpacks-106.0-20221014.tar.xz) = 92f90a91107f48e27bb223c3d06941eca9a68bf7d2909d6192e6413191d291cec3d92654e0d64afea691ced7954c17444d79d7231a426a989d9969955ad5c8f3 -SHA512 (firefox-106.0.source.tar.xz) = 30ced2fff818858267eaab23974f6962c5d39433ce8e26507589535fc9348f00cf5e45b90997dfb6e2361b70900547fdb0e70d741127cc6705089ea585ea2296 +SHA512 (firefox-106.0.1.source.tar.xz) = 15f5a65a69e11dd0c463b358cafb5ad0f31db93619b9ec3f89e8c5e14d4d319d9423fe4dcd0dbbcbedc1ad444dcbd8e5e30e483220277f5b550bff6124b66519 +SHA512 (firefox-langpacks-106.0.1-20221023.tar.xz) = 07b12d49a0cce77f6ffb6d1bffa230d16740570bd241f41246dc489eea2b7d1583b836760d077b8a3af5c04e80d7bcd1460dc11c73f85f0b736fb6fd87013850