[arch-commits] Commit in xfce4-weather-plugin/trunk (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Nov 10 03:30:13 UTC 2020
Date: Tuesday, November 10, 2020 @ 03:30:13
Author: foutrelis
Revision: 399951
upgpkg: xfce4-weather-plugin 0.10.2-1: new upstream release
Modified:
xfce4-weather-plugin/trunk/PKGBUILD
Deleted:
xfce4-weather-plugin/trunk/improve-contrast-in-weather-report.patch
------------------------------------------+
PKGBUILD | 11 +++-----
improve-contrast-in-weather-report.patch | 37 -----------------------------
2 files changed, 4 insertions(+), 44 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-09 23:45:50 UTC (rev 399950)
+++ PKGBUILD 2020-11-10 03:30:13 UTC (rev 399951)
@@ -2,8 +2,8 @@
# Contributor: Suzy Williams <suzanne.williams3 at verizon.net>
pkgname=xfce4-weather-plugin
-pkgver=0.10.1
-pkgrel=2
+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"
@@ -11,14 +11,11 @@
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')
+source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
+sha256sums=('9017790b92953090c849b17b357b42fa8c562bf0e25af2fd2e5f53cfebc662c6')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
- patch -Np1 -i ../improve-contrast-in-weather-report.patch
}
build() {
Deleted: improve-contrast-in-weather-report.patch
===================================================================
--- improve-contrast-in-weather-report.patch 2020-11-09 23:45:50 UTC (rev 399950)
+++ improve-contrast-in-weather-report.patch 2020-11-10 03:30:13 UTC (rev 399951)
@@ -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