[arch-commits] Commit in gnome-panel/trunk (PKGBUILD libgweather-3.10.patch)
Balló György
bgyorgy at nymeria.archlinux.org
Fri Sep 27 16:20:27 UTC 2013
Date: Friday, September 27, 2013 @ 18:20:27
Author: bgyorgy
Revision: 97694
upgpkg: gnome-panel 3.8.0-2
Rebuild for GNOME 3.10
Added:
gnome-panel/trunk/libgweather-3.10.patch
Modified:
gnome-panel/trunk/PKGBUILD
------------------------+
PKGBUILD | 7 ++++++-
libgweather-3.10.patch | 15 +++++++++++++++
2 files changed, 21 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-09-27 16:05:09 UTC (rev 97693)
+++ PKGBUILD 2013-09-27 16:20:27 UTC (rev 97694)
@@ -5,7 +5,7 @@
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 @@
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"
}
Added: libgweather-3.10.patch
===================================================================
--- libgweather-3.10.patch (rev 0)
+++ libgweather-3.10.patch 2013-09-27 16:20:27 UTC (rev 97694)
@@ -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);
+
More information about the arch-commits
mailing list