summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-04-21 16:00:48 -0400
committerB. Stack <bgstack15@gmail.com>2024-04-21 16:00:48 -0400
commit7eb1905c53bd4a87627a4eba5a21c58d16f91b61 (patch)
tree29a878224d14d6431c28b4923b59a751307b3a44 /scripts
parent125.0.1 rc1 (diff)
downloadlibrewolf-debian-7eb1905c53bd4a87627a4eba5a21c58d16f91b61.tar.gz
librewolf-debian-7eb1905c53bd4a87627a4eba5a21c58d16f91b61.tar.bz2
librewolf-debian-7eb1905c53bd4a87627a4eba5a21c58d16f91b61.zip
fix the disable-pocket.patch
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/prep-librewolf-dpkg.sh78
1 files changed, 31 insertions, 47 deletions
diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh
index 61d8a75..0a7b496 100755
--- a/scripts/prep-librewolf-dpkg.sh
+++ b/scripts/prep-librewolf-dpkg.sh
@@ -508,53 +508,37 @@ index b32a6bf..07fd0ed 100644
},
EOF
# added 111.0, updated 125.0.1
- 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,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 = {
-+@@ -5289,7 +5289,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 = {
-+@@ -1421,7 +1421,6 @@ BrowserGlue.prototype = {
- lazy.Normandy.init();
- }
-
- - lazy.SaveToPocket.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 += [
-+@@ -48,7 +48,6 @@ DIRS += [
- "originattributes",
- "pagedata",
- "places",
- - "pocket",
- "preferences",
- "privatebrowsing",
-- "prompts",
-+ "profiles",
+ test -n "1" && cat <<'EOF' > "${debian_dir}/patches/librewolf/disable-pocket.patch"
+--- a/browser/base/content/browser.js
++++ b/browser/base/content/browser.js
+@@ -5314,7 +5314,6 @@ var XULBrowserWindow = {
+
+ SafeBrowsingNotificationBox.onLocationChange(aLocationURI);
+
+- SaveToPocket.onLocationChange(window);
+
+ let originalURI;
+ if (aRequest instanceof Ci.nsIChannel) {
+--- a/browser/components/BrowserGlue.sys.mjs
++++ b/browser/components/BrowserGlue.sys.mjs
+@@ -1440,7 +1440,6 @@ BrowserGlue.prototype = {
+ lazy.Normandy.init();
+ }
+
+- lazy.SaveToPocket.init();
+
+ lazy.ResetPBMPanel.init();
+
+--- a/browser/components/moz.build
++++ b/browser/components/moz.build
+@@ -48,7 +48,6 @@ DIRS += [
+ "originattributes",
+ "pagedata",
+ "places",
+- "pocket",
+ "preferences",
+ "privatebrowsing",
+ "profiles",
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'
bgstack15