|
|
9eec91 |
%global disable_toolsets 0
|
|
|
12e947 |
# Produce a build suitable for release, i.e. use PGO/LTO. You can turn it off
|
|
|
12e947 |
# when building locally to reduce build time.
|
|
|
12e947 |
%global release_build 1
|
|
|
9eec91 |
|
|
|
12e947 |
# Run Mozilla test suite as a part of compile rpm section. Turn off when
|
|
|
12e947 |
# building locally and don't want to spend 24 hours waiting for results.
|
|
|
12e947 |
%global run_firefox_tests 0
|
|
|
12e947 |
%ifarch x86_64 %{ix86}
|
|
|
12e947 |
%global run_firefox_tests 0
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
# Don't create debuginfo rpm packages. It reduces build time as
|
|
|
12e947 |
# exctracting debuginfo takes long time.
|
|
|
12e947 |
%global create_debuginfo 1
|
|
|
12e947 |
|
|
|
9eec91 |
%{lua:
|
|
|
9eec91 |
function dist_to_rhel_minor(str, start)
|
|
|
9eec91 |
match = string.match(str, ".module%+el8.%d+")
|
|
|
9eec91 |
if match then
|
|
|
9eec91 |
return string.sub(match, 13)
|
|
|
9eec91 |
end
|
|
|
9eec91 |
match = string.match(str, ".el8_%d+")
|
|
|
9eec91 |
if match then
|
|
|
9eec91 |
return string.sub(match, 6)
|
|
|
9eec91 |
end
|
|
|
9eec91 |
match = string.match(str, ".el8")
|
|
|
9eec91 |
if match then
|
|
|
a3db09 |
return 7
|
|
|
9eec91 |
end
|
|
|
9eec91 |
return -1
|
|
|
9eec91 |
end}
|
|
|
9eec91 |
|
|
|
9eec91 |
%global rhel_minor_version %{lua:print(dist_to_rhel_minor(rpm.expand("%dist")))}
|
|
|
12e947 |
|
|
|
12e947 |
# Produce debug (non-optimized) package build. Suitable for debugging only
|
|
|
12e947 |
# as the build is *very* slow.
|
|
|
12e947 |
%global debug_build 0
|
|
|
9eec91 |
|
|
|
9eec91 |
%global system_nss 1
|
|
|
9eec91 |
%global bundle_nss 0
|
|
|
9eec91 |
|
|
|
9eec91 |
%if 0%{?rhel} == 8
|
|
|
12e947 |
%if %{rhel_minor_version} <= 4
|
|
|
9eec91 |
%global bundle_nss 1
|
|
|
9eec91 |
%global system_nss 1
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
%global build_with_asan 0
|
|
|
9eec91 |
|
|
|
9eec91 |
%global use_llvmts 0
|
|
|
9eec91 |
%global use_nodejsts 0
|
|
|
9eec91 |
%if 0%{?rhel} < 8
|
|
|
9eec91 |
%global use_llvmts 1
|
|
|
9eec91 |
%global use_nodejsts 1
|
|
|
9eec91 |
%endif
|
|
|
12e947 |
%if %{run_firefox_tests}
|
|
|
12e947 |
%global test_on_wayland 1
|
|
|
12e947 |
%endif
|
|
|
12e947 |
|
|
|
9eec91 |
|
|
|
9eec91 |
%global nodejs_rb nodejs
|
|
|
9eec91 |
%global llvm_version 7.0
|
|
|
12e947 |
%if "%{toolchain}" == "clang"
|
|
|
12e947 |
%global build_with_clang 1
|
|
|
12e947 |
%else
|
|
|
12e947 |
%global build_with_clang 0
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
%ifarch armv7hl
|
|
|
12e947 |
%global create_debuginfo 0
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
%if 0%{?rhel} == 7
|
|
|
9eec91 |
%global use_dts 1
|
|
|
9eec91 |
%global nodejs_rb rh-nodejs10-nodejs
|
|
|
9eec91 |
%global llvm_version 11.0
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
# Temporary disabled due to
|
|
|
12e947 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1951606
|
|
|
12e947 |
%global enable_mozilla_crashreporter 0
|
|
|
12e947 |
|
|
|
12e947 |
%global system_ffi 1
|
|
|
12e947 |
%ifarch armv7hl
|
|
|
12e947 |
%global system_libvpx 1
|
|
|
12e947 |
%else
|
|
|
12e947 |
%global system_libvpx 0
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%global hardened_build 1
|
|
|
12e947 |
%global system_jpeg 1
|
|
|
12e947 |
%global disable_elfhack 1
|
|
|
12e947 |
%global use_bundled_cbindgen 1
|
|
|
12e947 |
%if %{debug_build}
|
|
|
12e947 |
%global release_build 0
|
|
|
12e947 |
%endif
|
|
|
12e947 |
# Build PGO+LTO on x86_64 only due to build issues
|
|
|
12e947 |
# on other arches.
|
|
|
12e947 |
%global build_with_pgo 0
|
|
|
12e947 |
%ifarch x86_64
|
|
|
12e947 |
%if %{release_build}
|
|
|
12e947 |
%global build_with_pgo 0
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
%global use_rustts 1
|
|
|
12e947 |
%global dts_version 10
|
|
|
12e947 |
%global rust_version 1.62
|
|
|
12e947 |
%if 0%{?rhel} >= 8
|
|
|
9eec91 |
%global use_rustts 0
|
|
|
9eec91 |
%endif
|
|
|
12e947 |
%if 0%{?flatpak}
|
|
|
12e947 |
%global build_with_pgo 0
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
%if 0%{?disable_toolsets}
|
|
|
9eec91 |
%global use_rustts 0
|
|
|
9eec91 |
%global use_dts 0
|
|
|
9eec91 |
%global use_llvmts 0
|
|
|
12e947 |
%global use_nodejsts 0
|
|
|
12e947 |
%global nodejs_rb nodejs
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
# Big endian platforms
|
|
|
9eec91 |
%ifarch ppc64 s390x
|
|
|
9eec91 |
%global big_endian 1
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
%if 0%{?build_with_pgo}
|
|
|
12e947 |
%global use_xvfb 1
|
|
|
12e947 |
%global build_tests 1
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
%if 0%{?run_firefox_tests}
|
|
|
12e947 |
%global use_xvfb 1
|
|
|
12e947 |
%global build_tests 1
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
%global launch_wayland_compositor 0
|
|
|
12e947 |
%if %{build_with_pgo} && 0%{?test_on_wayland}
|
|
|
12e947 |
%global launch_wayland_compositor 1
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%if %{run_firefox_tests} && 0%{?test_on_wayland}
|
|
|
12e947 |
%global launch_wayland_compositor 1
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
# We need to use full path because of flatpak where datadir is /app/share
|
|
|
9eec91 |
%global default_bookmarks_file /usr/share/bookmarks/default-bookmarks.html
|
|
|
9eec91 |
%global firefox_app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
|
|
|
9eec91 |
# Minimal required versions
|
|
|
12e947 |
%global cairo_version 1.13.1
|
|
|
12e947 |
%global freetype_version 2.1.9
|
|
|
12e947 |
%global libnotify_version 0.7.0
|
|
|
12e947 |
%if %{?system_libvpx}
|
|
|
12e947 |
%global libvpx_version 1.8.2
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
%if %{?system_nss}
|
|
|
12e947 |
%global nspr_version 4.34
|
|
|
9eec91 |
%global nspr_build_version %{nspr_version}
|
|
|
12e947 |
%global nss_version 3.79
|
|
|
9eec91 |
%global nss_build_version %{nss_version}
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
%global mozappdir %{_libdir}/firefox
|
|
|
12e947 |
%global mozappdirdev %{_libdir}/firefox-devel-%{version}
|
|
|
12e947 |
%global langpackdir %{mozappdir}/browser/extensions
|
|
|
12e947 |
%global tarballdir firefox-%{version}
|
|
|
9eec91 |
|
|
|
9eec91 |
%define bundled_install_path %{mozappdir}/bundled
|
|
|
12e947 |
%global official_branding 1
|
|
|
9eec91 |
|
|
|
9eec91 |
# We could use %%include, but in %%files, %%post and other sections, but in these
|
|
|
9eec91 |
# sections it could lead to syntax errors about unclosed %%if. Work around it by
|
|
|
9eec91 |
# using the following macro
|
|
|
9eec91 |
%define include_file() %{expand:%(cat '%1')}
|
|
|
9eec91 |
|
|
|
12e947 |
%bcond_without langpacks
|
|
|
9eec91 |
|
|
|
12e947 |
%global pre_version esr
|
|
|
12e947 |
%if !%{release_build}
|
|
|
12e947 |
%global pre_tag .npgo
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%if %{build_with_clang}
|
|
|
12e947 |
%global pre_tag .clang
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%if %{build_with_asan}
|
|
|
12e947 |
%global pre_tag .asan
|
|
|
12e947 |
%global build_with_pgo 0
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%if !%{system_nss}
|
|
|
12e947 |
%global nss_tag .nss
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%if %{debug_build}
|
|
|
12e947 |
%global pre_tag .debug
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
# Exclude private libraries from autogenerated provides and requires
|
|
|
12e947 |
%global __provides_exclude_from ^%{mozappdir}
|
|
|
12e947 |
%global __requires_exclude ^(%%(find %{buildroot}%{mozappdir} -name '*.so' | xargs -n1 basename | sort -u | paste -s -d '|' -))
|
|
|
712e40 |
|
|
|
9eec91 |
Summary: Mozilla Firefox Web browser
|
|
|
9eec91 |
Name: firefox
|
|
|
1e6e37 |
Version: 102.9.0
|
|
|
1e6e37 |
Release: 3%{?dist}
|
|
|
9eec91 |
URL: https://www.mozilla.org/firefox/
|
|
|
9eec91 |
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
|
|
12e947 |
|
|
|
4f64cf |
# Workaround the dreaded "upstream source file changed content" rpminspect failure.
|
|
|
4f64cf |
# If set to .b2 or .b3 ... the processed source file needs to be renamed before upload, e.g.
|
|
|
4f64cf |
# firefox-102.8.0esr.b2.processed-source.tar.xz
|
|
|
4f64cf |
# When unset use processed source file name as is.
|
|
|
4f64cf |
%global buildnum .b2
|
|
|
4f64cf |
|
|
|
9eec91 |
%if 0%{?rhel} == 9
|
|
|
9eec91 |
ExcludeArch: %{ix86}
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
%if 0%{?rhel} == 8
|
|
|
9eec91 |
%if %{rhel_minor_version} == 1
|
|
|
9eec91 |
ExcludeArch: %{ix86} aarch64 s390x
|
|
|
9eec91 |
%else
|
|
|
9eec91 |
ExcludeArch: %{ix86}
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
%if 0%{?rhel} == 7
|
|
|
9eec91 |
ExcludeArch: aarch64 s390 ppc
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
# We can't use the official tarball as it contains some test files that use
|
|
|
9eec91 |
# licenses that are rejected by Red Hat Legal.
|
|
|
9eec91 |
# The official tarball has to be always processed by the process-official-tarball
|
|
|
12e947 |
# script
|
|
|
12e947 |
# Link to original tarball: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
|
|
|
4f64cf |
Source0: firefox-%{version}%{?pre_version}%{?buildnum}.processed-source.tar.xz
|
|
|
12e947 |
%if %{with langpacks}
|
|
|
1e6e37 |
Source1: firefox-langpacks-%{version}%{?pre_version}-20230310.tar.xz
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
Source2: cbindgen-vendor.tar.xz
|
|
|
9eec91 |
Source3: process-official-tarball
|
|
|
9eec91 |
Source10: firefox-mozconfig
|
|
|
9eec91 |
Source12: firefox-redhat-default-prefs.js
|
|
|
9eec91 |
Source20: firefox.desktop
|
|
|
9eec91 |
Source21: firefox.sh.in
|
|
|
9eec91 |
Source23: firefox.1
|
|
|
9eec91 |
Source24: mozilla-api-key
|
|
|
9eec91 |
Source25: firefox-symbolic.svg
|
|
|
9eec91 |
Source26: distribution.ini
|
|
|
9eec91 |
Source27: google-api-key
|
|
|
2fc90d |
Source30: firefox-x11.sh.in
|
|
|
2fc90d |
Source31: firefox-x11.desktop
|
|
|
12e947 |
Source32: node-stdout-nonblocking-wrapper
|
|
|
12e947 |
Source33: firefox.appdata.xml.in
|
|
|
12e947 |
Source34: firefox-search-provider.ini
|
|
|
12e947 |
Source35: google-loc-api-key
|
|
|
12e947 |
Source37: mochitest-python.tar.gz
|
|
|
12e947 |
Source38: print_results
|
|
|
12e947 |
Source39: print-errors
|
|
|
12e947 |
Source40: run-tests-x11
|
|
|
12e947 |
Source41: run-tests-wayland
|
|
|
12e947 |
Source42: psummary
|
|
|
12e947 |
Source43: print_failures
|
|
|
12e947 |
Source44: print-error-reftest
|
|
|
12e947 |
Source45: run-wayland-compositor
|
|
|
12e947 |
Source403: nss-3.79.0-6.el8_1.src.rpm
|
|
|
9eec91 |
Source401: nss-setup-flags-env.inc
|
|
|
12e947 |
Source402: nspr-4.34.0-3.el8_1.src.rpm
|
|
|
9eec91 |
|
|
|
9eec91 |
# Build patches
|
|
|
12e947 |
Patch3: mozilla-build-arm.patch
|
|
|
12e947 |
Patch25: rhbz-1219542-s390-build.patch
|
|
|
12e947 |
# Fixing missing cacheFlush when JS_CODEGEN_NONE is used (s390x)
|
|
|
12e947 |
Patch40: build-aarch64-skia.patch
|
|
|
12e947 |
Patch41: build-disable-elfhack.patch
|
|
|
12e947 |
Patch44: build-arm-libopus.patch
|
|
|
12e947 |
Patch47: fedora-shebang-build.patch
|
|
|
12e947 |
Patch49: build-arm-libaom.patch
|
|
|
12e947 |
Patch53: firefox-gcc-build.patch
|
|
|
12e947 |
Patch54: mozilla-1669639.patch
|
|
|
12e947 |
Patch71: 0001-GLIBCXX-fix-for-GCC-12.patch
|
|
|
12e947 |
Patch72: build-remove-dav1d-from-wayland-dep.patch
|
|
|
12e947 |
Patch73: build-ascii-decode-fail-rhel7.patch
|
|
|
12e947 |
Patch75: build-big-endian-errors.patch
|
|
|
12e947 |
Patch76: firefox-nss-version.patch
|
|
|
12e947 |
Patch77: mozilla-1775202.patch
|
|
|
5ab638 |
Patch78: build-rhel7-lower-node-min-version.patch
|
|
|
12e947 |
|
|
|
12e947 |
|
|
|
12e947 |
# Test patches
|
|
|
12e947 |
# Generate without context by
|
|
|
12e947 |
# GENDIFF_DIFF_ARGS=-U0 gendiff firefox-xxxx .firefox-tests-xpcshell
|
|
|
12e947 |
# GENDIFF_DIFF_ARGS=-U0 gendiff firefox-xxxx .firefox-tests-reftest
|
|
|
12e947 |
Patch102: firefox-tests-xpcshell-freeze.patch
|
|
|
12e947 |
|
|
|
12e947 |
# Fedora specific patches
|
|
|
9eec91 |
Patch215: firefox-enable-addons.patch
|
|
|
9eec91 |
Patch219: rhbz-1173156.patch
|
|
|
9eec91 |
Patch224: mozilla-1170092.patch
|
|
|
12e947 |
#ARM run-time patch
|
|
|
12e947 |
Patch226: rhbz-1354671.patch
|
|
|
12e947 |
Patch229: firefox-nss-addon-hack.patch
|
|
|
12e947 |
Patch230: D110204-fscreen.diff
|
|
|
5ab638 |
Patch231: webrtc-nss-fix.patch
|
|
|
6336df |
# Backported WebRTC changes for PipeWire/Wayland screen sharing support
|
|
|
6336df |
Patch232: libwebrtc-screen-cast-sync.patch
|
|
|
9eec91 |
|
|
|
9eec91 |
# Upstream patches
|
|
|
12e947 |
Patch415: mozilla-1670333.patch
|
|
|
12e947 |
Patch416: mozilla-bmo1005535.patch
|
|
|
12e947 |
Patch417: mozilla-bmo1504834-part1.patch
|
|
|
12e947 |
Patch418: mozilla-bmo1504834-part3.patch
|
|
|
12e947 |
Patch419: mozilla-bmo849632.patch
|
|
|
12e947 |
Patch420: mozilla-bmo998749.patch
|
|
|
12e947 |
Patch421: mozilla-s390x-skia-gradient.patch
|
|
|
12e947 |
Patch422: one_swizzle_to_rule_them_all.patch
|
|
|
12e947 |
Patch423: svg-rendering.patch
|
|
|
5ab638 |
Patch424: D158770.diff
|
|
|
12e947 |
|
|
|
12e947 |
# PGO/LTO patches
|
|
|
12e947 |
Patch600: pgo.patch
|
|
|
12e947 |
Patch602: mozilla-1516803.patch
|
|
|
12e947 |
|
|
|
12e947 |
Patch1008: build-rhel7-nasm-dwarf.patch
|
|
|
9eec91 |
|
|
|
9eec91 |
%if %{?system_nss}
|
|
|
9eec91 |
%if !0%{?bundle_nss}
|
|
|
9eec91 |
BuildRequires: pkgconfig(nspr) >= %{nspr_version}
|
|
|
9eec91 |
BuildRequires: pkgconfig(nss) >= %{nss_version}
|
|
|
9eec91 |
BuildRequires: nss-static >= %{nss_version}
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
BuildRequires: pkgconfig(libpng)
|
|
|
12e947 |
%if %{?system_jpeg}
|
|
|
9eec91 |
BuildRequires: libjpeg-devel
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
BuildRequires: zip
|
|
|
9eec91 |
BuildRequires: bzip2-devel
|
|
|
9eec91 |
BuildRequires: pkgconfig(zlib)
|
|
|
12e947 |
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
9eec91 |
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
12e947 |
BuildRequires: pkgconfig(krb5)
|
|
|
9eec91 |
BuildRequires: pkgconfig(pango)
|
|
|
12e947 |
BuildRequires: pkgconfig(freetype2) >= %{freetype_version}
|
|
|
9eec91 |
BuildRequires: pkgconfig(xt)
|
|
|
12e947 |
BuildRequires: pkgconfig(xtst)
|
|
|
9eec91 |
BuildRequires: pkgconfig(xrender)
|
|
|
9eec91 |
BuildRequires: pkgconfig(libstartup-notification-1.0)
|
|
|
12e947 |
BuildRequires: pkgconfig(libnotify) >= %{libnotify_version}
|
|
|
9eec91 |
BuildRequires: pkgconfig(dri)
|
|
|
9eec91 |
BuildRequires: pkgconfig(libcurl)
|
|
|
12e947 |
BuildRequires: pkgconfig(alsa)
|
|
|
12e947 |
BuildRequires: libstdc++-devel
|
|
|
12e947 |
BuildRequires: libstdc++-static
|
|
|
9eec91 |
BuildRequires: dbus-glib-devel
|
|
|
12e947 |
%if %{?system_libvpx}
|
|
|
12e947 |
BuildRequires: libvpx-devel >= %{libvpx_version}
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
BuildRequires: m4
|
|
|
9eec91 |
BuildRequires: pkgconfig(libpulse)
|
|
|
9eec91 |
|
|
|
9eec91 |
%if 0%{?use_dts}
|
|
|
9eec91 |
BuildRequires: devtoolset-%{dts_version}-gcc-c++
|
|
|
9eec91 |
BuildRequires: devtoolset-%{dts_version}-gcc
|
|
|
9eec91 |
BuildRequires: devtoolset-%{dts_version}-libatomic-devel
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
%if 0%{?rhel} == 9
|
|
|
9eec91 |
BuildRequires: gcc
|
|
|
9eec91 |
BuildRequires: gcc-c++
|
|
|
9eec91 |
BuildRequires: cargo
|
|
|
9eec91 |
BuildRequires: rust
|
|
|
9eec91 |
BuildRequires: clang clang-libs llvm
|
|
|
9eec91 |
%endif
|
|
|
12e947 |
BuildRequires: %{nodejs_rb} >= 10.21
|
|
|
12e947 |
%if 0%{?rhel} == 7
|
|
|
9eec91 |
BuildRequires: scl-utils
|
|
|
9eec91 |
BuildRequires: findutils
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
%if 0%{?rhel} == 8
|
|
|
9eec91 |
BuildRequires: cargo
|
|
|
9eec91 |
BuildRequires: rust >= %{rust_version}
|
|
|
9eec91 |
BuildRequires: llvm >= %{llvm_version}
|
|
|
9eec91 |
BuildRequires: llvm-devel >= %{llvm_version}
|
|
|
9eec91 |
BuildRequires: clang >= %{llvm_version}
|
|
|
9eec91 |
BuildRequires: clang-devel >= %{llvm_version}
|
|
|
9eec91 |
BuildRequires: rustfmt >= %{rust_version}
|
|
|
12e947 |
%endif
|
|
|
12e947 |
|
|
|
9eec91 |
%if 0%{?use_rustts}
|
|
|
9eec91 |
BuildRequires: rust-toolset-%{rust_version}
|
|
|
9eec91 |
%endif
|
|
|
12e947 |
|
|
|
9eec91 |
%if 0%{?use_llvmts}
|
|
|
9eec91 |
BuildRequires: llvm-toolset-%{llvm_version}
|
|
|
9eec91 |
BuildRequires: llvm-toolset-%{llvm_version}-llvm-devel
|
|
|
9eec91 |
BuildRequires: llvm-toolset-%{llvm_version}-clang
|
|
|
9eec91 |
BuildRequires: llvm-toolset-%{llvm_version}-clang-devel
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
|
|
|
12e947 |
%if 0%{?rhel} > 7
|
|
|
9eec91 |
BuildRequires: pipewire-devel
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
%if !0%{?use_bundled_cbindgen}
|
|
|
12e947 |
BuildRequires: cbindgen
|
|
|
12e947 |
%endif
|
|
|
12e947 |
BuildRequires: nasm >= 1.13
|
|
|
12e947 |
BuildRequires: libappstream-glib
|
|
|
9eec91 |
|
|
|
12e947 |
%if 0%{?big_endian}
|
|
|
12e947 |
BuildRequires: icu
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
# Bundled nss/nspr requirement
|
|
|
9eec91 |
%if 0%{?bundle_nss}
|
|
|
9eec91 |
BuildRequires: nss-softokn
|
|
|
9eec91 |
BuildRequires: sqlite-devel
|
|
|
9eec91 |
BuildRequires: zlib-devel
|
|
|
9eec91 |
BuildRequires: pkgconfig
|
|
|
9eec91 |
BuildRequires: gawk
|
|
|
9eec91 |
BuildRequires: psmisc
|
|
|
9eec91 |
BuildRequires: perl-interpreter
|
|
|
9eec91 |
BuildRequires: gcc-c++
|
|
|
9eec91 |
BuildRequires: xmlto
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
Requires: mozilla-filesystem
|
|
|
12e947 |
#not known or rhel7
|
|
|
12e947 |
#Recommends: mozilla-openh264 >= 2.1.1
|
|
|
12e947 |
#Recommends: libva
|
|
|
9eec91 |
Requires: p11-kit-trust
|
|
|
12e947 |
Requires: pciutils-libs
|
|
|
9eec91 |
%if %{?system_nss}
|
|
|
9eec91 |
%if !0%{?bundle_nss}
|
|
|
9eec91 |
Requires: nspr >= %{nspr_build_version}
|
|
|
9eec91 |
Requires: nss >= %{nss_build_version}
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
%endif
|
|
|
12e947 |
BuildRequires: python3-devel
|
|
|
12e947 |
BuildRequires: python3-setuptools
|
|
|
9eec91 |
|
|
|
9eec91 |
BuildRequires: desktop-file-utils
|
|
|
9eec91 |
Requires: redhat-indexhtml
|
|
|
9eec91 |
|
|
|
12e947 |
%if !0%{?flatpak}
|
|
|
12e947 |
#TODO
|
|
|
12e947 |
BuildRequires: system-bookmarks
|
|
|
9eec91 |
%endif
|
|
|
12e947 |
%if %{?system_ffi}
|
|
|
9eec91 |
BuildRequires: pkgconfig(libffi)
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
%if 0%{?use_xvfb}
|
|
|
12e947 |
BuildRequires: xorg-x11-server-Xvfb
|
|
|
9eec91 |
%endif
|
|
|
12e947 |
%if %{build_with_asan}
|
|
|
12e947 |
BuildRequires: libasan
|
|
|
12e947 |
BuildRequires: libasan-static
|
|
|
12e947 |
%endif
|
|
|
12e947 |
BuildRequires: perl-interpreter
|
|
|
12e947 |
#BuildRequires: fdk-aac-free-devel not on rhel8
|
|
|
12e947 |
%if 0%{?test_on_wayland}
|
|
|
12e947 |
BuildRequires: mutter
|
|
|
12e947 |
BuildRequires: gsettings-desktop-schemas
|
|
|
12e947 |
BuildRequires: gnome-settings-daemon
|
|
|
12e947 |
BuildRequires: mesa-dri-drivers
|
|
|
12e947 |
BuildRequires: xorg-x11-server-Xwayland
|
|
|
12e947 |
BuildRequires: dbus-x11
|
|
|
12e947 |
BuildRequires: gnome-keyring
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%if 0%{?run_firefox_tests}
|
|
|
12e947 |
BuildRequires: procps-ng
|
|
|
12e947 |
BuildRequires: nss-tools
|
|
|
12e947 |
BuildRequires: dejavu-sans-mono-fonts
|
|
|
12e947 |
BuildRequires: dejavu-sans-fonts
|
|
|
12e947 |
BuildRequires: dejavu-serif-fonts
|
|
|
12e947 |
BuildRequires: dbus-x11
|
|
|
12e947 |
BuildRequires: gnome-keyring
|
|
|
12e947 |
BuildRequires: mesa-dri-drivers
|
|
|
12e947 |
# ----------------------------------------
|
|
|
12e947 |
BuildRequires: liberation-fonts-common
|
|
|
12e947 |
BuildRequires: liberation-mono-fonts
|
|
|
12e947 |
BuildRequires: liberation-sans-fonts
|
|
|
12e947 |
BuildRequires: liberation-serif-fonts
|
|
|
12e947 |
# ----------------------------------
|
|
|
12e947 |
# Missing on f32
|
|
|
12e947 |
%if 0%{?fedora} > 33
|
|
|
12e947 |
BuildRequires: google-carlito-fonts
|
|
|
12e947 |
%endif
|
|
|
12e947 |
BuildRequires: google-droid-sans-fonts
|
|
|
12e947 |
BuildRequires: google-noto-fonts-common
|
|
|
12e947 |
BuildRequires: google-noto-cjk-fonts-common
|
|
|
12e947 |
BuildRequires: google-noto-sans-cjk-ttc-fonts
|
|
|
12e947 |
BuildRequires: google-noto-sans-gurmukhi-fonts
|
|
|
12e947 |
BuildRequires: google-noto-sans-fonts
|
|
|
12e947 |
BuildRequires: google-noto-emoji-color-fonts
|
|
|
12e947 |
BuildRequires: google-noto-sans-sinhala-vf-fonts
|
|
|
12e947 |
# -----------------------------------
|
|
|
12e947 |
BuildRequires: thai-scalable-fonts-common
|
|
|
12e947 |
BuildRequires: thai-scalable-waree-fonts
|
|
|
12e947 |
BuildRequires: khmeros-base-fonts
|
|
|
12e947 |
BuildRequires: jomolhari-fonts
|
|
|
12e947 |
# ----------------------------------
|
|
|
12e947 |
BuildRequires: lohit-tamil-fonts
|
|
|
12e947 |
BuildRequires: lohit-telugu-fonts
|
|
|
12e947 |
# ----------------------------------
|
|
|
12e947 |
BuildRequires: paktype-naskh-basic-fonts
|
|
|
12e947 |
# faild to build in Koji / f32
|
|
|
12e947 |
%if 0%{?fedora} > 33
|
|
|
12e947 |
BuildRequires: pt-sans-fonts
|
|
|
12e947 |
%endif
|
|
|
12e947 |
BuildRequires: smc-meera-fonts
|
|
|
12e947 |
BuildRequires: stix-fonts
|
|
|
12e947 |
BuildRequires: abattis-cantarell-fonts
|
|
|
12e947 |
BuildRequires: xorg-x11-fonts-ISO8859-1-100dpi
|
|
|
12e947 |
BuildRequires: xorg-x11-fonts-misc
|
|
|
12e947 |
%endif
|
|
|
12e947 |
BuildRequires: make
|
|
|
12e947 |
BuildRequires: pciutils-libs
|
|
|
9eec91 |
|
|
|
9eec91 |
Obsoletes: mozilla <= 37:1.7.13
|
|
|
9eec91 |
Provides: webclient
|
|
|
12e947 |
%if 0%{?rhel} == 8 && %{rhel_minor_version} < 6
|
|
|
12e947 |
%ifarch aarch64
|
|
|
12e947 |
BuildRequires: gcc-toolset-12-annobin-plugin-gcc
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
# Bundled libraries
|
|
|
9eec91 |
Provides: bundled(angle)
|
|
|
5ab638 |
Provides: bundled(audioipc-2)
|
|
|
5ab638 |
Provides: bundled(brotli)
|
|
|
9eec91 |
Provides: bundled(cairo)
|
|
|
5ab638 |
Provides: bundled(cfworker)
|
|
|
5ab638 |
Provides: bundled(d3.js)
|
|
|
5ab638 |
Provides: bundled(double-conversion)
|
|
|
5ab638 |
Provides: bundled(expat)
|
|
|
5ab638 |
Provides: bundled(fdlibm)
|
|
|
5ab638 |
Provides: bundled(ffvpx)
|
|
|
5ab638 |
Provides: bundled(freetype2)
|
|
|
9eec91 |
Provides: bundled(graphite2)
|
|
|
9eec91 |
Provides: bundled(harfbuzz)
|
|
|
5ab638 |
Provides: bundled(highway)
|
|
|
5ab638 |
Provides: bundled(intgemm)
|
|
|
9eec91 |
Provides: bundled(kissfft)
|
|
|
9eec91 |
Provides: bundled(libaom)
|
|
|
9eec91 |
Provides: bundled(libcubeb)
|
|
|
9eec91 |
Provides: bundled(libdav1d)
|
|
|
9eec91 |
Provides: bundled(libjpeg)
|
|
|
5ab638 |
Provides: bundled(libjxl)
|
|
|
5ab638 |
Provides: bundled(libjxl)
|
|
|
5ab638 |
Provides: bundled(libmar)
|
|
|
9eec91 |
Provides: bundled(libmkv)
|
|
|
9eec91 |
Provides: bundled(libnestegg)
|
|
|
9eec91 |
Provides: bundled(libogg)
|
|
|
9eec91 |
Provides: bundled(libopus)
|
|
|
9eec91 |
Provides: bundled(libpng)
|
|
|
5ab638 |
Provides: bundled(libprio)
|
|
|
9eec91 |
Provides: bundled(libsoundtouch)
|
|
|
9eec91 |
Provides: bundled(libspeex_resampler)
|
|
|
5ab638 |
Provides: bundled(libsrtp)
|
|
|
9eec91 |
Provides: bundled(libtheora)
|
|
|
9eec91 |
Provides: bundled(libtremor)
|
|
|
9eec91 |
Provides: bundled(libvorbis)
|
|
|
9eec91 |
Provides: bundled(libvpx)
|
|
|
9eec91 |
Provides: bundled(libwebp)
|
|
|
5ab638 |
Provides: bundled(libwebrtc)
|
|
|
9eec91 |
Provides: bundled(libyuv)
|
|
|
9eec91 |
Provides: bundled(mp4parse-rust)
|
|
|
5ab638 |
Provides: bundled(mp4parse-rust)
|
|
|
5ab638 |
Provides: bundled(msgpack-c)
|
|
|
5ab638 |
Provides: bundled(msgpack-c)
|
|
|
9eec91 |
Provides: bundled(mtransport)
|
|
|
9eec91 |
Provides: bundled(openmax_dl)
|
|
|
5ab638 |
Provides: bundled(openmax_il)
|
|
|
5ab638 |
Provides: bundled(openmax_il)
|
|
|
5ab638 |
Provides: bundled(ots)
|
|
|
5ab638 |
Provides: bundled(qcms)
|
|
|
5ab638 |
Provides: bundled(rlbox_sandboxing_api)
|
|
|
5ab638 |
Provides: bundled(sfntly)
|
|
|
5ab638 |
Provides: bundled(sipcc)
|
|
|
5ab638 |
Provides: bundled(skia)
|
|
|
5ab638 |
Provides: bundled(sqlite3)
|
|
|
5ab638 |
Provides: bundled(thebes)
|
|
|
5ab638 |
Provides: bundled(wasm2c)
|
|
|
5ab638 |
Provides: bundled(WebRender)
|
|
|
9eec91 |
Provides: bundled(woff2)
|
|
|
9eec91 |
Provides: bundled(xz-embedded)
|
|
|
5ab638 |
Provides: bundled(ycbcr)
|
|
|
9eec91 |
Provides: bundled(zlib)
|
|
|
9eec91 |
|
|
|
9eec91 |
%if 0%{?bundle_nss}
|
|
|
12e947 |
Provides: bundled(nss) = 3.79.0
|
|
|
12e947 |
Provides: bundled(nspr) = 4.34.0
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
%description
|
|
|
9eec91 |
Mozilla Firefox is an open-source web browser, designed for standards
|
|
|
9eec91 |
compliance, performance and portability.
|
|
|
9eec91 |
|
|
|
12e947 |
%if 0%{?run_firefox_tests}
|
|
|
12e947 |
%global testsuite_pkg_name %{name}-testresults
|
|
|
9eec91 |
%package -n %{testsuite_pkg_name}
|
|
|
9eec91 |
Summary: Results of testsuite
|
|
|
9eec91 |
%description -n %{testsuite_pkg_name}
|
|
|
9eec91 |
This package contains results of tests executed during build.
|
|
|
9eec91 |
%files -n %{testsuite_pkg_name}
|
|
|
12e947 |
/%{version}-%{release}/test_results
|
|
|
12e947 |
/%{version}-%{release}/test_summary.txt
|
|
|
12e947 |
/%{version}-%{release}/failures-*
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
2fc90d |
%if 0%{?rhel} >= 9
|
|
|
2fc90d |
%package x11
|
|
|
2fc90d |
Summary: Firefox X11 launcher.
|
|
|
2fc90d |
Requires: %{name}
|
|
|
2fc90d |
%description x11
|
|
|
2fc90d |
The firefox-x11 package contains launcher and desktop file
|
|
|
2fc90d |
to run Firefox explicitly on X11.
|
|
|
2fc90d |
%files x11
|
|
|
2fc90d |
%{_bindir}/firefox-x11
|
|
|
2fc90d |
%{_datadir}/applications/firefox-x11.desktop
|
|
|
2fc90d |
%endif
|
|
|
2fc90d |
|
|
|
9eec91 |
#---------------------------------------------------------------------
|
|
|
12e947 |
|
|
|
9eec91 |
%prep
|
|
|
9eec91 |
echo "Build environment"
|
|
|
9eec91 |
echo "dist %{?dist}"
|
|
|
12e947 |
echo "RHEL 8 minor version: %{?rhel_minor_version}"
|
|
|
9eec91 |
echo "use_bundled_ffi %{?use_bundled_ffi}"
|
|
|
9eec91 |
echo "bundle_nss %{?bundle_nss}"
|
|
|
9eec91 |
echo "system_nss %{?system_nss}"
|
|
|
9eec91 |
echo "use_rustts %{?use_rustts}"
|
|
|
9eec91 |
|
|
|
9eec91 |
%setup -q -n %{tarballdir}
|
|
|
12e947 |
|
|
|
9eec91 |
# Build patches, can't change backup suffix from default because during build
|
|
|
9eec91 |
# there is a compare of config and js/config directories and .orig suffix is
|
|
|
9eec91 |
# ignored during this compare.
|
|
|
9eec91 |
|
|
|
12e947 |
%ifarch s390
|
|
|
12e947 |
%patch25 -p1 -b .rhbz-1219542-s390
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%patch40 -p1 -b .aarch64-skia
|
|
|
12e947 |
%if 0%{?disable_elfhack}
|
|
|
12e947 |
%patch41 -p1 -b .disable-elfhack
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%patch3 -p1 -b .arm
|
|
|
12e947 |
%patch44 -p1 -b .build-arm-libopus
|
|
|
12e947 |
%patch47 -p1 -b .fedora-shebang
|
|
|
12e947 |
%patch49 -p1 -b .build-arm-libaom
|
|
|
12e947 |
%patch53 -p1 -b .firefox-gcc-build
|
|
|
12e947 |
%patch54 -p1 -b .1669639
|
|
|
12e947 |
%patch71 -p1 -b .0001-GLIBCXX-fix-for-GCC-12
|
|
|
12e947 |
%patch72 -p1 -b .build-remove-dav1d-from-wayland-dep
|
|
|
12e947 |
|
|
|
12e947 |
%patch75 -p1 -b .build-big-endian-errors
|
|
|
12e947 |
%patch76 -p1 -b .firefox-nss-version
|
|
|
12e947 |
#ppc64le build failure because of webrtc
|
|
|
12e947 |
%patch77 -p1 -b .mozilla-1775202
|
|
|
12e947 |
|
|
|
12e947 |
%patch73 -p1 -b .build-ascii-decode-fail-rhel7
|
|
|
5ab638 |
%if 0%{?rhel} == 7
|
|
|
5ab638 |
%patch78 -p1 -b .build-rhel7-lower-node-min-version
|
|
|
5ab638 |
%endif
|
|
|
12e947 |
|
|
|
12e947 |
# Test patches
|
|
|
12e947 |
%patch102 -p1 -b .firefox-tests-xpcshell-freeze
|
|
|
9eec91 |
|
|
|
9eec91 |
# Fedora patches
|
|
|
9eec91 |
%patch215 -p1 -b .addons
|
|
|
9eec91 |
%patch219 -p1 -b .rhbz-1173156
|
|
|
9eec91 |
%patch224 -p1 -b .1170092
|
|
|
12e947 |
#ARM run-time patch
|
|
|
12e947 |
%ifarch aarch64
|
|
|
12e947 |
%patch226 -p1 -b .1354671
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%patch229 -p1 -b .firefox-nss-addon-hack
|
|
|
12e947 |
%patch230 -p1 -b .D110204-fscreen.diff
|
|
|
5ab638 |
%patch231 -p1 -b .webrtc-nss-fix
|
|
|
6336df |
%patch232 -p1 -b .libwebrtc-screen-cast-sync
|
|
|
12e947 |
|
|
|
12e947 |
%patch415 -p1 -b .1670333
|
|
|
12e947 |
%patch416 -p1 -b .mozilla-bmo1005535
|
|
|
12e947 |
%patch417 -p1 -b .mozilla-bmo1504834-part1
|
|
|
12e947 |
%patch418 -p1 -b .mozilla-bmo1504834-part3
|
|
|
12e947 |
%patch419 -p1 -b .mozilla-bmo849632
|
|
|
12e947 |
%patch420 -p1 -b .mozilla-bmo998749
|
|
|
12e947 |
%patch421 -p1 -b .mozilla-s390x-skia-gradient
|
|
|
12e947 |
%patch422 -p1 -b .one_swizzle_to_rule_them_all
|
|
|
12e947 |
%patch423 -p1 -b .svg-rendering
|
|
|
5ab638 |
%patch424 -p1 -b .D158770.diff
|
|
|
12e947 |
|
|
|
12e947 |
# PGO patches
|
|
|
12e947 |
%if %{build_with_pgo}
|
|
|
12e947 |
%if !%{build_with_clang}
|
|
|
12e947 |
%patch600 -p1 -b .pgo
|
|
|
12e947 |
%patch602 -p1 -b .1516803
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
%if 0%{?rhel} == 7
|
|
|
9eec91 |
%ifarch %{ix86}
|
|
|
9eec91 |
# -F dwarf not available in RHEL7's nasm
|
|
|
9eec91 |
%patch1008 -p1 -b .build-rhel7-nasm-dwarf
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
|
|
|
12e947 |
|
|
|
9eec91 |
%{__rm} -f .mozconfig
|
|
|
9eec91 |
%{__cp} %{SOURCE10} .mozconfig
|
|
|
12e947 |
echo "ac_add_options --enable-default-toolkit=cairo-gtk3-wayland" >> .mozconfig
|
|
|
9eec91 |
%if %{official_branding}
|
|
|
9eec91 |
echo "ac_add_options --enable-official-branding" >> .mozconfig
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
%{__cp} %{SOURCE24} mozilla-api-key
|
|
|
9eec91 |
%{__cp} %{SOURCE27} google-api-key
|
|
|
12e947 |
%{__cp} %{SOURCE35} google-loc-api-key
|
|
|
12e947 |
|
|
|
12e947 |
echo "ac_add_options --prefix=\"%{_prefix}\"" >> .mozconfig
|
|
|
12e947 |
echo "ac_add_options --libdir=\"%{_libdir}\"" >> .mozconfig
|
|
|
9eec91 |
|
|
|
9eec91 |
%if %{?system_nss}
|
|
|
9eec91 |
echo "ac_add_options --with-system-nspr" >> .mozconfig
|
|
|
9eec91 |
echo "ac_add_options --with-system-nss" >> .mozconfig
|
|
|
9eec91 |
%else
|
|
|
9eec91 |
echo "ac_add_options --without-system-nspr" >> .mozconfig
|
|
|
9eec91 |
echo "ac_add_options --without-system-nss" >> .mozconfig
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
%if %{?system_ffi}
|
|
|
12e947 |
echo "ac_add_options --enable-system-ffi" >> .mozconfig
|
|
|
12e947 |
%endif
|
|
|
12e947 |
|
|
|
12e947 |
%ifarch %{arm}
|
|
|
9eec91 |
echo "ac_add_options --disable-elf-hack" >> .mozconfig
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
%if %{?debug_build}
|
|
|
9eec91 |
echo "ac_add_options --enable-debug" >> .mozconfig
|
|
|
9eec91 |
echo "ac_add_options --disable-optimize" >> .mozconfig
|
|
|
9eec91 |
%else
|
|
|
12e947 |
%global optimize_flags "none"
|
|
|
9eec91 |
%ifarch s390x
|
|
|
12e947 |
%global optimize_flags "-g -O1"
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
%ifarch ppc64le aarch64
|
|
|
9eec91 |
%global optimize_flags "-g -O2"
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
%if %{optimize_flags} != "none"
|
|
|
9eec91 |
echo 'ac_add_options --enable-optimize=%{?optimize_flags}' >> .mozconfig
|
|
|
9eec91 |
%else
|
|
|
9eec91 |
echo 'ac_add_options --enable-optimize' >> .mozconfig
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
echo "ac_add_options --disable-debug" >> .mozconfig
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
# Second arches fail to start with jemalloc enabled
|
|
|
9eec91 |
%ifnarch %{ix86} x86_64
|
|
|
9eec91 |
echo "ac_add_options --disable-jemalloc" >> .mozconfig
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
%if 0%{?build_tests}
|
|
|
12e947 |
echo "ac_add_options --enable-tests" >> .mozconfig
|
|
|
12e947 |
%else
|
|
|
12e947 |
echo "ac_add_options --disable-tests" >> .mozconfig
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
%if !%{?system_jpeg}
|
|
|
12e947 |
echo "ac_add_options --without-system-jpeg" >> .mozconfig
|
|
|
12e947 |
%else
|
|
|
12e947 |
echo "ac_add_options --with-system-jpeg" >> .mozconfig
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
%if %{?system_libvpx}
|
|
|
12e947 |
echo "ac_add_options --with-system-libvpx" >> .mozconfig
|
|
|
12e947 |
%else
|
|
|
12e947 |
echo "ac_add_options --without-system-libvpx" >> .mozconfig
|
|
|
12e947 |
%endif
|
|
|
12e947 |
|
|
|
12e947 |
%ifarch s390 s390x
|
|
|
9eec91 |
echo "ac_add_options --disable-jit" >> .mozconfig
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
%if %{build_with_asan}
|
|
|
12e947 |
echo "ac_add_options --enable-address-sanitizer" >> .mozconfig
|
|
|
12e947 |
echo "ac_add_options --disable-jemalloc" >> .mozconfig
|
|
|
9eec91 |
%endif
|
|
|
12e947 |
|
|
|
12e947 |
%if !%{enable_mozilla_crashreporter}
|
|
|
12e947 |
echo "ac_add_options --disable-crashreporter" >> .mozconfig
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
# AV1 requires newer nasm that was rebased in 8.4
|
|
|
9eec91 |
%if 0%{?rhel} == 7 || (0%{?rhel} == 8 && %{rhel_minor_version} < 4)
|
|
|
9eec91 |
echo "ac_add_options --disable-av1" >> .mozconfig
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
# api keys full path
|
|
|
12e947 |
echo "ac_add_options --with-mozilla-api-keyfile=`pwd`/mozilla-api-key" >> .mozconfig
|
|
|
12e947 |
# It seems that the api key we have is for the safe browsing only
|
|
|
12e947 |
echo "ac_add_options --with-google-location-service-api-keyfile=`pwd`/google-loc-api-key" >> .mozconfig
|
|
|
12e947 |
echo "ac_add_options --with-google-safebrowsing-api-keyfile=`pwd`/google-api-key" >> .mozconfig
|
|
|
12e947 |
|
|
|
9eec91 |
echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .mozconfig
|
|
|
9eec91 |
|
|
|
9eec91 |
# Remove executable bit to make brp-mangle-shebangs happy.
|
|
|
9eec91 |
chmod -x third_party/rust/itertools/src/lib.rs
|
|
|
9eec91 |
chmod a-x third_party/rust/ash/src/extensions/ext/*.rs
|
|
|
9eec91 |
chmod a-x third_party/rust/ash/src/extensions/khr/*.rs
|
|
|
9eec91 |
chmod a-x third_party/rust/ash/src/extensions/nv/*.rs
|
|
|
9eec91 |
|
|
|
9eec91 |
#---------------------------------------------------------------------
|
|
|
9eec91 |
|
|
|
9eec91 |
%build
|
|
|
9eec91 |
# Disable LTO to work around rhbz#1883904
|
|
|
9eec91 |
%define _lto_cflags %{nil}
|
|
|
9eec91 |
export PATH="%{_buildrootdir}/bin:$PATH"
|
|
|
12e947 |
# Cleanup buildroot for existing rpms from bundled nss/nspr and other packages
|
|
|
12e947 |
rm -rf %{_buildrootdir}/*
|
|
|
9eec91 |
|
|
|
9eec91 |
function install_rpms_to_current_dir() {
|
|
|
9eec91 |
PACKAGE_RPM=$(eval echo $1)
|
|
|
9eec91 |
PACKAGE_DIR=%{_rpmdir}
|
|
|
9eec91 |
|
|
|
9eec91 |
if [ ! -f $PACKAGE_DIR/$PACKAGE_RPM ]; then
|
|
|
9eec91 |
# Hack for tps tests
|
|
|
9eec91 |
ARCH_STR=%{_arch}
|
|
|
9eec91 |
%ifarch %{ix86}
|
|
|
9eec91 |
ARCH_STR="i?86"
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
PACKAGE_DIR="$PACKAGE_DIR/$ARCH_STR"
|
|
|
9eec91 |
fi
|
|
|
9eec91 |
|
|
|
9eec91 |
for package in $(ls $PACKAGE_DIR/$PACKAGE_RPM)
|
|
|
9eec91 |
do
|
|
|
9eec91 |
echo "$package"
|
|
|
9eec91 |
rpm2cpio "$package" | cpio -idu
|
|
|
9eec91 |
done
|
|
|
9eec91 |
}
|
|
|
9eec91 |
%if 0%{?bundle_nss}
|
|
|
9eec91 |
rpm -ivh %{SOURCE402}
|
|
|
9eec91 |
#rpmbuild --nodeps --define '_prefix %{bundled_install_path}' --without=tests -ba %{_specdir}/nspr.spec
|
|
|
9eec91 |
rpmbuild --nodeps --define '_prefix %{bundled_install_path}' --without=tests -ba %{_specdir}/nspr.spec
|
|
|
9eec91 |
pushd %{_buildrootdir}
|
|
|
9eec91 |
install_rpms_to_current_dir nspr-4*.rpm
|
|
|
9eec91 |
install_rpms_to_current_dir nspr-devel*.rpm
|
|
|
9eec91 |
popd
|
|
|
9eec91 |
echo "Setting nspr flags"
|
|
|
9eec91 |
# nss-setup-flags-env.inc
|
|
|
9eec91 |
sed -i 's@%{bundled_install_path}@%{_buildrootdir}%{bundled_install_path}@g' %{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig/nspr*.pc
|
|
|
12e947 |
cat %{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig/nspr*.pc
|
|
|
9eec91 |
|
|
|
9eec91 |
export LDFLAGS="-L%{_buildrootdir}%{bundled_install_path}/%{_lib} $LDFLAGS"
|
|
|
9eec91 |
export LDFLAGS="-Wl,-rpath,%{bundled_install_path}/%{_lib} $LDFLAGS"
|
|
|
9eec91 |
export LDFLAGS="-Wl,-rpath-link,%{_buildrootdir}%{bundled_install_path}/%{_lib} $LDFLAGS"
|
|
|
9eec91 |
export PKG_CONFIG_PATH=%{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig
|
|
|
12e947 |
pkg-config --libs-only-L nspr
|
|
|
12e947 |
pkg-config --libs nspr
|
|
|
12e947 |
export PATH="%{_buildrootdir}%{bundled_install_path}/bin:$PATH"
|
|
|
9eec91 |
|
|
|
9eec91 |
export PATH=%{_buildrootdir}/%{bundled_install_path}/bin:$PATH
|
|
|
9eec91 |
echo $PKG_CONFIG_PATH
|
|
|
9eec91 |
|
|
|
9eec91 |
rpm -ivh %{SOURCE403}
|
|
|
9eec91 |
rpmbuild --nodeps --define '_prefix %{bundled_install_path}' --without=tests -ba %{_specdir}/nss.spec
|
|
|
9eec91 |
pushd %{_buildrootdir}
|
|
|
9eec91 |
#cleanup
|
|
|
9eec91 |
install_rpms_to_current_dir nss-3*.rpm
|
|
|
9eec91 |
install_rpms_to_current_dir nss-devel*.rpm
|
|
|
9eec91 |
install_rpms_to_current_dir nss-pkcs11-devel*.rpm
|
|
|
9eec91 |
install_rpms_to_current_dir nss-softokn-3*.rpm
|
|
|
9eec91 |
install_rpms_to_current_dir nss-softokn-devel*.rpm
|
|
|
9eec91 |
install_rpms_to_current_dir nss-softokn-freebl-3*.rpm
|
|
|
9eec91 |
install_rpms_to_current_dir nss-softokn-freebl-devel*.rpm
|
|
|
9eec91 |
install_rpms_to_current_dir nss-util-3*.rpm
|
|
|
9eec91 |
install_rpms_to_current_dir nss-util-devel*.rpm
|
|
|
9eec91 |
popd
|
|
|
9eec91 |
%filter_provides_in %{bundled_install_path}/%{_lib}
|
|
|
9eec91 |
%filter_requires_in %{bundled_install_path}/%{_lib}
|
|
|
9eec91 |
%filter_from_requires /libnss3.so.*/d
|
|
|
9eec91 |
%filter_from_requires /libsmime3.so.*/d
|
|
|
9eec91 |
%filter_from_requires /libssl3.so.*/d
|
|
|
9eec91 |
%filter_from_requires /libnssutil3.so.*/d
|
|
|
9eec91 |
%filter_from_requires /libnspr4.so.*/d
|
|
|
9eec91 |
find %{_buildrootdir}
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
set +e
|
|
|
12e947 |
%if 0%{?rhel} == 8 && %{rhel_minor_version} < 6
|
|
|
12e947 |
%ifarch aarch64
|
|
|
12e947 |
source scl_source enable gcc-toolset-12
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
%if 0%{?use_dts}
|
|
|
9eec91 |
source scl_source enable devtoolset-%{dts_version}
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
%if 0%{?use_rustts}
|
|
|
9eec91 |
source scl_source enable rust-toolset-%{rust_version}
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
%if 0%{?use_nodejsts}
|
|
|
9eec91 |
source scl_source enable rh-nodejs10
|
|
|
9eec91 |
%endif
|
|
|
12e947 |
%if 0%{?use_llvmts}
|
|
|
12e947 |
source scl_source enable llvm-toolset-%{llvm_version}
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
set -e
|
|
|
9eec91 |
env
|
|
|
9eec91 |
which gcc
|
|
|
9eec91 |
which c++
|
|
|
9eec91 |
which g++
|
|
|
9eec91 |
which ld
|
|
|
9eec91 |
which nasm
|
|
|
12e947 |
which node
|
|
|
12e947 |
%if 0%{?use_bundled_cbindgen}
|
|
|
9eec91 |
mkdir -p my_rust_vendor
|
|
|
9eec91 |
cd my_rust_vendor
|
|
|
9eec91 |
%{__tar} xf %{SOURCE2}
|
|
|
9eec91 |
mkdir -p .cargo
|
|
|
9eec91 |
cat > .cargo/config <
|
|
|
9eec91 |
[source.crates-io]
|
|
|
9eec91 |
replace-with = "vendored-sources"
|
|
|
9eec91 |
|
|
|
9eec91 |
[source.vendored-sources]
|
|
|
12e947 |
directory = "`pwd`"
|
|
|
9eec91 |
EOL
|
|
|
9eec91 |
|
|
|
12e947 |
%ifarch aarch64
|
|
|
12e947 |
#export RUSTFLAGS="-Cdebuginfo=0 -Clinker=/opt/rh/gcc-toolset-12/root/usr/bin/gcc"
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
env CARGO_HOME=.cargo cargo install cbindgen
|
|
|
12e947 |
export PATH=`pwd`/.cargo/bin:$PATH
|
|
|
12e947 |
cd -
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
mkdir %{_buildrootdir}/bin || :
|
|
|
12e947 |
cp %{SOURCE32} %{_buildrootdir}/bin || :
|
|
|
9eec91 |
|
|
|
9eec91 |
# Update the various config.guess to upstream release for aarch64 support
|
|
|
12e947 |
# Do not update config.guess in the ./third_party/rust because that would break checksums
|
|
|
12e947 |
find ./ -path ./third_party/rust -prune -o -name config.guess -exec cp /usr/lib/rpm/config.guess {} ';'
|
|
|
12e947 |
|
|
|
9eec91 |
MOZ_OPT_FLAGS=$(echo "%{optflags}" | %{__sed} -e 's/-Wall//')
|
|
|
9eec91 |
#rhbz#1037063
|
|
|
9eec91 |
# -Werror=format-security causes build failures when -Wno-format is explicitly given
|
|
|
9eec91 |
# for some sources
|
|
|
9eec91 |
# Explicitly force the hardening flags for Firefox so it passes the checksec test;
|
|
|
9eec91 |
# See also https://fedoraproject.org/wiki/Changes/Harden_All_Packages
|
|
|
12e947 |
%if 0%{?fedora} < 30
|
|
|
9eec91 |
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat -Werror=format-security"
|
|
|
12e947 |
%else
|
|
|
12e947 |
# Workaround for mozbz#1531309
|
|
|
12e947 |
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-Werror=format-security//')
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%if 0%{?fedora} > 30
|
|
|
12e947 |
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fpermissive"
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
%if %{?hardened_build}
|
|
|
12e947 |
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fPIC -Wl,-z,relro -Wl,-z,now"
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
%if %{?debug_build}
|
|
|
12e947 |
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-O2//')
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%ifarch s390
|
|
|
12e947 |
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g1/')
|
|
|
12e947 |
# If MOZ_DEBUG_FLAGS is empty, firefox's build will default it to "-g" which
|
|
|
12e947 |
# overrides the -g1 from line above and breaks building on s390/arm
|
|
|
12e947 |
# (OOM when linking, rhbz#1238225)
|
|
|
12e947 |
export MOZ_DEBUG_FLAGS=" "
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%ifarch %{arm} %{ix86}
|
|
|
12e947 |
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g0/')
|
|
|
12e947 |
export MOZ_DEBUG_FLAGS=" "
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
%if !%{build_with_clang}
|
|
|
12e947 |
%ifarch s390x ppc aarch64 %{ix86}
|
|
|
12e947 |
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%ifarch %{arm}
|
|
|
12e947 |
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--strip-debug"
|
|
|
12e947 |
echo "ac_add_options --enable-linker=gold" >> .mozconfig
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%if 0%{?flatpak}
|
|
|
12e947 |
# Make sure the linker can find libraries in /app/lib64 as we don't use
|
|
|
12e947 |
# __global_ldflags that normally sets this.
|
|
|
12e947 |
MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -L%{_libdir}"
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%ifarch %{arm} %{ix86} %{s390x}
|
|
|
12e947 |
export RUSTFLAGS="-Cdebuginfo=0"
|
|
|
12e947 |
echo 'export RUSTFLAGS="-Cdebuginfo=0"' >> .mozconfig
|
|
|
12e947 |
%endif
|
|
|
12e947 |
#%ifarch aarch64
|
|
|
12e947 |
#export RUSTFLAGS="-Cdebuginfo=0 -Clinker=/opt/rh/gcc-toolset-12/root/usr/bin/gcc"
|
|
|
12e947 |
#echo 'export RUSTFLAGS="-Cdebuginfo=0 -Clinker=/opt/rh/gcc-toolset-12/root/usr/bin/gcc"' >> .mozconfig
|
|
|
12e947 |
#%endif
|
|
|
12e947 |
%if %{build_with_asan}
|
|
|
12e947 |
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fsanitize=address -Dxmalloc=myxmalloc"
|
|
|
12e947 |
MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -fsanitize=address -ldl"
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
%if 0%{?bundle_nss}
|
|
|
9eec91 |
mkdir -p %{_buildrootdir}%{bundled_install_path}/%{_lib}
|
|
|
9eec91 |
MOZ_LINK_FLAGS="-L%{_buildrootdir}%{bundled_install_path}/%{_lib} $MOZ_LINK_FLAGS"
|
|
|
9eec91 |
MOZ_LINK_FLAGS="-Wl,-rpath,%{bundled_install_path}/%{_lib} $MOZ_LINK_FLAGS"
|
|
|
9eec91 |
MOZ_LINK_FLAGS="-Wl,-rpath-link,%{_buildrootdir}%{bundled_install_path}/%{_lib} $MOZ_LINK_FLAGS"
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
# We don't wantfirefox to use CK_GCM_PARAMS_V3 in nss
|
|
|
12e947 |
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -DNSS_PKCS11_3_0_STRICT"
|
|
|
9eec91 |
|
|
|
9eec91 |
echo "export CFLAGS=\"$MOZ_OPT_FLAGS\"" >> .mozconfig
|
|
|
9eec91 |
echo "export CXXFLAGS=\"$MOZ_OPT_FLAGS\"" >> .mozconfig
|
|
|
9eec91 |
echo "export LDFLAGS=\"$MOZ_LINK_FLAGS\"" >> .mozconfig
|
|
|
9eec91 |
|
|
|
9eec91 |
%if %{build_with_clang}
|
|
|
12e947 |
echo "export LLVM_PROFDATA=\"llvm-profdata\"" >> .mozconfig
|
|
|
12e947 |
echo "export AR=\"llvm-ar\"" >> .mozconfig
|
|
|
12e947 |
echo "export NM=\"llvm-nm\"" >> .mozconfig
|
|
|
12e947 |
echo "export RANLIB=\"llvm-ranlib\"" >> .mozconfig
|
|
|
12e947 |
echo "ac_add_options --enable-linker=lld" >> .mozconfig
|
|
|
9eec91 |
%else
|
|
|
12e947 |
echo "export CC=gcc" >> .mozconfig
|
|
|
12e947 |
echo "export CXX=g++" >> .mozconfig
|
|
|
12e947 |
echo "export AR=\"gcc-ar\"" >> .mozconfig
|
|
|
12e947 |
echo "export NM=\"gcc-nm\"" >> .mozconfig
|
|
|
12e947 |
echo "export RANLIB=\"gcc-ranlib\"" >> .mozconfig
|
|
|
12e947 |
%endif
|
|
|
12e947 |
%if 0%{?build_with_pgo}
|
|
|
12e947 |
echo "ac_add_options MOZ_PGO=1" >> .mozconfig
|
|
|
12e947 |
# PGO build doesn't work with ccache
|
|
|
12e947 |
export CCACHE_DISABLE=1
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
MOZ_SMP_FLAGS=-j1
|
|
|
12e947 |
# On x86_64 architectures, Mozilla can build up to 4 jobs at once in parallel,
|
|
|
12e947 |
# however builds tend to fail on other arches when building in parallel.
|
|
|
12e947 |
#%ifarch %{ix86} s390x %{arm} aarch64 ppc64le
|
|
|
12e947 |
#[ -z "$RPM_BUILD_NCPUS" ] && \
|
|
|
12e947 |
# RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
|
|
|
12e947 |
#[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
|
|
|
12e947 |
#%endif
|
|
|
12e947 |
#%ifarch x86_64 ppc ppc64 ppc64le
|
|
|
12e947 |
[ -z "$RPM_BUILD_NCPUS" ] && \
|
|
|
9eec91 |
RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
|
|
|
12e947 |
[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
|
|
|
12e947 |
[ "$RPM_BUILD_NCPUS" -ge 4 ] && MOZ_SMP_FLAGS=-j4
|
|
|
12e947 |
[ "$RPM_BUILD_NCPUS" -ge 8 ] && MOZ_SMP_FLAGS=-j8
|
|
|
12e947 |
[ "$RPM_BUILD_NCPUS" -ge 16 ] && MOZ_SMP_FLAGS=-j16
|
|
|
12e947 |
#%endif
|
|
|
9eec91 |
|
|
|
12e947 |
echo "mk_add_options MOZ_MAKE_FLAGS=\"$MOZ_SMP_FLAGS\"" >> .mozconfig
|
|
|
12e947 |
echo "mk_add_options MOZ_SERVICES_SYNC=1" >> .mozconfig
|
|
|
12e947 |
echo "export STRIP=/bin/true" >> .mozconfig
|
|
|
12e947 |
#export MACH_USE_SYSTEM_PYTHON=1
|
|
|
9eec91 |
|
|
|
12e947 |
%if %{launch_wayland_compositor}
|
|
|
12e947 |
cp %{SOURCE45} .
|
|
|
12e947 |
. ./run-wayland-compositor
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
%if 0%{?bundle_nss}
|
|
|
9eec91 |
echo "Setting nss flags"
|
|
|
9eec91 |
# nss-setup-flags-env.inc
|
|
|
9eec91 |
%include_file %{SOURCE401}
|
|
|
9eec91 |
export PATH=%{_buildrootdir}/%{bundled_install_path}/bin:$PATH
|
|
|
9eec91 |
echo $PKG_CONFIG_PATH
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
%if %{build_with_pgo}
|
|
|
12e947 |
%if 0%{?test_on_wayland}
|
|
|
12e947 |
env | grep "WAYLAND"
|
|
|
12e947 |
MOZ_ENABLE_WAYLAND=1 ./mach build -v 2>&1 || exit 1
|
|
|
12e947 |
%else
|
|
|
12e947 |
xvfb-run ./mach build -v 2>&1 || exit 1
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
%else
|
|
|
12e947 |
./mach build -v 2>&1 || exit 1
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
#---------------------------------------------------------------------
|
|
|
9eec91 |
%install
|
|
|
9eec91 |
export MACH_USE_SYSTEM_PYTHON=1
|
|
|
9eec91 |
function install_rpms_to_current_dir() {
|
|
|
9eec91 |
PACKAGE_RPM=$(eval echo $1)
|
|
|
9eec91 |
PACKAGE_DIR=%{_rpmdir}
|
|
|
9eec91 |
|
|
|
9eec91 |
if [ ! -f $PACKAGE_DIR/$PACKAGE_RPM ]; then
|
|
|
9eec91 |
# Hack for tps tests
|
|
|
9eec91 |
ARCH_STR=%{_arch}
|
|
|
9eec91 |
%ifarch %{ix86}
|
|
|
9eec91 |
ARCH_STR="i?86"
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
PACKAGE_DIR="$PACKAGE_DIR/$ARCH_STR"
|
|
|
9eec91 |
fi
|
|
|
9eec91 |
|
|
|
9eec91 |
for package in $(ls $PACKAGE_DIR/$PACKAGE_RPM)
|
|
|
9eec91 |
do
|
|
|
9eec91 |
echo "$package"
|
|
|
9eec91 |
rpm2cpio "$package" | cpio -idu
|
|
|
9eec91 |
done
|
|
|
9eec91 |
}
|
|
|
9eec91 |
|
|
|
9eec91 |
%if 0%{?bundle_nss}
|
|
|
9eec91 |
pushd %{buildroot}
|
|
|
9eec91 |
#install_rpms_to_current_dir nss-*.rpm
|
|
|
9eec91 |
install_rpms_to_current_dir nspr-4*.rpm
|
|
|
9eec91 |
install_rpms_to_current_dir nss-3*.rpm
|
|
|
9eec91 |
install_rpms_to_current_dir nss-softokn-3*.rpm
|
|
|
9eec91 |
install_rpms_to_current_dir nss-softokn-freebl-3*.rpm
|
|
|
9eec91 |
install_rpms_to_current_dir nss-util-3*.rpm
|
|
|
9eec91 |
|
|
|
9eec91 |
# cleanup unecessary nss files
|
|
|
9eec91 |
#rm -rf %{_buildrootdir}/%{bundled_install_path}/bin
|
|
|
9eec91 |
#rm -rf %{_buildrootdir}/%{bundled_install_path}/include
|
|
|
9eec91 |
rm -rf %{buildroot}/%{bundled_install_path}/lib/dracut
|
|
|
9eec91 |
rm -rf %{buildroot}/%{bundled_install_path}/%{_lib}/nss
|
|
|
9eec91 |
#rm -rf %{_buildrootdir}/%{bundled_install_path}/%{_lib}/pkgconfig
|
|
|
9eec91 |
rm -rf %{buildroot}/%{bundled_install_path}/%{_lib}/share
|
|
|
9eec91 |
rm -rf %{buildroot}/%{bundled_install_path}/share
|
|
|
9eec91 |
rm -rf %{buildroot}/etc/pki
|
|
|
9eec91 |
rm -rf %{buildroot}/usr/lib/.build-id
|
|
|
9eec91 |
rm -rf %{buildroot}/etc/crypto-policies
|
|
|
9eec91 |
popd
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
# run Firefox test suite
|
|
|
12e947 |
%if %{launch_wayland_compositor}
|
|
|
12e947 |
cp %{SOURCE45} .
|
|
|
12e947 |
. ./run-wayland-compositor
|
|
|
12e947 |
%endif
|
|
|
12e947 |
|
|
|
12e947 |
%if 0%{?run_firefox_tests}
|
|
|
12e947 |
mkdir -p objdir/_virtualenvs/init_py3
|
|
|
12e947 |
%{__cat} > objdir/_virtualenvs/init_py3/pip.conf << EOF
|
|
|
12e947 |
[global]
|
|
|
12e947 |
find-links=`pwd`/mochitest-python
|
|
|
12e947 |
no-index=true
|
|
|
12e947 |
EOF
|
|
|
12e947 |
tar xf %{SOURCE37}
|
|
|
12e947 |
cp %{SOURCE40} %{SOURCE41} %{SOURCE42} %{SOURCE38} %{SOURCE39} %{SOURCE43} %{SOURCE44} .
|
|
|
12e947 |
mkdir -p test_results
|
|
|
12e947 |
%if %{?test_on_wayland}
|
|
|
12e947 |
./run-tests-wayland || true
|
|
|
12e947 |
%else
|
|
|
12e947 |
./run-tests-x11 || true
|
|
|
12e947 |
%endif
|
|
|
12e947 |
./print_results > test_summary.txt 2>&1 || true
|
|
|
12e947 |
./print_failures || true
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
# set up our default bookmarks
|
|
|
12e947 |
%if !0%{?flatpak}
|
|
|
12e947 |
%{__cp} -p %{default_bookmarks_file} objdir/dist/bin/browser/chrome/browser/content/browser/default-bookmarks.html
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
# Make sure locale works for langpacks
|
|
|
9eec91 |
%{__cat} > objdir/dist/bin/browser/defaults/preferences/firefox-l10n.js << EOF
|
|
|
9eec91 |
pref("general.useragent.locale", "chrome://global/locale/intl.properties");
|
|
|
9eec91 |
EOF
|
|
|
9eec91 |
|
|
|
9eec91 |
DESTDIR=%{buildroot} make -C objdir install
|
|
|
9eec91 |
|
|
|
9eec91 |
%{__mkdir_p} %{buildroot}{%{_libdir},%{_bindir},%{_datadir}/applications}
|
|
|
9eec91 |
|
|
|
9eec91 |
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE20}
|
|
|
2fc90d |
%if 0%{?rhel} >= 9
|
|
|
2fc90d |
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE31}
|
|
|
2fc90d |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
# set up the firefox start script
|
|
|
9eec91 |
%{__rm} -rf %{buildroot}%{_bindir}/firefox
|
|
|
12e947 |
%{__sed} -e 's,/__PREFIX__,%{_prefix},g' %{SOURCE21} > %{buildroot}%{_bindir}/firefox
|
|
|
9eec91 |
%{__chmod} 755 %{buildroot}%{_bindir}/firefox
|
|
|
9eec91 |
|
|
|
12e947 |
%if 0%{?flatpak}
|
|
|
12e947 |
sed -i -e 's|%FLATPAK_ENV_VARS%|export TMPDIR="$XDG_CACHE_HOME/tmp"|' %{buildroot}%{_bindir}/firefox
|
|
|
12e947 |
%else
|
|
|
12e947 |
sed -i -e 's|%FLATPAK_ENV_VARS%||' %{buildroot}%{_bindir}/firefox
|
|
|
12e947 |
%endif
|
|
|
12e947 |
|
|
|
12e947 |
# Run firefox under wayland only on RHEL9 and newer
|
|
|
12e947 |
%if 0%{?rhel} < 9
|
|
|
12e947 |
sed -i -e 's|%DISABLE_WAYLAND_PLACEHOLDER%|export MOZ_DISABLE_WAYLAND=1|' %{buildroot}%{_bindir}/firefox
|
|
|
12e947 |
%else
|
|
|
12e947 |
sed -i -e 's|%DISABLE_WAYLAND_PLACEHOLDER%||' %{buildroot}%{_bindir}/firefox
|
|
|
2fc90d |
# firefox-x11 launch script for RHEL9 only
|
|
|
2fc90d |
%{__sed} -e 's,/__PREFIX__,%{_prefix},g' %{SOURCE30} > %{buildroot}%{_bindir}/firefox-x11
|
|
|
2fc90d |
%{__chmod} 755 %{buildroot}%{_bindir}/firefox-x11
|
|
|
12e947 |
%endif
|
|
|
12e947 |
|
|
|
9eec91 |
%{__install} -p -D -m 644 %{SOURCE23} %{buildroot}%{_mandir}/man1/firefox.1
|
|
|
9eec91 |
|
|
|
9eec91 |
%{__rm} -f %{buildroot}/%{mozappdir}/firefox-config
|
|
|
9eec91 |
%{__rm} -f %{buildroot}/%{mozappdir}/update-settings.ini
|
|
|
9eec91 |
|
|
|
9eec91 |
for s in 16 22 24 32 48 256; do
|
|
|
9eec91 |
%{__mkdir_p} %{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps
|
|
|
9eec91 |
%{__cp} -p browser/branding/official/default${s}.png \
|
|
|
9eec91 |
%{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps/firefox.png
|
|
|
9eec91 |
done
|
|
|
9eec91 |
|
|
|
9eec91 |
# Install hight contrast icon
|
|
|
9eec91 |
%{__mkdir_p} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
|
|
|
9eec91 |
%{__cp} -p %{SOURCE25} \
|
|
|
9eec91 |
%{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
|
|
|
9eec91 |
|
|
|
9eec91 |
echo > %{name}.lang
|
|
|
12e947 |
%if %{with langpacks}
|
|
|
9eec91 |
# Extract langpacks, make any mods needed, repack the langpack, and install it.
|
|
|
9eec91 |
%{__mkdir_p} %{buildroot}%{langpackdir}
|
|
|
9eec91 |
%{__tar} xf %{SOURCE1}
|
|
|
9eec91 |
for langpack in `ls firefox-langpacks/*.xpi`; do
|
|
|
9eec91 |
language=`basename $langpack .xpi`
|
|
|
9eec91 |
extensionID=langpack-$language@firefox.mozilla.org
|
|
|
9eec91 |
%{__mkdir_p} $extensionID
|
|
|
9eec91 |
unzip -qq $langpack -d $extensionID
|
|
|
9eec91 |
find $extensionID -type f | xargs chmod 644
|
|
|
9eec91 |
|
|
|
9eec91 |
cd $extensionID
|
|
|
9eec91 |
zip -qq -r9mX ../${extensionID}.xpi *
|
|
|
9eec91 |
cd -
|
|
|
9eec91 |
|
|
|
9eec91 |
%{__install} -m 644 ${extensionID}.xpi %{buildroot}%{langpackdir}
|
|
|
9eec91 |
language=`echo $language | sed -e 's/-/_/g'`
|
|
|
12e947 |
%if 0%{?flatpak}
|
|
|
12e947 |
echo "%{langpackdir}/${extensionID}.xpi" >> %{name}.lang
|
|
|
12e947 |
%else
|
|
|
9eec91 |
echo "%%lang($language) %{langpackdir}/${extensionID}.xpi" >> %{name}.lang
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
done
|
|
|
9eec91 |
%{__rm} -rf firefox-langpacks
|
|
|
9eec91 |
|
|
|
9eec91 |
# Install langpack workaround (see #707100, #821169)
|
|
|
9eec91 |
function create_default_langpack() {
|
|
|
9eec91 |
language_long=$1
|
|
|
9eec91 |
language_short=$2
|
|
|
9eec91 |
cd %{buildroot}%{langpackdir}
|
|
|
9eec91 |
ln -s langpack-$language_long@firefox.mozilla.org.xpi langpack-$language_short@firefox.mozilla.org.xpi
|
|
|
9eec91 |
cd -
|
|
|
9eec91 |
echo "%%lang($language_short) %{langpackdir}/langpack-$language_short@firefox.mozilla.org.xpi" >> %{name}.lang
|
|
|
9eec91 |
}
|
|
|
9eec91 |
|
|
|
9eec91 |
# Table of fallbacks for each language
|
|
|
9eec91 |
# please file a bug at bugzilla.redhat.com if the assignment is incorrect
|
|
|
12e947 |
#create_default_langpack "bn-IN" "bn"
|
|
|
9eec91 |
create_default_langpack "es-AR" "es"
|
|
|
9eec91 |
create_default_langpack "fy-NL" "fy"
|
|
|
9eec91 |
create_default_langpack "ga-IE" "ga"
|
|
|
9eec91 |
create_default_langpack "gu-IN" "gu"
|
|
|
9eec91 |
create_default_langpack "hi-IN" "hi"
|
|
|
9eec91 |
create_default_langpack "hy-AM" "hy"
|
|
|
9eec91 |
create_default_langpack "nb-NO" "nb"
|
|
|
9eec91 |
create_default_langpack "nn-NO" "nn"
|
|
|
9eec91 |
create_default_langpack "pa-IN" "pa"
|
|
|
9eec91 |
create_default_langpack "pt-PT" "pt"
|
|
|
9eec91 |
create_default_langpack "sv-SE" "sv"
|
|
|
9eec91 |
create_default_langpack "zh-TW" "zh"
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
# Keep compatibility with the old preference location.
|
|
|
9eec91 |
%{__mkdir_p} %{buildroot}%{mozappdir}/defaults/preferences
|
|
|
9eec91 |
%{__mkdir_p} %{buildroot}%{mozappdir}/browser/defaults
|
|
|
9eec91 |
ln -s %{mozappdir}/defaults/preferences $RPM_BUILD_ROOT/%{mozappdir}/browser/defaults/preferences
|
|
|
9eec91 |
# Default preferences
|
|
|
9eec91 |
%{__cp} %{SOURCE12} %{buildroot}%{mozappdir}/defaults/preferences/all-redhat.js
|
|
|
9eec91 |
sed -i -e 's|%PREFIX%|%{_prefix}|' %{buildroot}%{mozappdir}/defaults/preferences/all-redhat.js
|
|
|
9eec91 |
# Enable modern crypto for the key export on the RHEL9 only (rhbz#1764205)
|
|
|
9eec91 |
%if 0%{?rhel} == 9
|
|
|
9eec91 |
echo 'pref("security.pki.use_modern_crypto_with_pkcs12", true);' >> %{buildroot}%{mozappdir}/defaults/preferences/all-redhat.js
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
%ifarch s390x
|
|
|
9eec91 |
echo 'pref("gfx.webrender.force-disabled", true);' >> %{buildroot}%{mozappdir}/defaults/preferences/all-redhat.js
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
12e947 |
%ifarch s390x ppc64
|
|
|
12e947 |
echo 'pref("gfx.webrender.force-disabled", true);' >> %{buildroot}%{mozappdir}/defaults/preferences/all-redhat.js
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
# System config dir
|
|
|
9eec91 |
%{__mkdir_p} %{buildroot}/%{_sysconfdir}/%{name}/pref
|
|
|
9eec91 |
|
|
|
9eec91 |
# System extensions
|
|
|
9eec91 |
%{__mkdir_p} %{buildroot}%{_datadir}/mozilla/extensions/%{firefox_app_id}
|
|
|
9eec91 |
%{__mkdir_p} %{buildroot}%{_libdir}/mozilla/extensions/%{firefox_app_id}
|
|
|
9eec91 |
|
|
|
9eec91 |
# Copy over the LICENSE
|
|
|
9eec91 |
%{__install} -p -c -m 644 LICENSE %{buildroot}/%{mozappdir}
|
|
|
9eec91 |
|
|
|
9eec91 |
# Use the system hunspell dictionaries
|
|
|
9eec91 |
%{__rm} -rf %{buildroot}%{mozappdir}/dictionaries
|
|
|
9eec91 |
ln -s %{_datadir}/myspell %{buildroot}%{mozappdir}/dictionaries
|
|
|
9eec91 |
|
|
|
12e947 |
%if 0%{?run_firefox_tests}
|
|
|
12e947 |
%{__mkdir_p} %{buildroot}/%{version}-%{release}/test_results
|
|
|
12e947 |
%{__cp} test_results/* %{buildroot}/%{version}-%{release}/test_results
|
|
|
12e947 |
%{__cp} test_summary.txt %{buildroot}/%{version}-%{release}/
|
|
|
12e947 |
%{__cp} failures-* %{buildroot}/%{version}-%{release}/ || true
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
# Copy over run-mozilla.sh
|
|
|
9eec91 |
%{__cp} build/unix/run-mozilla.sh %{buildroot}%{mozappdir}
|
|
|
9eec91 |
|
|
|
9eec91 |
# Add distribution.ini
|
|
|
9eec91 |
%{__mkdir_p} %{buildroot}%{mozappdir}/distribution
|
|
|
9eec91 |
%{__cp} %{SOURCE26} %{buildroot}%{mozappdir}/distribution
|
|
|
9eec91 |
|
|
|
12e947 |
# Install appdata file
|
|
|
12e947 |
mkdir -p %{buildroot}%{_datadir}/metainfo
|
|
|
12e947 |
%{__sed} -e "s/__VERSION__/%{version}/" \
|
|
|
12e947 |
-e "s/__DATE__/$(date '+%Y-%m-%d')/" \
|
|
|
12e947 |
%{SOURCE33} > %{buildroot}%{_datadir}/metainfo/firefox.appdata.xml
|
|
|
12e947 |
|
|
|
12e947 |
# Install Gnome search provider files
|
|
|
12e947 |
mkdir -p %{buildroot}%{_datadir}/gnome-shell/search-providers
|
|
|
12e947 |
%{__cp} %{SOURCE34} %{buildroot}%{_datadir}/gnome-shell/search-providers
|
|
|
12e947 |
|
|
|
12e947 |
# Remove gtk2 support as flash plugin is no longer supported
|
|
|
12e947 |
rm -rf %{buildroot}%{mozappdir}/gtk2/
|
|
|
9eec91 |
|
|
|
9eec91 |
# Remove copied libraries to speed up build
|
|
|
9eec91 |
rm -f %{buildroot}%{mozappdirdev}/sdk/lib/libmozjs.so
|
|
|
9eec91 |
rm -f %{buildroot}%{mozappdirdev}/sdk/lib/libmozalloc.so
|
|
|
9eec91 |
rm -f %{buildroot}%{mozappdirdev}/sdk/lib/libxul.so
|
|
|
12e947 |
|
|
|
12e947 |
# Create a symlink to replace libnssckbi.so with p11-kit-client.so
|
|
|
12e947 |
# instead of p11-kit-trust.so, so that Firefox can see the system
|
|
|
12e947 |
# trust store on the host through the p11-kit RPC protocol. A symlink
|
|
|
12e947 |
# to libnss3.so is also needed, because Firefox tries to load
|
|
|
12e947 |
# libnssckbi.so from the same directory where libnss3.so is loaded (as
|
|
|
12e947 |
# of Firefox 89).
|
|
|
12e947 |
%if 0%{?flatpak}
|
|
|
12e947 |
ln -sf /usr/lib64/libnss3.so %{buildroot}%{_libdir}/libnss3.so
|
|
|
12e947 |
ln -sf /usr/lib64/pkcs11/p11-kit-client.so %{buildroot}%{_libdir}/libnssckbi.so
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
#---------------------------------------------------------------------
|
|
|
9eec91 |
|
|
|
12e947 |
%check
|
|
|
12e947 |
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml
|
|
|
12e947 |
|
|
|
9eec91 |
%preun
|
|
|
9eec91 |
# is it a final removal?
|
|
|
9eec91 |
if [ $1 -eq 0 ]; then
|
|
|
9eec91 |
%{__rm} -rf %{mozappdir}/components
|
|
|
9eec91 |
%{__rm} -rf %{mozappdir}/extensions
|
|
|
9eec91 |
%{__rm} -rf %{mozappdir}/plugins
|
|
|
9eec91 |
fi
|
|
|
9eec91 |
|
|
|
9eec91 |
%clean
|
|
|
9eec91 |
rm -rf %{_srcrpmdir}/libffi*.src.rpm
|
|
|
9eec91 |
find %{_rpmdir} -name "libffi*.rpm" -delete
|
|
|
9eec91 |
rm -rf %{_srcrpmdir}/openssl*.src.rpm
|
|
|
9eec91 |
find %{_rpmdir} -name "openssl*.rpm" -delete
|
|
|
9eec91 |
rm -rf %{_srcrpmdir}/nss*.src.rpm
|
|
|
9eec91 |
find %{_rpmdir} -name "nss*.rpm" -delete
|
|
|
9eec91 |
rm -rf %{_srcrpmdir}/nspr*.src.rpm
|
|
|
9eec91 |
find %{_rpmdir} -name "nspr*.rpm" -delete
|
|
|
9eec91 |
|
|
|
9eec91 |
%post
|
|
|
9eec91 |
update-desktop-database &> /dev/null || :
|
|
|
9eec91 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
9eec91 |
|
|
|
9eec91 |
%postun
|
|
|
9eec91 |
update-desktop-database &> /dev/null || :
|
|
|
9eec91 |
if [ $1 -eq 0 ] ; then
|
|
|
9eec91 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
9eec91 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
12e947 |
%{__rm} -rf %{langpackdir}
|
|
|
9eec91 |
fi
|
|
|
9eec91 |
|
|
|
9eec91 |
%posttrans
|
|
|
9eec91 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
9eec91 |
|
|
|
9eec91 |
%files -f %{name}.lang
|
|
|
9eec91 |
%{_bindir}/firefox
|
|
|
9eec91 |
%{mozappdir}/firefox
|
|
|
9eec91 |
%{mozappdir}/firefox-bin
|
|
|
9eec91 |
%doc %{_mandir}/man1/*
|
|
|
9eec91 |
%dir %{_sysconfdir}/%{name}
|
|
|
9eec91 |
%dir %{_sysconfdir}/%{name}/*
|
|
|
9eec91 |
%dir %{_datadir}/mozilla/extensions/*
|
|
|
9eec91 |
%dir %{_libdir}/mozilla/extensions/*
|
|
|
12e947 |
%{_datadir}/applications/%{name}.desktop
|
|
|
12e947 |
%{_datadir}/metainfo/*.appdata.xml
|
|
|
12e947 |
%{_datadir}/gnome-shell/search-providers/*.ini
|
|
|
9eec91 |
%dir %{mozappdir}
|
|
|
12e947 |
%license %{mozappdir}/LICENSE
|
|
|
9eec91 |
%{mozappdir}/browser/chrome
|
|
|
9eec91 |
%{mozappdir}/defaults/preferences/*
|
|
|
9eec91 |
%{mozappdir}/browser/defaults/preferences
|
|
|
9eec91 |
%{mozappdir}/browser/features/*.xpi
|
|
|
9eec91 |
%{mozappdir}/distribution/distribution.ini
|
|
|
12e947 |
# That's Windows only
|
|
|
12e947 |
%ghost %{mozappdir}/browser/features/aushelper@mozilla.org.xpi
|
|
|
12e947 |
%if %{with langpacks}
|
|
|
9eec91 |
%dir %{langpackdir}
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
%{mozappdir}/browser/omni.ja
|
|
|
9eec91 |
%{mozappdir}/run-mozilla.sh
|
|
|
9eec91 |
%{mozappdir}/application.ini
|
|
|
9eec91 |
%{mozappdir}/pingsender
|
|
|
9eec91 |
%exclude %{mozappdir}/removed-files
|
|
|
12e947 |
%if 0%{?flatpak}
|
|
|
12e947 |
%{_libdir}/libnss3.so
|
|
|
12e947 |
%{_libdir}/libnssckbi.so
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
%{_datadir}/icons/hicolor/16x16/apps/firefox.png
|
|
|
9eec91 |
%{_datadir}/icons/hicolor/22x22/apps/firefox.png
|
|
|
9eec91 |
%{_datadir}/icons/hicolor/24x24/apps/firefox.png
|
|
|
9eec91 |
%{_datadir}/icons/hicolor/256x256/apps/firefox.png
|
|
|
9eec91 |
%{_datadir}/icons/hicolor/32x32/apps/firefox.png
|
|
|
9eec91 |
%{_datadir}/icons/hicolor/48x48/apps/firefox.png
|
|
|
9eec91 |
%{_datadir}/icons/hicolor/symbolic/apps/firefox-symbolic.svg
|
|
|
12e947 |
%if %{enable_mozilla_crashreporter}
|
|
|
12e947 |
%{mozappdir}/crashreporter
|
|
|
12e947 |
%{mozappdir}/crashreporter.ini
|
|
|
12e947 |
%{mozappdir}/minidump-analyzer
|
|
|
12e947 |
%{mozappdir}/Throbber-small.gif
|
|
|
12e947 |
%{mozappdir}/browser/crashreporter-override.ini
|
|
|
12e947 |
%endif
|
|
|
9eec91 |
%{mozappdir}/*.so
|
|
|
9eec91 |
%{mozappdir}/defaults/pref/channel-prefs.js
|
|
|
9eec91 |
%{mozappdir}/dependentlibs.list
|
|
|
9eec91 |
%{mozappdir}/dictionaries
|
|
|
9eec91 |
%{mozappdir}/omni.ja
|
|
|
9eec91 |
%{mozappdir}/platform.ini
|
|
|
9eec91 |
%{mozappdir}/plugin-container
|
|
|
9eec91 |
%{mozappdir}/gmp-clearkey
|
|
|
12e947 |
%{mozappdir}/fonts/TwemojiMozilla.ttf
|
|
|
9eec91 |
%if !%{?system_nss}
|
|
|
9eec91 |
%exclude %{mozappdir}/libnssckbi.so
|
|
|
9eec91 |
%endif
|
|
|
12e947 |
%if %{build_with_asan}
|
|
|
12e947 |
%{mozappdir}/llvm-symbolizer
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
%if 0%{?bundle_nss}
|
|
|
9eec91 |
%{mozappdir}/bundled/%{_lib}/libfreebl*
|
|
|
9eec91 |
%{mozappdir}/bundled/%{_lib}/libnss3*
|
|
|
9eec91 |
%{mozappdir}/bundled/%{_lib}/libnssdbm3*
|
|
|
9eec91 |
%{mozappdir}/bundled/%{_lib}/libnssutil3*
|
|
|
9eec91 |
%{mozappdir}/bundled/%{_lib}/libsmime3*
|
|
|
9eec91 |
%{mozappdir}/bundled/%{_lib}/libsoftokn*
|
|
|
9eec91 |
%{mozappdir}/bundled/%{_lib}/libssl3*
|
|
|
9eec91 |
%{mozappdir}/bundled/%{_lib}/libnspr4.so
|
|
|
9eec91 |
%{mozappdir}/bundled/%{_lib}/libplc4.so
|
|
|
9eec91 |
%{mozappdir}/bundled/%{_lib}/libplds4.so
|
|
|
9eec91 |
%endif
|
|
|
9eec91 |
|
|
|
9eec91 |
#---------------------------------------------------------------------
|
|
|
9eec91 |
|
|
|
9eec91 |
%changelog
|
|
|
1e6e37 |
* Fri Mar 10 2023 Eike Rathke <erack@redhat.com> - 102.9.0-3
|
|
|
1e6e37 |
- Update to 102.9.0 build2
|
|
|
1e6e37 |
|
|
|
1e6e37 |
* Thu Mar 09 2023 Jan Horak <jhorak@redhat.com> - 102.9.0-2
|
|
|
1e6e37 |
- removed disable-openh264-download
|
|
|
1e6e37 |
|
|
|
1e6e37 |
* Tue Mar 07 2023 Eike Rathke <erack@redhat.com> - 102.9.0-1
|
|
|
1e6e37 |
- Update to 102.9.0 build1
|
|
|
fd38a9 |
|
|
|
4f64cf |
* Tue Feb 14 2023 Eike Rathke <erack@redhat.com> - 102.8.0-2
|
|
|
4f64cf |
- Update to 102.8.0 build2
|
|
|
4f64cf |
|
|
|
4f64cf |
* Tue Feb 07 2023 Eike Rathke <erack@redhat.com> - 102.8.0-1
|
|
|
4f64cf |
- Update to 102.8.0 build1
|
|
|
4fb45b |
|
|
|
2fc90d |
* Tue Jan 10 2023 Eike Rathke <erack@redhat.com> - 102.7.0-1
|
|
|
2fc90d |
- Update to 102.7.0 build1
|
|
|
2fc90d |
|
|
|
2fc90d |
* Mon Jan 02 2023 Jan Horak <jhorak@redhat.com> - 102.6.0-2
|
|
|
2fc90d |
- Add firefox-x11 subpackage to allow explicit run of firefox under x11 on RHEL9
|
|
|
9892fc |
|
|
|
6336df |
* Tue Dec 06 2022 Eike Rathke <erack@redhat.com> - 102.6.0-1
|
|
|
6336df |
- Update to 102.6.0 build1
|
|
|
6336df |
|
|
|
6336df |
* Fri Nov 25 2022 Jan Horak <jhorak@redhat.com> - 102.5.0-2
|
|
|
6336df |
- Added libwebrtc screencast patch for newer features
|
|
|
e3babe |
|
|
|
5ab638 |
* Wed Nov 09 2022 Eike Rathke <erack@redhat.com> - 102.5.0-1
|
|
|
5ab638 |
- Update to 102.5.0 build1
|
|
|
5ab638 |
|
|
|
5ab638 |
* Wed Oct 12 2022 Eike Rathke <erack@redhat.com> - 102.4.0-1
|
|
|
5ab638 |
- Update to 102.4.0 build1
|
|
|
5ab638 |
|
|
|
5ab638 |
* Tue Oct 11 2022 Jan Horak <jhorak@redhat.com> - 102.3.0-7
|
|
|
5ab638 |
- Fix for expat CVE-2022-40674 and non functional webrtc
|
|
|
c77f08 |
|
|
|
12e947 |
* Tue Sep 13 2022 Jan Horak <jhorak@redhat.com> - 102.3.0-6
|
|
|
12e947 |
- Update to 102.3.0 build1
|
|
|
d185a1 |
|
|
|
7e01a1 |
* Thu Jul 21 2022 Eike Rathke <erack@redhat.com> - 91.12.0-1
|
|
|
7e01a1 |
- Update to 91.12.0 build1
|
|
|
af34a2 |
|
|
|
82870a |
* Thu Jun 23 2022 Eike Rathke <erack@redhat.com> - 91.11.0-2
|
|
|
82870a |
- Update to 91.11.0 build2
|
|
|
82870a |
|
|
|
82870a |
* Tue Jun 21 2022 Eike Rathke <erack@redhat.com> - 91.11.0-1
|
|
|
82870a |
- Update to 91.11.0 build1
|
|
|
0381ad |
|
|
|
35dbb0 |
* Tue May 24 2022 Eike Rathke <erack@redhat.com> - 91.10.0-1
|
|
|
35dbb0 |
- Update to 91.10.0 build1
|
|
|
c54e3a |
|
|
|
712e40 |
* Fri May 20 2022 Jan Horak <jhorak@redhat.com> - 91.9.1-1
|
|
|
712e40 |
- Update to 91.9.1 build1
|
|
|
a459ff |
|
|
|
a3db09 |
* Tue Apr 26 2022 Eike Rathke <erack@redhat.com> - 91.9.0-1
|
|
|
a3db09 |
- Update to 91.9.0
|
|
|
09a389 |
|
|
|
9eec91 |
* Tue Apr 05 2022 Eike Rathke <erack@redhat.com> - 91.8.0-1
|
|
|
9eec91 |
- Update to 91.8.0
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Mar 07 2022 Eike Rathke <erack@redhat.com> - 91.7.0-3
|
|
|
9eec91 |
- Update to 91.7.0 build3
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Mar 02 2022 Jan Horak <jhorak@redhat.com> - 91.7.0-2
|
|
|
9eec91 |
- Added expat backports of CVE-2022-25235, CVE-2022-25236 and CVE-2022-25315
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Mar 01 2022 Eike Rathke <erack@redhat.com> - 91.7.0-1
|
|
|
9eec91 |
- Update to 91.7.0 build2
|
|
|
9eec91 |
|
|
|
12e947 |
* Fri Feb 25 2022 Jan Horak <jhorak@redhat.com> - 91.6.0-2
|
|
|
12e947 |
- Install langpacks to the browser/extensions to make them available in UI:
|
|
|
12e947 |
rhbz#2030190
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Feb 02 2022 Eike Rathke <erack@redhat.com> - 91.6.0-1
|
|
|
9eec91 |
- Update to 91.6.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Feb 02 2022 Jan Horak <jhorak@redhat.com> - 91.5.0-2
|
|
|
9eec91 |
- Use default update channel to fix non working enterprise policies:
|
|
|
9eec91 |
rhbz#2044667
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Jan 06 2022 Eike Rathke <erack@redhat.com> - 91.5.0-1
|
|
|
9eec91 |
- Update to 91.5.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Dec 13 2021 Jan Horak <jhorak@redhat.com> - 91.4.0-2
|
|
|
9eec91 |
- Added fix for failing addons signatures.
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Dec 01 2021 Eike Rathke <erack@redhat.com> - 91.4.0-1
|
|
|
9eec91 |
- Update to 91.4.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Nov 01 2021 Eike Rathke <erack@redhat.com> - 91.3.0-1
|
|
|
9eec91 |
- Update to 91.3.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Oct 21 2021 Jan Horak <jhorak@redhat.com> - 91.2.0-5
|
|
|
9eec91 |
- Fixed crashes when FIPS is enabled.
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Oct 04 2021 Jan Horak <jhorak@redhat.com> - 91.2.0-4
|
|
|
9eec91 |
- Disable webrender on the s390x due to wrong colors: rhbz#2009503
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Sep 29 2021 Jan Horak <jhorak@redhat.com> - 91.2.0-3
|
|
|
9eec91 |
- Update to 91.2.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Sep 15 2021 Jan Horak <jhorak@redhat.com> - 91.1.0-1
|
|
|
9eec91 |
- Update to 91.1.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Aug 17 2021 Jan Horak <jhorak@redhat.com>
|
|
|
9eec91 |
- Update to 91.0.1 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Aug 10 2021 Jan Horak <jhorak@redhat.com> - 91.0-1
|
|
|
9eec91 |
- Update to 91.0 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Jul 29 2021 Jan Horak <jhorak@redhat.com> - 91.0-1
|
|
|
9eec91 |
- Update to 91.0b8
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Jul 16 2021 Jan Horak <jhorak@redhat.com> - 78.12.0-2
|
|
|
9eec91 |
- Rebuild to pickup older nss
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Jul 07 2021 Eike Rathke <erack@redhat.com> - 78.12.0-1
|
|
|
9eec91 |
- Update to 78.12.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon May 31 2021 Eike Rathke <erack@redhat.com> - 78.11.0-3
|
|
|
9eec91 |
- Update to 78.11.0 build2 (release)
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu May 27 2021 Eike Rathke <erack@redhat.com> - 78.11.0-2
|
|
|
9eec91 |
- Fix rhel_minor_version for dist .el8_4 and .el8
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue May 25 2021 Eike Rathke <erack@redhat.com> - 78.11.0-1
|
|
|
9eec91 |
- Update to 78.11.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Apr 20 2021 Eike Rathke <erack@redhat.com> - 78.10.0-1
|
|
|
9eec91 |
- Update to 78.10.0
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Mar 17 2021 Eike Rathke <erack@redhat.com> - 78.9.0-1
|
|
|
9eec91 |
- Update to 78.9.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Feb 17 2021 Eike Rathke <erack@redhat.com> - 78.8.0-1
|
|
|
9eec91 |
- Update to 78.8.0 build2
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Feb 09 2021 Eike Rathke <erack@redhat.com> - 78.7.1-1
|
|
|
9eec91 |
- Update to 78.7.1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Feb 09 2021 Jan Horak <jhorak@redhat.com> - 78.7.0-3
|
|
|
9eec91 |
- Fixing install prefix for the homepage
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Jan 22 2021 Eike Rathke <erack@redhat.com> - 78.7.0-2
|
|
|
9eec91 |
- Update to 78.7.0 build2
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Jan 20 2021 Eike Rathke <erack@redhat.com> - 78.7.0-1
|
|
|
9eec91 |
- Update to 78.7.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Jan 6 2021 Eike Rathke <erack@redhat.com> - 78.6.1-1
|
|
|
9eec91 |
- Update to 78.6.1 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Dec 10 2020 Jan Horak <jhorak@redhat.com> - 78.6.0-1
|
|
|
9eec91 |
- Update to 78.6.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Nov 18 2020 Jan Horak <jhorak@redhat.com> - 78.5.0-1
|
|
|
9eec91 |
- Update to 78.5.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Nov 10 2020 erack@redhat.com - 78.4.1-1
|
|
|
9eec91 |
- Update to 78.4.1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Nov 10 2020 Jan Horak <jhorak@redhat.com> - 78.4.0-3
|
|
|
9eec91 |
- Fixing flatpak build, fixing firefox.sh.in to not disable langpacks loading
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Oct 29 2020 Jan Horak <jhorak@redhat.com> - 78.4.0-2
|
|
|
9eec91 |
- Enable addon sideloading
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Oct 16 2020 Jan Horak <jhorak@redhat.com> - 78.4.0-1
|
|
|
9eec91 |
- Update to 78.4.0 build2
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Sep 18 2020 Jan Horak <jhorak@redhat.com>
|
|
|
9eec91 |
- Update to 78.3.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Aug 18 2020 Jan Horak <jhorak@redhat.com> - 78.2.0-3
|
|
|
9eec91 |
- Update to 78.2.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Jul 24 2020 Jan Horak <jhorak@redhat.com>
|
|
|
9eec91 |
- Update to 68.11.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Jun 26 2020 Jan Horak <jhorak@redhat.com>
|
|
|
9eec91 |
- Update to 68.10.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri May 29 2020 Jan Horak <jhorak@redhat.com>
|
|
|
9eec91 |
- Update to 68.9.0 build1
|
|
|
9eec91 |
- Added patch for pipewire 0.3
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon May 11 2020 Jan Horak <jhorak@redhat.com>
|
|
|
9eec91 |
- Added s390x specific patches
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Apr 29 2020 Jan Horak <jhorak@redhat.com>
|
|
|
9eec91 |
- Update to 68.8.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Apr 23 2020 Martin Stransky <stransky@redhat.com> - 68.7.0-3
|
|
|
9eec91 |
- Added fix for rhbz#1821418
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Apr 07 2020 Jan Horak <jhorak@redhat.com> - 68.7.0-2
|
|
|
9eec91 |
- Update to 68.7.0 build3
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Apr 6 2020 Jan Horak <jhorak@redhat.com> - 68.6.1-1
|
|
|
9eec91 |
- Update to 68.6.1 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Mar 04 2020 Jan Horak <jhorak@redhat.com>
|
|
|
9eec91 |
- Update to 68.6.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Feb 24 2020 Martin Stransky <stransky@redhat.com> - 68.5.0-3
|
|
|
9eec91 |
- Added fix for rhbz#1805667
|
|
|
9eec91 |
- Enabled mzbz@1170092 - Firefox prefs at /etc
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Feb 07 2020 Jan Horak <jhorak@redhat.com>
|
|
|
9eec91 |
- Update to 68.5.0 build2
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Feb 05 2020 Jan Horak <jhorak@redhat.com>
|
|
|
9eec91 |
- Update to 68.5.0 build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Jan 08 2020 Jan Horak <jhorak@redhat.com>
|
|
|
9eec91 |
- Update to 68.4.1esr build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Jan 03 2020 Jan Horak <jhorak@redhat.com>
|
|
|
9eec91 |
- Update to 68.4.0esr build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Dec 18 2019 Jan Horak <jhorak@redhat.com>
|
|
|
9eec91 |
- Fix for wrong intl.accept_lang when using non en-us langpack
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Nov 27 2019 Martin Stransky <stransky@redhat.com> - 68.3.0-1
|
|
|
9eec91 |
- Update to 68.3.0 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Oct 24 2019 Martin Stransky <stransky@redhat.com> - 68.2.0-4
|
|
|
9eec91 |
- Added patch for TLS 1.3 support.
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Oct 23 2019 Martin Stransky <stransky@redhat.com> - 68.2.0-3
|
|
|
9eec91 |
- Rebuild
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Oct 21 2019 Martin Stransky <stransky@redhat.com> - 68.2.0-2
|
|
|
9eec91 |
- Rebuild
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Oct 17 2019 Martin Stransky <stransky@redhat.com> - 68.2.0-1
|
|
|
9eec91 |
- Update to 68.2.0 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Oct 10 2019 Martin Stransky <stransky@redhat.com> - 68.1.0-6
|
|
|
9eec91 |
- Enable system nss on RHEL6
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Sep 5 2019 Jan Horak <jhorak@redhat.com> - 68.1.0-2
|
|
|
9eec91 |
- Enable building langpacks
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Aug 28 2019 Jan Horak <jhorak@redhat.com> - 68.1.0-1
|
|
|
9eec91 |
- Update to 68.1.0 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Aug 5 2019 Martin Stransky <stransky@redhat.com> - 68.0.1-4
|
|
|
9eec91 |
- Enable system nss
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Jul 29 2019 Martin Stransky <stransky@redhat.com> - 68.0.1-3
|
|
|
9eec91 |
- Enable official branding
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Jul 26 2019 Martin Stransky <stransky@redhat.com> - 68.0.1-2
|
|
|
9eec91 |
- Enabled PipeWire on RHEL8
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Jul 26 2019 Martin Stransky <stransky@redhat.com> - 68.0.1-1
|
|
|
9eec91 |
- Updated to 68.0.1 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Jul 16 2019 Jan Horak <jhorak@redhat.com> - 68.0-0.11
|
|
|
9eec91 |
- Update to 68.0 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Jun 25 2019 Martin Stransky <stransky@redhat.com> - 68.0-0.10
|
|
|
9eec91 |
- Updated to 68.0 alpha 13
|
|
|
9eec91 |
- Enabled second arches
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Mar 22 2019 Martin Stransky <stransky@redhat.com> - 68.0-0.1
|
|
|
9eec91 |
- Updated to 68.0 alpha
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Mar 15 2019 Martin Stransky <stransky@redhat.com> - 60.6.0-3
|
|
|
9eec91 |
- Added Google API keys (mozbz#1531176)
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Mar 14 2019 Martin Stransky <stransky@redhat.com> - 60.6.0-2
|
|
|
9eec91 |
- Update to 60.6.0 ESR (Build 2)
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Mar 13 2019 Martin Stransky <stransky@redhat.com> - 60.6.0-1
|
|
|
9eec91 |
- Update to 60.6.0 ESR (Build 1)
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Feb 13 2019 Jan Horak <jhorak@redhat.com> - 60.5.1-1
|
|
|
9eec91 |
- Update to 60.5.1 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Feb 6 2019 Martin Stransky <stransky@redhat.com> - 60.5.0-3
|
|
|
9eec91 |
- Added fix for rhbz#1672424 - Firefox crashes on NFS drives.
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Jan 25 2019 Martin Stransky <stransky@redhat.com> - 60.5.0-2
|
|
|
9eec91 |
- Updated to 60.5.0 ESR build2
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Jan 22 2019 Martin Stransky <stransky@redhat.com> - 60.5.0-1
|
|
|
9eec91 |
- Updated to 60.5.0 ESR build1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Jan 10 2019 Jan Horak <jhorak@redhat.com> - 60.4.0-3
|
|
|
9eec91 |
- Fixing fontconfig warnings (rhbz#1601475)
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Jan 9 2019 Jan Horak <jhorak@redhat.com> - 60.4.0-2
|
|
|
9eec91 |
- Added pipewire patch from Tomas Popela (rhbz#1664270)
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Dec 5 2018 Jan Horak <jhorak@redhat.com> - 60.4.0-1
|
|
|
9eec91 |
- Update to 60.4.0 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Dec 4 2018 Jan Horak <jhorak@redhat.com> - 60.3.0-2
|
|
|
9eec91 |
- Added firefox-gnome-shell-extension
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Oct 19 2018 Jan Horak <jhorak@redhat.com> - 60.3.0-1
|
|
|
9eec91 |
- Update to 60.3.0 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Oct 10 2018 Jan Horak <jhorak@redhat.com> - 60.2.2-2
|
|
|
9eec91 |
- Added patch for rhbz#1633932
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Oct 2 2018 Jan Horak <jhorak@redhat.com> - 60.2.2-1
|
|
|
9eec91 |
- Update to 60.2.2 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Sep 24 2018 Jan Horak <jhorak@redhat.com> - 60.2.1-1
|
|
|
9eec91 |
- Update to 60.2.1 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Aug 31 2018 Jan Horak <jhorak@redhat.com> - 60.2.0-1
|
|
|
9eec91 |
- Update to 60.2.0 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Aug 28 2018 Jan Horak <jhorak@redhat.com> - 60.1.0-9
|
|
|
9eec91 |
- Do not set user agent (rhbz#1608065)
|
|
|
9eec91 |
- GTK dialogs are localized now (rhbz#1619373)
|
|
|
9eec91 |
- JNLP association works again (rhbz#1607457)
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Aug 16 2018 Jan Horak <jhorak@redhat.com> - 60.1.0-8
|
|
|
9eec91 |
- Fixed homepage and bookmarks (rhbz#1606778)
|
|
|
9eec91 |
- Fixed missing file associations in RHEL6 (rhbz#1613565)
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Jul 12 2018 Jan Horak <jhorak@redhat.com> - 60.1.0-7
|
|
|
9eec91 |
- Run at-spi-bus if not running already (for the bundled gtk3)
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Jul 9 2018 Jan Horak <jhorak@redhat.com> - 60.1.0-6
|
|
|
9eec91 |
- Fix for missing schemes for bundled gtk3
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Jun 25 2018 Martin Stransky <stransky@redhat.com> - 60.1.0-5
|
|
|
9eec91 |
- Added mesa-libEGL dependency to gtk3/rhel6
|
|
|
9eec91 |
|
|
|
9eec91 |
* Sun Jun 24 2018 Martin Stransky <stransky@redhat.com> - 60.1.0-4
|
|
|
9eec91 |
- Disabled jemalloc on all second arches
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Jun 22 2018 Martin Stransky <stransky@redhat.com> - 60.1.0-3
|
|
|
9eec91 |
- Updated to 60.1.0 ESR build2
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Jun 21 2018 Martin Stransky <stransky@redhat.com> - 60.1.0-2
|
|
|
9eec91 |
- Disabled jemalloc on second arches
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Jun 20 2018 Martin Stransky <stransky@redhat.com> - 60.1.0-1
|
|
|
9eec91 |
- Updated to 60.1.0 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Jun 13 2018 Jan Horak <jhorak@redhat.com> - 60.0-12
|
|
|
9eec91 |
- Fixing bundled libffi issues
|
|
|
9eec91 |
- Readded some requirements
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Jun 11 2018 Martin Stransky <stransky@redhat.com> - 60.0-10
|
|
|
9eec91 |
- Added fix for mozilla BZ#1436242 - IPC crashes.
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Jun 11 2018 Jan Horak <jhorak@redhat.com> - 60.0-9
|
|
|
9eec91 |
- Bundling libffi for the sec-arches
|
|
|
9eec91 |
- Added openssl-devel for the Python
|
|
|
9eec91 |
- Fixing bundled gtk3
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri May 18 2018 Martin Stransky <stransky@redhat.com> - 60.0-8
|
|
|
9eec91 |
- Added fix for mozilla BZ#1458492
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed May 16 2018 Martin Stransky <stransky@redhat.com> - 60.0-7
|
|
|
9eec91 |
- Added patch from rhbz#1498561 to fix ppc64(le) crashes.
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed May 16 2018 Martin Stransky <stransky@redhat.com> - 60.0-6
|
|
|
9eec91 |
- Disabled jemalloc on second arches
|
|
|
9eec91 |
|
|
|
9eec91 |
* Sun May 6 2018 Jan Horak <jhorak@redhat.com> - 60.0-4
|
|
|
9eec91 |
- Update to 60.0 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Mar 8 2018 Jan Horak <jhorak@redhat.com> - 52.7.0-1
|
|
|
9eec91 |
- Update to 52.7.0 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Jan 29 2018 Martin Stransky <stransky@redhat.com> - 52.6.0-2
|
|
|
9eec91 |
- Build Firefox for desktop arches only (x86_64 and ppc64le)
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Jan 18 2018 Martin Stransky <stransky@redhat.com> - 52.6.0-1
|
|
|
9eec91 |
- Update to 52.6.0 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Nov 9 2017 Jan Horak <jhorak@redhat.com> - 52.5.0-1
|
|
|
9eec91 |
- Update to 52.5.0 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Sep 25 2017 Jan Horak <jhorak@redhat.com> - 52.4.0-1
|
|
|
9eec91 |
- Update to 52.4.0 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Aug 3 2017 Jan Horak <jhorak@redhat.com> - 52.3.0-3
|
|
|
9eec91 |
- Update to 52.3.0 ESR (b2)
|
|
|
9eec91 |
- Require correct nss version
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Jun 13 2017 Jan Horak <jhorak@redhat.com> - 52.2.0-1
|
|
|
9eec91 |
- Update to 52.2.0 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed May 24 2017 Jan Horak <jhorak@redhat.com> - 52.1.2-1
|
|
|
9eec91 |
- Update to 52.1.2 ESR
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed May 24 2017 Jan Horak <jhorak@redhat.com> - 52.0-7
|
|
|
9eec91 |
- Added fix for accept language (rhbz#1454322)
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Mar 22 2017 Jan Horak <jhorak@redhat.com> - 52.0-6
|
|
|
9eec91 |
- Removing patch required for older NSS from RHEL 7.3
|
|
|
9eec91 |
- Added patch for rhbz#1414564
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Mar 17 2017 Martin Stransky <stransky@redhat.com> - 52.0-5
|
|
|
9eec91 |
- Added fix for mozbz#1348168/CVE-2017-5428
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Mar 6 2017 Jan Horak <jhorak@redhat.com> - 52.0-4
|
|
|
9eec91 |
- Update to 52.0 ESR (b4)
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Mar 2 2017 Martin Stransky <stransky@redhat.com> - 52.0-3
|
|
|
9eec91 |
- Added fix for rhbz#1423012 - ppc64 gfx crashes
|
|
|
9eec91 |
|
|
|
9eec91 |
* Wed Mar 1 2017 Jan Horak <jhorak@redhat.com> - 52.0-2
|
|
|
9eec91 |
- Enable system nss
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Feb 28 2017 Martin Stransky <stransky@redhat.com> - 52.0-1
|
|
|
9eec91 |
- Update to 52.0ESR (B1)
|
|
|
9eec91 |
- Build RHEL7 package for Gtk3
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Feb 27 2017 Martin Stransky <stransky@redhat.com> - 52.0-0.13
|
|
|
9eec91 |
- Added fix for rhbz#1414535
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Feb 21 2017 Jan Horak <jhorak@redhat.com> - 52.0-0.12
|
|
|
9eec91 |
- Update to 52.0b8
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Feb 7 2017 Jan Horak <jhorak@redhat.com> - 52.0-0.11
|
|
|
9eec91 |
- Readded addons patch
|
|
|
9eec91 |
|
|
|
9eec91 |
* Mon Feb 6 2017 Jan Horak <jhorak@redhat.com> - 52.0-0.10
|
|
|
9eec91 |
- Update to 52.0b3
|
|
|
9eec91 |
|
|
|
9eec91 |
* Tue Jan 31 2017 Jan Horak <jhorak@redhat.com> - 52.0-0.9
|
|
|
9eec91 |
- Update to 52.0b2
|
|
|
9eec91 |
|
|
|
9eec91 |
* Fri Jan 27 2017 Jan Horak <jhorak@redhat.com> - 52.0-0.8
|
|
|
9eec91 |
- Update to 52.0b1
|
|
|
9eec91 |
|
|
|
9eec91 |
* Thu Dec 8 2016 Jan Horak <jhorak@redhat.com> - 52.0-0.5
|
|
|
9eec91 |
- Firefox Aurora 52 testing build
|
|
|
12e947 |
|