From 97999f62afe478c3d75261b19e19bba82bec6c0d Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Wed, 25 Nov 2020 09:38:04 +0100 Subject: [PATCH] Export MOZ_GMP_PATH from /usr/bin/firefox script (https://pagure.io/fedora-workstation/issue/126) --- firefox.sh.in | 5 +++++ firefox.spec | 10 +++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/firefox.sh.in b/firefox.sh.in index 78d908e..6fc51b2 100644 --- a/firefox.sh.in +++ b/firefox.sh.in @@ -123,6 +123,11 @@ export MOZ_APP_LAUNCHER="/__PREFIX__/bin/firefox" FONTCONFIG_PATH="/etc/fonts:${MOZILLA_FIVE_HOME}/res/Xft" export FONTCONFIG_PATH +## +## We want Firefox to use Openh264 provided by Fedora +## +export MOZ_GMP_PATH=$MOZ_LIB_DIR/mozilla/plugins/gmp-gmpopenh264/system-installed + ## ## In order to better support certain scripts (such as Indic and some CJK ## scripts), Fedora builds its Firefox, with permission from the Mozilla diff --git a/firefox.spec b/firefox.spec index 422c046..2085eee 100644 --- a/firefox.spec +++ b/firefox.spec @@ -1,9 +1,9 @@ # Set to true if it's going to be submitted as update. -%global release_build 0 +%global release_build 1 %global debug_build 0 %global build_with_clang 0 %global build_with_asan 0 -%global run_firefox_tests 1 +%global run_firefox_tests 0 %global create_debuginfo 1 %global system_nss 1 @@ -125,7 +125,7 @@ ExcludeArch: aarch64 Summary: Mozilla Firefox Web browser Name: firefox Version: 83.0 -Release: 6%{?pre_tag}%{?dist} +Release: 7%{?pre_tag}%{?dist} URL: https://www.mozilla.org/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz @@ -996,6 +996,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #--------------------------------------------------------------------- %changelog +* Wed Nov 25 2020 Martin Stransky - 83.0-7 +- Export MOZ_GMP_PATH from /usr/bin/firefox script + (https://pagure.io/fedora-workstation/issue/126) + * Tue Nov 24 2020 Martin Stransky - 83.0-6 - Fix mochitest