From af388d27837f226c072104b504e0daa165eaa091 Mon Sep 17 00:00:00 2001 From: git-bruh Date: Sat, 3 Sep 2022 15:58:50 +0530 Subject: [PATCH] firefox: temporarily add wrapper script to avoid setting rpath --- extra/firefox/build | 3 +++ extra/firefox/checksums | 1 + extra/firefox/files/firefox.sh | 4 ++++ extra/firefox/sources | 1 + 4 files changed, 9 insertions(+) create mode 100755 extra/firefox/files/firefox.sh diff --git a/extra/firefox/build b/extra/firefox/build index 7db5959a..279e80bb 100755 --- a/extra/firefox/build +++ b/extra/firefox/build @@ -111,3 +111,6 @@ rm -rf \ "$1/usr/lib/firefox/browser/features/webcompat-reporter@mozilla.org.xpi" \ "$1/usr/lib/firefox/browser/features/webcompat@mozilla.org.xpi" \ "$1/usr/lib/firefox/browser/features/doh-rollout@mozilla.org.xpi" + +rm "$1/usr/bin/firefox" +cp firefox.sh "$1/usr/bin/firefox" diff --git a/extra/firefox/checksums b/extra/firefox/checksums index 04d53515..b02558de 100644 --- a/extra/firefox/checksums +++ b/extra/firefox/checksums @@ -7,3 +7,4 @@ ba6e380bc3d2cbd1b3a505ab97687498335c334d8a4be7f465ad30ee366806c7 bed3f4e39dcb8065dba174d37fb15f2a75887a6dd7ce6b872e5ab287c8bc386f 4a232e3aa3973894a58c126b9e901c924d4e1ca3e00c4fc82d08de4b880183a9 ed51ce8a6730c489ea9dda354f02c579fb3632925096a0260bfae7a6b82ceace +a68295affbd2c9abac063127bba06e50d007a6a0f2fad9ec30aa5a841e521bb5 diff --git a/extra/firefox/files/firefox.sh b/extra/firefox/files/firefox.sh new file mode 100755 index 00000000..85326b38 --- /dev/null +++ b/extra/firefox/files/firefox.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/firefox" +exec /usr/lib/firefox/firefox diff --git a/extra/firefox/sources b/extra/firefox/sources index 4e092eb4..82844e3c 100644 --- a/extra/firefox/sources +++ b/extra/firefox/sources @@ -7,3 +7,4 @@ patches/fix-linux-header.patch patches/no-dbus.patch patches/no-fribidi.patch patches/no-perl.patch +files/firefox.sh