diff options
author | B. Stack <bgstack15@gmail.com> | 2023-03-22 13:39:57 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2023-03-22 13:39:57 -0400 |
commit | 92111993ce6b0ad05051168bcfd798858f398426 (patch) | |
tree | ff0d333cdfb8d0e7d9b27784337325664339ada2 /scripts/prep-librewolf-dpkg.sh | |
parent | add patch for librewolf-pref-pane.patch (diff) | |
download | librewolf-debian-92111993ce6b0ad05051168bcfd798858f398426.tar.gz librewolf-debian-92111993ce6b0ad05051168bcfd798858f398426.tar.bz2 librewolf-debian-92111993ce6b0ad05051168bcfd798858f398426.zip |
version 111.0 rc1
Diffstat (limited to 'scripts/prep-librewolf-dpkg.sh')
-rwxr-xr-x | scripts/prep-librewolf-dpkg.sh | 51 |
1 files changed, 47 insertions, 4 deletions
diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh index ed37853..32368e0 100755 --- a/scripts/prep-librewolf-dpkg.sh +++ b/scripts/prep-librewolf-dpkg.sh @@ -1,7 +1,7 @@ #!/bin/sh # File: prep-librewolf-dpkg.sh # Location: https://gitlab.com/bgstack15/librewolf-linux.git -# Latest supported version: librewolf-109.0-1 +# Latest supported version: librewolf-111.0-3 # Author: bgstack15 # SPDX-License-Identifier: CC-BY-SA-4.0 # Startdate: 2020-11-29 @@ -199,6 +199,49 @@ 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 111.0 to patch for debian 111.0 until defuzz-111.0 gets merged + test -n "1" && patch -p1 "${debian_dir}/patches/librewolf/disable-pocket.patch" <<'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 @@ +-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 = { + + SafeBrowsingNotificationBox.onLocationChange(aLocationURI); + + - SaveToPocket.onLocationChange(window); + + let originalURI; +- if ( +-diff --git a/browser/components/BrowserGlue.jsm b/browser/components/BrowserGlue.sys.mjs +-index b2479db..7670f08 100644 ++ if (aRequest instanceof Ci.nsIChannel) { + --- a/browser/components/BrowserGlue.sys.mjs + +++ b/browser/components/BrowserGlue.sys.mjs +-@@ -1274,7 +1274,6 @@ BrowserGlue.prototype = { ++@@ -1300,7 +1300,6 @@ BrowserGlue.prototype = { + lazy.Normandy.init(); + } + +@@ -22,11 +18,9 @@ + + AboutHomeStartupCache.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", +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' diff --git a/patches/disable-data-reporting-at-compile-time.patch b/patches/disable-data-reporting-at-compile-time.patch @@ -220,7 +263,7 @@ index 3702402..f4a4315 100644 option(env="MOZ_NO_PIE_COMPAT", help="Enable non-PIE wrapper") 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/librewolf-pref-pane.patch" <<'EOF' + test -n "" && patch -p1 "${debian_dir}/patches/librewolf/librewolf-pref-pane.patch" <<'EOF' diff --git a/patches/librewolf-pref-pane.patch b/patches/librewolf-pref-pane.patch index b1ed478..4fcf94b 100644 --- a/patches/librewolf-pref-pane.patch @@ -389,8 +432,8 @@ EOF # remove xmas because it does the same tasks as what we accomplish in this script, sed -i -r -e '/(xmas)\.patch/s/^/#/;' "${debian_dir}"/patches/series - # Fixes for Debian Firefox? 97.0 - pip3 install --user psutil==5.8.0 + # Fixes for Debian Firefox? 97.0, not necessary by 111.0 + #pip3 install --user psutil==5.8.0 # there's probably a better way to do this with pip, but I don't know it. # Basically, we are updating importlib_metadata and attrs to min needed because # somehow they're wrong in the orig.tar.xz. |