From 19d7c7c8e97f48c21a031d97fab1af02c1e29942 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Sat, 9 Dec 2017 06:20:36 -0500 Subject: [iceweasel]: add greyscale icon for onboarding watermark --- libre/iceweasel/PKGBUILD | 4 +- libre/iceweasel/libre.patch | 36 +- libre/iceweasel/parabola-banner.png | Bin 17199 -> 7768 bytes libre/iceweasel/watermark.svg | 4095 +++++++++++++++++++++++++++++++++++ 4 files changed, 4131 insertions(+), 4 deletions(-) create mode 100644 libre/iceweasel/watermark.svg diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD index 291c25295..3afe15a3b 100644 --- a/libre/iceweasel/PKGBUILD +++ b/libre/iceweasel/PKGBUILD @@ -21,7 +21,7 @@ pkgname=iceweasel epoch=1 pkgver=57.0.1 -pkgrel=4 +pkgrel=5 _brandingver=57.0 _brandingrel=1 _parabolarepo=https://repo.parabola.nu/other/iceweasel @@ -110,6 +110,8 @@ prepare() { # Put "Start Page" branding images in the source code install -m644 "$srcdir/"{drm-free,gnu_headshadow,parabola-banner}.png \ browser/base/content/abouthome + install -m644 "$srcdir/watermark.svg" \ + browser/extensions/onboarding/content/img # Useless since we are doing it ourselves patch -Np1 -i "$srcdir/remove-default-and-shell-icons-in-packaging-manifest.patch" diff --git a/libre/iceweasel/libre.patch b/libre/iceweasel/libre.patch index fba866039..6597b5a56 100644 --- a/libre/iceweasel/libre.patch +++ b/libre/iceweasel/libre.patch @@ -2,7 +2,24 @@ diff --git a/browser/base/content/abouthome/aboutHome.css b/browser/base/content index c0b02e257..dc726d41a 100644 --- a/browser/base/content/abouthome/aboutHome.css +++ b/browser/base/content/abouthome/aboutHome.css -@@ -310,6 +310,52 @@ body[narrow] #restorePreviousSession::before { +@@ -41,16 +41,6 @@ a { + position: relative; + } + +-#brandLogo { +- height: 192px; +- width: 192px; +- margin: 0 auto 20px; +- background-image: url("chrome://branding/content/about-logo.png"); +- background-size: 192px auto; +- background-position: center center; +- background-repeat: no-repeat; +-} +- + #searchWrapper, + #snippets { + width: 470px; +@@ -310,13 +300,63 @@ body[narrow] #restorePreviousSession::before { width: 32px; } @@ -44,17 +61,30 @@ index c0b02e257..dc726d41a 100644 +} + +#brandLogo::before { -+ content: url("about-logo.png"); ++ content: url("chrome://branding/content/about-logo.png"); +} + +#brandLogo::after { -+ content: url("parabola-banner.png"); ++ content: url("chrome://browser/content/abouthome/parabola-banner.png"); +} + + /* [HiDPI] * At resolutions above 1dppx, prefer downscaling the 2x Retina graphics * rather than upscaling the original-size ones (bug 818940). + */ + @media not all and (max-resolution: 1dppx) { +- #brandLogo { +- background-image: url("chrome://branding/content/about-logo@2x.png"); ++ #brandLogo::before { ++ content: url("chrome://branding/content/about-logo@2x.png"); ++ } ++ ++ #brandLogo::after { ++ content: url("chrome://browser/content/abouthome/parabola-banner@2x.png"); + } + + #defaultSnippet1, diff --git a/browser/base/content/abouthome/aboutHome.js b/browser/base/content/abouthome/aboutHome.js index 50f3e01cd..5df008555 100644 --- a/browser/base/content/abouthome/aboutHome.js diff --git a/libre/iceweasel/parabola-banner.png b/libre/iceweasel/parabola-banner.png index 53b5d17e6..621ee4e7f 100644 Binary files a/libre/iceweasel/parabola-banner.png and b/libre/iceweasel/parabola-banner.png differ diff --git a/libre/iceweasel/watermark.svg b/libre/iceweasel/watermark.svg new file mode 100644 index 000000000..78898e1a7 --- /dev/null +++ b/libre/iceweasel/watermark.svg @@ -0,0 +1,4095 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + Ricardo Fernández Fuentes + + + + + Ricardo Fernández Fuentes + + + iceweasel icon + + + + iceweasel + ico + icon + + + + + inkscape + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3