2019-03-12 11:32:07 +00:00
|
|
|
# Set to true if it's going to be submitted as update.
|
2019-12-09 18:11:23 +00:00
|
|
|
%global release_build 0
|
2019-12-06 13:26:09 +00:00
|
|
|
%global debug_build 0
|
2019-12-06 16:01:36 +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
|
|
|
|
2018-12-17 18:26:31 +00:00
|
|
|
# Disabled arm due to rhbz#1658940
|
2019-03-01 07:30:19 +00:00
|
|
|
ExcludeArch: armv7hl
|
2019-03-01 15:04:46 +00:00
|
|
|
# Disabled due to https://pagure.io/fedora-infrastructure/issue/7581
|
2019-05-03 06:56:06 +00:00
|
|
|
ExcludeArch: s390x
|
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
|
|
|
|
2019-11-25 09:58:18 +00:00
|
|
|
%global system_nss 1
|
2018-10-18 14:27:09 +00:00
|
|
|
%global system_ffi 1
|
2019-02-28 11:55:07 +00:00
|
|
|
%global system_libvpx 0
|
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.
|
|
|
|
%ifarch x86_64 aarch64
|
2019-03-12 11:32:07 +00:00
|
|
|
%if %{release_build}
|
2019-09-04 12:16:56 +00:00
|
|
|
%global build_with_pgo 1
|
2019-03-12 11:32:07 +00:00
|
|
|
%else
|
|
|
|
%global build_with_pgo 0
|
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
|
|
|
|
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}
|
|
|
|
%global libvpx_version 1.4.0
|
|
|
|
%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}
|
2019-09-04 12:16:56 +00:00
|
|
|
%global nss_version 3.45
|
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
|
|
|
|
%global build_with_pgo 0
|
|
|
|
%endif
|
2019-12-09 09:28:41 +00:00
|
|
|
%if %{build_with_asan}
|
|
|
|
%global pre_tag .asan
|
|
|
|
%global build_with_pgo 0
|
|
|
|
%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
|
2019-11-25 14:39:09 +00:00
|
|
|
Version: 71.0
|
2019-12-18 12:45:26 +00:00
|
|
|
Release: 17%{?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}
|
2019-12-02 13:30:35 +00:00
|
|
|
Source1: firefox-langpacks-%{version}%{?pre_version}-20191202.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
|
2019-11-26 11:33:52 +00:00
|
|
|
Source33: firefox.metainfo.appdata.xml
|
|
|
|
Source34: firefox-search-provider.ini
|
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
|
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
|
2019-09-30 08:04:35 +00:00
|
|
|
Patch228: mozilla-1583466.patch
|
2019-11-26 11:33:52 +00:00
|
|
|
Patch239: mozilla-gnome-shell-search-provider.patch
|
2019-12-02 13:30:35 +00:00
|
|
|
Patch240: mozilla-gnome-shell-search-provider-icons.patch
|
2019-12-04 17:19:48 +00:00
|
|
|
Patch241: kiosk-workaround.patch
|
2019-12-09 11:59:04 +00:00
|
|
|
Patch242: mozilla-1601707.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
|
2017-05-16 10:38:01 +00:00
|
|
|
Patch412: mozilla-1337988.patch
|
2018-04-27 07:11:21 +00:00
|
|
|
Patch415: Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch
|
2018-05-03 11:43:55 +00:00
|
|
|
Patch417: bug1375074-save-restore-x28.patch
|
2019-07-24 16:31:18 +00:00
|
|
|
Patch419: mozilla-1568569.patch
|
2019-09-12 13:24:58 +00:00
|
|
|
Patch422: mozilla-1580174-webrtc-popup.patch
|
2019-11-21 14:55:32 +00:00
|
|
|
Patch424: D53011-remote-content-disappear-fix.diff
|
|
|
|
Patch425: D53965-dropdown-missing-on-multimonitor.diff
|
2019-12-18 12:45:26 +00:00
|
|
|
Patch426: mozilla-1603112-accept-lang.patch
|
2018-04-30 11:51:36 +00:00
|
|
|
|
2018-05-25 10:50:35 +00:00
|
|
|
# Wayland specific upstream patches
|
2019-07-08 14:49:04 +00:00
|
|
|
Patch574: firefox-pipewire.patch
|
2019-09-19 13:14:15 +00:00
|
|
|
Patch590: firefox-wayland-cache-missing.patch
|
2019-11-27 10:48:57 +00:00
|
|
|
Patch591: mozilla-1593408.patch
|
2018-05-25 10:50:35 +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(libIDL-2.0)
|
|
|
|
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)
|
|
|
|
BuildRequires: pkgconfig(gconf-2.0)
|
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
|
2018-12-05 12:46:56 +00:00
|
|
|
%if 0%{?build_with_clang}
|
2018-11-13 22:47:50 +00:00
|
|
|
BuildRequires: lld
|
|
|
|
%endif
|
2018-10-08 12:09:44 +00:00
|
|
|
BuildRequires: pipewire-devel
|
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
|
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
|
2017-08-14 08:14:03 +00:00
|
|
|
BuildRequires: python2-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
|
|
|
|
Requires: nss >= 3.29.1-2.1
|
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
|
2014-09-19 08:40:44 +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
|
|
|
|
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}
|
|
|
|
%patch26 -p1 -b .icu
|
|
|
|
%endif
|
2019-10-21 13:15:55 +00:00
|
|
|
%patch46 -p1 -b .nss-version
|
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
|
2019-09-30 08:04:35 +00:00
|
|
|
%patch228 -p1 -b .mozilla-1583466
|
2019-11-27 20:43:03 +00:00
|
|
|
%patch239 -p1 -b .gnome-shell-search-provider
|
2019-12-02 13:30:35 +00:00
|
|
|
%patch240 -p1 -b .gnome-shell-search-provider-icons
|
2019-12-06 10:20:58 +00:00
|
|
|
# Workaround for kiosk mode
|
|
|
|
# https://bugzilla.mozilla.org/show_bug.cgi?id=1594738
|
|
|
|
#%patch241 -p1 -b .kiosk-workaround
|
2019-12-09 11:59:04 +00:00
|
|
|
%patch242 -p1 -b .mozilla-1601707
|
2019-11-26 11:33:52 +00:00
|
|
|
|
2016-04-28 12:40:31 +00:00
|
|
|
%patch402 -p1 -b .1196777
|
2018-04-27 07:11:21 +00:00
|
|
|
%ifarch %{arm}
|
2018-10-08 12:09:44 +00:00
|
|
|
%patch415 -p1 -b .1238661
|
2018-04-27 07:11:21 +00:00
|
|
|
%endif
|
2019-11-26 10:08:00 +00:00
|
|
|
%patch419 -p1 -b .1568569
|
|
|
|
|
2019-11-21 14:55:32 +00:00
|
|
|
# overflow widgets broken
|
|
|
|
%patch424 -p1 -b .D53011
|
|
|
|
# dropdown missing on multimonitor
|
|
|
|
%patch425 -p1 -b .D53965
|
2019-12-18 12:45:26 +00:00
|
|
|
# fix for wrong intl.accept_lang when using non en-us langpack
|
|
|
|
%patch426 -p1 -b .1603112-accept-lang
|
2017-03-07 11:59:47 +00:00
|
|
|
|
2018-05-25 10:50:35 +00:00
|
|
|
# Wayland specific upstream patches
|
2019-07-08 14:49:04 +00:00
|
|
|
%patch574 -p1 -b .firefox-pipewire
|
2019-09-19 13:14:15 +00:00
|
|
|
%patch590 -p1 -b .cache-missing
|
2019-11-27 10:48:57 +00:00
|
|
|
%patch591 -p1 -b .mozilla-1593408
|
2018-05-25 10:50:35 +00:00
|
|
|
|
2019-01-03 14:35:59 +00:00
|
|
|
# PGO patches
|
|
|
|
%patch600 -p1 -b .pgo
|
2019-11-26 10:08:00 +00:00
|
|
|
%patch601 -p1 -b .1516081
|
2019-01-03 14:35:59 +00:00
|
|
|
%patch602 -p1 -b .1516803
|
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
|
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 armv7hl
|
2018-10-22 11:29:41 +00:00
|
|
|
# ARMv7 needs that (rhbz#1426850)
|
2017-11-08 08:51:56 +00:00
|
|
|
%global optimize_flags "-g -O2 -fno-schedule-insns"
|
2018-10-22 11:29:41 +00:00
|
|
|
# Disable libaom due to rhbz#1641623
|
|
|
|
echo "ac_add_options --disable-av1" >> .mozconfig
|
2016-04-27 09:23:04 +00:00
|
|
|
%endif
|
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
|
|
|
|
|
2019-07-24 14:02:45 +00:00
|
|
|
%ifnarch %{ix86} x86_64 ppc64le
|
2014-01-09 09:56:01 +00:00
|
|
|
echo "ac_add_options --disable-webrtc" >> .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
|
|
|
|
%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
|
|
|
|
echo "ac_add_options --disable-ion" >> .mozconfig
|
|
|
|
%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
|
|
|
|
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
|
|
|
|
|
2019-01-04 13:27:42 +00:00
|
|
|
#---------------------------------------------------------------------
|
|
|
|
|
|
|
|
%build
|
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
|
|
|
|
2017-03-07 11:59:47 +00:00
|
|
|
echo "Generate big endian version of config/external/icu/data/icud58l.dat"
|
|
|
|
%if 0%{?big_endian}
|
|
|
|
./mach python intl/icu_sources_data.py .
|
|
|
|
ls -l config/external/icu/data
|
|
|
|
rm -f config/external/icu/data/icudt*l.dat
|
|
|
|
%endif
|
|
|
|
|
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
|
|
|
|
find ./ -name config.guess -exec cp /usr/lib/rpm/config.guess {} ';'
|
|
|
|
|
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
|
2018-12-06 12:46:13 +00:00
|
|
|
%if !0%{?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}
|
2018-12-13 10:45:27 +00:00
|
|
|
MOZ_LINK_FLAGS="-Wl,--no-keep-memory"
|
|
|
|
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
|
|
|
|
|
|
|
|
%if !%{build_with_clang}
|
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
|
2019-12-06 14:08:12 +00:00
|
|
|
%endif
|
2006-12-22 20:17:09 +00:00
|
|
|
|
2018-12-05 13:21:25 +00:00
|
|
|
%if 0%{?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
|
|
|
|
echo "export --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
|
2019-01-04 10:08:37 +00:00
|
|
|
echo "ac_add_options --enable-lto" >> .mozconfig
|
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
|
|
|
|
%ifarch x86_64 ppc ppc64 ppc64le aarch64
|
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
|
2006-06-15 12:14:34 +00:00
|
|
|
%endif
|
|
|
|
|
2019-12-09 09:28:41 +00:00
|
|
|
echo "export MOZ_MAKE_FLAGS=\"$MOZ_SMP_FLAGS\"" >> .mozconfig
|
|
|
|
echo "export MOZ_SERVICES_SYNC=1" >> .mozconfig
|
|
|
|
echo "export STRIP=/bin/true" >> .mozconfig
|
2018-12-12 09:48:12 +00:00
|
|
|
%if 0%{?build_with_pgo}
|
2019-09-19 08:43:42 +00:00
|
|
|
%if 0%{?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
|
|
|
|
2019-11-26 11:33:52 +00:00
|
|
|
# Install Gnome search provider files
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/metainfo
|
|
|
|
%{__cp} %{SOURCE33} %{buildroot}%{_datadir}/metainfo
|
|
|
|
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
|
|
|
|
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
|
|
|
|
%{mozappdir}/browser/chrome.manifest
|
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
|
2013-05-15 07:33:47 +00:00
|
|
|
%attr(644, root, root) %{mozappdir}/browser/blocklist.xml
|
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
|
2017-03-06 10:29:49 +00:00
|
|
|
%{mozappdir}/chrome.manifest
|
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}
|
2016-08-19 10:01:30 +00:00
|
|
|
%{mozappdir}/libfreeblpriv3.chk
|
2014-10-31 11:42:03 +00:00
|
|
|
%{mozappdir}/libnssdbm3.chk
|
|
|
|
%{mozappdir}/libsoftokn3.chk
|
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
|
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
|
|
|
|
- Updated to 70.0
|
|
|
|
|
2019-10-14 19:23:01 +00:00
|
|
|
* Mon Oct 14 2019 Martin Stransky <stransky@redhat.com> - 69.0.3-2
|
|
|
|
- Build firefox-wayland again (rhbz#1761578).
|
|
|
|
|
2019-10-10 19:56:13 +00:00
|
|
|
* Thu Oct 10 2019 Martin Stransky <stransky@redhat.com> - 69.0.3-1
|
|
|
|
- Updated to 69.0.3
|
|
|
|
|
2019-10-09 12:38:35 +00:00
|
|
|
* Wed Oct 9 2019 Martin Stransky <stransky@redhat.com> - 69.0.2-3
|
|
|
|
- Obsolete firefox-wayland when we're on wayland by default.
|
|
|
|
|
2019-10-08 12:25:09 +00:00
|
|
|
* Thu Oct 3 2019 Martin Stransky <stransky@redhat.com> - 69.0.2-2
|
|
|
|
- Added fix for mozilla#1587008 - flickering during GL resize.
|
|
|
|
|
2019-10-03 14:09:51 +00:00
|
|
|
* Thu Oct 3 2019 Martin Stransky <stransky@redhat.com> - 69.0.2-1
|
|
|
|
- Updated to 69.0.2
|
|
|
|
|
2019-09-30 08:04:35 +00:00
|
|
|
* Mon Sep 30 2019 Martin Stransky <stransky@redhat.com> - 69.0.1-5
|
|
|
|
- Updated rhbz#1754460/mzbz#1583466 - per user policy dir.
|
|
|
|
|
2019-09-24 10:37:44 +00:00
|
|
|
* Tue Sep 24 2019 Martin Stransky <stransky@redhat.com> - 69.0.1-4
|
|
|
|
- Added fix for rhbz#1754460
|
|
|
|
|
2019-09-19 13:14:15 +00:00
|
|
|
* Thu Sep 19 2019 Martin Stransky <stransky@redhat.com> - 69.0.1-3
|
|
|
|
- Updated cache-missing strategy for Wayland image cache.
|
|
|
|
|
|
|
|
* Thu Sep 19 2019 Martin Stransky <stransky@redhat.com> - 69.0.1-2
|
2019-09-19 08:43:42 +00:00
|
|
|
- Do PGO builds with X11 backend.
|
|
|
|
|
2019-09-18 10:35:04 +00:00
|
|
|
* Wed Sep 18 2019 Martin Stransky <stransky@redhat.com> - 69.0.1-1
|
|
|
|
- Updated to 69.0.1
|
|
|
|
|
2019-09-18 08:04:57 +00:00
|
|
|
* Wed Sep 18 2019 Martin Stransky <stransky@redhat.com> - 69.0-11
|
|
|
|
- Do PGO builds with Wayland backend.
|
|
|
|
|
2019-09-18 07:14:03 +00:00
|
|
|
* Wed Sep 18 2019 Martin Stransky <stransky@redhat.com> - 69.0-10
|
|
|
|
- Disabled DoH by default (rhbz#1751410),
|
|
|
|
patch by Eduardo Mínguez Pérez (eminguez).
|
|
|
|
|
2019-09-18 06:38:03 +00:00
|
|
|
* Tue Sep 17 2019 Martin Stransky <stransky@redhat.com> - 69.0-9
|
2019-09-17 19:16:42 +00:00
|
|
|
- Enable Wayland cache mode control (mozbz#1577024)
|
|
|
|
|
2019-09-17 11:22:34 +00:00
|
|
|
* Tue Sep 17 2019 Martin Stransky <stransky@redhat.com> - 69.0-7
|
|
|
|
- Added fixes for mozbz#1581748
|
|
|
|
|
2019-09-16 09:13:16 +00:00
|
|
|
* Mon Sep 16 2019 Martin Stransky <stransky@redhat.com> - 69.0-6
|
|
|
|
- Added fixes for mozbz#1579823, mozbz#1580152
|
|
|
|
|
2019-09-11 12:47:20 +00:00
|
|
|
* Wed Sep 11 2019 Martin Stransky <stransky@redhat.com> - 69.0-5
|
|
|
|
- Added fix for mozbz#1579849 - partial screen update when
|
|
|
|
page switches.
|
|
|
|
|
2019-09-11 06:35:24 +00:00
|
|
|
* Wed Sep 11 2019 Martin Stransky <stransky@redhat.com> - 69.0-4
|
|
|
|
- Added fix for mozbz#1579794 - Flickering on video playback on
|
|
|
|
4k/HiDPI displays.
|
|
|
|
|
2019-09-10 08:42:29 +00:00
|
|
|
* Mon Sep 9 2019 Martin Stransky <stransky@redhat.com> - 69.0-3
|
|
|
|
- Added fix for mozbz#1579023
|
|
|
|
|
2019-09-02 15:06:27 +00:00
|
|
|
* Mon Sep 2 2019 Martin Stransky <stransky@redhat.com> - 69.0-2
|
2019-09-02 15:03:30 +00:00
|
|
|
- Added upstream Wayland patches (mozilla-1548475, mozilla-1562827,
|
|
|
|
mozilla-1567434, mozilla-1573813, mozilla-1574036,
|
|
|
|
mozilla-1576268).
|
|
|
|
- Enable multiprocess compilation.
|
2019-09-04 12:52:50 +00:00
|
|
|
- Enable profile downgrade.
|
2019-09-06 10:28:45 +00:00
|
|
|
- Disabled ppc64le on Fedora 29 (rhbz#1749729)
|
2019-09-02 15:03:30 +00:00
|
|
|
|
2019-08-29 08:44:36 +00:00
|
|
|
* Thu Aug 29 2019 Jan Horak <jhorak@redhat.com> - 69.0-1
|
|
|
|
- Update to 69.0
|
|
|
|
|
2019-08-14 14:04:42 +00:00
|
|
|
* Wed Aug 14 2019 Jan Horak <jhorak@redhat.com> - 68.0.2-1
|
|
|
|
- Update to 68.0.2
|
|
|
|
|
2019-08-05 11:49:49 +00:00
|
|
|
* Mon Aug 5 2019 Jan Horak <jhorak@redhat.com> - 68.0.1-3
|
|
|
|
- Added workaround fix for webrtc indicator
|
2019-08-08 09:44:26 +00:00
|
|
|
- Added rust build workaround
|
2019-08-05 11:49:49 +00:00
|
|
|
|
2019-07-24 16:33:02 +00:00
|
|
|
* Wed Jul 24 2019 Martin Stransky <stransky@redhat.com> - 68.0.1-2
|
|
|
|
- Added fix for rhbz#1709840
|
2019-07-25 06:04:59 +00:00
|
|
|
- Added node js wrapper to fix koji freezes
|
|
|
|
(https://pagure.io/fedora-infrastructure/issue/8026)
|
2019-07-25 06:11:28 +00:00
|
|
|
- Updated mozbz#1512162 for ppc64le
|
2019-07-24 16:33:02 +00:00
|
|
|
|
2019-07-22 12:13:01 +00:00
|
|
|
* Mon Jul 22 2019 Martin Stransky <stransky@redhat.com> - 68.0.1-1
|
|
|
|
- Updated to 68.0.1
|
2019-07-24 14:02:45 +00:00
|
|
|
- Enabled WebRTC on ppc64le (rhbz#1732069)
|
2019-07-22 12:13:01 +00:00
|
|
|
|
2019-07-11 06:25:58 +00:00
|
|
|
* Thu Jul 11 2019 Martin Stransky <stransky@redhat.com> - 68.0-5
|
|
|
|
- Enabled aarch64 and ppc64le
|
|
|
|
|
2019-07-10 15:06:38 +00:00
|
|
|
* Wed Jul 10 2019 Martin Stransky <stransky@redhat.com> - 68.0-4
|
|
|
|
- Added fixes for aarch64 builds.
|
|
|
|
|
2019-07-09 11:27:42 +00:00
|
|
|
* Tue Jul 9 2019 Dan Horák <dan[at]danny.cz> - 68.0-3
|
|
|
|
- Fix crash on ppc64le (mozilla#1512162)
|
|
|
|
|
2019-07-08 14:49:04 +00:00
|
|
|
* Mon Jul 8 2019 Jan Horak <jhorak@redhat.com> - 68.0-2
|
|
|
|
- Update pipewire patch
|
|
|
|
|
2019-07-02 10:23:46 +00:00
|
|
|
* Tue Jul 2 2019 Martin Stransky <stransky@redhat.com> - 68.0-1
|
|
|
|
- Updated to 68.0
|
|
|
|
|
2019-06-20 17:26:20 +00:00
|
|
|
* Thu Jun 20 2019 Martin Stransky <stransky@redhat.com> - 67.0.4-1
|
|
|
|
- Updated to 67.0.4
|
|
|
|
|
2019-06-18 21:31:38 +00:00
|
|
|
* Tue Jun 18 2019 Martin Stransky <stransky@redhat.com> - 67.0.3-1
|
|
|
|
- Updated to 67.0.3
|
|
|
|
|
2019-06-11 10:57:51 +00:00
|
|
|
* Tue Jun 11 2019 Martin Stransky <stransky@redhat.com> - 67.0.2-1
|
|
|
|
- Updated to 67.0.2 Build 2
|
|
|
|
|
2019-05-23 08:12:37 +00:00
|
|
|
* Thu May 23 2019 Martin Stransky <stransky@redhat.com> - 67.0-4
|
|
|
|
- Added wayland buffer optimization (mozilla#1553747).
|
|
|
|
|
2019-05-17 05:46:20 +00:00
|
|
|
* Fri May 17 2019 Martin Stransky <stransky@redhat.com> - 67.0-3
|
|
|
|
- Use %lang() in regular builds.
|
2019-05-17 06:02:58 +00:00
|
|
|
- Updated to 67.0 Build 2
|
2019-05-17 05:46:20 +00:00
|
|
|
|
2019-05-16 14:15:57 +00:00
|
|
|
* Thu May 16 2019 Jan Horak <jhorak@redhat.com> - 67.0-2
|
|
|
|
- Removed %lang() prefix from langpacks file list due to flatpak
|
|
|
|
|
2019-05-15 14:14:03 +00:00
|
|
|
* Wed May 15 2019 Martin Stransky <stransky@redhat.com> - 67.0-1
|
|
|
|
- Updated to 67.0
|
|
|
|
|
2019-05-08 10:50:20 +00:00
|
|
|
* Wed May 8 2019 Martin Stransky <stransky@redhat.com> - 66.0.5-1
|
|
|
|
- Updated to 66.0.5
|
|
|
|
|
2019-05-05 19:54:46 +00:00
|
|
|
* Sun May 5 2019 Martin Stransky <stransky@redhat.com> - 66.0.4-1
|
|
|
|
- Updated to 66.0.4
|
|
|
|
|
2019-05-02 08:50:49 +00:00
|
|
|
* Thu May 2 2019 Martin Stransky <stransky@redhat.com> - 66.0.3-2
|
|
|
|
- Removed fix for mozbz#526293 as it's broken and does not
|
|
|
|
bring any new functionality.
|
|
|
|
|
2019-04-11 11:22:12 +00:00
|
|
|
* Thu Apr 11 2019 Martin Stransky <stransky@redhat.com> - 66.0.3-1
|
|
|
|
- Updated to 66.0.3 (Build 1)
|
|
|
|
|
2019-04-01 07:46:45 +00:00
|
|
|
* Mon Apr 1 2019 Martin Stransky <stransky@redhat.com> - 66.0.2-1
|
|
|
|
- Updated to 66.0.2 (Build 1)
|
|
|
|
- Added fixes for mozbz#1526243, mozbz#1540145
|
|
|
|
|
2019-03-28 13:23:14 +00:00
|
|
|
* Thu Mar 28 2019 Martin Stransky <stransky@redhat.com> - 66.0.1-4
|
|
|
|
- Added fix for mozbz#1539471 - wayland popups/tooltips
|
|
|
|
|
2019-03-27 09:39:04 +00:00
|
|
|
* Wed Mar 27 2019 Martin Stransky <stransky@redhat.com> - 66.0.1-3
|
|
|
|
- Added fix for mozbz#526293 - show remote locations at
|
|
|
|
file chooser dialog
|
|
|
|
|
2019-03-22 16:41:37 +00:00
|
|
|
* Fri Mar 22 2019 Martin Stransky <stransky@redhat.com> - 66.0.1-1
|
|
|
|
- Updated to 66.0.1 (Build 1)
|
|
|
|
|
2019-03-21 14:18:35 +00:00
|
|
|
* Thu Mar 21 2019 Martin Stransky <stransky@redhat.com> - 66.0-10.test
|
2019-03-22 13:54:34 +00:00
|
|
|
- Test module build, use flatpak global define
|
|
|
|
- Added fix for F31 (mozbz#1533969)
|
2019-03-21 14:18:35 +00:00
|
|
|
|
2019-03-21 12:57:09 +00:00
|
|
|
* Thu Mar 21 2019 Martin Stransky <stransky@redhat.com> - 66.0-9
|
|
|
|
- Release build
|
|
|
|
|
2019-03-21 09:17:24 +00:00
|
|
|
* Thu Mar 21 2019 Martin Stransky <stransky@redhat.com> - 66.0-8.test
|
|
|
|
- Added module specific build config
|
2019-03-21 11:19:07 +00:00
|
|
|
- Fixed mozbz#1423598 for multi-monitor setup
|
2019-03-21 09:17:24 +00:00
|
|
|
|
2019-03-20 08:30:02 +00:00
|
|
|
* Wed Mar 20 2019 Martin Stransky <stransky@redhat.com> - 66.0-7.test
|
|
|
|
- Switched to test builds
|
2019-03-20 14:53:06 +00:00
|
|
|
- Updated mozbz#1468911 patch
|
2019-03-20 08:30:02 +00:00
|
|
|
|
2019-03-18 22:00:27 +00:00
|
|
|
* Mon Mar 18 2019 Martin Stransky <stransky@redhat.com> - 66.0-6
|
|
|
|
- Build release candidate
|
|
|
|
- Disabled default Wayland backend for Fedora 30
|
|
|
|
|
2019-03-18 10:14:09 +00:00
|
|
|
* Mon Mar 18 2019 Martin Stransky <stransky@redhat.com> - 66.0-5
|
|
|
|
- Added fix for mozbz#1468911
|
|
|
|
|
2019-03-18 08:55:22 +00:00
|
|
|
* Mon Mar 18 2019 Martin Stransky <stransky@redhat.com> - 66.0-4
|
|
|
|
- Release build
|
|
|
|
|
2019-03-15 13:55:37 +00:00
|
|
|
* Fri Mar 15 2019 Martin Stransky <stransky@redhat.com> - 66.0-3
|
2019-03-15 12:49:30 +00:00
|
|
|
- Updated to 66.0 (Build 3)
|
|
|
|
- Re-enable s390x arches
|
|
|
|
- Fixed Wayland specific bugs mozbz#1535567, mozbz#1431399
|
|
|
|
|
2019-03-12 11:32:07 +00:00
|
|
|
* Tue Mar 12 2019 Martin Stransky <stransky@redhat.com> - 66.0-1
|
2019-03-15 12:49:30 +00:00
|
|
|
- Updated to 66.0 (Build 1)
|
2019-03-12 11:32:07 +00:00
|
|
|
|
2019-03-01 09:08:22 +00:00
|
|
|
* Fri Mar 1 2019 Martin Stransky <stransky@redhat.com> - 65.0.2-1
|
|
|
|
- Updated to 65.0.2
|
|
|
|
- Disabled PGO+LTO for Fedora 30
|
|
|
|
- Disabled Mozilla Crashreporter to get Wayland crashes by ABRT
|
2019-03-01 15:04:46 +00:00
|
|
|
- Disabled s390x builds due to
|
|
|
|
https://pagure.io/fedora-infrastructure/issue/7581
|
|
|
|
|
2019-03-01 09:08:22 +00:00
|
|
|
|
2019-02-28 10:57:46 +00:00
|
|
|
* Thu Feb 28 2019 Martin Stransky <stransky@redhat.com> - 65.0.1-2
|
2019-02-28 11:55:07 +00:00
|
|
|
- Enable ARBT for Fedora 29 and later to catch wayland crashes.
|
|
|
|
- Disable system libvpx for Fedora 30 and later.
|
2019-02-28 10:57:46 +00:00
|
|
|
|
2019-02-20 08:43:50 +00:00
|
|
|
* Wed Feb 20 2019 Martin Stransky <stransky@redhat.com> - 65.0.1-1
|
|
|
|
- Disabled s390x/f28 builds due to
|
|
|
|
https://pagure.io/fedora-infrastructure/issue/7581
|
|
|
|
|
2019-02-15 11:37:38 +00:00
|
|
|
* Fri Feb 15 2019 Jan Horak <jhorak@redhat.com> - 65.0.1-1
|
|
|
|
- Update to 65.0.1
|
|
|
|
|
2019-02-04 13:31:04 +00:00
|
|
|
* Mon Feb 4 2019 Martin Stransky <stransky@redhat.com> - 65.0-4
|
|
|
|
- Added fix for mozbz#1522780
|
|
|
|
|
2019-01-31 19:44:22 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 65.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-31 09:37:31 +00:00
|
|
|
* Thu Jan 31 2019 Jan Grulich <jgrulich@redhat.com> - 65.0-2
|
|
|
|
- Re-enable PipeWire support
|
|
|
|
|
2019-01-28 13:53:26 +00:00
|
|
|
* Mon Jan 28 2019 Martin Stransky <stransky@redhat.com> - 65.0-1
|
2019-03-21 14:18:35 +00:00
|
|
|
- Update to 65.0 build 2
|
2019-01-28 13:53:26 +00:00
|
|
|
|
2019-01-16 08:21:01 +00:00
|
|
|
* Wed Jan 16 2019 Martin Stransky <stransky@redhat.com> - 64.0.2-2
|
2019-01-16 08:19:57 +00:00
|
|
|
- Rebuild
|
|
|
|
|
2019-01-10 10:34:17 +00:00
|
|
|
* Thu Jan 10 2019 Jan Horak <jhorak@redhat.com> - 64.0.2-1
|
|
|
|
- Update to 64.0.2
|
|
|
|
|
2019-01-07 15:54:00 +00:00
|
|
|
* Mon Jan 7 2019 Jan Horak <jhorak@redhat.com> - 64.0-7
|
|
|
|
- Pipewire patch rebased (thanks to Tomas Popela)
|
2019-01-07 17:14:32 +00:00
|
|
|
- Enabled PGO on some arches.
|
2019-01-07 15:54:00 +00:00
|
|
|
|
2019-01-04 12:49:06 +00:00
|
|
|
* Fri Jan 4 2019 Carmen Bianca Bakker <carmenbianca@fedoraproject.org> - 64.0-6
|
|
|
|
- Changed locale detector to handle Esperanto (rhbz#1656900)
|
|
|
|
|
2018-12-21 09:38:41 +00:00
|
|
|
* Fri Dec 21 2018 Martin Stransky <stransky@redhat.com> - 64.0-5
|
|
|
|
- Test PGO build.
|
|
|
|
|
2018-12-12 09:53:09 +00:00
|
|
|
* Wed Dec 12 2018 Martin Stransky <stransky@redhat.com> - 64.0-4
|
|
|
|
- Use gcc on all platforms for official release.
|
|
|
|
|
2018-12-12 09:48:12 +00:00
|
|
|
* Wed Dec 12 2018 Martin Stransky <stransky@redhat.com> - 64.0-3
|
|
|
|
- Updated PGO build setup.
|
|
|
|
|
2018-12-11 09:10:14 +00:00
|
|
|
* Tue Dec 4 2018 Martin Stransky <stransky@redhat.com> - 64.0-2
|
2018-12-07 15:02:45 +00:00
|
|
|
- Updated to Firefox 64 (Build 3)
|
2018-12-09 10:12:03 +00:00
|
|
|
- Built with Clang on some arches.
|
2018-12-05 12:21:38 +00:00
|
|
|
|
2018-11-26 08:40:20 +00:00
|
|
|
* Mon Nov 26 2018 Martin Stransky <stransky@redhat.com> - 63.0.3-3
|
|
|
|
- [Wayland] Fixed issues with Sway compositor and wl_keyboard setup
|
|
|
|
(mozbz#1507475).
|
|
|
|
|
2018-11-21 18:28:45 +00:00
|
|
|
* Wed Nov 21 2018 Martin Stransky <stransky@redhat.com> - 63.0.3-2
|
2018-11-26 08:40:20 +00:00
|
|
|
- [Wayland] Fixed mozbz#1507475 - crash when display changes
|
|
|
|
(rhbz#1646151).
|
2018-11-21 18:28:45 +00:00
|
|
|
|
2018-11-15 09:46:10 +00:00
|
|
|
* Thu Nov 15 2018 Martin Stransky <stransky@redhat.com> - 63.0.3-1
|
|
|
|
- Updated to latest upstream (63.0.3)
|
|
|
|
|
2018-11-13 14:02:55 +00:00
|
|
|
* Tue Nov 13 2018 Martin Stransky <stransky@redhat.com> - 63.0.1-6
|
2018-11-13 22:47:50 +00:00
|
|
|
- Added an option to build with clang/llvm.
|
2018-11-14 10:06:18 +00:00
|
|
|
- Fixed debug builds.
|
|
|
|
- Fixed warnings at Wayland clipboard code.
|
2018-11-13 14:02:55 +00:00
|
|
|
|
2018-11-06 08:44:57 +00:00
|
|
|
* Tue Nov 6 2018 Martin Stransky <stransky@redhat.com> - 63.0.1-5
|
|
|
|
- Added fix for mozbz#1502457- disable Contextual Feature
|
|
|
|
Recommender/shield studies by default.
|
|
|
|
|
2018-11-05 14:38:29 +00:00
|
|
|
* Mon Nov 5 2018 Martin Stransky <stransky@redhat.com> - 63.0.1-4
|
|
|
|
- Added clipboard fix (mozbz#1504689)
|
|
|
|
|
2018-11-02 08:49:59 +00:00
|
|
|
* Fri Nov 2 2018 Dan Horak <dhorak@redhat.com> - 63.0.1-3
|
|
|
|
- Added fixes for ppc64le
|
|
|
|
|
2018-11-01 13:50:31 +00:00
|
|
|
* Thu Nov 1 2018 Martin Stransky <stransky@redhat.com> - 63.0.1-2
|
|
|
|
- Fixed typo on man page (rhbz#1643766)
|
|
|
|
|
2018-11-01 09:32:12 +00:00
|
|
|
* Thu Nov 1 2018 Martin Stransky <stransky@redhat.com> - 63.0.1-1
|
|
|
|
- Updated to latest upstream (63.0.1 build 4)
|
|
|
|
|
2018-10-23 07:53:43 +00:00
|
|
|
* Tue Oct 23 2018 Martin Stransky <stransky@redhat.com> - 63.0-2
|
|
|
|
- Updated to latest upstream (63.0 build 2)
|
|
|
|
|
2018-10-18 11:43:49 +00:00
|
|
|
* Thu Oct 18 2018 Martin Stransky <stransky@redhat.com> - 63.0-1
|
|
|
|
- Updated to latest upstream (63.0)
|
|
|
|
- Updated PipeWire patch
|
|
|
|
|
2018-10-09 14:03:26 +00:00
|
|
|
* Tue Oct 9 2018 Martin Stransky <stransky@redhat.com> - 62.0.3-4
|
|
|
|
- Added fix for mozbz#1447775 - wrong dropspace sizing.
|
|
|
|
|
2018-10-09 11:06:45 +00:00
|
|
|
* Tue Oct 9 2018 Martin Stransky <stransky@redhat.com> - 62.0.3-3
|
|
|
|
- Added fix for mozbz#1493081 - popups incorrectly placed and sized.
|
|
|
|
|
2018-10-08 12:09:44 +00:00
|
|
|
* Mon Oct 8 2018 Martin Stransky <stransky@redhat.com> - 62.0.3-2
|
|
|
|
- Added pipewire patch (mozbz#1496359)
|
|
|
|
- Added Wayland patches from Firefox 63
|
|
|
|
- Enable Wayland backed by default on Fedora 30
|
|
|
|
|
2018-10-02 09:02:19 +00:00
|
|
|
* Tue Oct 2 2018 Martin Stransky <stransky@redhat.com> - 62.0.3-1
|
|
|
|
- Updated to latest upstream (62.0.3)
|
|
|
|
|
2018-09-26 12:07:12 +00:00
|
|
|
* Wed Sep 26 2018 Martin Stransky <stransky@redhat.com> - 62.0.2-3
|
|
|
|
- Enabled DBus remote for all Gtk+ backends
|
|
|
|
- Removed obsoleted patches
|
|
|
|
|
|
|
|
* Tue Sep 25 2018 Martin Stransky <stransky@redhat.com> - 62.0.2-2
|
2018-09-25 10:53:34 +00:00
|
|
|
- Disable workaround for mozbz#1342344 - GFX glitches when building
|
|
|
|
with -O3/gcc 7.2
|
|
|
|
|
2018-09-24 12:29:35 +00:00
|
|
|
* Mon Sep 24 2018 Jan Horak <jhorak@redhat.com> - 62.0.2-1
|
|
|
|
- Update to 62.0.2
|
|
|
|
|
2018-09-17 09:10:49 +00:00
|
|
|
* Mon Sep 17 2018 Martin Stransky <stransky@redhat.com> - 62.0-3
|
|
|
|
- Added spellchecker.dictionary_path pref pointer to /usr/share/myspell.
|
|
|
|
Thanks to Peter Oliver (rhbz#1627837)
|
|
|
|
|
2018-09-04 09:30:43 +00:00
|
|
|
* Tue Sep 4 2018 Martin Stransky <stransky@redhat.com> - 62.0-2
|
|
|
|
- Update to 62.0 (Build 2)
|
|
|
|
|
2018-08-28 10:40:57 +00:00
|
|
|
* Tue Aug 28 2018 Martin Stransky <stransky@redhat.com> - 62.0-1
|
|
|
|
- Update to 62.0
|
|
|
|
|
2018-08-15 08:34:51 +00:00
|
|
|
* Wed Aug 15 2018 Ondrej Zoder <ozoder@redhat.com> - 61.0.2-3
|
|
|
|
- Added patches for mozbz#1427700 and mozbz#1463809
|
|
|
|
|
2018-08-13 10:56:21 +00:00
|
|
|
* Mon Aug 13 2018 Ondrej Zoder <ozoder@redhat.com> - 61.0.2-2
|
|
|
|
- Updated symbolic icon
|
|
|
|
|
2018-08-09 08:48:00 +00:00
|
|
|
* Thu Aug 9 2018 Martin Stransky <stransky@redhat.com> - 61.0.2-1
|
|
|
|
- Update to 61.0.2
|
|
|
|
|
2018-08-01 09:10:56 +00:00
|
|
|
* Wed Aug 1 2018 Ondrej Zoder <ozoder@redhat.com> - 61.0.1-4
|
|
|
|
- Fixed rhbz#1610428
|
|
|
|
|
2018-07-17 08:31:55 +00:00
|
|
|
* Tue Jul 17 2018 Ondrej Zoder <ozoder@redhat.com> - 61.0.1-3
|
|
|
|
- Bump release
|
|
|
|
|
2018-07-13 00:35:07 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 61.0.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-10 11:00:59 +00:00
|
|
|
* Tue Jul 10 2018 Ondrej Zoder <ozoder@redhat.com> - 61.0.1
|
|
|
|
- Update to 61.0.1
|
|
|
|
|
2018-06-25 10:11:05 +00:00
|
|
|
* Mon Jun 25 2018 Martin Stransky <stransky@redhat.com> - 61.0-4
|
|
|
|
- Disabled mozbz#1424422 as it's broken.
|
|
|
|
|
2018-06-22 08:20:35 +00:00
|
|
|
* Fri Jun 22 2018 Martin Stransky <stransky@redhat.com> - 61.0-3
|
|
|
|
- Update to 61.0 Build 3
|
|
|
|
|
2018-06-21 11:00:16 +00:00
|
|
|
* Thu Jun 21 2018 Martin Stransky <stransky@redhat.com> - 61.0-2
|
|
|
|
- Disabled system hunspell due to rhbz#1593494
|
|
|
|
|
2018-06-19 09:35:42 +00:00
|
|
|
* Tue Jun 19 2018 Martin Stransky <stransky@redhat.com> - 61.0-1
|
|
|
|
- Updated to 61.0
|
|
|
|
- Created firefox-wayland subpackage with wayland launcher.
|
|
|
|
|
2018-06-11 09:17:05 +00:00
|
|
|
* Mon Jun 11 2018 Jan Horak <jhorak@redhat.com> - 60.0.2-1
|
|
|
|
- Update to 60.0.2
|
|
|
|
|
2018-06-04 11:41:12 +00:00
|
|
|
* Mon Jun 4 2018 Martin Stransky <stransky@redhat.com> - 60.0.1-6
|
|
|
|
- Fixed mozbz#1466473, rhbz#1585300 - Fix GL detection.
|
|
|
|
- Fixed desktop file names (rhbz#1585369).
|
|
|
|
|
2018-05-30 20:05:15 +00:00
|
|
|
* Wed May 30 2018 Martin Stransky <stransky@redhat.com> - 60.0.1-5
|
|
|
|
- Added workaround for mozbz#1464823 which makes GL layer
|
|
|
|
compositor usable on Wayland.
|
|
|
|
|
2018-05-29 12:37:47 +00:00
|
|
|
* Tue May 29 2018 Martin Stransky <stransky@redhat.com> - 60.0.1-4
|
|
|
|
- Added fix for mozbz#1464808 - Set default D&D action to move
|
|
|
|
on Wayland.
|
|
|
|
|
2018-05-25 13:23:41 +00:00
|
|
|
* Fri May 25 2018 Martin Stransky <stransky@redhat.com> - 60.0.1-3
|
|
|
|
- Added fix for mozbz#1436242 (rhbz#1577277) - Firefox IPC crashes.
|
2018-05-25 13:54:30 +00:00
|
|
|
- Added fix for mozbz#1462640 - Sandbox disables eglGetDisplay()
|
|
|
|
call on Wayland/EGL backend.
|
2018-05-25 13:23:41 +00:00
|
|
|
|
2018-05-25 10:50:35 +00:00
|
|
|
* Fri May 25 2018 Martin Stransky <stransky@redhat.com> - 60.0.1-2
|
|
|
|
- Enable Wayland backend.
|
|
|
|
|
2018-05-23 12:41:06 +00:00
|
|
|
* Wed May 23 2018 Jan Horak <jhorak@redhat.com> - 60.0.1-1
|
|
|
|
- Update to 60.0.1
|
|
|
|
|
2018-05-16 11:53:39 +00:00
|
|
|
* Wed May 16 2018 Martin Stransky <stransky@redhat.com> - 60.0-6
|
|
|
|
- Added patch from rhbz#1498561 - second arch (ppc*) crashes.
|
|
|
|
|
2018-05-16 10:08:20 +00:00
|
|
|
* Wed May 16 2018 Martin Stransky <stransky@redhat.com> - 60.0-5
|
|
|
|
- Disabled jemalloc on second arches.
|
|
|
|
|
2018-05-07 14:36:17 +00:00
|
|
|
* Thu May 3 2018 Martin Stransky <stransky@redhat.com> - 60.0-4
|
|
|
|
- Updated to Firefox 60 build 2
|
|
|
|
|
2018-05-03 11:43:55 +00:00
|
|
|
* Thu May 3 2018 Martin Stransky <stransky@redhat.com> - 60.0-3
|
|
|
|
- Added patch from mozbz#1375074 - fixes aarch64 baseline JIT crashes
|
|
|
|
|
2018-05-03 11:25:19 +00:00
|
|
|
* Thu May 3 2018 Martin Stransky <stransky@redhat.com> - 60.0-2
|
|
|
|
- Make Wayland backend optional and disable it by default due to WebGL issues.
|
|
|
|
|
2018-05-02 11:19:18 +00:00
|
|
|
* Wed May 2 2018 Martin Stransky <stransky@redhat.com> - 60.0-1
|
2018-05-02 11:12:34 +00:00
|
|
|
- Update to Firefox 60 build 1
|
|
|
|
- Ship firefox-wayland launch script
|
|
|
|
|
2018-04-30 12:57:16 +00:00
|
|
|
* Mon Apr 30 2018 Martin Stransky <stransky@redhat.com> - 60.0-0.5
|
|
|
|
- Build with Wayland backend enabled.
|
|
|
|
|
2018-04-30 12:26:28 +00:00
|
|
|
* Mon Apr 30 2018 Martin Stransky <stransky@redhat.com> - 60.0-0.4
|
2018-04-30 10:07:49 +00:00
|
|
|
- Added patches for correct popups position at CSD mode (mozilla-1457691).
|
|
|
|
|
2018-04-27 08:45:34 +00:00
|
|
|
* Fri Apr 27 2018 Martin Stransky <stransky@redhat.com> - 60.0-0.2
|
|
|
|
- Update to 60.0 Beta 16
|
|
|
|
|
2018-04-24 09:33:36 +00:00
|
|
|
* Tue Apr 24 2018 Martin Stransky <stransky@redhat.com> - 60.0-0.1
|
2018-04-26 10:10:52 +00:00
|
|
|
- Update to 60.0 Beta 15
|