Please find the updated patch in the attachment.

The first one broke promo cards on New Tab page by removing a
card for nonfree Firefox mobile. This one fixes that by
replacing it with another card that looks innocent.

Please still use
iceweasel_75.0-1.branding-Bump-version-update-patch.patch from
my previous message to update the branding repo.

Built successfully on x86_64 and armv7h. i686 doesn't build
because it requires newer version of rust, and only 1:1.39.0-1.2
is available in Parabola and Arch Linux 32 repos.
From 2fcba7ab3b5d5762bdbe7aa4ff47c8bafe2c3f8c Mon Sep 17 00:00:00 2001
From: grizzlyuser <[email protected]>
Date: Wed, 8 Apr 2020 11:45:44 +0300
Subject: [PATCH 1/2] libre/iceweasel 75.0-1: Bump version and refresh patch
 accordingly

Please note checksum for patch hasn't been updated yet since more
changes are needed to it.
---
 libre/iceweasel/PKGBUILD    |  6 +++---
 libre/iceweasel/libre.patch | 21 ++++++++-------------
 2 files changed, 11 insertions(+), 16 deletions(-)

diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD
index ddd047158..21c12c4d1 100644
--- a/libre/iceweasel/PKGBUILD
+++ b/libre/iceweasel/PKGBUILD
@@ -47,10 +47,10 @@
 pkgname=iceweasel
 replaces=('firefox')
 epoch=1
-pkgver=74.0.1
+pkgver=75.0
 pkgrel=1
 pkgrel+=.parabola1
-_brandingver=73.0
+_brandingver=75.0
 _brandingrel=1
 pkgdesc="Standalone web browser derived from Mozilla Firefox"
 arch=(x86_64)
@@ -82,7 +82,7 @@ source_armv7h=(arm.patch
                build-arm-libopus.patch)
 source_i686=('rust-static-disable-network-test-on-static-libraries.patch'
              'avoid-libxul-OOM-python-check.patch')
