diff options
Diffstat (limited to 'scripts/prep-librewolf-dpkg.sh')
-rwxr-xr-x | scripts/prep-librewolf-dpkg.sh | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh index 08e97b7..3919e53 100755 --- a/scripts/prep-librewolf-dpkg.sh +++ b/scripts/prep-librewolf-dpkg.sh @@ -200,6 +200,24 @@ 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 120.0.1; just defuzzing this patch + test -n "1" && patch -p1 "${debian_dir}/patches/librewolf/rust-gentoo-musl.patch" <<'EOF' +--- a/librewolf/rust-gentoo-musl.patch 2023-12-05 09:05:23.029244795 -0500 ++++ b/librewolf/rust-gentoo-musl.patch 2023-12-05 08:02:36.499359413 -0500 +@@ -1,5 +1,3 @@ +-diff --git a/build/moz.configure/rust.configure b/build/moz.configure/rust.configure +-index 7a2fd1ae70..7abdcaa2c1 100644 + --- a/build/moz.configure/rust.configure + +++ b/build/moz.configure/rust.configure + @@ -404,11 +404,21 @@ def detect_rustc_target( +@@ -24,4 +22,4 @@ + + + return None + +- rustc_target = find_candidate(candidates) +\ No newline at end of file ++ rustc_target = find_candidate(candidates) +EOF # added 115.0.2; just defuzzing this patch test -n "" && patch -p1 "${debian_dir}/patches/librewolf/firefox-view.patch" <<'EOF' --- a/patches/librewolf/firefox-view.patch 2023-07-13 15:01:06.444375138 -0400 @@ -489,13 +507,13 @@ EOF diff --git a/patches/librewolf/disable-pocket.patch b/patches/librewolf/disable-pocket.patch --- a/debian/patches/librewolf/disable-pocket.patch 2023-03-22 10:28:09.099519405 -0400 +++ b/debian/patches/librewolf/disable-pocket.patch 2023-03-22 13:03:46.205211526 -0400 -@@ -1,20 +1,16 @@ +@@ -1,29 +1,23 @@ -diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js -index 43c84c3..4b4aad2 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js -@@ -5478,7 +5478,6 @@ var XULBrowserWindow = { -+@@ -5479,7 +5479,6 @@ var XULBrowserWindow = { ++@@ -5289,7 +5289,6 @@ var XULBrowserWindow = { SafeBrowsingNotificationBox.onLocationChange(aLocationURI); @@ -509,23 +527,20 @@ diff --git a/patches/librewolf/disable-pocket.patch b/patches/librewolf/disable- --- a/browser/components/BrowserGlue.sys.mjs +++ b/browser/components/BrowserGlue.sys.mjs -@@ -1274,7 +1274,6 @@ BrowserGlue.prototype = { -+@@ -1300,7 +1300,6 @@ BrowserGlue.prototype = { ++@@ -1421,7 +1421,6 @@ BrowserGlue.prototype = { lazy.Normandy.init(); } -@@ -22,11 +18,9 @@ + - lazy.SaveToPocket.init(); - AboutHomeStartupCache.init(); +- AboutHomeStartupCache.init(); ++ lazy.ResetPBMPanel.init(); -diff --git a/browser/components/moz.build b/browser/components/moz.build -index 3b2126e..32b7831 100644 --- a/browser/components/moz.build +++ b/browser/components/moz.build --@@ -44,7 +44,6 @@ DIRS += [ -+@@ -45,7 +45,6 @@ DIRS += [ - "originattributes", - "pagedata", - "places", + @@ -44,7 +44,6 @@ DIRS += [ EOF # added 109.0 to patch for debian 109.0 until defuzz-109.0 gets merged test -n "1" && patch -p1 "${debian_dir}/patches/librewolf/disable-data-reporting-at-compile-time.patch" <<'EOF' |