[arch-commits] Commit in gnome-flashback/trunk (PKGBUILD fix-theme.patch)

Balló György bgyorgy at archlinux.org
Sun Apr 10 21:52:04 UTC 2016


    Date: Sunday, April 10, 2016 @ 23:52:04
  Author: bgyorgy
Revision: 170185

upgpkg: gnome-flashback 3.20.0-2

Apply some theme fixes

Added:
  gnome-flashback/trunk/fix-theme.patch
Modified:
  gnome-flashback/trunk/PKGBUILD

-----------------+
 PKGBUILD        |   16 ++++++++++--
 fix-theme.patch |   68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-10 21:47:50 UTC (rev 170184)
+++ PKGBUILD	2016-04-10 21:52:04 UTC (rev 170185)
@@ -3,7 +3,7 @@
 
 pkgname=gnome-flashback
 pkgver=3.20.0
-pkgrel=1
+pkgrel=2
 pkgdesc="GNOME Flashback session"
 arch=('i686' 'x86_64')
 url="https://wiki.gnome.org/Projects/GnomeFlashback"
@@ -15,9 +15,19 @@
             'gnome-screensaver: Lock screen'
             'network-manager-applet: Network management')
 install=$pkgname.install
-source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('0f065d8eb7ad8939734bab551cde39ddf327ada54ff38c32737f2f29dd7111c9')
+source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+        fix-theme.patch)
+sha256sums=('0f065d8eb7ad8939734bab551cde39ddf327ada54ff38c32737f2f29dd7111c9'
+            '5fc12caeb38f4bbeffd2679397d62aa0e300464cbf88726d4b04d279742fa481')
 
+prepare() {
+  cd $pkgname-$pkgver
+
+  # Small theme improvements
+  # https://bugzilla.gnome.org/show_bug.cgi?id=764857
+  patch -Np1 -i ../fix-theme.patch
+}
+
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \

Added: fix-theme.patch
===================================================================
--- fix-theme.patch	                        (rev 0)
+++ fix-theme.patch	2016-04-10 21:52:04 UTC (rev 170185)
@@ -0,0 +1,68 @@
+From b0982dce61cfe3b448d1b22445f78316e63a0c72 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor at gmail.com>
+Date: Sun, 10 Apr 2016 20:24:08 +0200
+Subject: [PATCH 1/2] theme/Adwaita: Improve contrast of the notification
+ bubbles
+
+This makes the text more readable.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=764857
+---
+ data/theme/Adwaita/gnome-flashback-dark.css | 4 ++++
+ data/theme/Adwaita/gnome-flashback.css      | 4 ++++
+ 2 files changed, 8 insertions(+)
+
+diff --git a/data/theme/Adwaita/gnome-flashback-dark.css b/data/theme/Adwaita/gnome-flashback-dark.css
+index 0488183..1388641 100644
+--- a/data/theme/Adwaita/gnome-flashback-dark.css
++++ b/data/theme/Adwaita/gnome-flashback-dark.css
+@@ -57,3 +57,7 @@ gf-popup-window.solid {
+ 
+ #gf-bubble {
+ }
++
++#gf-bubble label {
++  color: #ffffff;
++}
+diff --git a/data/theme/Adwaita/gnome-flashback.css b/data/theme/Adwaita/gnome-flashback.css
+index 6eda9ee..418c5c5 100644
+--- a/data/theme/Adwaita/gnome-flashback.css
++++ b/data/theme/Adwaita/gnome-flashback.css
+@@ -57,3 +57,7 @@ gf-popup-window.solid {
+ 
+ #gf-bubble {
+ }
++
++#gf-bubble label {
++  color: #000000;
++}
+-- 
+2.8.0
+
+From 3debf219f2ddc9805f2594eb9d251910f11d625b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor at gmail.com>
+Date: Sun, 10 Apr 2016 20:48:53 +0200
+Subject: [PATCH 2/2] theme/HighContrast: use regular icons
+
+HighContrast theme uses symbolic icons by default, but tray icons are invisible for some reason. Use regular icons instead.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=764857
+---
+ data/theme/HighContrast/gnome-flashback.css | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/data/theme/HighContrast/gnome-flashback.css b/data/theme/HighContrast/gnome-flashback.css
+index e32fb7b..3e5ba79 100644
+--- a/data/theme/HighContrast/gnome-flashback.css
++++ b/data/theme/HighContrast/gnome-flashback.css
+@@ -57,3 +57,7 @@ gf-popup-window.solid {
+ 
+ #gf-bubble {
+ }
++
++image {
++  -gtk-icon-style: regular;
++}
+-- 
+2.8.0
+



More information about the arch-commits mailing list