2021-01-14 10:23:35 +00:00
|
|
|
# Produce a build suitable for release, i.e. use PGO/LTO. You can turn it off
|
|
|
|
# when building locally to reduce build time.
|
2020-11-28 09:09:12 +00:00
|
|
|
%global release_build 1
|
2021-01-14 10:23:35 +00:00
|
|
|
|
|
|
|
# Run Mozilla test suite as a part of compile rpm section. Turn off when
|
|
|
|
# building locally and don't want to spend 24 hours waiting for results.
|
2021-03-03 14:01:05 +00:00
|
|
|
%global run_firefox_tests 0
|
|
|
|
%ifarch x86_64 %{ix86}
|
2021-07-12 12:15:33 +00:00
|
|
|
%global run_firefox_tests 0
|
2021-03-03 14:01:05 +00:00
|
|
|
%endif
|
2021-01-14 10:23:35 +00:00
|
|
|
|
|
|
|
# Don't create debuginfo rpm packages. It reduces build time as
|
|
|
|
# exctracting debuginfo takes long time.
|
|
|
|
%global create_debuginfo 1
|
|
|
|
|
|
|
|
# Produce debug (non-optimized) package build. Suitable for debugging only
|
|
|
|
# as the build is *very* slow.
|
2020-11-03 18:02:27 +00:00
|
|
|
%global debug_build 0
|
2021-01-14 10:23:35 +00:00
|
|
|
|
2021-02-26 07:26:50 +00:00
|
|
|
%global system_nss 1
|
2020-08-19 14:36:41 +00:00
|
|
|
%global build_with_clang 0
|
2019-12-20 11:59:52 +00:00
|
|
|
%global build_with_asan 0
|
2021-04-27 12:35:17 +00:00
|
|
|
%global test_on_wayland 1
|
2021-01-30 15:01:39 +00:00
|
|
|
|
2021-01-14 10:23:35 +00:00
|
|
|
# There are still build problems on s390x, see
|
|
|
|
# https://koji.fedoraproject.org/koji/taskinfo?taskID=55048351
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1897522
|
|
|
|
ExcludeArch: s390x
|
|
|
|
|
2021-06-02 08:39:41 +00:00
|
|
|
# Disabled due to
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1966949
|
2021-06-15 12:33:53 +00:00
|
|
|
%if 0%{?fedora} > 33
|
2021-06-02 08:39:41 +00:00
|
|
|
ExcludeArch: armv7hl
|
|
|
|
%endif
|
|
|
|
|
2020-11-05 07:12:57 +00:00
|
|
|
%ifarch armv7hl
|
|
|
|
%global create_debuginfo 0
|
|
|
|
%endif
|
|
|
|
|
2021-04-20 14:46:41 +00:00
|
|
|
# Temporary disabled due to
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1951606
|
2019-12-10 08:20:26 +00:00
|
|
|
%global enable_mozilla_crashreporter 0
|
2019-12-09 18:05:40 +00:00
|
|
|
%ifarch x86_64 %{ix86}
|
2021-04-22 13:55:40 +00:00
|
|
|
%global enable_mozilla_crashreporter 1
|
2019-12-10 08:20:26 +00:00
|
|
|
%endif
|
|
|
|
%if %{build_with_asan}
|
2019-12-09 18:05:40 +00:00
|
|
|
%global enable_mozilla_crashreporter 0
|
|
|
|
%endif
|
2019-12-20 12:03:12 +00:00
|
|
|
%if 0%{?flatpak}
|
|
|
|
%global enable_mozilla_crashreporter 0
|
|
|
|
%endif
|
2020-11-05 07:12:57 +00:00
|
|
|
%if !%{create_debuginfo}
|
|
|
|
%define _unpackaged_files_terminate_build 0
|
|
|
|
%global debug_package %{nil}
|
2021-01-22 08:37:18 +00:00
|
|
|
%global enable_mozilla_crashreporter 0
|
2020-11-05 07:12:57 +00:00
|
|
|
%endif
|
2019-12-09 18:05:40 +00:00
|
|
|
|
2018-10-18 14:27:09 +00:00
|
|
|
%global system_ffi 1
|
2020-02-24 20:28:32 +00:00
|
|
|
%ifarch armv7hl
|
|
|
|
%global system_libvpx 1
|
|
|
|
%else
|
2019-02-28 11:55:07 +00:00
|
|
|
%global system_libvpx 0
|
2020-02-24 20:28:32 +00:00
|
|
|
%endif
|
2018-10-18 14:27:09 +00:00
|
|
|
%global hardened_build 1
|
|
|
|
%global system_jpeg 1
|
2018-12-12 10:41:54 +00:00
|
|
|
%global disable_elfhack 1
|
2018-12-12 09:48:12 +00:00
|
|
|
%global use_bundled_cbindgen 1
|
2020-11-05 07:12:57 +00:00
|
|
|
%if %{debug_build}
|
2020-11-10 13:48:46 +00:00
|
|
|
%global release_build 0
|
2020-11-05 07:12:57 +00:00
|
|
|
%endif
|
2019-07-23 06:03:03 +00:00
|
|
|
# Build PGO+LTO on x86_64 and aarch64 only due to build issues
|
|
|
|
# on other arches.
|
2020-08-18 06:43:08 +00:00
|
|
|
%global build_with_pgo 0
|
2020-08-24 09:03:04 +00:00
|
|
|
%ifarch x86_64
|
2019-03-12 11:32:07 +00:00
|
|
|
%if %{release_build}
|
2020-10-01 10:22:08 +00:00
|
|
|
%global build_with_pgo 1
|
2019-01-04 10:08:37 +00:00
|
|
|
%endif
|
2019-03-01 09:08:22 +00:00
|
|
|
%endif
|
2019-03-25 12:51:39 +00:00
|
|
|
%if 0%{?flatpak}
|
2019-03-26 06:45:18 +00:00
|
|
|
%global build_with_pgo 0
|
2019-03-25 12:51:39 +00:00
|
|
|
%endif
|
2017-03-07 11:59:47 +00:00
|
|
|
# Big endian platforms
|
2017-03-07 14:39:05 +00:00
|
|
|
%ifarch ppc64 s390x
|
2017-11-08 08:51:56 +00:00
|
|
|
%global big_endian 1
|
2017-03-07 11:59:47 +00:00
|
|
|
%endif
|
2012-03-13 10:15:37 +00:00
|
|
|
|
2018-12-12 09:48:12 +00:00
|
|
|
%if 0%{?build_with_pgo}
|
|
|
|
%global use_xvfb 1
|
|
|
|
%global build_tests 1
|
|
|
|
%endif
|
|
|
|
|
2020-11-17 21:52:02 +00:00
|
|
|
%if 0%{?run_firefox_tests}
|
2018-12-12 09:48:12 +00:00
|
|
|
%global use_xvfb 1
|
|
|
|
%global build_tests 1
|
|
|
|
%endif
|
2018-09-27 12:37:10 +00:00
|
|
|
|
2020-12-14 14:12:55 +00:00
|
|
|
%global launch_wayland_compositor 0
|
2021-04-04 16:51:01 +00:00
|
|
|
%if %{build_with_pgo} && %{test_on_wayland}
|
2020-12-14 14:12:55 +00:00
|
|
|
%global launch_wayland_compositor 1
|
|
|
|
%endif
|
2021-04-04 16:51:01 +00:00
|
|
|
%if %{run_firefox_tests} && %{test_on_wayland}
|
2020-12-14 14:12:55 +00:00
|
|
|
%global launch_wayland_compositor 1
|
|
|
|
%endif
|
|
|
|
|
2017-11-08 08:51:56 +00:00
|
|
|
%global default_bookmarks_file %{_datadir}/bookmarks/default-bookmarks.html
|
|
|
|
%global firefox_app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
|
2014-01-09 09:56:01 +00:00
|
|
|
# Minimal required versions
|
2014-10-31 11:42:03 +00:00
|
|
|
%global cairo_version 1.13.1
|
2014-01-09 09:56:01 +00:00
|
|
|
%global freetype_version 2.1.9
|
|
|
|
%global libnotify_version 0.7.0
|
2016-03-02 15:31:21 +00:00
|
|
|
%if %{?system_libvpx}
|
2020-02-24 20:28:32 +00:00
|
|
|
%global libvpx_version 1.8.2
|
2016-03-02 15:31:21 +00:00
|
|
|
%endif
|
2014-01-09 09:56:01 +00:00
|
|
|
|
|
|
|
%if %{?system_nss}
|
2021-07-12 12:15:33 +00:00
|
|
|
%global nspr_version 4.26
|
2017-08-29 11:01:25 +00:00
|
|
|
%global nspr_build_version %{nspr_version}
|
2021-07-12 12:15:33 +00:00
|
|
|
%global nss_version 3.66
|
2017-08-29 11:01:25 +00:00
|
|
|
%global nss_build_version %{nss_version}
|
2014-01-09 09:56:01 +00:00
|
|
|
%endif
|
2004-12-29 02:12:15 +00:00
|
|
|
|
2021-02-01 11:23:49 +00:00
|
|
|
%global mozappdir %{_libdir}/firefox
|
|
|
|
%global mozappdirdev %{_libdir}/firefox-devel-%{version}
|
2011-03-13 02:44:20 +00:00
|
|
|
%global langpackdir %{mozappdir}/langpacks
|
2018-04-24 09:33:36 +00:00
|
|
|
%global tarballdir firefox-%{version}
|
2010-02-24 13:55:11 +00:00
|
|
|
|
2017-11-08 08:51:56 +00:00
|
|
|
%global official_branding 1
|
2018-10-18 09:42:41 +00:00
|
|
|
|
|
|
|
%bcond_without langpacks
|
2015-08-19 07:54:46 +00:00
|
|
|
|
2019-03-12 11:32:07 +00:00
|
|
|
%if !%{release_build}
|
2019-11-27 18:21:45 +00:00
|
|
|
%global pre_tag .npgo
|
2019-03-12 11:32:07 +00:00
|
|
|
%endif
|
2019-12-06 13:26:09 +00:00
|
|
|
%if %{build_with_clang}
|
|
|
|
%global pre_tag .clang
|
|
|
|
%endif
|
2019-12-09 09:28:41 +00:00
|
|
|
%if %{build_with_asan}
|
|
|
|
%global pre_tag .asan
|
|
|
|
%global build_with_pgo 0
|
|
|
|
%endif
|
2020-03-04 11:35:58 +00:00
|
|
|
%if !%{system_nss}
|
|
|
|
%global nss_tag .nss
|
|
|
|
%endif
|
2020-11-03 08:23:08 +00:00
|
|
|
%if %{debug_build}
|
|
|
|
%global pre_tag .debug
|
|
|
|
%endif
|
2019-03-12 11:32:07 +00:00
|
|
|
|
2021-01-28 13:26:06 +00:00
|
|
|
# Exclude private libraries from autogenerated provides and requires
|
|
|
|
%global __provides_exclude_from ^%{mozappdir}
|
|
|
|
%global __requires_exclude ^(%%(find %{buildroot}%{mozappdir} -name '*.so' | xargs -n1 basename | sort -u | paste -s -d '|' -))
|
|
|
|
|
2007-12-09 11:35:10 +00:00
|
|
|
Summary: Mozilla Firefox Web browser
|
2004-09-09 04:44:49 +00:00
|
|
|
Name: firefox
|
2021-07-12 12:15:33 +00:00
|
|
|
Version: 90.0
|
|
|
|
Release: 1%{?pre_tag}%{?dist}
|
2016-05-02 12:27:50 +00:00
|
|
|
URL: https://www.mozilla.org/firefox/
|
2007-08-13 20:25:11 +00:00
|
|
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
2019-11-26 10:08:00 +00:00
|
|
|
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
|
2018-10-18 09:42:41 +00:00
|
|
|
%if %{with langpacks}
|
2021-07-12 12:15:33 +00:00
|
|
|
Source1: firefox-langpacks-%{version}%{?pre_version}-20210712.tar.xz
|
2008-06-18 00:52:47 +00:00
|
|
|
%endif
|
2018-10-18 14:27:09 +00:00
|
|
|
Source2: cbindgen-vendor.tar.xz
|
2005-07-18 20:30:35 +00:00
|
|
|
Source10: firefox-mozconfig
|
2007-03-20 18:25:16 +00:00
|
|
|
Source12: firefox-redhat-default-prefs.js
|
2004-12-12 08:42:36 +00:00
|
|
|
Source20: firefox.desktop
|
|
|
|
Source21: firefox.sh.in
|
2006-09-07 04:19:44 +00:00
|
|
|
Source23: firefox.1
|
2014-09-10 10:43:04 +00:00
|
|
|
Source24: mozilla-api-key
|
2015-07-02 13:48:32 +00:00
|
|
|
Source25: firefox-symbolic.svg
|
2017-04-18 09:12:05 +00:00
|
|
|
Source26: distribution.ini
|
2017-08-29 08:39:08 +00:00
|
|
|
Source27: google-api-key
|
2018-01-30 11:40:25 +00:00
|
|
|
Source28: firefox-wayland.sh.in
|
2018-05-25 10:50:35 +00:00
|
|
|
Source29: firefox-wayland.desktop
|
2018-10-08 12:09:44 +00:00
|
|
|
Source30: firefox-x11.sh.in
|
|
|
|
Source31: firefox-x11.desktop
|
2019-07-25 06:04:59 +00:00
|
|
|
Source32: node-stdout-nonblocking-wrapper
|
2020-02-04 14:37:46 +00:00
|
|
|
Source33: firefox.appdata.xml.in
|
2019-11-26 11:33:52 +00:00
|
|
|
Source34: firefox-search-provider.ini
|
2020-08-18 06:58:15 +00:00
|
|
|
Source35: google-loc-api-key
|
2020-12-09 11:41:49 +00:00
|
|
|
Source37: mochitest-python.tar.gz
|
2020-12-01 10:17:26 +00:00
|
|
|
Source38: print_results
|
2021-03-02 07:11:18 +00:00
|
|
|
Source39: print-errors
|
2020-12-14 14:12:55 +00:00
|
|
|
Source40: run-tests-x11
|
2020-12-10 20:59:50 +00:00
|
|
|
Source41: run-tests-wayland
|
2020-12-16 18:32:47 +00:00
|
|
|
Source42: psummary
|
2021-01-05 14:40:59 +00:00
|
|
|
Source43: print_failures
|
2021-03-02 07:11:18 +00:00
|
|
|
Source44: print-error-reftest
|
2021-04-04 16:51:01 +00:00
|
|
|
Source45: run-wayland-compositor
|
2007-12-09 11:35:10 +00:00
|
|
|
|
2016-05-27 08:49:21 +00:00
|
|
|
# Build patches
|
2014-01-09 09:56:01 +00:00
|
|
|
Patch3: mozilla-build-arm.patch
|
2015-05-11 08:56:28 +00:00
|
|
|
Patch25: rhbz-1219542-s390-build.patch
|
2017-06-12 12:57:56 +00:00
|
|
|
Patch32: build-rust-ppc64le.patch
|
2017-08-08 12:10:10 +00:00
|
|
|
Patch35: build-ppc-jit.patch
|
2017-09-05 09:34:45 +00:00
|
|
|
# Fixing missing cacheFlush when JS_CODEGEN_NONE is used (s390x)
|
|
|
|
Patch38: build-cacheFlush-missing.patch
|
2018-04-25 08:57:43 +00:00
|
|
|
Patch40: build-aarch64-skia.patch
|
2018-09-27 12:37:10 +00:00
|
|
|
Patch41: build-disable-elfhack.patch
|
2019-03-12 20:12:03 +00:00
|
|
|
Patch44: build-arm-libopus.patch
|
2019-10-21 13:15:55 +00:00
|
|
|
Patch46: firefox-nss-version.patch
|
2020-02-12 13:07:19 +00:00
|
|
|
Patch47: fedora-shebang-build.patch
|
2020-02-24 20:28:32 +00:00
|
|
|
Patch48: build-arm-wasm.patch
|
|
|
|
Patch49: build-arm-libaom.patch
|
2020-09-13 17:58:04 +00:00
|
|
|
Patch53: firefox-gcc-build.patch
|
2020-10-07 08:22:49 +00:00
|
|
|
# This should be fixed in Firefox 83
|
|
|
|
Patch54: mozilla-1669639.patch
|
2020-11-20 12:09:17 +00:00
|
|
|
Patch55: firefox-testing.patch
|
2021-03-23 09:29:22 +00:00
|
|
|
Patch57: firefox-disable-ffvpx-with-vapi.patch
|
2021-03-25 19:14:55 +00:00
|
|
|
Patch58: firefox-crashreporter-build.patch
|
2014-01-09 09:56:01 +00:00
|
|
|
|
2021-01-12 13:15:37 +00:00
|
|
|
# Test patches
|
2021-02-24 11:39:29 +00:00
|
|
|
# Generate without context by
|
|
|
|
# GENDIFF_DIFF_ARGS=-U0 gendiff firefox-xxxx .firefox-tests-xpcshell
|
|
|
|
# GENDIFF_DIFF_ARGS=-U0 gendiff firefox-xxxx .firefox-tests-reftest
|
2021-01-12 13:15:37 +00:00
|
|
|
Patch100: firefox-tests-xpcshell.patch
|
|
|
|
Patch101: firefox-tests-reftest.patch
|
2021-04-30 08:58:16 +00:00
|
|
|
Patch102: firefox-tests-xpcshell-freeze.patch
|
2021-01-12 13:15:37 +00:00
|
|
|
|
2014-01-09 09:56:01 +00:00
|
|
|
# Fedora specific patches
|
2014-07-29 13:20:46 +00:00
|
|
|
Patch215: firefox-enable-addons.patch
|
2014-12-23 14:43:44 +00:00
|
|
|
Patch219: rhbz-1173156.patch
|
2015-02-09 17:20:06 +00:00
|
|
|
Patch221: firefox-fedora-ua.patch
|
2016-03-21 13:40:15 +00:00
|
|
|
Patch224: mozilla-1170092.patch
|
2017-01-24 10:35:57 +00:00
|
|
|
#ARM run-time patch
|
|
|
|
Patch226: rhbz-1354671.patch
|
2020-09-25 09:54:11 +00:00
|
|
|
Patch228: disable-openh264-download.patch
|
2021-01-11 12:35:55 +00:00
|
|
|
Patch229: firefox-nss-addon-hack.patch
|
2010-06-24 10:51:03 +00:00
|
|
|
|
2008-06-18 00:52:47 +00:00
|
|
|
# Upstream patches
|
2016-04-28 12:40:31 +00:00
|
|
|
Patch402: mozilla-1196777.patch
|
2020-09-25 09:54:11 +00:00
|
|
|
Patch407: mozilla-1667096.patch
|
|
|
|
Patch408: mozilla-1663844.patch
|
2020-10-15 09:07:22 +00:00
|
|
|
Patch415: mozilla-1670333.patch
|
2021-04-22 13:55:40 +00:00
|
|
|
Patch420: mochitest-wayland-workaround.patch
|
2021-06-14 15:36:56 +00:00
|
|
|
Patch423: mozilla-1646135.patch
|
2021-06-30 10:24:15 +00:00
|
|
|
Patch424: mozilla-1715254.patch
|
2020-05-05 12:01:50 +00:00
|
|
|
|
2019-01-03 14:35:59 +00:00
|
|
|
# PGO/LTO patches
|
|
|
|
Patch600: pgo.patch
|
|
|
|
Patch602: mozilla-1516803.patch
|
2018-12-21 09:38:41 +00:00
|
|
|
|
2014-01-09 09:56:01 +00:00
|
|
|
%if %{?system_nss}
|
2015-11-04 12:57:49 +00:00
|
|
|
BuildRequires: pkgconfig(nspr) >= %{nspr_version}
|
|
|
|
BuildRequires: pkgconfig(nss) >= %{nss_version}
|
2014-01-09 09:56:01 +00:00
|
|
|
BuildRequires: nss-static >= %{nss_version}
|
|
|
|
%endif
|
2015-11-04 12:57:49 +00:00
|
|
|
BuildRequires: pkgconfig(libpng)
|
2016-01-13 12:57:13 +00:00
|
|
|
%if %{?system_jpeg}
|
2014-01-09 09:56:01 +00:00
|
|
|
BuildRequires: libjpeg-devel
|
2016-01-13 12:57:13 +00:00
|
|
|
%endif
|
2014-01-09 09:56:01 +00:00
|
|
|
BuildRequires: zip
|
|
|
|
BuildRequires: bzip2-devel
|
2015-11-04 12:57:49 +00:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
|
BuildRequires: pkgconfig(krb5)
|
|
|
|
BuildRequires: pkgconfig(pango)
|
|
|
|
BuildRequires: pkgconfig(freetype2) >= %{freetype_version}
|
|
|
|
BuildRequires: pkgconfig(xt)
|
|
|
|
BuildRequires: pkgconfig(xrender)
|
|
|
|
BuildRequires: pkgconfig(libstartup-notification-1.0)
|
|
|
|
BuildRequires: pkgconfig(libnotify) >= %{libnotify_version}
|
|
|
|
BuildRequires: pkgconfig(dri)
|
|
|
|
BuildRequires: pkgconfig(libcurl)
|
2016-10-31 07:59:22 +00:00
|
|
|
BuildRequires: dbus-glib-devel
|
2016-03-02 15:31:21 +00:00
|
|
|
%if %{?system_libvpx}
|
2015-11-05 12:27:00 +00:00
|
|
|
BuildRequires: libvpx-devel >= %{libvpx_version}
|
2016-03-02 15:31:21 +00:00
|
|
|
%endif
|
2014-01-09 09:56:01 +00:00
|
|
|
BuildRequires: autoconf213
|
2015-11-04 12:57:49 +00:00
|
|
|
BuildRequires: pkgconfig(libpulse)
|
2014-11-04 15:07:20 +00:00
|
|
|
BuildRequires: yasm
|
2017-09-27 12:23:59 +00:00
|
|
|
BuildRequires: llvm
|
2017-09-25 13:01:03 +00:00
|
|
|
BuildRequires: llvm-devel
|
2017-09-27 14:39:25 +00:00
|
|
|
BuildRequires: clang
|
2017-09-27 11:08:03 +00:00
|
|
|
BuildRequires: clang-libs
|
2020-08-18 06:36:12 +00:00
|
|
|
%if %{build_with_clang}
|
2018-11-13 22:47:50 +00:00
|
|
|
BuildRequires: lld
|
|
|
|
%endif
|
2020-03-03 15:41:48 +00:00
|
|
|
|
2018-10-08 12:09:44 +00:00
|
|
|
BuildRequires: pipewire-devel
|
2020-03-03 15:41:48 +00:00
|
|
|
|
2018-10-18 14:27:09 +00:00
|
|
|
%if !0%{?use_bundled_cbindgen}
|
2018-10-18 12:01:05 +00:00
|
|
|
BuildRequires: cbindgen
|
2018-10-18 14:27:09 +00:00
|
|
|
%endif
|
2018-10-18 12:10:27 +00:00
|
|
|
BuildRequires: nodejs
|
2019-03-12 14:13:40 +00:00
|
|
|
BuildRequires: nasm >= 1.13
|
2020-02-04 06:24:53 +00:00
|
|
|
BuildRequires: libappstream-glib
|
2014-01-09 09:56:01 +00:00
|
|
|
|
2020-07-16 11:52:35 +00:00
|
|
|
%if 0%{?big_endian}
|
|
|
|
BuildRequires: icu
|
|
|
|
%endif
|
|
|
|
|
2014-01-09 09:56:01 +00:00
|
|
|
Requires: mozilla-filesystem
|
2020-11-06 13:35:20 +00:00
|
|
|
Recommends: mozilla-openh264 >= 2.1.1
|
2020-12-11 12:26:36 +00:00
|
|
|
Recommends: libva
|
2017-08-29 11:01:25 +00:00
|
|
|
Requires: p11-kit-trust
|
2021-04-30 09:46:47 +00:00
|
|
|
Requires: pciutils-libs
|
2014-01-09 09:56:01 +00:00
|
|
|
%if %{?system_nss}
|
|
|
|
Requires: nspr >= %{nspr_build_version}
|
|
|
|
Requires: nss >= %{nss_build_version}
|
|
|
|
%endif
|
2020-07-16 11:52:35 +00:00
|
|
|
BuildRequires: python3-devel
|
2021-04-19 11:18:31 +00:00
|
|
|
BuildRequires: python3-setuptools
|
2019-03-22 13:58:09 +00:00
|
|
|
%if !0%{?flatpak}
|
2017-11-16 12:02:40 +00:00
|
|
|
Requires: u2f-hidraw-policy
|
2019-03-20 13:02:29 +00:00
|
|
|
%endif
|
2017-04-27 09:49:26 +00:00
|
|
|
|
2004-09-09 04:44:49 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
2019-03-22 13:58:09 +00:00
|
|
|
%if !0%{?flatpak}
|
2007-03-20 20:14:33 +00:00
|
|
|
BuildRequires: system-bookmarks
|
2019-03-20 08:30:02 +00:00
|
|
|
%endif
|
2014-01-09 09:56:01 +00:00
|
|
|
%if %{?system_ffi}
|
2015-11-04 12:57:49 +00:00
|
|
|
BuildRequires: pkgconfig(libffi)
|
2014-01-09 09:56:01 +00:00
|
|
|
%endif
|
2004-11-01 12:41:18 +00:00
|
|
|
|
2018-12-12 09:48:12 +00:00
|
|
|
%if 0%{?use_xvfb}
|
2014-09-19 08:40:44 +00:00
|
|
|
BuildRequires: xorg-x11-server-Xvfb
|
2019-09-19 08:43:42 +00:00
|
|
|
%endif
|
2019-11-25 10:24:07 +00:00
|
|
|
BuildRequires: rust
|
2017-01-19 16:49:55 +00:00
|
|
|
BuildRequires: cargo
|
2018-09-24 15:27:25 +00:00
|
|
|
BuildRequires: clang-devel
|
2019-12-06 14:19:05 +00:00
|
|
|
%if %{build_with_asan}
|
|
|
|
BuildRequires: libasan
|
|
|
|
BuildRequires: libasan-static
|
|
|
|
%endif
|
2020-04-14 10:45:03 +00:00
|
|
|
BuildRequires: perl-interpreter
|
2020-09-25 09:54:11 +00:00
|
|
|
BuildRequires: fdk-aac-free-devel
|
2021-02-23 10:54:14 +00:00
|
|
|
%if 0%{?test_on_wayland}
|
|
|
|
BuildRequires: mutter
|
|
|
|
BuildRequires: gsettings-desktop-schemas
|
|
|
|
BuildRequires: gnome-settings-daemon
|
|
|
|
BuildRequires: mesa-dri-drivers
|
|
|
|
%endif
|
2020-11-20 14:21:29 +00:00
|
|
|
%if 0%{?run_firefox_tests}
|
2021-04-27 12:35:17 +00:00
|
|
|
BuildRequires: procps-ng
|
2020-11-20 14:21:29 +00:00
|
|
|
BuildRequires: nss-tools
|
2020-11-20 20:16:57 +00:00
|
|
|
BuildRequires: python2.7
|
2021-02-23 10:54:14 +00:00
|
|
|
BuildRequires: dejavu-sans-mono-fonts
|
|
|
|
BuildRequires: dejavu-sans-fonts
|
|
|
|
BuildRequires: dejavu-serif-fonts
|
|
|
|
BuildRequires: mesa-dri-drivers
|
2021-04-05 18:30:08 +00:00
|
|
|
BuildRequires: dbus-x11
|
|
|
|
BuildRequires: gnome-keyring
|
2021-02-23 10:54:14 +00:00
|
|
|
# ----------------------------------------
|
|
|
|
BuildRequires: liberation-fonts-common
|
|
|
|
BuildRequires: liberation-mono-fonts
|
|
|
|
BuildRequires: liberation-sans-fonts
|
|
|
|
BuildRequires: liberation-serif-fonts
|
|
|
|
# ----------------------------------
|
2021-02-26 07:26:50 +00:00
|
|
|
# Missing on f32
|
2021-03-29 16:57:40 +00:00
|
|
|
%if 0%{?fedora} > 33
|
2021-03-25 19:14:55 +00:00
|
|
|
BuildRequires: google-carlito-fonts
|
2021-03-29 16:57:40 +00:00
|
|
|
%endif
|
2021-02-23 10:54:14 +00:00
|
|
|
BuildRequires: google-droid-sans-fonts
|
|
|
|
BuildRequires: google-noto-fonts-common
|
|
|
|
BuildRequires: google-noto-cjk-fonts-common
|
|
|
|
BuildRequires: google-noto-sans-cjk-ttc-fonts
|
|
|
|
BuildRequires: google-noto-sans-gurmukhi-fonts
|
|
|
|
BuildRequires: google-noto-sans-fonts
|
|
|
|
BuildRequires: google-noto-emoji-color-fonts
|
2021-03-29 14:27:02 +00:00
|
|
|
BuildRequires: google-noto-sans-sinhala-vf-fonts
|
2021-02-23 10:54:14 +00:00
|
|
|
# -----------------------------------
|
|
|
|
BuildRequires: thai-scalable-fonts-common
|
|
|
|
BuildRequires: thai-scalable-waree-fonts
|
|
|
|
BuildRequires: khmeros-base-fonts
|
|
|
|
BuildRequires: jomolhari-fonts
|
|
|
|
# ----------------------------------
|
|
|
|
BuildRequires: lohit-tamil-fonts
|
|
|
|
BuildRequires: lohit-telugu-fonts
|
|
|
|
# ----------------------------------
|
|
|
|
BuildRequires: paktype-naskh-basic-fonts
|
2021-02-27 09:21:56 +00:00
|
|
|
# faild to build in Koji / f32
|
2021-03-29 16:57:40 +00:00
|
|
|
%if 0%{?fedora} > 33
|
2021-03-25 19:14:55 +00:00
|
|
|
BuildRequires: pt-sans-fonts
|
2021-03-29 16:57:40 +00:00
|
|
|
%endif
|
2021-02-23 10:54:14 +00:00
|
|
|
BuildRequires: smc-meera-fonts
|
|
|
|
BuildRequires: stix-fonts
|
|
|
|
BuildRequires: abattis-cantarell-fonts
|
|
|
|
BuildRequires: xorg-x11-fonts-ISO8859-1-100dpi
|
|
|
|
BuildRequires: xorg-x11-fonts-misc
|
|
|
|
%endif
|
|
|
|
BuildRequires: make
|
2020-04-14 10:45:03 +00:00
|
|
|
|
2006-09-20 05:22:51 +00:00
|
|
|
Obsoletes: mozilla <= 37:1.7.13
|
2004-09-09 04:44:49 +00:00
|
|
|
Provides: webclient
|
|
|
|
|
|
|
|
%description
|
|
|
|
Mozilla Firefox is an open-source web browser, designed for standards
|
|
|
|
compliance, performance and portability.
|
2014-09-19 08:40:44 +00:00
|
|
|
|
2018-10-08 12:09:44 +00:00
|
|
|
%package x11
|
|
|
|
Summary: Firefox X11 launcher.
|
|
|
|
Requires: %{name}
|
|
|
|
%description x11
|
|
|
|
The firefox-x11 package contains launcher and desktop file
|
2019-10-14 19:23:01 +00:00
|
|
|
to run Firefox explicitly on X11.
|
2018-10-08 12:09:44 +00:00
|
|
|
%files x11
|
|
|
|
%{_bindir}/firefox-x11
|
|
|
|
%{_datadir}/applications/firefox-x11.desktop
|
2019-10-14 19:23:01 +00:00
|
|
|
|
2018-06-19 09:35:42 +00:00
|
|
|
%package wayland
|
|
|
|
Summary: Firefox Wayland launcher.
|
|
|
|
Requires: %{name}
|
|
|
|
%description wayland
|
|
|
|
The firefox-wayland package contains launcher and desktop file
|
2019-10-14 19:23:01 +00:00
|
|
|
to run Firefox explicitly on Wayland.
|
2018-06-19 20:35:02 +00:00
|
|
|
%files wayland
|
2018-06-19 09:35:42 +00:00
|
|
|
%{_bindir}/firefox-wayland
|
|
|
|
%{_datadir}/applications/firefox-wayland.desktop
|
|
|
|
|
2020-11-17 21:52:02 +00:00
|
|
|
%if 0%{?run_firefox_tests}
|
2021-01-12 13:15:37 +00:00
|
|
|
%global testsuite_pkg_name %{name}-testresults
|
2014-09-19 08:40:44 +00:00
|
|
|
%package -n %{testsuite_pkg_name}
|
|
|
|
Summary: Results of testsuite
|
|
|
|
%description -n %{testsuite_pkg_name}
|
|
|
|
This package contains results of tests executed during build.
|
|
|
|
%files -n %{testsuite_pkg_name}
|
2021-01-14 13:06:16 +00:00
|
|
|
/%{version}-%{release}/test_results
|
|
|
|
/%{version}-%{release}/test_summary.txt
|
|
|
|
/%{version}-%{release}/failures-*
|
2014-09-19 08:40:44 +00:00
|
|
|
%endif
|
|
|
|
|
2004-09-09 04:44:49 +00:00
|
|
|
#---------------------------------------------------------------------
|
|
|
|
|
|
|
|
%prep
|
2017-10-06 10:40:42 +00:00
|
|
|
%setup -q -n %{tarballdir}
|
2005-07-18 20:30:35 +00:00
|
|
|
|
2011-12-15 10:15:39 +00:00
|
|
|
# Build patches, can't change backup suffix from default because during build
|
2015-05-22 16:24:00 +00:00
|
|
|
# there is a compare of config and js/config directories and .orig suffix is
|
2011-12-15 10:15:39 +00:00
|
|
|
# ignored during this compare.
|
2011-06-21 14:54:10 +00:00
|
|
|
|
2015-05-11 09:02:09 +00:00
|
|
|
%ifarch s390
|
2015-05-11 08:56:28 +00:00
|
|
|
%patch25 -p1 -b .rhbz-1219542-s390
|
2015-05-11 09:02:09 +00:00
|
|
|
%endif
|
2019-07-11 10:42:24 +00:00
|
|
|
%patch40 -p1 -b .aarch64-skia
|
2018-09-27 12:37:10 +00:00
|
|
|
%if 0%{?disable_elfhack}
|
|
|
|
%patch41 -p1 -b .disable-elfhack
|
|
|
|
%endif
|
2016-04-25 12:58:04 +00:00
|
|
|
%patch3 -p1 -b .arm
|
2019-03-12 20:12:03 +00:00
|
|
|
%patch44 -p1 -b .build-arm-libopus
|
2021-01-21 12:55:58 +00:00
|
|
|
#%patch46 -p1 -b .nss-version
|
2020-02-12 13:07:19 +00:00
|
|
|
%patch47 -p1 -b .fedora-shebang
|
2020-02-24 20:28:32 +00:00
|
|
|
%patch48 -p1 -b .build-arm-wasm
|
|
|
|
%patch49 -p1 -b .build-arm-libaom
|
2020-09-13 17:58:04 +00:00
|
|
|
%patch53 -p1 -b .firefox-gcc-build
|
2020-10-07 08:22:49 +00:00
|
|
|
%patch54 -p1 -b .1669639
|
2020-11-20 12:09:17 +00:00
|
|
|
%patch55 -p1 -b .testing
|
2021-03-23 09:29:22 +00:00
|
|
|
%patch57 -p1 -b .ffvpx-with-vapi
|
2021-03-25 19:14:55 +00:00
|
|
|
%patch58 -p1 -b .firefox-crashreporter-build
|
2015-03-10 19:29:26 +00:00
|
|
|
|
2021-01-12 13:15:37 +00:00
|
|
|
# Test patches
|
|
|
|
%patch100 -p1 -b .firefox-tests-xpcshell
|
|
|
|
%patch101 -p1 -b .firefox-tests-reftest
|
2021-04-30 08:58:16 +00:00
|
|
|
%patch102 -p1 -b .firefox-tests-xpcshell-freeze
|
2021-01-12 13:15:37 +00:00
|
|
|
|
2010-06-24 10:51:03 +00:00
|
|
|
# Fedora patches
|
2014-08-26 13:40:25 +00:00
|
|
|
%patch215 -p1 -b .addons
|
2019-01-28 13:53:26 +00:00
|
|
|
%patch219 -p1 -b .rhbz-1173156
|
|
|
|
%patch221 -p1 -b .fedora-ua
|
2019-11-26 10:08:00 +00:00
|
|
|
%patch224 -p1 -b .1170092
|
2017-01-24 10:35:57 +00:00
|
|
|
#ARM run-time patch
|
2017-04-27 11:21:10 +00:00
|
|
|
%ifarch aarch64
|
2017-01-24 10:35:57 +00:00
|
|
|
%patch226 -p1 -b .1354671
|
2017-04-27 11:21:10 +00:00
|
|
|
%endif
|
2020-09-25 09:54:11 +00:00
|
|
|
%patch228 -p1 -b .disable-openh264-download
|
2021-01-11 12:35:55 +00:00
|
|
|
%patch229 -p1 -b .firefox-nss-addon-hack
|
2020-04-01 11:15:27 +00:00
|
|
|
|
2016-04-28 12:40:31 +00:00
|
|
|
%patch402 -p1 -b .1196777
|
2020-09-25 09:54:11 +00:00
|
|
|
%patch407 -p1 -b .1667096
|
|
|
|
%patch408 -p1 -b .1663844
|
2020-10-15 09:07:22 +00:00
|
|
|
%patch415 -p1 -b .1670333
|
2021-04-22 13:55:40 +00:00
|
|
|
%patch420 -p1 -b .mochitest-wayland-workaround
|
2021-06-14 15:36:56 +00:00
|
|
|
%patch423 -p1 -b .1646135
|
2021-06-30 10:24:15 +00:00
|
|
|
%patch424 -p1 -b .1715254
|
2020-05-05 12:01:50 +00:00
|
|
|
|
2019-01-03 14:35:59 +00:00
|
|
|
# PGO patches
|
2020-08-18 06:36:12 +00:00
|
|
|
%if %{build_with_pgo}
|
|
|
|
%if !%{build_with_clang}
|
2019-01-03 14:35:59 +00:00
|
|
|
%patch600 -p1 -b .pgo
|
|
|
|
%patch602 -p1 -b .1516803
|
2020-08-18 06:36:12 +00:00
|
|
|
%endif
|
|
|
|
%endif
|
2018-12-21 09:38:41 +00:00
|
|
|
|
2004-09-09 04:44:49 +00:00
|
|
|
%{__rm} -f .mozconfig
|
2004-12-12 08:42:36 +00:00
|
|
|
%{__cp} %{SOURCE10} .mozconfig
|
2018-05-03 11:25:19 +00:00
|
|
|
echo "ac_add_options --enable-default-toolkit=cairo-gtk3-wayland" >> .mozconfig
|
2005-07-18 20:30:35 +00:00
|
|
|
%if %{official_branding}
|
2015-08-19 07:54:46 +00:00
|
|
|
echo "ac_add_options --enable-official-branding" >> .mozconfig
|
2005-07-18 20:30:35 +00:00
|
|
|
%endif
|
2014-09-10 10:43:04 +00:00
|
|
|
%{__cp} %{SOURCE24} mozilla-api-key
|
2017-08-29 08:39:08 +00:00
|
|
|
%{__cp} %{SOURCE27} google-api-key
|
2020-08-18 06:58:15 +00:00
|
|
|
%{__cp} %{SOURCE35} google-loc-api-key
|
2014-09-10 10:43:04 +00:00
|
|
|
|
2019-12-09 09:28:41 +00:00
|
|
|
echo "ac_add_options --prefix=\"%{_prefix}\"" >> .mozconfig
|
|
|
|
echo "ac_add_options --libdir=\"%{_libdir}\"" >> .mozconfig
|
|
|
|
|
2014-01-09 09:56:01 +00:00
|
|
|
%if %{?system_nss}
|
|
|
|
echo "ac_add_options --with-system-nspr" >> .mozconfig
|
|
|
|
echo "ac_add_options --with-system-nss" >> .mozconfig
|
|
|
|
%else
|
|
|
|
echo "ac_add_options --without-system-nspr" >> .mozconfig
|
|
|
|
echo "ac_add_options --without-system-nss" >> .mozconfig
|
|
|
|
%endif
|
2007-12-19 16:43:29 +00:00
|
|
|
|
2014-01-09 09:56:01 +00:00
|
|
|
%if %{?system_ffi}
|
|
|
|
echo "ac_add_options --enable-system-ffi" >> .mozconfig
|
|
|
|
%endif
|
2004-09-09 04:44:49 +00:00
|
|
|
|
2012-02-27 23:08:10 +00:00
|
|
|
%ifarch %{arm}
|
|
|
|
echo "ac_add_options --disable-elf-hack" >> .mozconfig
|
|
|
|
%endif
|
|
|
|
|
2012-03-13 10:15:37 +00:00
|
|
|
%if %{?debug_build}
|
|
|
|
echo "ac_add_options --enable-debug" >> .mozconfig
|
|
|
|
echo "ac_add_options --disable-optimize" >> .mozconfig
|
|
|
|
%else
|
2017-11-08 08:51:56 +00:00
|
|
|
%global optimize_flags "none"
|
2017-03-02 10:52:32 +00:00
|
|
|
%ifarch ppc64le aarch64
|
2017-11-08 08:51:56 +00:00
|
|
|
%global optimize_flags "-g -O2"
|
2017-03-02 10:52:32 +00:00
|
|
|
%endif
|
2017-03-02 11:04:42 +00:00
|
|
|
%if %{optimize_flags} != "none"
|
2017-03-02 10:52:32 +00:00
|
|
|
echo 'ac_add_options --enable-optimize=%{?optimize_flags}' >> .mozconfig
|
|
|
|
%else
|
|
|
|
echo 'ac_add_options --enable-optimize' >> .mozconfig
|
|
|
|
%endif
|
|
|
|
echo "ac_add_options --disable-debug" >> .mozconfig
|
2017-02-23 12:19:22 +00:00
|
|
|
%endif
|
2012-03-13 10:15:37 +00:00
|
|
|
|
2018-05-16 10:08:20 +00:00
|
|
|
# Second arches fail to start with jemalloc enabled
|
|
|
|
%ifnarch %{ix86} x86_64
|
2012-11-19 10:08:10 +00:00
|
|
|
echo "ac_add_options --disable-jemalloc" >> .mozconfig
|
|
|
|
%endif
|
|
|
|
|
2018-12-12 09:48:12 +00:00
|
|
|
%if 0%{?build_tests}
|
2014-09-19 08:40:44 +00:00
|
|
|
echo "ac_add_options --enable-tests" >> .mozconfig
|
2020-05-05 09:58:01 +00:00
|
|
|
%else
|
|
|
|
echo "ac_add_options --disable-tests" >> .mozconfig
|
2014-09-19 08:40:44 +00:00
|
|
|
%endif
|
|
|
|
|
2014-11-04 15:07:20 +00:00
|
|
|
%if !%{?system_jpeg}
|
2014-11-04 13:51:27 +00:00
|
|
|
echo "ac_add_options --without-system-jpeg" >> .mozconfig
|
|
|
|
%else
|
|
|
|
echo "ac_add_options --with-system-jpeg" >> .mozconfig
|
|
|
|
%endif
|
|
|
|
|
2016-03-02 15:31:21 +00:00
|
|
|
%if %{?system_libvpx}
|
|
|
|
echo "ac_add_options --with-system-libvpx" >> .mozconfig
|
|
|
|
%else
|
|
|
|
echo "ac_add_options --without-system-libvpx" >> .mozconfig
|
|
|
|
%endif
|
|
|
|
|
2017-08-29 13:54:56 +00:00
|
|
|
%ifarch s390 s390x
|
2020-09-13 17:51:45 +00:00
|
|
|
echo "ac_add_options --disable-jit" >> .mozconfig
|
2017-08-29 13:54:56 +00:00
|
|
|
%endif
|
|
|
|
|
2019-12-06 16:01:36 +00:00
|
|
|
%if %{build_with_asan}
|
|
|
|
echo "ac_add_options --enable-address-sanitizer" >> .mozconfig
|
|
|
|
echo "ac_add_options --disable-jemalloc" >> .mozconfig
|
2019-12-09 19:16:07 +00:00
|
|
|
%endif
|
2019-12-06 16:01:36 +00:00
|
|
|
|
2021-04-22 13:55:40 +00:00
|
|
|
%if !%{enable_mozilla_crashreporter}
|
|
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig
|
|
|
|
%endif
|
|
|
|
|
2020-02-11 16:01:51 +00:00
|
|
|
# api keys full path
|
|
|
|
echo "ac_add_options --with-mozilla-api-keyfile=`pwd`/mozilla-api-key" >> .mozconfig
|
2020-05-05 10:40:06 +00:00
|
|
|
# It seems that the api key we have is for the safe browsing only
|
2020-08-11 10:50:35 +00:00
|
|
|
echo "ac_add_options --with-google-location-service-api-keyfile=`pwd`/google-loc-api-key" >> .mozconfig
|
2020-02-11 16:01:51 +00:00
|
|
|
echo "ac_add_options --with-google-safebrowsing-api-keyfile=`pwd`/google-api-key" >> .mozconfig
|
|
|
|
|
2019-07-25 06:04:59 +00:00
|
|
|
echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .mozconfig
|
|
|
|
|
2018-03-07 12:44:51 +00:00
|
|
|
# Remove executable bit to make brp-mangle-shebangs happy.
|
|
|
|
chmod -x third_party/rust/itertools/src/lib.rs
|
2020-01-07 14:57:22 +00:00
|
|
|
chmod a-x third_party/rust/gfx-backend-vulkan/src/*.rs
|
2020-02-12 13:07:19 +00:00
|
|
|
chmod a-x third_party/rust/gfx-hal/src/*.rs
|
2020-06-01 20:02:24 +00:00
|
|
|
chmod a-x third_party/rust/ash/src/extensions/ext/*.rs
|
|
|
|
chmod a-x third_party/rust/ash/src/extensions/khr/*.rs
|
2020-12-11 07:16:38 +00:00
|
|
|
chmod a-x third_party/rust/ash/src/extensions/nv/*.rs
|
2018-03-07 12:44:51 +00:00
|
|
|
|
2019-01-04 13:27:42 +00:00
|
|
|
#---------------------------------------------------------------------
|
|
|
|
|
|
|
|
%build
|
2020-12-09 20:46:07 +00:00
|
|
|
# Disable LTO to work around rhbz#1883904
|
|
|
|
%define _lto_cflags %{nil}
|
2018-10-18 14:27:09 +00:00
|
|
|
|
2020-12-09 20:46:07 +00:00
|
|
|
%if 0%{?use_bundled_cbindgen}
|
2018-10-19 14:12:34 +00:00
|
|
|
mkdir -p my_rust_vendor
|
|
|
|
cd my_rust_vendor
|
2018-10-18 14:27:09 +00:00
|
|
|
%{__tar} xf %{SOURCE2}
|
|
|
|
mkdir -p .cargo
|
|
|
|
cat > .cargo/config <<EOL
|
|
|
|
[source.crates-io]
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
|
|
|
[source.vendored-sources]
|
2019-10-22 10:04:14 +00:00
|
|
|
directory = "`pwd`"
|
2018-10-18 14:27:09 +00:00
|
|
|
EOL
|
|
|
|
|
|
|
|
env CARGO_HOME=.cargo cargo install cbindgen
|
|
|
|
export PATH=`pwd`/.cargo/bin:$PATH
|
2019-10-22 10:04:14 +00:00
|
|
|
cd -
|
2020-12-09 20:46:07 +00:00
|
|
|
%endif
|
2018-10-18 14:27:09 +00:00
|
|
|
|
2020-09-13 17:31:59 +00:00
|
|
|
#echo "Generate big endian version of config/external/icu/data/icudt67l.dat"
|
|
|
|
#%if 0%{?big_endian}
|
|
|
|
# icupkg -tb config/external/icu/data/icudt67l.dat config/external/icu/data/icudt67b.dat
|
|
|
|
# ls -l config/external/icu/data
|
|
|
|
# rm -f config/external/icu/data/icudt*l.dat
|
|
|
|
#%endif
|
2017-03-07 11:59:47 +00:00
|
|
|
|
2019-07-25 06:04:59 +00:00
|
|
|
mkdir %{_buildrootdir}/bin || :
|
|
|
|
cp %{SOURCE32} %{_buildrootdir}/bin || :
|
|
|
|
|
2014-05-15 12:25:28 +00:00
|
|
|
# Update the various config.guess to upstream release for aarch64 support
|
2020-01-07 12:03:35 +00:00
|
|
|
# Do not update config.guess in the ./third_party/rust because that would break checksums
|
|
|
|
find ./ -path ./third_party/rust -prune -o -name config.guess -exec cp /usr/lib/rpm/config.guess {} ';'
|
2014-05-15 12:25:28 +00:00
|
|
|
|
2019-12-09 09:33:12 +00:00
|
|
|
MOZ_OPT_FLAGS=$(echo "%{optflags}" | %{__sed} -e 's/-Wall//')
|
2013-12-13 13:17:56 +00:00
|
|
|
#rhbz#1037063
|
2014-08-27 11:45:32 +00:00
|
|
|
# -Werror=format-security causes build failures when -Wno-format is explicitly given
|
|
|
|
# for some sources
|
2015-05-22 16:19:31 +00:00
|
|
|
# Explicitly force the hardening flags for Firefox so it passes the checksec test;
|
|
|
|
# See also https://fedoraproject.org/wiki/Changes/Harden_All_Packages
|
2019-03-01 07:10:52 +00:00
|
|
|
%if 0%{?fedora} < 30
|
2015-05-26 06:15:02 +00:00
|
|
|
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat -Werror=format-security"
|
2019-03-01 07:10:52 +00:00
|
|
|
%else
|
|
|
|
# Workaround for mozbz#1531309
|
|
|
|
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-Werror=format-security//')
|
|
|
|
%endif
|
2019-03-21 12:57:09 +00:00
|
|
|
%if 0%{?fedora} > 30
|
|
|
|
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fpermissive"
|
|
|
|
%endif
|
2015-08-25 06:58:24 +00:00
|
|
|
%if %{?hardened_build}
|
2015-08-20 09:27:41 +00:00
|
|
|
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fPIC -Wl,-z,relro -Wl,-z,now"
|
2015-05-26 06:15:02 +00:00
|
|
|
%endif
|
2012-03-13 10:15:37 +00:00
|
|
|
%if %{?debug_build}
|
|
|
|
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-O2//')
|
|
|
|
%endif
|
2018-12-12 08:07:02 +00:00
|
|
|
%ifarch s390
|
2012-11-19 10:08:10 +00:00
|
|
|
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g1/')
|
2015-07-03 12:47:06 +00:00
|
|
|
# If MOZ_DEBUG_FLAGS is empty, firefox's build will default it to "-g" which
|
2018-12-11 09:41:37 +00:00
|
|
|
# overrides the -g1 from line above and breaks building on s390/arm
|
2015-07-03 12:47:06 +00:00
|
|
|
# (OOM when linking, rhbz#1238225)
|
|
|
|
export MOZ_DEBUG_FLAGS=" "
|
2012-11-19 10:08:10 +00:00
|
|
|
%endif
|
2019-03-12 20:01:12 +00:00
|
|
|
%ifarch %{arm} %{ix86}
|
2018-12-12 08:07:02 +00:00
|
|
|
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g0/')
|
|
|
|
export MOZ_DEBUG_FLAGS=" "
|
|
|
|
%endif
|
2020-08-18 06:36:12 +00:00
|
|
|
%if !%{build_with_clang}
|
2019-03-13 14:34:01 +00:00
|
|
|
%ifarch s390 ppc aarch64 %{ix86}
|
2012-11-19 10:08:10 +00:00
|
|
|
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
|
|
|
|
%endif
|
2019-03-13 14:34:01 +00:00
|
|
|
%ifarch %{arm}
|
2020-02-24 20:28:32 +00:00
|
|
|
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--strip-debug"
|
2018-12-13 10:45:27 +00:00
|
|
|
echo "ac_add_options --enable-linker=gold" >> .mozconfig
|
|
|
|
%endif
|
2018-12-06 12:46:13 +00:00
|
|
|
%endif
|
2019-06-13 18:58:52 +00:00
|
|
|
%if 0%{?flatpak}
|
|
|
|
# Make sure the linker can find libraries in /app/lib64 as we don't use
|
|
|
|
# __global_ldflags that normally sets this.
|
|
|
|
MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -L%{_libdir}"
|
|
|
|
%endif
|
2020-11-17 21:52:02 +00:00
|
|
|
%ifarch %{arm} %{ix86} %{s390x}
|
2018-01-25 08:35:39 +00:00
|
|
|
export RUSTFLAGS="-Cdebuginfo=0"
|
2018-01-09 13:09:42 +00:00
|
|
|
%endif
|
2019-12-06 14:08:12 +00:00
|
|
|
%if %{build_with_asan}
|
2019-12-06 16:01:36 +00:00
|
|
|
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fsanitize=address -Dxmalloc=myxmalloc"
|
2019-12-09 09:28:41 +00:00
|
|
|
MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -fsanitize=address -ldl"
|
2019-12-06 14:08:12 +00:00
|
|
|
%endif
|
|
|
|
|
2020-06-01 12:11:14 +00:00
|
|
|
# We don't wantfirefox to use CK_GCM_PARAMS_V3 in nss
|
|
|
|
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -DNSS_PKCS11_3_0_STRICT"
|
|
|
|
|
2019-12-09 09:28:41 +00:00
|
|
|
echo "export CFLAGS=\"$MOZ_OPT_FLAGS\"" >> .mozconfig
|
|
|
|
echo "export CXXFLAGS=\"$MOZ_OPT_FLAGS\"" >> .mozconfig
|
|
|
|
echo "export LDFLAGS=\"$MOZ_LINK_FLAGS\"" >> .mozconfig
|
2006-12-22 20:17:09 +00:00
|
|
|
|
2020-08-18 06:36:12 +00:00
|
|
|
%if %{build_with_clang}
|
2019-12-09 09:28:41 +00:00
|
|
|
echo "export LLVM_PROFDATA=\"llvm-profdata\"" >> .mozconfig
|
|
|
|
echo "export AR=\"llvm-ar\"" >> .mozconfig
|
|
|
|
echo "export NM=\"llvm-nm\"" >> .mozconfig
|
|
|
|
echo "export RANLIB=\"llvm-ranlib\"" >> .mozconfig
|
2020-07-10 16:18:29 +00:00
|
|
|
echo "ac_add_options --enable-linker=lld" >> .mozconfig
|
2018-12-05 12:21:38 +00:00
|
|
|
%else
|
2019-12-09 09:28:41 +00:00
|
|
|
echo "export CC=gcc" >> .mozconfig
|
|
|
|
echo "export CXX=g++" >> .mozconfig
|
|
|
|
echo "export AR=\"gcc-ar\"" >> .mozconfig
|
|
|
|
echo "export NM=\"gcc-nm\"" >> .mozconfig
|
|
|
|
echo "export RANLIB=\"gcc-ranlib\"" >> .mozconfig
|
2018-12-05 12:21:38 +00:00
|
|
|
%endif
|
2018-12-10 09:38:32 +00:00
|
|
|
%if 0%{?build_with_pgo}
|
2018-12-05 12:21:38 +00:00
|
|
|
echo "ac_add_options MOZ_PGO=1" >> .mozconfig
|
2020-09-10 19:33:57 +00:00
|
|
|
# PGO build doesn't work with ccache
|
2020-09-01 20:47:13 +00:00
|
|
|
export CCACHE_DISABLE=1
|
2018-11-13 14:02:55 +00:00
|
|
|
%endif
|
|
|
|
|
2008-02-22 02:30:18 +00:00
|
|
|
MOZ_SMP_FLAGS=-j1
|
2018-12-10 09:38:32 +00:00
|
|
|
# On x86_64 architectures, Mozilla can build up to 4 jobs at once in parallel,
|
2011-01-25 19:15:09 +00:00
|
|
|
# however builds tend to fail on other arches when building in parallel.
|
2020-11-13 18:22:57 +00:00
|
|
|
%ifarch %{ix86} s390x %{arm} aarch64
|
2018-12-10 09:38:32 +00:00
|
|
|
[ -z "$RPM_BUILD_NCPUS" ] && \
|
|
|
|
RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
|
2019-08-08 09:44:26 +00:00
|
|
|
[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
|
2018-12-10 09:38:32 +00:00
|
|
|
%endif
|
2020-11-13 18:22:57 +00:00
|
|
|
%ifarch x86_64 ppc ppc64 ppc64le
|
2008-02-22 02:30:18 +00:00
|
|
|
[ -z "$RPM_BUILD_NCPUS" ] && \
|
|
|
|
RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
|
2019-08-08 09:44:26 +00:00
|
|
|
[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
|
|
|
|
[ "$RPM_BUILD_NCPUS" -ge 4 ] && MOZ_SMP_FLAGS=-j4
|
|
|
|
[ "$RPM_BUILD_NCPUS" -ge 8 ] && MOZ_SMP_FLAGS=-j8
|
2020-10-07 08:22:49 +00:00
|
|
|
[ "$RPM_BUILD_NCPUS" -ge 16 ] && MOZ_SMP_FLAGS=-j16
|
|
|
|
[ "$RPM_BUILD_NCPUS" -ge 24 ] && MOZ_SMP_FLAGS=-j24
|
2020-12-08 11:48:01 +00:00
|
|
|
[ "$RPM_BUILD_NCPUS" -ge 32 ] && MOZ_SMP_FLAGS=-j32
|
2020-12-22 06:34:29 +00:00
|
|
|
[ "$RPM_BUILD_NCPUS" -ge 64 ] && MOZ_SMP_FLAGS=-j64
|
2006-06-15 12:14:34 +00:00
|
|
|
%endif
|
|
|
|
|
2020-08-18 06:36:12 +00:00
|
|
|
echo "mk_add_options MOZ_MAKE_FLAGS=\"$MOZ_SMP_FLAGS\"" >> .mozconfig
|
|
|
|
echo "mk_add_options MOZ_SERVICES_SYNC=1" >> .mozconfig
|
2020-08-18 15:22:12 +00:00
|
|
|
echo "export STRIP=/bin/true" >> .mozconfig
|
2020-09-16 09:30:28 +00:00
|
|
|
export MACH_USE_SYSTEM_PYTHON=1
|
2020-12-10 20:59:50 +00:00
|
|
|
|
2020-12-14 14:12:55 +00:00
|
|
|
%if %{launch_wayland_compositor}
|
2021-04-04 16:51:01 +00:00
|
|
|
cp %{SOURCE45} .
|
|
|
|
. ./run-wayland-compositor
|
2020-12-10 20:59:50 +00:00
|
|
|
%endif
|
|
|
|
|
2020-12-14 14:12:55 +00:00
|
|
|
%if %{build_with_pgo}
|
|
|
|
%if %{test_on_wayland}
|
2021-04-04 16:51:01 +00:00
|
|
|
env | grep "WAYLAND"
|
2020-12-14 14:12:55 +00:00
|
|
|
MOZ_ENABLE_WAYLAND=1 ./mach build 2>&1 | cat -
|
|
|
|
%else
|
2020-12-14 20:32:35 +00:00
|
|
|
xvfb-run ./mach build 2>&1 | cat -
|
2020-12-10 20:59:50 +00:00
|
|
|
%endif
|
2020-12-14 14:12:55 +00:00
|
|
|
%else
|
|
|
|
./mach build 2>&1 | cat -
|
2018-12-12 09:48:12 +00:00
|
|
|
%endif
|
2014-01-09 09:56:01 +00:00
|
|
|
|
2021-04-27 12:35:17 +00:00
|
|
|
|
|
|
|
#---------------------------------------------------------------------
|
|
|
|
%install
|
2020-12-09 11:41:49 +00:00
|
|
|
# run Firefox test suite
|
2021-04-27 20:44:20 +00:00
|
|
|
export MACH_USE_SYSTEM_PYTHON=1
|
2021-04-27 12:35:17 +00:00
|
|
|
%if %{launch_wayland_compositor}
|
|
|
|
cp %{SOURCE45} .
|
|
|
|
. ./run-wayland-compositor
|
|
|
|
%endif
|
|
|
|
|
2020-11-17 21:52:02 +00:00
|
|
|
%if 0%{?run_firefox_tests}
|
2020-12-09 11:41:49 +00:00
|
|
|
mkdir -p objdir/_virtualenvs/init_py3
|
|
|
|
%{__cat} > objdir/_virtualenvs/init_py3/pip.conf << EOF
|
|
|
|
[global]
|
|
|
|
find-links=`pwd`/mochitest-python
|
|
|
|
no-index=true
|
|
|
|
EOF
|
|
|
|
tar xf %{SOURCE37}
|
2021-03-02 07:11:18 +00:00
|
|
|
cp %{SOURCE40} %{SOURCE41} %{SOURCE42} %{SOURCE38} %{SOURCE39} %{SOURCE43} %{SOURCE44} .
|
2020-12-03 15:26:03 +00:00
|
|
|
mkdir -p test_results
|
2020-12-10 20:59:50 +00:00
|
|
|
%if %{test_on_wayland}
|
2021-04-04 16:51:01 +00:00
|
|
|
./run-tests-wayland || true
|
2020-12-10 20:59:50 +00:00
|
|
|
%else
|
2021-01-05 08:31:54 +00:00
|
|
|
./run-tests-x11 || true
|
2020-12-10 20:59:50 +00:00
|
|
|
%endif
|
2021-01-05 08:31:54 +00:00
|
|
|
./print_results > test_summary.txt 2>&1 || true
|
2021-01-05 17:44:12 +00:00
|
|
|
./print_failures || true
|
2014-09-19 08:40:44 +00:00
|
|
|
%endif
|
2004-09-09 04:44:49 +00:00
|
|
|
|
2011-02-27 03:02:04 +00:00
|
|
|
# set up our default bookmarks
|
2019-03-22 13:58:09 +00:00
|
|
|
%if !0%{?flatpak}
|
2016-05-24 13:22:45 +00:00
|
|
|
%{__cp} -p %{default_bookmarks_file} objdir/dist/bin/browser/chrome/en-US/locale/browser/bookmarks.html
|
2019-03-20 08:30:02 +00:00
|
|
|
%endif
|
2011-02-27 03:02:04 +00:00
|
|
|
|
|
|
|
# Make sure locale works for langpacks
|
2013-12-10 12:52:25 +00:00
|
|
|
%{__cat} > objdir/dist/bin/browser/defaults/preferences/firefox-l10n.js << EOF
|
2011-02-27 03:02:04 +00:00
|
|
|
pref("general.useragent.locale", "chrome://global/locale/intl.properties");
|
|
|
|
EOF
|
|
|
|
|
2017-11-08 09:35:53 +00:00
|
|
|
DESTDIR=%{buildroot} make -C objdir install
|
2004-09-09 04:44:49 +00:00
|
|
|
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__mkdir_p} %{buildroot}{%{_libdir},%{_bindir},%{_datadir}/applications}
|
2004-09-09 04:44:49 +00:00
|
|
|
|
2017-11-08 09:35:53 +00:00
|
|
|
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE20}
|
2018-10-08 12:09:44 +00:00
|
|
|
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE31}
|
2019-10-15 09:07:21 +00:00
|
|
|
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE29}
|
2015-01-13 11:44:47 +00:00
|
|
|
|
2004-12-16 21:33:30 +00:00
|
|
|
# set up the firefox start script
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__rm} -rf %{buildroot}%{_bindir}/firefox
|
2021-04-01 09:32:10 +00:00
|
|
|
%{__sed} -e 's,/__PREFIX__,%{_prefix},g' %{SOURCE21} > %{buildroot}%{_bindir}/firefox
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__chmod} 755 %{buildroot}%{_bindir}/firefox
|
2019-02-04 13:56:47 +00:00
|
|
|
|
2019-05-31 14:13:47 +00:00
|
|
|
%if 0%{?flatpak}
|
2019-06-05 09:05:50 +00:00
|
|
|
sed -i -e 's|%FLATPAK_ENV_VARS%|export TMPDIR="$XDG_CACHE_HOME/tmp"|' %{buildroot}%{_bindir}/firefox
|
2019-05-31 14:13:47 +00:00
|
|
|
%else
|
|
|
|
sed -i -e 's|%FLATPAK_ENV_VARS%||' %{buildroot}%{_bindir}/firefox
|
|
|
|
%endif
|
|
|
|
|
2019-04-01 08:27:34 +00:00
|
|
|
%{__sed} -e 's,/__PREFIX__,%{_prefix},g' %{SOURCE30} > %{buildroot}%{_bindir}/firefox-x11
|
2018-10-08 12:09:44 +00:00
|
|
|
%{__chmod} 755 %{buildroot}%{_bindir}/firefox-x11
|
2019-04-01 08:27:34 +00:00
|
|
|
%{__sed} -e 's,/__PREFIX__,%{_prefix},g' %{SOURCE28} > %{buildroot}%{_bindir}/firefox-wayland
|
2018-05-02 11:00:16 +00:00
|
|
|
%{__chmod} 755 %{buildroot}%{_bindir}/firefox-wayland
|
|
|
|
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__install} -p -D -m 644 %{SOURCE23} %{buildroot}%{_mandir}/man1/firefox.1
|
2004-09-09 04:44:49 +00:00
|
|
|
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__rm} -f %{buildroot}/%{mozappdir}/firefox-config
|
|
|
|
%{__rm} -f %{buildroot}/%{mozappdir}/update-settings.ini
|
2004-09-09 04:44:49 +00:00
|
|
|
|
2011-04-16 16:04:49 +00:00
|
|
|
for s in 16 22 24 32 48 256; do
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__mkdir_p} %{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps
|
2011-08-16 15:20:15 +00:00
|
|
|
%{__cp} -p browser/branding/official/default${s}.png \
|
2017-11-08 09:35:53 +00:00
|
|
|
%{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps/firefox.png
|
2011-04-16 16:04:49 +00:00
|
|
|
done
|
2004-11-01 12:41:18 +00:00
|
|
|
|
2015-07-02 13:48:32 +00:00
|
|
|
# Install hight contrast icon
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__mkdir_p} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
|
2015-07-02 13:48:32 +00:00
|
|
|
%{__cp} -p %{SOURCE25} \
|
2017-11-08 09:35:53 +00:00
|
|
|
%{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
|
2015-07-02 13:48:32 +00:00
|
|
|
|
2017-05-26 18:37:38 +00:00
|
|
|
echo > %{name}.lang
|
2018-10-18 09:42:41 +00:00
|
|
|
%if %{with langpacks}
|
2011-03-13 04:22:00 +00:00
|
|
|
# Extract langpacks, make any mods needed, repack the langpack, and install it.
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__mkdir_p} %{buildroot}%{langpackdir}
|
2011-02-08 18:17:09 +00:00
|
|
|
%{__tar} xf %{SOURCE1}
|
2006-01-27 03:35:21 +00:00
|
|
|
for langpack in `ls firefox-langpacks/*.xpi`; do
|
|
|
|
language=`basename $langpack .xpi`
|
2011-03-13 04:22:00 +00:00
|
|
|
extensionID=langpack-$language@firefox.mozilla.org
|
|
|
|
%{__mkdir_p} $extensionID
|
2013-05-09 12:23:50 +00:00
|
|
|
unzip -qq $langpack -d $extensionID
|
2011-03-13 04:22:00 +00:00
|
|
|
find $extensionID -type f | xargs chmod 644
|
2006-01-27 03:35:21 +00:00
|
|
|
|
2011-03-13 04:22:00 +00:00
|
|
|
cd $extensionID
|
2013-05-09 12:23:50 +00:00
|
|
|
zip -qq -r9mX ../${extensionID}.xpi *
|
2011-03-13 04:22:00 +00:00
|
|
|
cd -
|
|
|
|
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__install} -m 644 ${extensionID}.xpi %{buildroot}%{langpackdir}
|
2008-04-08 03:56:54 +00:00
|
|
|
language=`echo $language | sed -e 's/-/_/g'`
|
2019-05-17 05:46:20 +00:00
|
|
|
%if 0%{?flatpak}
|
2019-05-16 14:15:57 +00:00
|
|
|
echo "%{langpackdir}/${extensionID}.xpi" >> %{name}.lang
|
2019-05-17 05:46:20 +00:00
|
|
|
%else
|
|
|
|
echo "%%lang($language) %{langpackdir}/${extensionID}.xpi" >> %{name}.lang
|
|
|
|
%endif
|
2006-01-27 03:35:21 +00:00
|
|
|
done
|
|
|
|
%{__rm} -rf firefox-langpacks
|
|
|
|
|
2012-07-10 08:35:34 +00:00
|
|
|
# Install langpack workaround (see #707100, #821169)
|
|
|
|
function create_default_langpack() {
|
|
|
|
language_long=$1
|
|
|
|
language_short=$2
|
2017-11-08 09:35:53 +00:00
|
|
|
cd %{buildroot}%{langpackdir}
|
2012-07-10 08:35:34 +00:00
|
|
|
ln -s langpack-$language_long@firefox.mozilla.org.xpi langpack-$language_short@firefox.mozilla.org.xpi
|
|
|
|
cd -
|
2017-05-26 18:37:38 +00:00
|
|
|
echo "%%lang($language_short) %{langpackdir}/langpack-$language_short@firefox.mozilla.org.xpi" >> %{name}.lang
|
2012-07-10 08:35:34 +00:00
|
|
|
}
|
|
|
|
|
2012-07-10 13:24:13 +00:00
|
|
|
# Table of fallbacks for each language
|
2012-07-10 13:29:19 +00:00
|
|
|
# please file a bug at bugzilla.redhat.com if the assignment is incorrect
|
2019-07-08 19:48:22 +00:00
|
|
|
#create_default_langpack "bn-IN" "bn"
|
2012-07-10 13:24:13 +00:00
|
|
|
create_default_langpack "es-AR" "es"
|
|
|
|
create_default_langpack "fy-NL" "fy"
|
|
|
|
create_default_langpack "ga-IE" "ga"
|
|
|
|
create_default_langpack "gu-IN" "gu"
|
|
|
|
create_default_langpack "hi-IN" "hi"
|
|
|
|
create_default_langpack "hy-AM" "hy"
|
|
|
|
create_default_langpack "nb-NO" "nb"
|
|
|
|
create_default_langpack "nn-NO" "nn"
|
|
|
|
create_default_langpack "pa-IN" "pa"
|
|
|
|
create_default_langpack "pt-PT" "pt"
|
|
|
|
create_default_langpack "sv-SE" "sv"
|
|
|
|
create_default_langpack "zh-TW" "zh"
|
2019-11-27 20:46:20 +00:00
|
|
|
%endif
|
2015-01-13 11:44:47 +00:00
|
|
|
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__mkdir_p} %{buildroot}/%{mozappdir}/browser/defaults/preferences
|
2013-05-15 07:33:47 +00:00
|
|
|
|
2016-03-21 15:50:45 +00:00
|
|
|
# System config dir
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__mkdir_p} %{buildroot}/%{_sysconfdir}/%{name}/pref
|
2016-03-21 15:50:45 +00:00
|
|
|
|
2008-01-16 03:16:49 +00:00
|
|
|
# System extensions
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__mkdir_p} %{buildroot}%{_datadir}/mozilla/extensions/%{firefox_app_id}
|
|
|
|
%{__mkdir_p} %{buildroot}%{_libdir}/mozilla/extensions/%{firefox_app_id}
|
2006-10-24 18:57:43 +00:00
|
|
|
|
|
|
|
# Copy over the LICENSE
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__install} -p -c -m 644 LICENSE %{buildroot}/%{mozappdir}
|
2006-09-18 21:17:39 +00:00
|
|
|
|
2014-01-09 09:56:01 +00:00
|
|
|
# Use the system hunspell dictionaries
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__rm} -rf %{buildroot}%{mozappdir}/dictionaries
|
|
|
|
ln -s %{_datadir}/myspell %{buildroot}%{mozappdir}/dictionaries
|
2014-01-09 09:56:01 +00:00
|
|
|
|
2020-11-17 21:52:02 +00:00
|
|
|
%if 0%{?run_firefox_tests}
|
2021-01-14 13:06:16 +00:00
|
|
|
%{__mkdir_p} %{buildroot}/%{version}-%{release}/test_results
|
|
|
|
%{__cp} test_results/* %{buildroot}/%{version}-%{release}/test_results
|
|
|
|
%{__cp} test_summary.txt %{buildroot}/%{version}-%{release}/
|
|
|
|
%{__cp} failures-* %{buildroot}/%{version}-%{release}/ || true
|
2014-09-19 08:40:44 +00:00
|
|
|
%endif
|
|
|
|
|
2015-05-22 16:24:00 +00:00
|
|
|
# Default
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__cp} %{SOURCE12} %{buildroot}%{mozappdir}/browser/defaults/preferences
|
2014-01-23 09:26:08 +00:00
|
|
|
|
2018-01-24 07:44:04 +00:00
|
|
|
# Copy over run-mozilla.sh
|
|
|
|
%{__cp} build/unix/run-mozilla.sh %{buildroot}%{mozappdir}
|
|
|
|
|
2017-04-18 09:12:05 +00:00
|
|
|
# Add distribution.ini
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__mkdir_p} %{buildroot}%{mozappdir}/distribution
|
|
|
|
%{__cp} %{SOURCE26} %{buildroot}%{mozappdir}/distribution
|
2017-04-18 09:12:05 +00:00
|
|
|
|
2020-02-04 14:37:46 +00:00
|
|
|
# Install appdata file
|
2019-11-26 11:33:52 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/metainfo
|
2020-11-09 11:23:30 +00:00
|
|
|
%{__sed} -e "s/__VERSION__/%{version}/" \
|
|
|
|
-e "s/__DATE__/$(date '+%F')/" \
|
|
|
|
%{SOURCE33} > %{buildroot}%{_datadir}/metainfo/firefox.appdata.xml
|
2020-02-04 14:37:46 +00:00
|
|
|
|
|
|
|
# Install Gnome search provider files
|
2019-11-26 11:33:52 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/gnome-shell/search-providers
|
|
|
|
%{__cp} %{SOURCE34} %{buildroot}%{_datadir}/gnome-shell/search-providers
|
|
|
|
|
2021-02-02 15:41:09 +00:00
|
|
|
# Remove gtk2 support as flash plugin is no longer supported
|
|
|
|
rm -rf %{buildroot}%{mozappdir}/gtk2/
|
|
|
|
|
2014-01-23 09:26:08 +00:00
|
|
|
# Remove copied libraries to speed up build
|
2017-11-08 09:35:53 +00:00
|
|
|
rm -f %{buildroot}%{mozappdirdev}/sdk/lib/libmozjs.so
|
|
|
|
rm -f %{buildroot}%{mozappdirdev}/sdk/lib/libmozalloc.so
|
|
|
|
rm -f %{buildroot}%{mozappdirdev}/sdk/lib/libxul.so
|
2021-06-23 08:47:12 +00:00
|
|
|
|
|
|
|
# Create a symlink to replace libnssckbi.so with p11-kit-client.so
|
|
|
|
# instead of p11-kit-trust.so, so that Firefox can see the system
|
|
|
|
# trust store on the host through the p11-kit RPC protocol. A symlink
|
|
|
|
# to libnss3.so is also needed, because Firefox tries to load
|
|
|
|
# libnssckbi.so from the same directory where libnss3.so is loaded (as
|
|
|
|
# of Firefox 89).
|
|
|
|
%if 0%{?flatpak}
|
|
|
|
ln -sf /usr/lib64/libnss3.so %{buildroot}%{_libdir}/libnss3.so
|
|
|
|
ln -sf /usr/lib64/pkcs11/p11-kit-client.so %{buildroot}%{_libdir}/libnssckbi.so
|
|
|
|
%endif
|
2004-09-09 04:44:49 +00:00
|
|
|
#---------------------------------------------------------------------
|
|
|
|
|
2015-01-13 11:44:47 +00:00
|
|
|
# Moves defaults/preferences to browser/defaults/preferences
|
2013-09-09 07:17:46 +00:00
|
|
|
%pretrans -p <lua>
|
2013-09-03 16:14:55 +00:00
|
|
|
require 'posix'
|
|
|
|
require 'os'
|
|
|
|
if (posix.stat("%{mozappdir}/browser/defaults/preferences", "type") == "link") then
|
|
|
|
posix.unlink("%{mozappdir}/browser/defaults/preferences")
|
|
|
|
posix.mkdir("%{mozappdir}/browser/defaults/preferences")
|
|
|
|
if (posix.stat("%{mozappdir}/defaults/preferences", "type") == "directory") then
|
2015-05-22 16:24:00 +00:00
|
|
|
for i,filename in pairs(posix.dir("%{mozappdir}/defaults/preferences")) do
|
2013-09-03 16:14:55 +00:00
|
|
|
os.rename("%{mozappdir}/defaults/preferences/"..filename, "%{mozappdir}/browser/defaults/preferences/"..filename)
|
|
|
|
end
|
|
|
|
f = io.open("%{mozappdir}/defaults/preferences/README","w")
|
|
|
|
if f then
|
|
|
|
f:write("Content of this directory has been moved to %{mozappdir}/browser/defaults/preferences.")
|
|
|
|
f:close()
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2015-01-13 11:44:47 +00:00
|
|
|
|
2020-02-04 06:24:53 +00:00
|
|
|
%check
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml
|
2013-08-30 09:34:41 +00:00
|
|
|
|
2011-04-16 00:10:51 +00:00
|
|
|
%preun
|
|
|
|
# is it a final removal?
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
%{__rm} -rf %{mozappdir}/components
|
|
|
|
%{__rm} -rf %{mozappdir}/extensions
|
|
|
|
%{__rm} -rf %{mozappdir}/plugins
|
|
|
|
%{__rm} -rf %{langpackdir}
|
|
|
|
fi
|
|
|
|
|
2004-09-09 04:44:49 +00:00
|
|
|
%post
|
2008-01-03 18:23:11 +00:00
|
|
|
update-desktop-database &> /dev/null || :
|
2009-07-24 10:44:55 +00:00
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
2004-09-14 19:33:39 +00:00
|
|
|
|
2004-09-09 04:44:49 +00:00
|
|
|
%postun
|
2011-04-16 00:08:42 +00:00
|
|
|
update-desktop-database &> /dev/null || :
|
2009-07-24 10:44:55 +00:00
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
2007-12-04 16:25:53 +00:00
|
|
|
fi
|
2004-09-09 04:44:49 +00:00
|
|
|
|
2009-07-24 10:44:55 +00:00
|
|
|
%posttrans
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
2007-07-31 10:50:12 +00:00
|
|
|
|
2008-04-08 03:56:54 +00:00
|
|
|
%files -f %{name}.lang
|
2004-09-09 04:44:49 +00:00
|
|
|
%{_bindir}/firefox
|
2011-05-10 10:53:22 +00:00
|
|
|
%{mozappdir}/firefox
|
2013-04-01 12:39:26 +00:00
|
|
|
%{mozappdir}/firefox-bin
|
2008-06-18 00:52:47 +00:00
|
|
|
%doc %{_mandir}/man1/*
|
2017-09-11 06:49:17 +00:00
|
|
|
%dir %{_sysconfdir}/%{name}
|
2016-03-22 09:49:13 +00:00
|
|
|
%dir %{_sysconfdir}/%{name}/*
|
2015-08-07 09:39:21 +00:00
|
|
|
%dir %{_datadir}/mozilla/extensions/*
|
|
|
|
%dir %{_libdir}/mozilla/extensions/*
|
2018-06-19 09:35:42 +00:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
2019-11-26 11:33:52 +00:00
|
|
|
%{_datadir}/metainfo/*.appdata.xml
|
|
|
|
%{_datadir}/gnome-shell/search-providers/*.ini
|
2006-09-07 04:19:44 +00:00
|
|
|
%dir %{mozappdir}
|
2017-11-08 09:37:08 +00:00
|
|
|
%license %{mozappdir}/LICENSE
|
2013-05-15 07:33:47 +00:00
|
|
|
%{mozappdir}/browser/chrome
|
2014-01-23 09:26:08 +00:00
|
|
|
%{mozappdir}/browser/defaults/preferences/firefox-redhat-default-prefs.js
|
2017-08-02 11:13:59 +00:00
|
|
|
%{mozappdir}/browser/features/*.xpi
|
2017-04-18 09:12:05 +00:00
|
|
|
%{mozappdir}/distribution/distribution.ini
|
2016-11-14 21:45:26 +00:00
|
|
|
# That's Windows only
|
|
|
|
%ghost %{mozappdir}/browser/features/aushelper@mozilla.org.xpi
|
2018-10-18 09:42:41 +00:00
|
|
|
%if %{with langpacks}
|
2011-03-13 02:44:20 +00:00
|
|
|
%dir %{langpackdir}
|
2010-09-21 14:02:15 +00:00
|
|
|
%endif
|
2013-05-15 07:33:47 +00:00
|
|
|
%{mozappdir}/browser/omni.ja
|
2018-01-24 07:44:04 +00:00
|
|
|
%{mozappdir}/run-mozilla.sh
|
2007-12-18 14:33:32 +00:00
|
|
|
%{mozappdir}/application.ini
|
2017-06-09 08:13:24 +00:00
|
|
|
%{mozappdir}/pingsender
|
2008-06-18 00:52:47 +00:00
|
|
|
%exclude %{mozappdir}/removed-files
|
2009-07-22 10:39:24 +00:00
|
|
|
%{_datadir}/icons/hicolor/16x16/apps/firefox.png
|
|
|
|
%{_datadir}/icons/hicolor/22x22/apps/firefox.png
|
|
|
|
%{_datadir}/icons/hicolor/24x24/apps/firefox.png
|
|
|
|
%{_datadir}/icons/hicolor/256x256/apps/firefox.png
|
|
|
|
%{_datadir}/icons/hicolor/32x32/apps/firefox.png
|
|
|
|
%{_datadir}/icons/hicolor/48x48/apps/firefox.png
|
2015-07-02 13:48:32 +00:00
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/firefox-symbolic.svg
|
2021-04-22 13:55:40 +00:00
|
|
|
%if %{enable_mozilla_crashreporter}
|
2014-01-09 09:56:01 +00:00
|
|
|
%{mozappdir}/crashreporter
|
|
|
|
%{mozappdir}/crashreporter.ini
|
2017-03-06 10:29:49 +00:00
|
|
|
%{mozappdir}/minidump-analyzer
|
2014-01-09 09:56:01 +00:00
|
|
|
%{mozappdir}/Throbber-small.gif
|
2013-06-13 12:46:13 +00:00
|
|
|
%{mozappdir}/browser/crashreporter-override.ini
|
2021-04-22 13:55:40 +00:00
|
|
|
%endif
|
2014-01-09 09:56:01 +00:00
|
|
|
%{mozappdir}/*.so
|
2014-01-23 09:26:08 +00:00
|
|
|
%{mozappdir}/defaults/pref/channel-prefs.js
|
2014-01-09 09:56:01 +00:00
|
|
|
%{mozappdir}/dependentlibs.list
|
|
|
|
%{mozappdir}/dictionaries
|
|
|
|
%{mozappdir}/omni.ja
|
|
|
|
%{mozappdir}/platform.ini
|
|
|
|
%{mozappdir}/plugin-container
|
2015-02-20 09:36:49 +00:00
|
|
|
%{mozappdir}/gmp-clearkey
|
2018-06-19 20:35:02 +00:00
|
|
|
%{mozappdir}/fonts/TwemojiMozilla.ttf
|
2014-10-31 11:42:03 +00:00
|
|
|
%if !%{?system_nss}
|
2017-08-29 11:01:25 +00:00
|
|
|
%exclude %{mozappdir}/libnssckbi.so
|
2014-10-31 11:42:03 +00:00
|
|
|
%endif
|
2019-12-17 13:56:57 +00:00
|
|
|
%if %{build_with_asan}
|
|
|
|
%{mozappdir}/llvm-symbolizer
|
|
|
|
%endif
|
2010-06-23 09:10:39 +00:00
|
|
|
|
2004-09-09 04:44:49 +00:00
|
|
|
#---------------------------------------------------------------------
|
|
|
|
|
|
|
|
%changelog
|
2021-07-12 12:17:08 +00:00
|
|
|
* Mon Jul 12 2021 Martin Stransky <stransky@redhat.com> - 90.0-1
|
|
|
|
- Updated to 90.0
|
|
|
|
|
2021-06-23 08:47:12 +00:00
|
|
|
* Mon Jul 12 2021 Daiki Ueno <dueno@redhat.com> - 89.0.2-3
|
|
|
|
- flatpak: Enable loading system trust store on the host (rhbz#1766340)
|
|
|
|
|
2021-06-30 10:27:19 +00:00
|
|
|
* Wed Jun 30 2021 Martin Stransky <stransky@redhat.com> - 89.0.2-2
|
2021-06-30 10:24:15 +00:00
|
|
|
- Added fix for mozbz#1715254 (rhbz#1976892).
|
|
|
|
|
2021-06-24 08:43:43 +00:00
|
|
|
* Thu Jun 24 2021 Martin Stransky <stransky@redhat.com> - 89.0.2-1
|
|
|
|
- Updated to latest upstream (89.0.2)
|
|
|
|
|
2021-06-14 15:36:56 +00:00
|
|
|
* Mon Jun 14 2021 Martin Stransky <stransky@redhat.com> - 89.0-2
|
|
|
|
- Added fix for mozbz#1646135
|
|
|
|
|
2021-06-01 08:15:57 +00:00
|
|
|
* Tue Jun 1 2021 Martin Stransky <stransky@redhat.com> - 89.0-1
|
|
|
|
- Updated to latest upstream (89.0)
|
|
|
|
|
2021-05-10 08:32:54 +00:00
|
|
|
* Mon May 10 2021 Martin Stransky <stransky@redhat.com> - 88.0.1-1
|
|
|
|
- Updated to latest upstream (88.0.1)
|
|
|
|
|
2021-05-04 13:49:34 +00:00
|
|
|
* Tue May 4 2021 Martin Stransky <stransky@redhat.com> - 88.0-8
|
|
|
|
- Added fix for mozbz#1705048.
|
|
|
|
|
2021-04-30 09:46:47 +00:00
|
|
|
* Fri Apr 30 2021 Martin Stransky <stransky@redhat.com> - 88.0-7
|
|
|
|
- Added pciutils-libs req (rhbz#1955338)
|
|
|
|
- Enabled Wayland on KDE (rhbz#1922608)
|
|
|
|
|
2021-04-27 20:44:20 +00:00
|
|
|
* Tue Apr 27 2021 Martin Stransky <stransky@redhat.com> - 88.0-6
|
|
|
|
- Test fix.
|
|
|
|
|
2021-04-23 08:32:49 +00:00
|
|
|
* Fri Apr 23 2021 Martin Stransky <stransky@redhat.com> - 88.0-5
|
|
|
|
- Added fix for mozbz#1580595 - mouse pointer lock.
|
2021-04-27 12:35:17 +00:00
|
|
|
- Another test update.
|
2021-04-23 08:32:49 +00:00
|
|
|
|
2021-04-22 13:55:40 +00:00
|
|
|
* Thu Apr 22 2021 Martin Stransky <stransky@redhat.com> - 88.0-4
|
|
|
|
- Run with mochitest test suite.
|
|
|
|
|
2021-04-22 06:07:34 +00:00
|
|
|
* Thu Apr 22 2021 Martin Stransky <stransky@redhat.com> - 88.0-3
|
|
|
|
- Build with crashreporter enabled.
|
|
|
|
|
2021-04-21 07:58:14 +00:00
|
|
|
* Wed Apr 21 2021 Martin Stransky <stransky@redhat.com> - 88.0-2
|
|
|
|
- Added clipboard fix mzbz#1703763.
|
|
|
|
|
2021-04-20 07:11:49 +00:00
|
|
|
* Mon Apr 19 2021 Martin Stransky <stransky@redhat.com> - 88.0-1
|
|
|
|
- Update to 88.0
|
|
|
|
|
2021-04-12 08:46:19 +00:00
|
|
|
* Mon Apr 12 2021 Martin Stransky <stransky@redhat.com> - 87.0-12
|
|
|
|
- Added fix for mozbz#1701089 (Widevine playback issues).
|
|
|
|
|
2021-04-06 07:58:31 +00:00
|
|
|
* Tue Apr 6 2021 Martin Stransky <stransky@redhat.com> - 87.0-11
|
|
|
|
- Enabled xpcshell/crashtests on Wayland.
|
|
|
|
|
|
|
|
* Sat Apr 3 2021 Martin Stransky <stransky@redhat.com> - 87.0-10
|
2021-04-04 16:51:01 +00:00
|
|
|
- Wayland testing again.
|
|
|
|
|
2021-04-01 18:21:43 +00:00
|
|
|
* Thu Apr 1 2021 Martin Stransky <stransky@redhat.com> - 87.0-9
|
|
|
|
- Added fix for mozbz#1702606 / rhbz#1936071
|
|
|
|
- Switched tests back to X11 due to massive failures.
|
|
|
|
|
2021-04-01 09:32:10 +00:00
|
|
|
* Thu Apr 1 2021 Martin Stransky <stransky@redhat.com> - 87.0-8
|
|
|
|
- Run testsuite on Wayland on Fedora 33+
|
|
|
|
- Spec cleanup
|
|
|
|
|
2021-03-31 16:06:16 +00:00
|
|
|
* Wed Mar 31 2021 Martin Stransky <stransky@redhat.com> - 87.0-7
|
2021-03-31 16:05:14 +00:00
|
|
|
- Added fix for mozbz#1693472 - Wayland/KDE rendering issues.
|
|
|
|
|
2021-03-30 18:36:06 +00:00
|
|
|
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 87.0-6
|
|
|
|
- Rebuilt for removed libstdc++ symbol (#1937698)
|
|
|
|
|
2021-03-30 07:01:38 +00:00
|
|
|
* Tue Mar 30 2021 Martin Stransky <stransky@redhat.com> - 87.0-5
|
|
|
|
- Reftest fix
|
|
|
|
|
2021-03-29 14:27:02 +00:00
|
|
|
* Fri Mar 26 2021 Martin Stransky <stransky@redhat.com> - 87.0-4
|
|
|
|
- More test fixes
|
|
|
|
- Enabled ppc64le
|
|
|
|
- Disabled crashreporter on Fedora 34+
|
2021-03-25 19:14:55 +00:00
|
|
|
|
2021-03-24 18:31:06 +00:00
|
|
|
* Wed Mar 24 2021 Martin Stransky <stransky@redhat.com> - 87.0-2
|
|
|
|
- More test fixes
|
|
|
|
|
2021-03-23 09:29:22 +00:00
|
|
|
* Tue Mar 23 2021 Martin Stransky <stransky@redhat.com> - 87.0-1
|
2021-03-24 14:58:33 +00:00
|
|
|
- Disabled ARM due to build failures
|
2021-03-23 09:29:22 +00:00
|
|
|
- Updated to 87.0
|
|
|
|
|
2021-03-13 15:41:44 +00:00
|
|
|
* Sat Mar 13 2021 Martin Stransky <stransky@redhat.com> - 86.0.1-2
|
|
|
|
- Enabled ARM
|
|
|
|
|
2021-03-12 11:36:34 +00:00
|
|
|
* Fri Mar 12 2021 Martin Stransky <stransky@redhat.com> - 86.0.1-1
|
|
|
|
- Update to latest upstream (86.0.1)
|
|
|
|
|
2021-03-10 08:17:10 +00:00
|
|
|
* Wed Mar 10 2021 Martin Stransky <stransky@redhat.com> - 86.0-8
|
|
|
|
- Temporary disable ppc64le/Fedora 35 due to
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1933742
|
|
|
|
|
2021-03-03 13:59:03 +00:00
|
|
|
* Wed Mar 3 2021 Martin Stransky <stransky@redhat.com> - 86.0-7
|
2021-03-03 13:57:49 +00:00
|
|
|
- Added fix for mozbz#1694670
|
|
|
|
|
2021-03-02 08:02:46 +00:00
|
|
|
* Mon Mar 1 2021 Martin Stransky <stransky@redhat.com> - 86.0-6
|
2021-03-01 18:39:12 +00:00
|
|
|
- Run xpcshell tests sequential
|
2021-03-02 08:01:48 +00:00
|
|
|
- Test fixes
|
2021-03-01 18:39:12 +00:00
|
|
|
|
2021-03-01 14:10:18 +00:00
|
|
|
* Mon Mar 1 2021 Martin Stransky <stransky@redhat.com> - 86.0-4
|
|
|
|
- Enable Wayland backend only when Wayland display is set.
|
|
|
|
|
2021-03-01 12:48:20 +00:00
|
|
|
* Mon Mar 1 2021 Martin Stransky <stransky@redhat.com> - 86.0-3
|
|
|
|
- Added icecat-78.7.1-fix_error_template_with_C_linkage.patch to
|
|
|
|
build on F34+
|
|
|
|
|
2021-02-26 07:26:50 +00:00
|
|
|
* Fri Feb 26 2021 Martin Stransky <stransky@redhat.com> - 86.0-2
|
|
|
|
- Built with system nss
|
|
|
|
|
2021-02-24 11:39:29 +00:00
|
|
|
* Tue Feb 23 2021 Martin Stransky <stransky@redhat.com> - 86.0-1
|
|
|
|
- Update to 86.0
|
|
|
|
- Disabled Wayland backend on KDE/Plasma
|
|
|
|
|
2021-02-23 10:54:14 +00:00
|
|
|
* Tue Feb 23 2021 Martin Stransky <stransky@redhat.com> - 85.0.1-2
|
|
|
|
- Fixed some reftest run in Mock
|
|
|
|
|
2021-02-08 16:18:10 +00:00
|
|
|
* Mon Feb 08 2021 Martin Stransky <stransky@redhat.com> - 85.0.1-1
|
|
|
|
- Updated to 85.0.1
|
|
|
|
|
2021-02-03 11:07:56 +00:00
|
|
|
* Wed Feb 03 2021 Dan Horák <dan[at]danny.cz> - 85.0-11
|
|
|
|
- Fix parameter passing on ppc64le (mozb#1690152)
|
|
|
|
|
2021-02-02 15:41:09 +00:00
|
|
|
* Tue Feb 02 2021 Kalev Lember <klember@redhat.com> - 85.0-10
|
|
|
|
- Remove gtk2 support as flash plugin is no longer supported
|
|
|
|
|
2021-02-01 15:23:56 +00:00
|
|
|
* Sat Jan 30 2021 Martin Stransky <stransky@redhat.com> - 85.0-9
|
|
|
|
- Enable WebRender on KDE/Wayland and AMD/Intel drivers.
|
|
|
|
|
2021-01-30 15:01:39 +00:00
|
|
|
* Sat Jan 30 2021 Martin Stransky <stransky@redhat.com> - 85.0-8
|
|
|
|
- Enable Wayland backend on Fedora 34/KDE/Plasma (and other compositors)
|
|
|
|
by default (https://bugzilla.redhat.com/show_bug.cgi?id=1922608).
|
|
|
|
|
2021-01-30 13:57:30 +00:00
|
|
|
* Fri Jan 29 2021 Martin Stransky <stransky@redhat.com> - 85.0-7
|
2021-01-30 13:56:07 +00:00
|
|
|
- Added clipboard fix mozbz#1631061.
|
|
|
|
|
2021-01-28 13:26:06 +00:00
|
|
|
* Thu Jan 28 2021 Kalev Lember <klember@redhat.com> - 85.0-6
|
|
|
|
- Make provides/requires filtering smarter/automatic (rhbz#1582116)
|
|
|
|
- Drop dbus-glib requires that are now automatically generated again
|
|
|
|
|
2021-01-28 12:45:22 +00:00
|
|
|
* Thu Jan 28 2021 Martin Stransky <stransky@redhat.com> - 85.0-5
|
|
|
|
- Add dbus-glib requires.
|
|
|
|
|
2021-01-26 22:47:03 +00:00
|
|
|
* Tue Jan 26 2021 Martin Stransky <stransky@redhat.com> - 85.0-4
|
|
|
|
- Added fix for mozbz#1679933 - startup crash
|
|
|
|
|
2021-01-26 05:33:47 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 85.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2021-01-25 14:35:10 +00:00
|
|
|
* Wed Jan 20 2021 Martin Stransky <stransky@redhat.com> - 85.0-2
|
2021-01-21 12:55:58 +00:00
|
|
|
- Update to 85.0.
|
|
|
|
|
2021-01-20 15:46:59 +00:00
|
|
|
* Wed Jan 20 2021 Jan Horak <jhorak@redhat.com> - 84.0.2-8
|
|
|
|
- Fixing package requires/provides
|
|
|
|
|
2021-01-19 18:07:12 +00:00
|
|
|
* Tue Jan 19 2021 Martin Stransky <stransky@redhat.com> - 84.0.2-7
|
|
|
|
- Fixed mzbz#164294 regression.
|
|
|
|
|
2021-01-15 09:29:37 +00:00
|
|
|
* Fri Jan 15 2021 Martin Stransky <stransky@redhat.com> - 84.0.2-6
|
2021-01-15 09:23:50 +00:00
|
|
|
- Added WebRender fix (mozbz#1681107).
|
|
|
|
|
2021-01-14 10:23:35 +00:00
|
|
|
* Thu Jan 14 2021 Martin Stransky <stransky@redhat.com> - 84.0.2-5
|
|
|
|
- Removed some failing tests.
|
|
|
|
- Spec file tweaks.
|
|
|
|
|
2021-01-12 21:36:56 +00:00
|
|
|
* Tue Jan 12 2021 Martin Stransky <stransky@redhat.com> - 84.0.2-4
|
|
|
|
- Enabled LTO in Firefox build system.
|
|
|
|
|
2021-01-12 13:17:45 +00:00
|
|
|
* Tue Jan 12 2021 Martin Stransky <stransky@redhat.com> - 84.0.2-3
|
2021-01-12 13:15:37 +00:00
|
|
|
- Removed failing xpcshell/reftests, test tweaks.
|
|
|
|
|
2021-01-11 12:35:55 +00:00
|
|
|
* Mon Jan 11 2021 Martin Stransky <stransky@redhat.com> - 84.0.2-2
|
|
|
|
- Added a workaround for rhbz#1908018
|
|
|
|
|
2021-01-06 09:59:55 +00:00
|
|
|
* Wed Jan 6 2021 Martin Stransky <stransky@redhat.com> - 84.0.2-1
|
|
|
|
- Updated to 84.0.2
|
|
|
|
|
2021-01-05 08:52:24 +00:00
|
|
|
* Tue Jan 05 2021 Jan Horak <jhorak@redhat.com> - 84.0.1-5
|
|
|
|
- Removing requires/provides of the bundled libraries
|
|
|
|
|
2021-01-04 21:02:09 +00:00
|
|
|
* Mon Jan 4 2021 Martin Stransky <stransky@redhat.com> - 84.0.1-4
|
|
|
|
- Enabled tests
|
|
|
|
|
2021-01-04 07:10:20 +00:00
|
|
|
* Mon Jan 4 2021 Martin Stransky <stransky@redhat.com> - 84.0.1-3
|
|
|
|
- Enabled armv7hl arch on rawhide
|
|
|
|
|
2020-12-23 09:31:12 +00:00
|
|
|
* Wed Dec 23 2020 Martin Stransky <stransky@redhat.com> - 84.0.1-2
|
|
|
|
- Reverted mzbz#1631061 due to clipboard regressions
|
2020-12-23 09:43:17 +00:00
|
|
|
- Disabled armv7hl build on rawhide due to rhbz#1910277
|
|
|
|
- Build with system nss on rawhide (rhbz#1908791).
|
2020-12-23 09:31:12 +00:00
|
|
|
|
2020-12-22 06:34:29 +00:00
|
|
|
* Tue Dec 22 2020 Martin Stransky <stransky@redhat.com> - 84.0.1-1
|
|
|
|
- Updated to 84.0.1
|
|
|
|
|
2020-12-20 16:09:35 +00:00
|
|
|
* Sun Dec 20 2020 Miro Hrončok <mhroncok@redhat.com> - 84.0-7
|
|
|
|
- Filter out private libraries provides
|
|
|
|
- Fixes: rhbz#1908791
|
2020-12-22 06:24:42 +00:00
|
|
|
|
2020-12-17 06:32:44 +00:00
|
|
|
* Thu Dec 17 2020 Martin Stransky <stransky@redhat.com> - 84.0-6
|
|
|
|
- Disable PGO on Rawhide due to build issues
|
|
|
|
- Disable system nss on Rawhide due to rhbz#1908018
|
|
|
|
- Enabled system nss on Fedora 33/32
|
|
|
|
|
2020-12-16 17:16:59 +00:00
|
|
|
* Wed Dec 16 2020 Martin Stransky <stransky@redhat.com> - 84.0-5
|
|
|
|
- Build with tests enabled
|
|
|
|
|
2020-12-16 17:07:30 +00:00
|
|
|
* Wed Dec 16 2020 Martin Stransky <stransky@redhat.com> - 84.0-4
|
|
|
|
- Disabled LTO due to massive test failures
|
|
|
|
|
2020-12-16 10:37:49 +00:00
|
|
|
* Wed Dec 16 2020 Martin Stransky <stransky@redhat.com> - 84.0-3
|
|
|
|
- Updated to Firefox 84 Build 3
|
|
|
|
- Disabled system nss due to addon breakage (rhbz#1908018).
|
|
|
|
|
2020-12-09 11:44:44 +00:00
|
|
|
* Wed Dec 9 2020 Martin Stransky <stransky@redhat.com> - 83.0-15
|
2020-12-09 11:41:49 +00:00
|
|
|
- Enabled tests everywhere
|
|
|
|
- Enabled crash reporter
|
|
|
|
|
2020-12-01 20:03:57 +00:00
|
|
|
* Tue Dec 1 2020 Martin Stransky <stransky@redhat.com> - 83.0-14
|
|
|
|
- Enabled LTO
|
|
|
|
|
2020-12-01 15:24:25 +00:00
|
|
|
* Tue Dec 1 2020 Martin Stransky <stransky@redhat.com> - 83.0-13
|
|
|
|
- Added fix for mozbz#1672139
|
|
|
|
|
2020-12-01 10:17:26 +00:00
|
|
|
* Tue Dec 1 2020 Martin Stransky <stransky@redhat.com> - 83.0-12
|
|
|
|
- More mochitest fixes
|
|
|
|
|
2020-11-30 12:10:49 +00:00
|
|
|
* Mon Nov 30 2020 Martin Stransky <stransky@redhat.com> - 83.0-11
|
|
|
|
- Mochitest tweaking
|
|
|
|
|
2020-11-28 09:09:12 +00:00
|
|
|
* Sat Nov 28 2020 Martin Stransky <stransky@redhat.com> - 83.0-10
|
|
|
|
- Added fix for mzbz#1678680
|
|
|
|
|
2020-11-28 06:13:13 +00:00
|
|
|
* Wed Nov 25 2020 Martin Stransky <stransky@redhat.com> - 83.0-9
|
|
|
|
- Added mochitest test files
|
|
|
|
|
2020-11-25 09:42:45 +00:00
|
|
|
* Wed Nov 25 2020 Martin Stransky <stransky@redhat.com> - 83.0-8
|
|
|
|
- Added fix for rhbz#1900542
|
|
|
|
|
2020-11-25 08:38:04 +00:00
|
|
|
* Wed Nov 25 2020 Martin Stransky <stransky@redhat.com> - 83.0-7
|
|
|
|
- Export MOZ_GMP_PATH from /usr/bin/firefox script
|
|
|
|
(https://pagure.io/fedora-workstation/issue/126)
|
|
|
|
|
2020-11-24 19:52:59 +00:00
|
|
|
* Tue Nov 24 2020 Martin Stransky <stransky@redhat.com> - 83.0-6
|
|
|
|
- Fix mochitest
|
|
|
|
|
2020-11-18 20:16:59 +00:00
|
|
|
* Wed Nov 18 2020 Martin Stransky <stransky@redhat.com> - 83.0-5
|
2020-11-20 11:27:58 +00:00
|
|
|
- Build with tests enabled
|
2020-11-18 20:16:59 +00:00
|
|
|
|
2020-11-18 09:11:01 +00:00
|
|
|
* Wed Nov 18 2020 Martin Stransky <stransky@redhat.com> - 83.0-4
|
|
|
|
- Enable all arches
|
|
|
|
|
2020-11-17 21:52:02 +00:00
|
|
|
* Fri Nov 13 2020 Martin Stransky <stransky@redhat.com> - 83.0-3
|
2020-11-16 10:19:59 +00:00
|
|
|
- Updated to 83.0 Build 2
|
2020-11-13 22:02:02 +00:00
|
|
|
|
2020-11-12 13:33:57 +00:00
|
|
|
* Thu Nov 12 2020 Martin Stransky <stransky@redhat.com> - 83.0-1
|
|
|
|
- Updated to 83.0
|
|
|
|
- Updated PipeWire patches from mozbz#1672944
|
|
|
|
|
2020-11-10 13:54:27 +00:00
|
|
|
* Tue Nov 10 2020 Martin Stransky <stransky@redhat.com> - 82.0.3-2
|
2020-11-10 13:48:46 +00:00
|
|
|
- Added fix for mozbz#1885133
|
|
|
|
|
2020-11-09 18:37:46 +00:00
|
|
|
* Mon Nov 9 2020 Martin Stransky <stransky@redhat.com> - 82.0.3-1
|
2020-11-09 18:33:33 +00:00
|
|
|
- Updated to 82.0.3
|
|
|
|
|
2020-11-09 18:37:46 +00:00
|
|
|
* Mon Nov 9 2020 Kalev Lember <klember@redhat.com> - 82.0.2-7
|
2020-11-09 11:23:30 +00:00
|
|
|
- Include date in appdata release tags
|
|
|
|
|
2020-11-06 13:38:35 +00:00
|
|
|
* Fri Nov 6 2020 Tomas Popela <tpopela@redhat.com> - 82.0.2-6
|
|
|
|
- Re-enable s390x buils by backporting a change from Thunderbird
|
|
|
|
https://src.fedoraproject.org/rpms/thunderbird/c/5f0bec1b5b79e117cc469710afbfa4d008af9c29?branch=master
|
|
|
|
|
2020-11-06 13:35:20 +00:00
|
|
|
* Tue Nov 3 2020 Martin Stransky <stransky@redhat.com> - 82.0.2-5
|
2020-11-05 07:12:57 +00:00
|
|
|
- Added mozilla-openh264 dependency to play H264 clips out of the box
|
|
|
|
- Updated Firefox tests
|
|
|
|
|
2020-11-03 18:02:27 +00:00
|
|
|
* Tue Nov 3 2020 Martin Stransky <stransky@redhat.com> - 82.0.2-3
|
|
|
|
- Disabled LTO again.
|
|
|
|
|
2020-11-03 08:23:08 +00:00
|
|
|
* Tue Nov 3 2020 Martin Stransky <stransky@redhat.com> - 82.0.2-2
|
|
|
|
- NSS debug build
|
|
|
|
|
2020-10-29 12:21:33 +00:00
|
|
|
* Thu Oct 29 2020 Martin Stransky <stransky@redhat.com> - 82.0.2-1
|
|
|
|
- Updated to 82.0.2
|
|
|
|
- Removed mzbz#1668771 due to rhbz#1888920
|
|
|
|
|
2020-10-28 09:45:45 +00:00
|
|
|
* Wed Oct 28 2020 Martin Stransky <stransky@redhat.com> - 82.0.1-1
|
|
|
|
- Updated to 82.0.1
|
|
|
|
|
2020-10-27 10:12:19 +00:00
|
|
|
* Tue Oct 27 2020 Martin Stransky <stransky@redhat.com> - 82.0-8
|
|
|
|
- Added fix for mozbz#1673313
|
|
|
|
|
2020-10-27 09:39:44 +00:00
|
|
|
* Tue Oct 27 2020 Martin Stransky <stransky@redhat.com> - 82.0-7
|
|
|
|
- Added fix for rawhide crashes (rhbz#1891234)
|
|
|
|
|
2020-10-24 14:28:19 +00:00
|
|
|
* Sat Oct 24 2020 Martin Stransky <stransky@redhat.com> - 82.0-6
|
|
|
|
- Enable LTO
|
|
|
|
|
2020-10-20 14:32:06 +00:00
|
|
|
* Tue Oct 20 2020 Martin Stransky <stransky@redhat.com> - 82.0-5
|
|
|
|
- Added fix for rhbz#1889742 - Typo in /usr/bin/firefox
|
|
|
|
|
2020-10-19 19:06:23 +00:00
|
|
|
* Mon Oct 19 2020 Martin Stransky <stransky@redhat.com> - 82.0-4
|
|
|
|
- Updated openh264 patch to use keyframes from contained
|
|
|
|
for openh264 only.
|
|
|
|
|
2020-10-19 12:45:11 +00:00
|
|
|
* Mon Oct 19 2020 Martin Stransky <stransky@redhat.com> - 82.0-3
|
|
|
|
- Added ELN build fixes
|
|
|
|
|
2020-10-16 14:49:00 +00:00
|
|
|
* Thu Oct 15 2020 Martin Stransky <stransky@redhat.com> - 82.0-2
|
|
|
|
- Updated SELinux relabel setup (rhbz#1731371)
|
|
|
|
|
2020-10-15 14:32:04 +00:00
|
|
|
* Thu Oct 15 2020 Martin Stransky <stransky@redhat.com> - 82.0-1
|
|
|
|
- Updated to 82.0 Build 2
|
|
|
|
|
2020-10-15 09:07:22 +00:00
|
|
|
* Thu Oct 15 2020 Martin Stransky <stransky@redhat.com> - 81.0.2-3
|
|
|
|
- Added experimental openh264 seek patch (mzbz#1670333)
|
|
|
|
|
2020-10-12 16:21:34 +00:00
|
|
|
* Mon Oct 12 2020 Martin Stransky <stransky@redhat.com> - 81.0.2-2
|
|
|
|
- Added a partial fox for rhbz#1886722
|
|
|
|
|
2020-10-12 14:31:22 +00:00
|
|
|
* Mon Oct 12 2020 Martin Stransky <stransky@redhat.com> - 81.0.2-1
|
|
|
|
- Updated to latest upstream - 81.0.2
|
|
|
|
|
2020-10-08 09:29:38 +00:00
|
|
|
* Thu Oct 8 2020 Martin Stransky <stransky@redhat.com> - 81.0.1-9
|
|
|
|
- Added an updated fix for mozbz#1656727
|
|
|
|
|
|
|
|
* Thu Oct 8 2020 Martin Stransky <stransky@redhat.com> - 81.0.1-8
|
|
|
|
- Added fixes for mozbz#1634404, mozbz#1669495
|
|
|
|
|
2020-10-08 06:23:50 +00:00
|
|
|
* Thu Oct 8 2020 Martin Stransky <stransky@redhat.com> - 81.0.1-7
|
|
|
|
- Removed mozbz#1656727 as it causes a regression rhbz#1886243
|
|
|
|
|
2020-10-07 08:22:49 +00:00
|
|
|
* Wed Oct 7 2020 Martin Stransky <stransky@redhat.com> - 81.0.1-6
|
|
|
|
- PGO patch update
|
|
|
|
- Added fix for mzbz#1669442 (LTO builds)
|
|
|
|
|
2020-10-06 10:00:47 +00:00
|
|
|
* Mon Oct 5 2020 Martin Stransky <stransky@redhat.com> - 81.0.1-5
|
|
|
|
- Added fix for mozbz#1656727
|
|
|
|
|
2020-10-02 10:30:13 +00:00
|
|
|
* Fri Oct 2 2020 Martin Stransky <stransky@redhat.com> - 81.0.1-4
|
2020-10-02 10:27:34 +00:00
|
|
|
- Added fix for mozbz#1668771
|
|
|
|
|
2020-10-01 11:47:13 +00:00
|
|
|
* Thu Oct 1 2020 Martin Stransky <stransky@redhat.com> - 81.0.1-3
|
|
|
|
- Added fix for mozbz#1661192
|
2020-10-01 10:22:08 +00:00
|
|
|
|
2020-10-01 11:47:13 +00:00
|
|
|
* Thu Oct 1 2020 Martin Stransky <stransky@redhat.com> - 81.0.1-2
|
2020-10-01 10:22:08 +00:00
|
|
|
- Added fix for mozbz#1640567
|
|
|
|
- Enable PGO
|
|
|
|
|
2020-10-01 11:47:13 +00:00
|
|
|
* Wed Sep 30 2020 Martin Stransky <stransky@redhat.com> - 81.0.1-1
|
2020-09-30 20:47:19 +00:00
|
|
|
- Updated to 81.0.1
|
|
|
|
|
2020-09-30 09:30:44 +00:00
|
|
|
* Wed Sep 30 2020 Martin Stransky <stransky@redhat.com> - 81.0-9
|
2020-09-30 09:27:59 +00:00
|
|
|
- Disabled openh264 download
|
2020-09-30 11:16:06 +00:00
|
|
|
- Removed fdk-aac-free dependency (rhbz#1883672)
|
|
|
|
- Enabled LTO
|
2020-09-30 09:27:59 +00:00
|
|
|
|
2020-09-26 09:50:33 +00:00
|
|
|
* Sat Sep 26 2020 Dan Horák <dan[at]danny.cz> - 81.0-8
|
|
|
|
- Re-enable builds for ppc64le
|
|
|
|
|
2020-09-25 09:54:11 +00:00
|
|
|
* Fri Sep 25 2020 Martin Stransky <stransky@redhat.com> - 81.0-7
|
|
|
|
- Added openh264 fixes
|
|
|
|
|
2020-09-23 07:49:57 +00:00
|
|
|
* Wed Sep 23 2020 Martin Stransky <stransky@redhat.com> - 81.0-6
|
|
|
|
- Added fix for rhbz#1731371
|
|
|
|
|
2020-09-22 23:12:14 +00:00
|
|
|
* Tue Sep 22 2020 Kalev Lember <klember@redhat.com> - 81.0-5
|
|
|
|
- Re-enable builds for armv7hl and aarch64 architectures
|
|
|
|
|
2020-09-22 14:47:07 +00:00
|
|
|
* Tue Sep 22 2020 Kalev Lember <klember@redhat.com> - 81.0-4
|
|
|
|
- Disable LTO to work around firefox build failing in F33+
|
|
|
|
|
2020-09-21 08:31:36 +00:00
|
|
|
* Mon Sep 21 2020 Martin Stransky <stransky@redhat.com> - 81.0-3
|
|
|
|
- Updated to 81.0 Build 2
|
|
|
|
- Updated firefox-disable-ffvpx-with-vapi patch
|
|
|
|
- Deleted old changelog entries
|
|
|
|
|
2020-09-17 07:10:40 +00:00
|
|
|
* Thu Sep 17 2020 Martin Stransky <stransky@redhat.com> - 81.0-2
|
|
|
|
- Added upstream patches mzbz#1665324 mozbz#1665329
|
|
|
|
- Updated requested nss version to 3.56
|
|
|
|
|
2020-09-15 12:55:10 +00:00
|
|
|
* Tue Sep 15 2020 Martin Stransky <stransky@redhat.com> - 81.0-1
|
|
|
|
- Updated to 81.0
|
|
|
|
|
2020-09-10 19:33:57 +00:00
|
|
|
* Thu Sep 10 2020 Martin Stransky <stransky@redhat.com> - 80.0.1-3
|
|
|
|
- Test build for all arches.
|
|
|
|
|
2020-09-04 06:36:35 +00:00
|
|
|
* Fri Sep 4 2020 Martin Stransky <stransky@redhat.com> - 80.0.1-2
|
2020-09-04 06:32:27 +00:00
|
|
|
- Added patch for mozbz#1875469
|
|
|
|
|
2020-09-01 20:47:13 +00:00
|
|
|
* Tue Sep 1 2020 Martin Stransky <stransky@redhat.com> - 80.0.1-1
|
|
|
|
- Updated to 80.0.1
|
|
|
|
|
2020-08-18 07:11:13 +00:00
|
|
|
* Tue Aug 18 2020 Martin Stransky <stransky@redhat.com> - 80.0-1
|
2020-08-20 06:24:19 +00:00
|
|
|
- Updated to 80.0 Build 2
|
2020-08-19 14:39:04 +00:00
|
|
|
- Go back to gcc
|
2020-08-21 09:00:38 +00:00
|
|
|
- Disabled WebGL dmabuf backend due to reported errors
|
|
|
|
(mzbz#1655323, mozbz#1656505).
|
2020-08-18 07:11:13 +00:00
|
|
|
|
2020-08-18 06:36:12 +00:00
|
|
|
* Tue Aug 18 2020 Martin Stransky <stransky@redhat.com> - 79.0-6
|
|
|
|
- Enabled pgo
|
|
|
|
- Build with clang
|
|
|
|
|
2020-08-04 11:37:42 +00:00
|
|
|
* Tue Aug 4 2020 Martin Stransky <stransky@redhat.com> - 79.0-5
|
|
|
|
- Added upstream fix for mozbz#1656436.
|
|
|
|
|
2020-08-03 09:17:21 +00:00
|
|
|
* Mon Aug 3 2020 Martin Stransky <stransky@redhat.com> - 79.0-4
|
2020-08-03 09:11:24 +00:00
|
|
|
- Updated fix for mozbz#1645671
|
|
|
|
|
2020-08-03 09:17:21 +00:00
|
|
|
* Thu Jul 30 2020 Martin Stransky <stransky@redhat.com> - 79.0-3
|
2020-07-30 08:48:57 +00:00
|
|
|
- Added VA-API fix for mozbz#1645671
|
|
|
|
|
2020-07-29 08:47:02 +00:00
|
|
|
* Wed Jul 29 2020 Martin Stransky <stransky@redhat.com> - 79.0-2
|
|
|
|
- Try to enable armv7hl again.
|
2020-07-30 07:10:04 +00:00
|
|
|
- Disabled ppc64le due to cargo crash (rhbz#1862012).
|
2020-07-29 08:47:02 +00:00
|
|
|
|
2020-07-28 08:23:23 +00:00
|
|
|
* Mon Jul 27 2020 Martin Stransky <stransky@redhat.com> - 79.0-1
|
|
|
|
- Update to 79.0
|
2020-07-29 08:15:59 +00:00
|
|
|
- Disabled PGO due to rhbz#1849165 (gcc internal error).
|
2020-07-28 08:23:23 +00:00
|
|
|
|
2020-07-27 17:28:30 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 78.0.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-16 11:52:35 +00:00
|
|
|
* Thu Jul 23 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 78.0-4
|
|
|
|
- Use python3 instead of python2 for build
|
|
|
|
|
2020-07-21 10:12:38 +00:00
|
|
|
* Tue Jul 21 2020 Martin Stransky <stransky@redhat.com> - 78.0-3
|
|
|
|
- Added fix for mozbz#1651701/rhbz#1855730
|
|
|
|
|
2020-07-10 16:18:29 +00:00
|
|
|
* Fri Jul 10 2020 Jan Horak <jhorak@redhat.com> - 78.0.2-2
|
|
|
|
- Fixing clang build - linker setup
|
|
|
|
|
2020-07-09 12:19:21 +00:00
|
|
|
* Thu Jul 09 2020 Jan Horak <jhorak@redhat.com> - 78.0.2-1
|
|
|
|
- Update to 78.0.2 build2
|
|
|
|
|
2020-07-01 16:31:26 +00:00
|
|
|
* Wed Jul 01 2020 Jan Horak <jhorak@redhat.com> - 78.0.1-1
|
|
|
|
- Update to 78.0.1 build1
|
|
|
|
|
2020-07-01 07:23:24 +00:00
|
|
|
* Wed Jul 1 2020 Martin Stransky <stransky@redhat.com> - 78.0-2
|
|
|
|
- Add 'Open the Profile Manager' desktop file entry
|
|
|
|
|
2020-06-29 11:27:50 +00:00
|
|
|
* Mon Jun 29 2020 Jan Horak <jhorak@redhat.com> - 78.0-1
|
|
|
|
- Update to 78.0 build2
|
|
|
|
|
2020-06-23 13:05:19 +00:00
|
|
|
* Tue Jun 23 2020 Martin Stransky <stransky@redhat.com> - 77.0.1-3
|
|
|
|
- Build with PGO/LTO again.
|
|
|
|
|
2020-06-03 14:44:09 +00:00
|
|
|
* Wed Jun 03 2020 Jan Horak <jhorak@redhat.com> - 77.0.1-2
|
|
|
|
- Update to 77.0.1 build1
|
|
|
|
|
2020-06-03 13:47:26 +00:00
|
|
|
* Wed Jun 03 2020 Jan Horak <jhorak@redhat.com> - 77.0.1-1
|
2020-06-03 08:50:33 +00:00
|
|
|
- Fixing pipewire patch
|
2020-06-03 13:47:26 +00:00
|
|
|
- New upstream version (77.0.1)
|
2020-06-03 08:50:33 +00:00
|
|
|
|
2020-06-02 18:54:08 +00:00
|
|
|
* Tue Jun 2 2020 Martin Stransky <stransky@redhat.com> - 77.0-2
|
|
|
|
- Rebuild with updated langpacks (rhbz#1843028).
|
|
|
|
|
2020-05-29 09:31:41 +00:00
|
|
|
* Fri May 29 2020 Martin Stransky <stransky@redhat.com> - 77.0-1
|
|
|
|
- Updated to Firefox 77.0
|
|
|
|
|
2020-05-25 20:40:31 +00:00
|
|
|
* Mon May 25 2020 Martin Stransky <stransky@redhat.com> - 76.0.1-7
|
|
|
|
- Added fix for mozbz#1632456
|
|
|
|
|
2020-05-25 13:20:03 +00:00
|
|
|
* Mon May 25 2020 Martin Stransky <stransky@redhat.com> - 76.0.1-6
|
|
|
|
- Added fix for mozbz#1634213
|
|
|
|
|
2020-05-25 12:38:58 +00:00
|
|
|
* Mon May 25 2020 Martin Stransky <stransky@redhat.com> - 76.0.1-5
|
|
|
|
- Added fix for mozbz#1619882 - video flickering when va-api is used.
|
|
|
|
|
2020-05-21 12:56:30 +00:00
|
|
|
* Thu May 21 2020 Jan Grulich <jgrulich@redhat.com> - 76.0.1-4
|
|
|
|
- Add support for PipeWire 0.3
|
|
|
|
|
2020-05-20 12:53:16 +00:00
|
|
|
* Wed May 20 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 76.0.1-3
|
|
|
|
- Build aarch64 again so aarch64 users get updates
|
|
|
|
|
2020-05-13 12:36:47 +00:00
|
|
|
* Wed May 13 2020 Martin Stransky <stransky@redhat.com> - 76.0.1-2
|
|
|
|
- Added extra va-api frames to vp8/9 decoder.
|
|
|
|
|
2020-05-08 08:21:32 +00:00
|
|
|
* Fri May 8 2020 Martin Stransky <stransky@redhat.com> - 76.0.1-1
|
|
|
|
- Updated to 76.0.1
|
|
|
|
|
2020-05-07 08:18:18 +00:00
|
|
|
* Thu May 7 2020 Martin Stransky <stransky@redhat.com> - 76.0-3
|
|
|
|
- Disable ffvpx when va-api is enabled.
|
|
|
|
|
2020-05-05 10:40:06 +00:00
|
|
|
* Tue May 05 2020 Jan Horak <jhorak@redhat.com> - 76.0-2
|
|
|
|
- Don't use google safe browsing api key for the geolocation
|
|
|
|
|
2020-05-03 19:57:54 +00:00
|
|
|
* Sun May 3 2020 Martin Stransky <stransky@redhat.com> - 76.0-1
|
|
|
|
- Updated to 76.0
|
|
|
|
|
2020-04-23 09:17:16 +00:00
|
|
|
* Thu Apr 23 2020 Martin Stransky <stransky@redhat.com> - 75.0-3
|
|
|
|
- Added fix for mozilla bug #1527976 (browser D&D)
|
|
|
|
|
2020-04-14 07:26:11 +00:00
|
|
|
* Tue Apr 14 2020 Jan Horak <jhorak@redhat.com> - 75.0-2
|
|
|
|
- Removed gconf-2.0 build requirement
|
|
|
|
|
2020-04-06 21:07:31 +00:00
|
|
|
* Mon Apr 06 2020 Martin Stransky <stransky@redhat.com> - 75.0-1
|
|
|
|
- Updated to 75.0
|
|
|
|
|
2020-04-06 13:11:14 +00:00
|
|
|
* Mon Apr 06 2020 Martin Stransky <stransky@redhat.com> - 74.0.1-3
|
|
|
|
- Added fix for mozbz#1627469
|
|
|
|
|
2020-04-06 06:30:41 +00:00
|
|
|
* Mon Apr 06 2020 Jan Horak <jhorak@redhat.com> - 74.0.1-2
|
|
|
|
- Fixing pipewire patch
|
|
|
|
|
2020-04-04 06:40:56 +00:00
|
|
|
* Sat Apr 4 2020 Martin Stransky <stransky@redhat.com> - 74.0.1-1
|
|
|
|
- Updated to latest upstream
|
|
|
|
- Added fix for mozbz#1624745
|
|
|
|
|
2020-04-01 11:18:16 +00:00
|
|
|
* Wed Apr 1 2020 Martin Stransky <stransky@redhat.com> - 74.0-14
|
|
|
|
- Added fixes to gnome shell search provider
|
|
|
|
|
2020-04-01 11:23:10 +00:00
|
|
|
* Tue Mar 31 2020 Jan Horak <jhorak@redhat.com> - 74.0-13
|
2020-03-31 19:27:02 +00:00
|
|
|
- Allow addons sideload to fix missing langpacks issues
|
2020-04-01 11:15:27 +00:00
|
|
|
|
2020-03-19 14:34:29 +00:00
|
|
|
* Thu Mar 19 2020 Martin Stransky <stransky@redhat.com> - 74.0-12
|
|
|
|
- Added fix for rhbz#1814850 by Daniel Rusek
|
|
|
|
|
2020-03-18 20:51:06 +00:00
|
|
|
* Tue Mar 17 2020 Martin Stransky <stransky@redhat.com> - 74.0-11
|
2020-03-17 21:12:22 +00:00
|
|
|
- Added fix for mozbz#1623106
|
|
|
|
|
2020-03-17 20:30:59 +00:00
|
|
|
* Tue Mar 17 2020 Martin Stransky <stransky@redhat.com> - 74.0-9
|
2020-03-17 20:28:53 +00:00
|
|
|
- Added fix for mozbz#1623060
|
|
|
|
|
2020-03-17 09:25:11 +00:00
|
|
|
* Tue Mar 17 2020 Jan Grulich <jgrulich@redhat.com> - 74-0-8
|
|
|
|
- Add support for window sharing
|
|
|
|
|
2020-03-16 13:01:31 +00:00
|
|
|
* Mon Mar 16 2020 Martin Stransky <stransky@redhat.com> - 74.0-7
|
|
|
|
- Use D-Bus remote exclusively for both X11 and Wayland backends
|
|
|
|
when WAYLAND_DISPLAY is present.
|
|
|
|
|
2020-03-13 08:39:40 +00:00
|
|
|
* Fri Mar 13 2020 Martin Stransky <stransky@redhat.com> - 74.0-6
|
|
|
|
- Added fix for mozbz#1615098
|
|
|
|
|
2020-03-12 09:32:51 +00:00
|
|
|
* Thu Mar 12 2020 Martin Stransky <stransky@redhat.com> - 74.0-5
|
|
|
|
- Added fix for mozbz#1196777
|
|
|
|
|
2020-03-10 09:29:07 +00:00
|
|
|
* Tue Mar 10 2020 Kalev Lember <klember@redhat.com> - 74.0-4
|
|
|
|
- Remove unused libIDL build dep
|
2020-03-11 09:27:13 +00:00
|
|
|
- Disabled arm due to build failures
|
2020-03-10 09:29:07 +00:00
|
|
|
|
2020-03-10 07:55:14 +00:00
|
|
|
* Tue Mar 10 2020 Martin Stransky <stransky@redhat.com> - 74.0-3
|
|
|
|
- Update to 74.0 Build 3
|
|
|
|
|
2020-03-09 11:10:02 +00:00
|
|
|
* Mon Mar 09 2020 Martin Stransky <stransky@redhat.com> - 74.0-2
|
|
|
|
- Update to 74.0 Build 2
|
|
|
|
|
2020-03-03 13:51:20 +00:00
|
|
|
* Tue Mar 03 2020 Martin Stransky <stransky@redhat.com> - 74.0-1
|
|
|
|
- Update to 74.0 Build 1
|
2020-03-04 11:30:27 +00:00
|
|
|
- Added mozbz#1609538
|
2020-03-03 13:51:20 +00:00
|
|
|
|
2020-02-24 20:45:56 +00:00
|
|
|
* Mon Feb 24 2020 Martin Stransky <stransky@redhat.com> - 73.0.1-4
|
2020-02-26 08:54:52 +00:00
|
|
|
- Using pipewire-0.2 as buildrequire
|
2020-02-24 20:28:32 +00:00
|
|
|
- Added armv7hl fixes by Gabriel Hojda
|
|
|
|
|
2020-02-24 17:24:41 +00:00
|
|
|
* Mon Feb 24 2020 Martin Stransky <stransky@redhat.com> - 73.0.1-2
|
|
|
|
- Fixed Bug 1804787 - Some .desktop menu entries unlocalized
|
|
|
|
|
2020-02-20 16:26:30 +00:00
|
|
|
* Thu Feb 20 2020 Martin Stransky <stransky@redhat.com> - 73.0.1-1
|
|
|
|
- Update to 73.0.1
|
|
|
|
|
2020-02-11 08:36:30 +00:00
|
|
|
* Tue Feb 11 2020 Jan Horak <jhorak@redhat.com> - 73.0-1
|
|
|
|
- Update to 73.0 build3
|
|
|
|
|
2020-02-04 06:21:56 +00:00
|
|
|
* Tue Feb 04 2020 Kalev Lember <klember@redhat.com> - 72.0.2-3
|
|
|
|
- Fix various issues with appdata, making the validation pass again
|
2020-02-04 06:24:53 +00:00
|
|
|
- Validate appdata during the build
|
2020-02-04 14:37:46 +00:00
|
|
|
- Make sure the release tag in appdata is in sync with the package version
|
2020-02-04 06:21:56 +00:00
|
|
|
|
2020-01-28 18:31:51 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 72.0.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-20 20:11:22 +00:00
|
|
|
* Mon Jan 20 2020 Jan Horak <jhorak@redhat.com> - 72.0.2-1
|
|
|
|
- Update to 72.0.2 build1
|
|
|
|
|
2020-01-15 17:12:50 +00:00
|
|
|
* Wed Jan 15 2020 Jan Horak <jhorak@redhat.com> - 72.0.1-2
|
|
|
|
- Added fix for wrong cursor offset of popup windows and bumped required nss
|
|
|
|
version
|
|
|
|
|
2020-01-08 11:34:48 +00:00
|
|
|
* Wed Jan 08 2020 Jan Horak <jhorak@redhat.com> - 72.0.1-1
|
|
|
|
- Update to 72.0.1 build1
|
|
|
|
|
2020-01-07 09:10:03 +00:00
|
|
|
* Mon Jan 06 2020 Jan Horak <jhorak@redhat.com> - 72.0-2
|
|
|
|
- Update to 72.0 build4
|
|
|
|
|
2020-01-03 19:20:59 +00:00
|
|
|
* Fri Jan 03 2020 Jan Horak <jhorak@redhat.com> - 72.0-1
|
|
|
|
- Update to 72.0 build3
|
|
|
|
|
2019-12-20 11:59:52 +00:00
|
|
|
* Wed Dec 18 2019 Jan Horak <jhorak@redhat.com> - 71.0-17
|
2019-12-18 12:45:26 +00:00
|
|
|
- Fix for wrong intl.accept_lang when using non en-us langpack
|
|
|
|
|
2019-12-09 18:11:23 +00:00
|
|
|
* Mon Dec 9 2019 Martin Stransky <stransky@redhat.com> - 71.0-16
|
|
|
|
- Build with asan
|
|
|
|
|
2019-12-09 09:42:56 +00:00
|
|
|
* Mon Dec 9 2019 Martin Stransky <stransky@redhat.com> - 71.0-15
|
|
|
|
- Enabled Mozilla crash reporter
|
2019-12-09 11:59:04 +00:00
|
|
|
- Enabled PGO builds
|
2019-12-09 09:42:56 +00:00
|
|
|
|
2019-12-09 09:30:47 +00:00
|
|
|
* Mon Dec 9 2019 Martin Stransky <stransky@redhat.com> - 71.0-14
|
2019-12-09 09:28:41 +00:00
|
|
|
- Updated workaround for mzbz#1601707
|
|
|
|
|
2019-12-07 08:09:04 +00:00
|
|
|
* Sat Dec 7 2019 Martin Stransky <stransky@redhat.com> - 71.0-13
|
|
|
|
- Built with -fno-lifetime-dse
|
|
|
|
|
2019-12-06 13:26:09 +00:00
|
|
|
* Fri Dec 6 2019 Martin Stransky <stransky@redhat.com> - 71.0-12
|
|
|
|
- Clang test build, should fix extension breakage
|
|
|
|
|
2019-12-06 10:20:58 +00:00
|
|
|
* Fri Dec 6 2019 Martin Stransky <stransky@redhat.com> - 71.0-11
|
|
|
|
- Added workaround for:
|
|
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=1601707
|
|
|
|
http://gcc.gnu.org/PR92831
|
|
|
|
|
2019-12-06 08:59:05 +00:00
|
|
|
* Fri Dec 6 2019 Martin Stransky <stransky@redhat.com> - 71.0-10
|
|
|
|
- Remove appdata and ship metainfo only
|
|
|
|
|
2019-12-04 17:19:48 +00:00
|
|
|
* Wed Dec 4 2019 Martin Stransky <stransky@redhat.com> - 71.0-9
|
|
|
|
- Included kiosk mode workaround (mozbz#1594738)
|
|
|
|
|
2019-12-03 06:44:23 +00:00
|
|
|
* Tue Dec 3 2019 Martin Stransky <stransky@redhat.com> - 71.0-8
|
|
|
|
- Disabled PGO due to startup crash
|
|
|
|
|
2019-12-02 13:30:35 +00:00
|
|
|
* Mon Dec 2 2019 Martin Stransky <stransky@redhat.com> - 71.0-7
|
|
|
|
- Updated to 71.0 Build 5
|
|
|
|
- Updated Gnome search provider
|
|
|
|
|
2019-11-27 20:43:03 +00:00
|
|
|
* Wed Nov 27 2019 Martin Stransky <stransky@redhat.com> - 71.0-6
|
|
|
|
- Enable Gnome search provider
|
|
|
|
|
2019-11-27 18:21:45 +00:00
|
|
|
* Wed Nov 27 2019 Martin Stransky <stransky@redhat.com> - 71.0-5
|
|
|
|
- Added fix for mozbz#1593408
|
|
|
|
- Temporary disable Gnome search provider
|
2019-11-27 08:56:52 +00:00
|
|
|
|
2019-11-26 13:23:34 +00:00
|
|
|
* Tue Nov 26 2019 Martin Stransky <stransky@redhat.com> - 71.0-2
|
|
|
|
- Enable Gnome search provider
|
|
|
|
|
2019-11-26 10:08:00 +00:00
|
|
|
* Tue Nov 26 2019 Martin Stransky <stransky@redhat.com> - 71.0-1
|
|
|
|
- Updated to 71.0 Build 2
|
|
|
|
|
2019-11-25 09:58:18 +00:00
|
|
|
* Tue Nov 19 2019 Jan Horak <jhorak@redhat.com> - 70.0.1-5
|
|
|
|
- Added fixes for missing popup and overflow widget glitches
|
2019-11-19 12:18:09 +00:00
|
|
|
|
2019-11-14 09:49:25 +00:00
|
|
|
* Mon Nov 04 2019 Jan Horak <jhorak@redhat.com> - 70.0.1-4
|
2019-11-04 08:58:01 +00:00
|
|
|
- Added fix for non-scrollable popups
|
|
|
|
|
2019-11-01 10:56:18 +00:00
|
|
|
* Fri Nov 1 2019 Martin Stransky <stransky@redhat.com> - 70.0.1-1
|
|
|
|
- Updated to 70.0.1
|
|
|
|
- Built with system-nss (reverted 70.0-2 change).
|
|
|
|
|
2019-10-31 22:40:24 +00:00
|
|
|
* Thu Oct 31 2019 Martin Stransky <stransky@redhat.com> - 70.0-2
|
|
|
|
- Switched to in-tree nss due to rhbz#1752303
|
|
|
|
|
2019-10-18 18:43:19 +00:00
|
|
|
* Tue Oct 15 2019 Martin Stransky <stransky@redhat.com> - 70.0-1
|
2020-09-22 23:12:14 +00:00
|
|
|
- Updated to 70.0
|