2019-03-12 11:32:07 +00:00
|
|
|
# Set to true if it's going to be submitted as update.
|
2020-06-23 13:05:19 +00:00
|
|
|
%global release_build 1
|
2019-12-06 13:26:09 +00:00
|
|
|
%global debug_build 0
|
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
|
2019-03-12 11:32:07 +00:00
|
|
|
|
2020-07-30 07:10:04 +00:00
|
|
|
# Temporary disabled, filed as rhbz#1862012
|
2020-09-13 17:51:45 +00:00
|
|
|
%if 0%{?fedora} == 33
|
|
|
|
ExcludeArch: ppc64le
|
|
|
|
%endif
|
2019-03-01 15:04:46 +00:00
|
|
|
# Disabled due to https://pagure.io/fedora-infrastructure/issue/7581
|
2020-09-17 06:05:13 +00:00
|
|
|
ExcludeArch: s390x
|
2020-08-25 05:58:41 +00:00
|
|
|
# Temporary disabled, filed as rhbz#1872111
|
2020-09-17 06:05:13 +00:00
|
|
|
ExcludeArch: aarch64
|
2020-09-13 17:51:45 +00:00
|
|
|
# Temporary disabled, filed as rhbz#1878519
|
|
|
|
%if 0%{?fedora} > 32
|
|
|
|
ExcludeArch: armv7hl
|
|
|
|
%endif
|
2018-12-17 18:26:31 +00:00
|
|
|
|
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}
|
|
|
|
%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
|
2019-12-09 18:05:40 +00:00
|
|
|
|
2020-05-04 16:52:06 +00:00
|
|
|
%global system_nss 1
|
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 09:48:12 +00:00
|
|
|
%global run_tests 0
|
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
|
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-08-18 06:36:12 +00:00
|
|
|
%global build_with_pgo 1
|
2019-01-04 10:08:37 +00:00
|
|
|
%endif
|
2019-09-19 08:43:42 +00:00
|
|
|
# Build PGO builds on Wayland backend
|
|
|
|
%global pgo_wayland 0
|
2019-03-01 09:08:22 +00:00
|
|
|
%endif
|
2019-03-18 22:00:27 +00:00
|
|
|
%if 0%{?fedora} > 30
|
2018-10-08 12:09:44 +00:00
|
|
|
%global wayland_backend_default 1
|
|
|
|
%endif
|
2019-03-25 12:51:39 +00:00
|
|
|
%if 0%{?flatpak}
|
|
|
|
%global wayland_backend_default 1
|
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
|
|
|
|
2020-02-24 20:28:32 +00:00
|
|
|
%ifarch armv7hl
|
|
|
|
%define _unpackaged_files_terminate_build 0
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%endif
|
|
|
|
|
2018-12-12 09:48:12 +00:00
|
|
|
%if 0%{?build_with_pgo}
|
|
|
|
%global use_xvfb 1
|
|
|
|
%global build_tests 1
|
|
|
|
%endif
|
|
|
|
|
2019-12-06 14:36:19 +00:00
|
|
|
%if 0%{?run_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
|
|
|
|
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}
|
2019-09-04 12:16:56 +00:00
|
|
|
%global nspr_version 4.21
|
2017-08-29 11:01:25 +00:00
|
|
|
%global nspr_build_version %{nspr_version}
|
2020-09-17 06:32:24 +00:00
|
|
|
%global nss_version 3.56
|
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
|
|
|
|
2011-09-27 16:18:08 +00:00
|
|
|
%global mozappdir %{_libdir}/%{name}
|
2014-01-23 09:26:08 +00:00
|
|
|
%global mozappdirdev %{_libdir}/%{name}-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
|
2019-03-12 11:32:07 +00:00
|
|
|
|
2007-12-09 11:35:10 +00:00
|
|
|
Summary: Mozilla Firefox Web browser
|
2004-09-09 04:44:49 +00:00
|
|
|
Name: firefox
|
2020-09-15 12:55:10 +00:00
|
|
|
Version: 81.0
|
2020-09-22 14:47:07 +00:00
|
|
|
Release: 4%{?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}
|
2020-09-21 08:31:36 +00:00
|
|
|
Source1: firefox-langpacks-%{version}%{?pre_version}-20200921.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
|
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-03-07 11:59:47 +00:00
|
|
|
Patch26: build-icu-big-endian.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-08-29 11:01:25 +00:00
|
|
|
# Always feel lucky for unsupported platforms:
|
|
|
|
# https://bugzilla.mozilla.org/show_bug.cgi?id=1347128
|
|
|
|
Patch37: build-jit-atomic-always-lucky.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-09-02 15:03:30 +00:00
|
|
|
#Patch45: build-disable-multijobs-rust.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-03-03 13:51:20 +00:00
|
|
|
#Patch50: Bug-1610814-Fix-NEON-compile-error-with-gcc-and-RGB-.patch
|
2020-09-13 17:58:04 +00:00
|
|
|
Patch53: firefox-gcc-build.patch
|
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
|
2018-11-15 09:46:10 +00:00
|
|
|
Patch227: firefox-locale-debug.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-15 17:27:27 +00:00
|
|
|
Patch403: mozilla-1656505-1.patch
|
|
|
|
Patch404: mozilla-1656505-2.patch
|
2020-09-17 06:05:13 +00:00
|
|
|
Patch405: mozilla-1665324.patch
|
|
|
|
Patch406: mozilla-1665329.patch
|
2018-04-30 11:51:36 +00:00
|
|
|
|
2018-05-25 10:50:35 +00:00
|
|
|
# Wayland specific upstream patches
|
2020-05-21 12:56:30 +00:00
|
|
|
Patch574: firefox-pipewire-0-2.patch
|
|
|
|
Patch575: firefox-pipewire-0-3.patch
|
2018-05-25 10:50:35 +00:00
|
|
|
|
2020-05-05 12:01:50 +00:00
|
|
|
#VA-API patches
|
2020-05-07 08:18:18 +00:00
|
|
|
Patch584: firefox-disable-ffvpx-with-vapi.patch
|
2020-05-13 12:36:47 +00:00
|
|
|
Patch585: firefox-vaapi-extra-frames.patch
|
2020-05-05 12:01:50 +00:00
|
|
|
|
2019-01-03 14:35:59 +00:00
|
|
|
# PGO/LTO patches
|
|
|
|
Patch600: pgo.patch
|
|
|
|
Patch601: mozilla-1516081.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
|
2017-08-29 11:01:25 +00:00
|
|
|
Requires: p11-kit-trust
|
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
|
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-03-02 16:56:48 +00:00
|
|
|
BuildRequires: nss-devel >= 3.29.1-2.1
|
2020-01-15 17:12:50 +00:00
|
|
|
Requires: nss >= 3.48.0
|
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
|
|
|
|
%if 0%{?pgo_wayland}
|
2019-09-18 08:04:57 +00:00
|
|
|
BuildRequires: mutter
|
2014-09-19 08:40:44 +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
|
|
|
|
|
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
|
|
|
|
2014-01-09 09:56:01 +00:00
|
|
|
%if %{enable_mozilla_crashreporter}
|
|
|
|
%global moz_debug_prefix %{_prefix}/lib/debug
|
|
|
|
%global moz_debug_dir %{moz_debug_prefix}%{mozappdir}
|
|
|
|
%global uname_m %(uname -m)
|
|
|
|
%global symbols_file_name %{name}-%{version}.en-US.%{_os}-%{uname_m}.crashreporter-symbols.zip
|
|
|
|
%global symbols_file_path %{moz_debug_dir}/%{symbols_file_name}
|
|
|
|
%global _find_debuginfo_opts -p %{symbols_file_path} -o debugcrashreporter.list
|
|
|
|
%global crashreporter_pkg_name mozilla-crashreporter-%{name}-debuginfo
|
|
|
|
%package -n %{crashreporter_pkg_name}
|
|
|
|
Summary: Debugging symbols used by Mozilla's crash reporter servers
|
|
|
|
%description -n %{crashreporter_pkg_name}
|
2014-09-19 08:40:44 +00:00
|
|
|
This package provides debug information for Firefox, for use by
|
2014-01-09 09:56:01 +00:00
|
|
|
Mozilla's crash reporter servers. If you are trying to locally
|
|
|
|
debug %{name}, you want to install %{name}-debuginfo instead.
|
|
|
|
%files -n %{crashreporter_pkg_name} -f debugcrashreporter.list
|
|
|
|
%endif
|
2004-09-09 04:44:49 +00:00
|
|
|
|
2018-12-21 09:38:41 +00:00
|
|
|
%if 0%{?wayland_backend_default}
|
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
|
|
|
%endif
|
|
|
|
|
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
|
|
|
|
|
2014-09-19 08:40:44 +00:00
|
|
|
%if %{run_tests}
|
|
|
|
%global testsuite_pkg_name mozilla-%{name}-testresults
|
|
|
|
%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}
|
|
|
|
/test_results
|
|
|
|
%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
|
|
|
|
2017-05-16 10:38:01 +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-03-12 11:32:07 +00:00
|
|
|
#%patch37 -p1 -b .jit-atomic-lucky
|
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
|
2019-09-02 15:03:30 +00:00
|
|
|
#%patch45 -p1 -b .build-disable-multijobs-rust
|
2019-07-24 16:31:18 +00:00
|
|
|
# Patch for big endian platforms only
|
|
|
|
%if 0%{?big_endian}
|
2020-09-13 17:31:59 +00:00
|
|
|
#%patch26 -p1 -b .icu
|
2019-07-24 16:31:18 +00:00
|
|
|
%endif
|
2020-07-28 08:23:23 +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-03-03 13:51:20 +00:00
|
|
|
#%patch50 -p1 -b .build-arm-SwizzleNEON
|
2020-09-13 17:58:04 +00:00
|
|
|
%patch53 -p1 -b .firefox-gcc-build
|
2015-03-10 19:29:26 +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
|
2018-11-15 09:46:10 +00:00
|
|
|
%patch227 -p1 -b .locale-debug
|
2020-04-01 11:15:27 +00:00
|
|
|
|
2016-04-28 12:40:31 +00:00
|
|
|
%patch402 -p1 -b .1196777
|
2020-09-15 17:27:27 +00:00
|
|
|
%patch403 -p1 -b .1656505-1
|
|
|
|
%patch404 -p1 -b .1656505-2
|
2020-09-17 06:05:13 +00:00
|
|
|
%patch405 -p1 -b .1665324
|
|
|
|
%patch406 -p1 -b .1665329
|
2019-11-26 10:08:00 +00:00
|
|
|
|
2018-05-25 10:50:35 +00:00
|
|
|
# Wayland specific upstream patches
|
2020-05-21 12:56:30 +00:00
|
|
|
%if 0%{?fedora} < 32
|
|
|
|
%patch574 -p1 -b .firefox-pipewire-0-2
|
|
|
|
%else
|
|
|
|
%patch575 -p1 -b .firefox-pipewire-0-3
|
|
|
|
%endif
|
2018-05-25 10:50:35 +00:00
|
|
|
|
2020-05-07 08:18:18 +00:00
|
|
|
%patch584 -p1 -b .firefox-disable-ffvpx-with-vapi
|
2020-05-13 12:36:47 +00:00
|
|
|
%patch585 -p1 -b .firefox-vaapi-extra-frames
|
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
|
2020-05-03 19:57:54 +00:00
|
|
|
#fix
|
|
|
|
#%patch601 -p1 -b .1516081
|
2019-01-03 14:35:59 +00:00
|
|
|
%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
|
|
|
|
|
2014-01-09 13:26:22 +00:00
|
|
|
%if !%{enable_mozilla_crashreporter}
|
|
|
|
echo "ac_add_options --disable-crashreporter" >> .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
|
|
|
|
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
|
2018-03-07 12:44:51 +00:00
|
|
|
|
2019-01-04 13:27:42 +00:00
|
|
|
#---------------------------------------------------------------------
|
|
|
|
|
|
|
|
%build
|
2020-09-22 14:47:07 +00:00
|
|
|
# Disable LTO to work around firefox build failing in F33+
|
|
|
|
%define _lto_cflags %{nil}
|
|
|
|
|
2018-10-18 14:27:09 +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
|
|
|
|
%endif
|
2019-10-22 10:04:14 +00:00
|
|
|
cd -
|
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
|
2018-12-11 09:33:29 +00:00
|
|
|
%ifarch %{arm} %{ix86}
|
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-15 12:55:10 +00:00
|
|
|
# TODO - Enable when new gcc hits build roots
|
|
|
|
#echo "ac_add_options --enable-lto" >> .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.
|
2018-12-17 09:35:21 +00:00
|
|
|
%ifarch %{ix86}
|
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-08-20 18:43:39 +00:00
|
|
|
%ifarch x86_64 ppc ppc64 ppc64le %{arm}
|
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-08-25 05:58:41 +00:00
|
|
|
#[ "$RPM_BUILD_NCPUS" -ge 16 ] && MOZ_SMP_FLAGS=-j16
|
|
|
|
#[ "$RPM_BUILD_NCPUS" -ge 24 ] && MOZ_SMP_FLAGS=-j24
|
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-08-18 06:36:12 +00:00
|
|
|
%if %{build_with_pgo}
|
|
|
|
%if %{pgo_wayland}
|
2019-09-18 08:04:57 +00:00
|
|
|
xvfb-run mutter --wayland --nested &
|
|
|
|
if [ -z "$WAYLAND_DISPLAY" ]; then
|
|
|
|
export WAYLAND_DISPLAY=wayland-0
|
|
|
|
else
|
|
|
|
export WAYLAND_DISPLAY=wayland-1
|
|
|
|
fi
|
2019-09-19 08:43:42 +00:00
|
|
|
MOZ_ENABLE_WAYLAND=1 ./mach build 2>&1 | cat -
|
|
|
|
%else
|
|
|
|
GDK_BACKEND=x11 xvfb-run ./mach build 2>&1 | cat -
|
|
|
|
%endif
|
2018-12-12 09:48:12 +00:00
|
|
|
%else
|
2019-08-08 09:44:26 +00:00
|
|
|
./mach build -v 2>&1 | cat -
|
2018-12-12 09:48:12 +00:00
|
|
|
%endif
|
2014-01-09 09:56:01 +00:00
|
|
|
|
|
|
|
# create debuginfo for crash-stats.mozilla.com
|
|
|
|
%if %{enable_mozilla_crashreporter}
|
|
|
|
make -C objdir buildsymbols
|
|
|
|
%endif
|
2004-09-09 04:44:49 +00:00
|
|
|
|
2014-09-19 08:40:44 +00:00
|
|
|
%if %{?run_tests}
|
|
|
|
%if %{?system_nss}
|
2019-03-21 14:18:35 +00:00
|
|
|
ln -s %{_prefix}/bin/certutil objdir/dist/bin/certutil
|
|
|
|
ln -s %{_prefix}/bin/pk12util objdir/dist/bin/pk12util
|
2014-09-19 08:40:44 +00:00
|
|
|
|
|
|
|
%endif
|
|
|
|
mkdir test_results
|
|
|
|
./mach --log-no-times check-spidermonkey &> test_results/check-spidermonkey || true
|
2014-09-25 14:30:54 +00:00
|
|
|
./mach --log-no-times check-spidermonkey &> test_results/check-spidermonkey-2nd-run || true
|
2014-09-19 08:40:44 +00:00
|
|
|
./mach --log-no-times cppunittest &> test_results/cppunittest || true
|
|
|
|
xvfb-run ./mach --log-no-times crashtest &> test_results/crashtest || true
|
|
|
|
./mach --log-no-times gtest &> test_results/gtest || true
|
|
|
|
xvfb-run ./mach --log-no-times jetpack-test &> test_results/jetpack-test || true
|
2014-09-25 14:30:54 +00:00
|
|
|
# not working right now ./mach marionette-test &> test_results/marionette-test || true
|
2014-09-19 08:40:44 +00:00
|
|
|
xvfb-run ./mach --log-no-times mochitest-a11y &> test_results/mochitest-a11y || true
|
|
|
|
xvfb-run ./mach --log-no-times mochitest-browser &> test_results/mochitest-browser || true
|
|
|
|
xvfb-run ./mach --log-no-times mochitest-chrome &> test_results/mochitest-chrome || true
|
|
|
|
xvfb-run ./mach --log-no-times mochitest-devtools &> test_results/mochitest-devtools || true
|
|
|
|
xvfb-run ./mach --log-no-times mochitest-plain &> test_results/mochitest-plain || true
|
|
|
|
xvfb-run ./mach --log-no-times reftest &> test_results/reftest || true
|
2014-09-25 14:30:54 +00:00
|
|
|
xvfb-run ./mach --log-no-times webapprt-test-chrome &> test_results/webapprt-test-chrome || true
|
|
|
|
xvfb-run ./mach --log-no-times webapprt-test-content &> test_results/webapprt-test-content || true
|
2014-09-19 08:40:44 +00:00
|
|
|
./mach --log-no-times webidl-parser-test &> test_results/webidl-parser-test || true
|
|
|
|
xvfb-run ./mach --log-no-times xpcshell-test &> test_results/xpcshell-test || true
|
|
|
|
%if %{?system_nss}
|
|
|
|
rm -f objdir/dist/bin/certutil
|
2014-09-25 14:30:54 +00:00
|
|
|
rm -f objdir/dist/bin/pk12util
|
2014-09-19 08:40:44 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%endif
|
2004-09-09 04:44:49 +00:00
|
|
|
#---------------------------------------------------------------------
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
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-12-21 09:38:41 +00:00
|
|
|
%if 0%{?wayland_backend_default}
|
2018-10-08 12:09:44 +00:00
|
|
|
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE31}
|
2018-05-25 10:50:35 +00:00
|
|
|
%endif
|
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
|
2018-12-21 09:38:41 +00:00
|
|
|
%if 0%{?wayland_backend_default}
|
2019-02-04 13:56:47 +00:00
|
|
|
%global wayland_default true
|
2018-10-08 12:09:44 +00:00
|
|
|
%else
|
2019-02-04 13:56:47 +00:00
|
|
|
%global wayland_default false
|
2018-10-08 12:09:44 +00:00
|
|
|
%endif
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__rm} -rf %{buildroot}%{_bindir}/firefox
|
2019-03-21 14:18:35 +00:00
|
|
|
%{__sed} -e 's/__DEFAULT_WAYLAND__/%{wayland_default}/' \
|
2019-04-01 08:27:34 +00:00
|
|
|
-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
|
|
|
|
|
2018-12-21 09:38:41 +00:00
|
|
|
%if 0%{?wayland_backend_default}
|
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-10-15 09:07:21 +00:00
|
|
|
%endif
|
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
|
|
|
|
2010-06-23 09:10:39 +00:00
|
|
|
# Enable crash reporter for Firefox application
|
2013-06-28 14:33:48 +00:00
|
|
|
%if %{enable_mozilla_crashreporter}
|
2017-11-08 09:35:53 +00:00
|
|
|
sed -i -e "s/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/" %{buildroot}/%{mozappdir}/application.ini
|
2014-04-22 15:02:03 +00:00
|
|
|
# Add debuginfo for crash-stats.mozilla.com
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__mkdir_p} %{buildroot}/%{moz_debug_dir}
|
|
|
|
%{__cp} objdir/dist/%{symbols_file_name} %{buildroot}/%{moz_debug_dir}
|
2010-06-23 09:10:39 +00:00
|
|
|
%endif
|
|
|
|
|
2014-09-19 08:40:44 +00:00
|
|
|
%if %{run_tests}
|
|
|
|
# Add debuginfo for crash-stats.mozilla.com
|
2017-11-08 09:35:53 +00:00
|
|
|
%{__mkdir_p} %{buildroot}/test_results
|
|
|
|
%{__cp} test_results/* %{buildroot}/test_results
|
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-02-04 14:37:46 +00:00
|
|
|
%{__sed} -e 's/__VERSION__/%{version}/' %{SOURCE33} > %{buildroot}%{_datadir}/metainfo/firefox.appdata.xml
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
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
|
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
|
2013-06-28 14:33:48 +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
|
2010-06-23 09:10:39 +00:00
|
|
|
%endif
|
2014-01-09 09:56:01 +00:00
|
|
|
%{mozappdir}/*.so
|
2015-10-29 14:27:54 +00:00
|
|
|
%{mozappdir}/gtk2/*.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
|
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-21 08:31:36 +00:00
|
|
|
- Updated to 70.0
|