diff options
author | root <root@rshg054.dnsready.net> | 2013-10-08 02:34:09 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-08 02:34:09 -0700 |
commit | 3a0ad5dc35d5cff379cdfc736b9cae856416fe6a (patch) | |
tree | a6af20a38d47d7a7ae8e1b98f70005c54644bbdd /community/gnome-panel | |
parent | 9159b8ca1c97a398204d7a7d4d78c3394639bd02 (diff) |
Tue Oct 8 02:32:53 PDT 2013
Diffstat (limited to 'community/gnome-panel')
-rw-r--r-- | community/gnome-panel/PKGBUILD | 9 | ||||
-rw-r--r-- | community/gnome-panel/libgweather-3.10.patch | 15 |
2 files changed, 22 insertions, 2 deletions
diff --git a/community/gnome-panel/PKGBUILD b/community/gnome-panel/PKGBUILD index 4ae65559c..b6779e91b 100644 --- a/community/gnome-panel/PKGBUILD +++ b/community/gnome-panel/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 97693 2013-09-27 16:05:09Z bgyorgy $ +# $Id: PKGBUILD 98191 2013-10-07 12:08:25Z jgc $ # Maintainer: Balló György <ballogyor+arch at gmail dot com> # Contributor: Jan de Groot <jgc@archlinux.org> pkgbase=gnome-panel pkgname=('gnome-panel' 'gnome-flashback-session') pkgver=3.8.0 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') license=('GPL') pkgdesc="Legacy GNOME panel" @@ -16,13 +16,18 @@ makedepends=('gobject-introspection' 'intltool' 'itstool' 'networkmanager') install=$pkgbase.install options=('!libtool') source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver:0:3}/$pkgbase-$pkgver.tar.xz + libgweather-3.10.patch session.patch) sha256sums=('d1cda458a38cb4f7d2a50c61b1a72f4bf4c39cab65ae0e6cfdc4e0c122252e7a' + 'd9e21449fc6c5f235673fe47e5b817ac7597490518a557908b14ca875263d90e' 'cd4c21cf394ea5a702c660bb0d31cae31260bec1cee4e7ca8ee6c8aec2707ebb') prepare() { cd "$pkgbase-$pkgver" + # Fix build with libgweather 3.10 + patch -Np1 -i "$srcdir/libgweather-3.10.patch" + # Add more required components to the session file patch -Np1 -i "$srcdir/session.patch" } diff --git a/community/gnome-panel/libgweather-3.10.patch b/community/gnome-panel/libgweather-3.10.patch new file mode 100644 index 000000000..0a6e0e4e4 --- /dev/null +++ b/community/gnome-panel/libgweather-3.10.patch @@ -0,0 +1,15 @@ +diff -Naur gnome-panel-3.6.2.orig/applets/clock/clock-location.c gnome-panel-3.6.2/applets/clock/clock-location.c +--- gnome-panel-3.6.2.orig/applets/clock/clock-location.c 2013-09-27 02:39:03.315952789 +0000 ++++ gnome-panel-3.6.2/applets/clock/clock-location.c 2013-09-27 02:40:24.552036953 +0000 +@@ -542,9 +542,8 @@ + } + + priv->weather_info = +- gweather_info_new_for_world (priv->world, +- priv->loc, +- GWEATHER_FORECAST_LIST); ++ gweather_info_new (priv->loc, ++ GWEATHER_FORECAST_LIST); + g_signal_connect (priv->weather_info, "updated", + G_CALLBACK (weather_info_updated), loc); + |