Date: Friday, August 21, 2020 @ 15:49:06
  Author: foutrelis
Revision: 394478

archrelease: copy trunk to extra-x86_64

Added:
  xfce4-weather-plugin/repos/extra-x86_64/PKGBUILD
    (from rev 394477, xfce4-weather-plugin/trunk/PKGBUILD)
  
xfce4-weather-plugin/repos/extra-x86_64/improve-contrast-in-weather-report.patch
    (from rev 394477, 
xfce4-weather-plugin/trunk/improve-contrast-in-weather-report.patch)
Deleted:
  xfce4-weather-plugin/repos/extra-x86_64/PKGBUILD

------------------------------------------+
 PKGBUILD                                 |   79 +++++++++++++++--------------
 improve-contrast-in-weather-report.patch |   37 +++++++++++++
 2 files changed, 80 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2020-08-21 15:49:02 UTC (rev 394477)
+++ PKGBUILD    2020-08-21 15:49:06 UTC (rev 394478)
@@ -1,36 +0,0 @@
-# Maintainer: Evangelos Foutras <evange...@foutrelis.com>
-# Contributor: Suzy Williams <suzanne.willia...@verizon.net>
-
-pkgname=xfce4-weather-plugin
-pkgver=0.10.1
-pkgrel=1
-pkgdesc="A weather plugin for the Xfce4 panel"
-arch=('x86_64')
-url="https://docs.xfce.org/panel-plugins/xfce4-weather-plugin";
-license=('GPL2')
-groups=('xfce4-goodies')
-depends=('xfce4-panel' 'libxml2' 'libsoup' 'hicolor-icon-theme')
-makedepends=('intltool')
-source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('afb2af5f3effc2ea6181636ed0e82e6dafd556ec1b8478100802f85a5d167a89')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib \
-    --localstatedir=/var \
-    --disable-static \
-    --disable-debug \
-    --disable-upower
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: xfce4-weather-plugin/repos/extra-x86_64/PKGBUILD (from rev 394477, 
xfce4-weather-plugin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2020-08-21 15:49:06 UTC (rev 394478)
@@ -0,0 +1,43 @@
+# Maintainer: Evangelos Foutras <evange...@foutrelis.com>
+# Contributor: Suzy Williams <suzanne.willia...@verizon.net>
+
+pkgname=xfce4-weather-plugin
+pkgver=0.10.1
+pkgrel=2
+pkgdesc="A weather plugin for the Xfce4 panel"
+arch=('x86_64')
+url="https://docs.xfce.org/panel-plugins/xfce4-weather-plugin";
+license=('GPL2')
+groups=('xfce4-goodies')
+depends=('xfce4-panel' 'libxml2' 'libsoup' 'hicolor-icon-theme')
+makedepends=('intltool')
+source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
+        improve-contrast-in-weather-report.patch)
+sha256sums=('afb2af5f3effc2ea6181636ed0e82e6dafd556ec1b8478100802f85a5d167a89'
+            'da52ea354f740b3543ca74eba41cd5c279a2de0a22dbf8526805839cdc5c75db')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -Np1 -i ../improve-contrast-in-weather-report.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib \
+    --localstatedir=/var \
+    --disable-static \
+    --disable-debug \
+    --disable-upower
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: 
xfce4-weather-plugin/repos/extra-x86_64/improve-contrast-in-weather-report.patch
 (from rev 394477, 
xfce4-weather-plugin/trunk/improve-contrast-in-weather-report.patch)
===================================================================
--- improve-contrast-in-weather-report.patch                            (rev 0)
+++ improve-contrast-in-weather-report.patch    2020-08-21 15:49:06 UTC (rev 
394478)
@@ -0,0 +1,37 @@
+From 5ddbfecdcc1cb300072572775fafbec9084f422d Mon Sep 17 00:00:00 2001
+From: Sean Davis <smd.seanda...@gmail.com>
+Date: Sun, 1 Mar 2020 07:35:07 -0500
+Subject: [PATCH] Improve contrast in weather report, similar to GTK2 + Adwaita
+ (bug #15806)
+
+---
+ panel-plugin/weather-summary.c | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c
+index e66abf0..afce939 100644
+--- a/panel-plugin/weather-summary.c
++++ b/panel-plugin/weather-summary.c
+@@ -947,13 +947,17 @@ make_forecast(plugin_data *data)
+     GtkCssProvider *provider = gtk_css_provider_new ();
+     gchar *css_string;
+ 
+-    css_string = g_strdup (".forecast-cell.lightbg { background-color: 
rgba(0, 0, 0, 0.2); }"
+-                           ".forecast-cell.darkbg { background-color: rgba(0, 
0, 0, 0.4); }");
++    GtkStyleContext *ctx;
++
++    css_string = g_strdup (".forecast-cell.lightbg { background-color: 
rgba(0, 0, 0, 0.05); }"
++                           ".forecast-cell.darkbg { background-color: rgba(0, 
0, 0, 0.6); }");
+ 
+     gtk_css_provider_load_from_data (provider, css_string, -1, NULL);
+     gtk_style_context_add_provider_for_screen (screen, GTK_STYLE_PROVIDER 
(provider), GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
+ 
+     grid = gtk_grid_new ();
++    ctx = gtk_widget_get_style_context (GTK_WIDGET (grid));
++    gtk_style_context_add_class (ctx, "background");
+ 
+     gtk_grid_set_row_spacing(GTK_GRID (grid), 0);
+     gtk_grid_set_column_spacing(GTK_GRID (grid), 0);
+-- 
+GitLab
+

Reply via email to