[arch-commits] Commit in xfce4-weather-plugin/repos/extra-x86_64 (3 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 03:30:17 UTC 2020


    Date: Tuesday, November 10, 2020 @ 03:30:17
  Author: foutrelis
Revision: 399952

archrelease: copy trunk to extra-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-10 03:30:13 UTC (rev 399951)
+++ PKGBUILD	2020-11-10 03:30:17 UTC (rev 399952)
@@ -1,43 +0,0 @@
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: Suzy Williams <suzanne.williams3 at 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/PKGBUILD (from rev 399951, xfce4-weather-plugin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-10 03:30:17 UTC (rev 399952)
@@ -0,0 +1,40 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Suzy Williams <suzanne.williams3 at verizon.net>
+
+pkgname=xfce4-weather-plugin
+pkgver=0.10.2
+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=('9017790b92953090c849b17b357b42fa8c562bf0e25af2fd2e5f53cfebc662c6')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+}
+
+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:

Deleted: improve-contrast-in-weather-report.patch
===================================================================
--- improve-contrast-in-weather-report.patch	2020-11-10 03:30:13 UTC (rev 399951)
+++ improve-contrast-in-weather-report.patch	2020-11-10 03:30:17 UTC (rev 399952)
@@ -1,37 +0,0 @@
-From 5ddbfecdcc1cb300072572775fafbec9084f422d Mon Sep 17 00:00:00 2001
-From: Sean Davis <smd.seandavis at 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
-



More information about the arch-commits mailing list