-sha256sums=('62e4297b682fad1ea50d8e32fc51c811169f8edec8d12d2aab0ea60b3197f011'
+sha256sums=('bbb1054d8f2717c634480556d3753a8483986af7360e023bb6232df80b746b0f'
             'SKIP'
             '5f7ac724a5c5afd9322b1e59006f4170ea5354ca1e0e60dab08b7784c2d8463c'
             'f573d00835afe066ef1887bfea35099933ee07aeadc4c0d603972127e600cfc4'
diff --git a/libre/iceweasel/libre.patch b/libre/iceweasel/libre.patch
index 0870d45cb..6ac39f8b1 100644
--- a/libre/iceweasel/libre.patch
+++ b/libre/iceweasel/libre.patch
@@ -25,14 +25,14 @@ index 7d37d26..4ebbc06 100644
      </hbox>
 -    <label class="fxaMobilePromo" data-l10n-id="sync-mobile-promo">
 -      <html:img
--        src="chrome://browser/skin/preferences/in-content/logo-android.svg"
+-        src="chrome://browser/skin/logo-android.svg"
 -        data-l10n-name="android-icon"
 -        class="androidIcon"/>
 -      <html:a
 -        data-l10n-name="android-link"
 -        class="fxaMobilePromo-android text-link" target="_blank"/>
 -      <html:img
--        src="chrome://browser/skin/preferences/in-content/logo-ios.svg"
+-        src="chrome://browser/skin/logo-ios.svg"
 -        data-l10n-name="ios-icon"
 -        class="iOSIcon"/>
 -      <html:a
@@ -166,19 +166,19 @@ index 2d3c7b4..00221d3 100644
 -#endif
  </dl>
 diff --git a/devtools/client/whats-new/src/main.js b/devtools/client/whats-new/src/main.js
-index 1573c23a39..eed066db72 100644
+index 26061a604f..a9016f6bda 100644
 --- a/devtools/client/whats-new/src/main.js
 +++ b/devtools/client/whats-new/src/main.js
 @@ -29,7 +29,7 @@ const aside = {
  };
  
  const release = {
--  title: "What’s New in DevTools (Firefox 74 & 73)",
-+  title: "What’s New in DevTools (Iceweasel 74 & 73)",
+-  title: "What’s New in DevTools (Firefox 75)",
++  title: "What’s New in DevTools (Iceweasel 75)",
    linkText: "Read more",
-   linkUrl: `https://developer.mozilla.org/docs/Mozilla/Firefox/Releases/74?${utmParams}`,
+   linkUrl: `https://developer.mozilla.org/docs/Mozilla/Firefox/Releases/75?${utmParams}`,
    features: [
-@@ -71,29 +71,6 @@ const release = {
+@@ -66,24 +66,6 @@ const release = {
    ],
  };
  
@@ -197,18 +197,13 @@ index 1573c23a39..eed066db72 100644
 -      description: `Start, pause and debug your Service Workers and inspect your Web App Manifests within the long-awaited Application panel.`,
 -      href: `https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers?${utmParams}`,
 -    },
--    {
--      header: `Instantly evaluated Console previews`,
--      description: `Peek into the results of your current Console expression and autocomplete values as you type.`,
--      href: `https://developer.mozilla.org/en-US/docs/Tools/Web_Console/The_command_line_interpreter?${utmParams}`,
--    },
 -  ],
 -};
 -
  function openLink(href, e) {
    return openDocLink(href, {
      relatedToCurrent: true,
-@@ -187,11 +164,6 @@ class App extends Component {
+@@ -177,11 +159,6 @@ class App extends Component {
            ...release.features
              .filter(feature => !feature.hidden)
              .map(feature => createFactory(Feature)(feature))
-- 
2.26.0


From 53bdf0615cdd7c95023cf64d55cbaf1d0db752a5 Mon Sep 17 00:00:00 2001
From: grizzlyuser <[email protected]>
Date: Wed, 8 Apr 2020 20:24:55 +0300
Subject: [PATCH 2/2] libre/iceweasel: Disable promo card for nonfree Firefox
 mobile in NewTab

Show Private Browsing instead
---
 libre/iceweasel/PKGBUILD    |  2 +-
 libre/iceweasel/libre.patch | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD
index 21c12c4d1..3a56b8921 100644
--- a/libre/iceweasel/PKGBUILD
+++ b/libre/iceweasel/PKGBUILD
@@ -88,7 +88,7 @@ sha256sums=('bbb1054d8f2717c634480556d3753a8483986af7360e023bb6232df80b746b0f'
             'f573d00835afe066ef1887bfea35099933ee07aeadc4c0d603972127e600cfc4'
             '091b32290e1cbb8597bd31c770f3b850d2cecc0e8ca591bb50956fde67c0a449'
             'SKIP'
-            'dcc25e04627842bbd160059f1c576397d688418198a225210fae8a5ea6c32a7a'
+            '3dbdf461f992394ca380700c229a6ce6220a07ba1c7f8475cc2ff39891447e56'
             'd783225c311a4d64a9196d573627aeecaf02365395eea9783b1175b7613bdf6e'
             'f42b329e96cdf15d09844ca2541d096f56a5ca946f3d94d72dd10e3411fd5e85')
 sha256sums_i686=('4da71f6614dce71db8e9ec2d317514aae90838c2c65620d435f0df06b45b578b'
diff --git a/libre/iceweasel/libre.patch b/libre/iceweasel/libre.patch
index 6ac39f8b1..aa74ba3a0 100644
--- a/libre/iceweasel/libre.patch
+++ b/libre/iceweasel/libre.patch
@@ -298,3 +298,25 @@ index edd871b..77870fe 100644
 
  addon-page-options-button =
      .title = Tools for all add-ons
+diff --git a/browser/components/newtab/lib/OnboardingMessageProvider.jsm b/browser/components/newtab/lib/OnboardingMessageProvider.jsm
+index 02eb150..abb3af9 100644
+--- a/browser/components/newtab/lib/OnboardingMessageProvider.jsm
++++ b/browser/components/newtab/lib/OnboardingMessageProvider.jsm
+@@ -270,7 +270,7 @@ const ONBOARDING_MESSAGES = () => [
+         action: { type: "OPEN_PRIVATE_BROWSER_WINDOW" },
+       },
+     },
+-    targeting: "'dynamic' in trailheadTriplet",
++    targeting: "trailheadTriplet in ['supercharge', 'static'] || 'dynamic' in trailheadTriplet",
+     trigger: { id: "showOnboarding" },
+   },
+   {
+@@ -314,7 +314,7 @@ const ONBOARDING_MESSAGES = () => [
+       },
+     },
+     targeting:
+-      "trailheadTriplet in ['supercharge', 'static'] || ('dynamic' in trailheadTriplet && sync.mobileDevices < 1)",
++      "false",
+     trigger: { id: "showOnboarding" },
+   },
+   {
-- 
2.26.0

_______________________________________________
Dev mailing list
[email protected]
https://lists.parabola.nu/mailman/listinfo/dev

Reply via email to