summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-11-25 09:38:04 +0100
committerMartin Stransky <stransky@redhat.com>2020-11-25 09:38:04 +0100
commit97999f62afe478c3d75261b19e19bba82bec6c0d (patch)
treeee215224834bead0be71e8f44e6b73914bfa5dc2
parentFix mochitest (diff)
downloadlibrewolf-fedora-ff-97999f62afe478c3d75261b19e19bba82bec6c0d.tar.gz
librewolf-fedora-ff-97999f62afe478c3d75261b19e19bba82bec6c0d.tar.bz2
librewolf-fedora-ff-97999f62afe478c3d75261b19e19bba82bec6c0d.zip
Export MOZ_GMP_PATH from /usr/bin/firefox script (https://pagure.io/fedora-workstation/issue/126)
-rw-r--r--firefox.sh.in5
-rw-r--r--firefox.spec10
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
@@ -124,6 +124,11 @@ 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
## Corporation, with the Pango system as its text renderer. This change
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 <stransky@redhat.com> - 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 <stransky@redhat.com> - 83.0-6
- Fix mochitest
bgstack15