Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
package-helpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
trisquel
package-helpers
Commits
904f37d2
Commit
904f37d2
authored
2 years ago
by
Luis Guzmán
Browse files
Options
Downloads
Patches
Plain Diff
firefox: update patch for 106.0 release.
parent
3aea9d9c
No related branches found
No related tags found
1 merge request
!881
firefox: update patch for 106.0 release.
Pipeline
#681
passed
2 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
helpers/DATA/firefox/patch_changes/Remove_moreFromMozilla_Focus_and_Klar.patch
+115
-17
115 additions, 17 deletions
...patch_changes/Remove_moreFromMozilla_Focus_and_Klar.patch
helpers/make-firefox
+8
-8
8 additions, 8 deletions
helpers/make-firefox
with
123 additions
and
25 deletions
helpers/DATA/firefox/patch_changes/Remove_moreFromMozilla_Focus_and_Klar.patch
+
115
−
17
View file @
904f37d2
...
...
@@ -59,10 +59,10 @@ diff -Nru source_orig/browser/base/content/test/static/browser_all_files_referen
{ file: "resource://gre/greprefs.js" },
// layout/mathml/nsMathMLChar.cpp
diff -Nru source
_orig
/browser/components/newtab/lib/OnboardingMessageProvider.jsm source/browser/components/newtab/lib/OnboardingMessageProvider.jsm
--- source
_orig
/browser/components/newtab/lib/OnboardingMessageProvider.jsm 2022-
06-08 17:44:48.000000000
-0500
+++ source/browser/components/newtab/lib/OnboardingMessageProvider.jsm 2022-
06-13 23:03:00.516557944
-0500
@@ -
96,220 +96
,6 @@
diff -Nru source/browser/components/newtab/lib/OnboardingMessageProvider.jsm source/browser/components/newtab/lib/OnboardingMessageProvider.jsm
_fix
--- source/browser/components/newtab/lib/OnboardingMessageProvider.jsm 2022-
10-16 05:35:50.783203285
-0500
+++ source/browser/components/newtab/lib/OnboardingMessageProvider.jsm
_fix
2022-
10-16 06:20:07.235345215
-0500
@@ -
649,321 +649
,6 @@
},
},
{
...
...
@@ -146,10 +146,6 @@ diff -Nru source_orig/browser/components/newtab/lib/OnboardingMessageProvider.js
- alt_text: {
- string_id: "spotlight-focus-promo-qr-code",
- },
- image_overrides: {
- de:
- "chrome://browser/content/assets/klar-qr-code.svg",
- },
- },
- marketplace_buttons: ["ios", "android"],
- },
...
...
@@ -172,7 +168,9 @@ diff -Nru source_orig/browser/components/newtab/lib/OnboardingMessageProvider.js
- ],
- lifetime: 12,
- },
- targeting: "!(region in [ 'DE', 'AT', 'CH'] && localeLanguageCode == 'en')",
- // Exclude the next 2 messages: 1) Klar for en 2) Klar for de
- targeting:
- "!(region in [ 'DE', 'AT', 'CH'] && localeLanguageCode == 'en') && localeLanguageCode != 'de'",
- },
- {
- id: "PB_NEWTAB_KLAR_PROMO",
...
...
@@ -252,6 +250,109 @@ diff -Nru source_orig/browser/components/newtab/lib/OnboardingMessageProvider.js
- QR_code: {
- image_url:
- "chrome://browser/content/assets/klar-qr-code.svg",
- alt_text: "Scan the QR code to get Firefox Klar",
- },
- marketplace_buttons: ["ios", "android"],
- },
- },
- },
- },
- ],
- },
- },
- },
- },
- },
- priority: 2,
- frequency: {
- custom: [
- {
- cap: 3,
- period: 604800000, // Max 3 per week
- },
- ],
- lifetime: 12,
- },
- targeting: "region in [ 'DE', 'AT', 'CH'] && localeLanguageCode == 'en'",
- },
- {
- id: "PB_NEWTAB_KLAR_PROMO_DE",
- type: "default",
- template: "pb_newtab",
- groups: ["pbNewtab"],
- content: {
- infoBody: "fluent:about-private-browsing-info-description-simplified",
- infoEnabled: true,
- infoIcon: "chrome://global/skin/icons/indicator-private-browsing.svg",
- infoLinkText: "fluent:about-private-browsing-learn-more-link",
- infoTitle: "",
- infoTitleEnabled: false,
- promoEnabled: true,
- promoType: "FOCUS",
- promoHeader: "fluent:about-private-browsing-focus-promo-header-c",
- promoImageLarge: "chrome://browser/content/assets/focus-promo.png",
- promoLinkText: "fluent:about-private-browsing-focus-promo-cta",
- promoLinkType: "button",
- promoSectionStyle: "below-search",
- promoTitle: "fluent:about-private-browsing-focus-promo-text-c",
- promoTitleEnabled: true,
- promoButton: {
- action: {
- type: "SHOW_SPOTLIGHT",
- data: {
- content: {
- id: "FOCUS_PROMO",
- template: "multistage",
- modal: "tab",
- backdrop: "transparent",
- screens: [
- {
- id: "DEFAULT_MODAL_UI",
- content: {
- logo: {
- imageURL:
- "chrome://browser/content/assets/focus-logo.svg",
- height: "48px",
- },
- title: {
- string_id: "spotlight-focus-promo-title",
- },
- subtitle: {
- string_id: "spotlight-focus-promo-subtitle",
- },
- dismiss_button: {
- action: {
- navigate: true,
- },
- },
- ios: {
- action: {
- data: {
- args:
- "https://app.adjust.com/a8bxj8j?campaign=firefox-desktop&adgroup=pb&creative=focus-omc172&redirect=https%3A%2F%2Fapps.apple.com%2Fde%2Fapp%2Fklar-by-firefox%2Fid1073435754",
- where: "tabshifted",
- },
- type: "OPEN_URL",
- navigate: true,
- },
- },
- android: {
- action: {
- data: {
- args:
- "https://app.adjust.com/a8bxj8j?campaign=firefox-desktop&adgroup=pb&creative=focus-omc172&redirect=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dorg.mozilla.klar",
- where: "tabshifted",
- },
- type: "OPEN_URL",
- navigate: true,
- },
- },
- tiles: {
- type: "mobile_downloads",
- data: {
- QR_code: {
- image_url:
- "chrome://browser/content/assets/klar-qr-code.svg",
- alt_text: {
- string_id: "spotlight-focus-promo-qr-code",
- },
...
...
@@ -277,16 +378,16 @@ diff -Nru source_orig/browser/components/newtab/lib/OnboardingMessageProvider.js
- ],
- lifetime: 12,
- },
- targeting: "
region in [ 'DE', 'AT', 'CH'] &&
localeLanguageCode == 'e
n
'",
- targeting: "localeLanguageCode == '
d
e'",
- },
- {
id: "PB_NEWTAB_INFO_SECTION",
template: "pb_newtab",
content: {
diff -Nru source
_orig
/browser/components/newtab/lib/PanelTestProvider.jsm source/browser/components/newtab/lib/PanelTestProvider.jsm
--- source
_orig
/browser/components/newtab/lib/PanelTestProvider.jsm 2022-
05-22
0
9
:35:5
5.444674441 +00
00
+++ source/browser/components/newtab/lib/PanelTestProvider.jsm 2022-
05-22 21:35:39
.0
0
58
6
75
56 +00
00
@@ -55
9,90
+55
9
,6 @@
diff -Nru source/browser/components/newtab/lib/PanelTestProvider.jsm source/browser/components/newtab/lib/PanelTestProvider.jsm
_fix
--- source/browser/components/newtab/lib/PanelTestProvider.jsm 2022-
10-16
0
5
:35:5
0.835203327 -05
00
+++ source/browser/components/newtab/lib/PanelTestProvider.jsm
_fix
2022-
10-16 06:24:48
.0
9
58
2
75
05 -05
00
@@ -55
7,87
+55
7
,6 @@
trigger: { id: "defaultBrowserCheck" },
},
{
...
...
@@ -357,9 +458,6 @@ diff -Nru source_orig/browser/components/newtab/lib/PanelTestProvider.jsm source
- alt_text: {
- string_id: "spotlight-focus-promo-qr-code",
- },
- image_overrides: {
- de: "chrome://browser/content/assets/klar-qr-code.svg",
- },
- },
- email: {
- link_text: "Email yourself a link",
...
...
This diff is collapsed.
Click to expand it.
helpers/make-firefox
+
8
−
8
View file @
904f37d2
...
...
@@ -20,7 +20,7 @@
#
VERSION
=
92
EXTERNAL
=
'deb-src http
s
://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu $UPSTREAM main'
EXTERNAL
=
'deb-src http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu $UPSTREAM main'
REPOKEY
=
9BDB3D89CE49EC21
.
./config
...
...
@@ -328,20 +328,20 @@ echo ".discopane-notice, .privacy-policy-link, #main header, #plugindeprecation-
echo
".warning{display: none!important; } .addon[notification=warning]{background-image: none!important;}"
>>
toolkit/mozapps/extensions/content/extensions.css
# Hide extra links in about box
# about: page mods, like rights.
## Hide extra links in about box
find
-wholename
'*/brand.dtd'
|xargs /bin/sed
's/trademarkInfo.part1.*/trademarkInfo.part1 "">/'
-i
for
STRING
in
rights-intro-point-2 rights-intro-point-3 rights-intro-point-4 rights-intro-point-5 rights-intro-point-6 rights-webservices rights-safebrowsing
do
find
-name
aboutRights.ftl | xargs
sed
-i
"s/^
$STRING
.*/
$STRING
= /"
done
#Remove invalid policy for trisquel.
#
#Remove invalid policy for trisquel.
find
-name
aboutRights.ftl | xargs
sed
-i
'/rights-intro-point-5/,$d'
delete_point
()
{
sed
-i
"/
$1
/d"
"
$(
find
-name
$2
)
"
}
delete_point rights-intro-point-5 aboutRights.xhtml
delete_point rights-intro-point-6 aboutRights.xhtml
delete_point rights-intro-point-5 aboutRights-unbranded.xhtml
find
-name
aboutRights.xhtml |xargs
sed
-i
"/rights-intro-point-5/d"
find
-name
aboutRights.xhtml |xargs
sed
-i
"/rights-intro-point-6/d"
find
-name
aboutRights-unbranded.xhtml |xargs
sed
-i
"/rights-intro-point-5/d"
#EO about: mods.
sed
-i
's/<a\ href\=\"http\:\/\/www.mozilla.org\/\">Mozilla\ Project<\/a>/<a\ href\=\"http\:\/\/www.trisquel.info\/\"\>Trisquel\ Project<\/a>/g'
browser/base/content/overrides/app-license.html
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment