summaryrefslogtreecommitdiff
path: root/scripts/prep-librewolf-dpkg.sh
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-07-29 17:42:21 -0400
committerB. Stack <bgstack15@gmail.com>2022-07-29 17:42:21 -0400
commit25ada497522e860587841a7af4e343880d1eeeef (patch)
treec08ad184c68c6cb8260c580abeac46e34d29b4c2 /scripts/prep-librewolf-dpkg.sh
parentdisable webrender_ffi, and v102.0 rc1 (diff)
downloadlibrewolf-debian-25ada497522e860587841a7af4e343880d1eeeef.tar.gz
librewolf-debian-25ada497522e860587841a7af4e343880d1eeeef.tar.bz2
librewolf-debian-25ada497522e860587841a7af4e343880d1eeeef.zip
v103.0 rc1
Diffstat (limited to 'scripts/prep-librewolf-dpkg.sh')
-rwxr-xr-xscripts/prep-librewolf-dpkg.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh
index 12667fc..0f4f14c 100755
--- a/scripts/prep-librewolf-dpkg.sh
+++ b/scripts/prep-librewolf-dpkg.sh
@@ -199,6 +199,26 @@ else
awk -F'/' '{print "librewolf/"$NF}' "${git_source_dir}"/source/assets/patches.txt | \
sed -r -e 's@$@ -p1@' -e '/vpn-ad/d' >> "${debian_dir}/patches/series"
#echo "librewolf/webrender_ffi.patch -p1" >> "${debian_dir}/patches/series"
+ # added 103.0
+ test -n "1" && cat <<EOF >"${debian_dir}/patches/librewolf/remove-snippets-from-home.patch"
+--- ../../git/source/patches/ui-patches/remove-snippets-from-home.patch 2022-03-22 19:01:35.323802032 -0400
++++ debian/patches/librewolf/remove-snippets-from-home.patch 2022-07-29 15:41:22.727541444 -0400
+@@ -1,6 +1,6 @@
+ --- a/browser/components/newtab/lib/AboutPreferences.jsm
+ +++ b/browser/components/newtab/lib/AboutPreferences.jsm
+-@@ -54,18 +54,7 @@
++@@ -56,18 +56,7 @@ const PREFS_BEFORE_SECTIONS = () => [
+ },
+ ];
+
+@@ -18,5 +18,5 @@
+ -];
+ +const PREFS_AFTER_SECTIONS = () => [];
+
+- this.AboutPreferences = class AboutPreferences {
++ class AboutPreferences {
+ init() {
+EOF
# added 101.0.1
# ref: https://raw.githubusercontent.com/canonical/firefox-snap/5622734942524846fb0eb7108918c8cd8557fde3/patches/fix-ftbfs-newer-cbindgen.patch
# ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1773630
bgstack15