diff options
Diffstat (limited to 'extra/xfce4-weather-plugin')
-rw-r--r-- | extra/xfce4-weather-plugin/PKGBUILD | 12 | ||||
-rw-r--r-- | extra/xfce4-weather-plugin/fix-color-parsing-when-reading-config-file.patch | 22 |
2 files changed, 30 insertions, 4 deletions
diff --git a/extra/xfce4-weather-plugin/PKGBUILD b/extra/xfce4-weather-plugin/PKGBUILD index ccf61bee6..c3f8b294c 100644 --- a/extra/xfce4-weather-plugin/PKGBUILD +++ b/extra/xfce4-weather-plugin/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 178297 2013-02-19 15:32:54Z foutrelis $ +# $Id: PKGBUILD 181854 2013-04-04 14:49:51Z foutrelis $ # Maintainer: Evangelos Foutras <evangelos@foutrelis.com> # Contributor: Suzy Williams <suzanne.williams3@verizon.net> 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 @@ depends=('xfce4-panel' 'libxml2' 'libsoup' 'hicolor-icon-theme') 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 \ diff --git a/extra/xfce4-weather-plugin/fix-color-parsing-when-reading-config-file.patch b/extra/xfce4-weather-plugin/fix-color-parsing-when-reading-config-file.patch new file mode 100644 index 000000000..916492f00 --- /dev/null +++ b/extra/xfce4-weather-plugin/fix-color-parsing-when-reading-config-file.patch @@ -0,0 +1,22 @@ +From 462e85dfd54e9a3bdf6c330c602a6545bccce585 Mon Sep 17 00:00:00 2001 +From: Harald Judt <h.judt@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 |