[arch-commits] Commit in xfce4-weather-plugin/trunk (2 files)
Evangelos Foutras
foutrelis at nymeria.archlinux.org
Thu Apr 4 14:49:35 UTC 2013
Date: Thursday, April 4, 2013 @ 16:49:35
Author: foutrelis
Revision: 181853
upgpkg: xfce4-weather-plugin 0.8.3-3
Fix color parsing when reading config file (FS#34477).
Added:
xfce4-weather-plugin/trunk/fix-color-parsing-when-reading-config-file.patch
Modified:
xfce4-weather-plugin/trunk/PKGBUILD
--------------------------------------------------+
PKGBUILD | 10 ++++++---
fix-color-parsing-when-reading-config-file.patch | 22 +++++++++++++++++++++
2 files changed, 29 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-04 14:46:12 UTC (rev 181852)
+++ PKGBUILD 2013-04-04 14:49:35 UTC (rev 181853)
@@ -4,7 +4,7 @@
pkgname=xfce4-weather-plugin
pkgver=0.8.3
-pkgrel=2
+pkgrel=3
pkgdesc="A weather plugin for the Xfce4 panel"
arch=('i686' 'x86_64')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin"
@@ -14,12 +14,16 @@
makedepends=('intltool')
options=('!libtool')
install=$pkgname.install
-source=(http://archive.xfce.org/src/panel-plugins/$pkgname/0.8/$pkgname-$pkgver.tar.bz2)
-sha256sums=('40a6a22be7653b15a47174a430da89040f178695b48e5e01e77990050f715ce4')
+source=(http://archive.xfce.org/src/panel-plugins/$pkgname/0.8/$pkgname-$pkgver.tar.bz2
+ fix-color-parsing-when-reading-config-file.patch)
+sha256sums=('40a6a22be7653b15a47174a430da89040f178695b48e5e01e77990050f715ce4'
+ 'dbf1f938e656293daeac4c3ab55061c5f61d8e29e470453b4e956081ca4722c7')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ patch -Np1 -i "$srcdir/fix-color-parsing-when-reading-config-file.patch"
+
./configure \
--prefix=/usr \
--sysconfdir=/etc \
Added: fix-color-parsing-when-reading-config-file.patch
===================================================================
--- fix-color-parsing-when-reading-config-file.patch (rev 0)
+++ fix-color-parsing-when-reading-config-file.patch 2013-04-04 14:49:35 UTC (rev 181853)
@@ -0,0 +1,22 @@
+From 462e85dfd54e9a3bdf6c330c602a6545bccce585 Mon Sep 17 00:00:00 2001
+From: Harald Judt <h.judt at gmx.at>
+Date: Wed, 20 Feb 2013 14:25:09 +0000
+Subject: Fix color parsing when reading config file.
+
+This turned out to be a stupid copy & paste mistake.
+---
+diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
+index 710c33c..4a2e3c3 100644
+--- a/panel-plugin/weather.c
++++ b/panel-plugin/weather.c
+@@ -884,7 +884,7 @@ xfceweather_read_config(XfcePanelPlugin *plugin,
+
+ value = xfce_rc_read_entry(rc, "scrollbox_color", NULL);
+ if (value)
+- gdk_color_parse("#rrrrggggbbbb", &(data->scrollbox_color));
++ gdk_color_parse(value, &(data->scrollbox_color));
+
+ data->scrollbox_use_color =
+ xfce_rc_read_bool_entry(rc, "scrollbox_use_color", FALSE);
+--
+cgit v0.9.1
More information about the arch-commits
mailing list