[arch-commits] Commit in seahorse-plugins/trunk (2 files)

Ionut Biru ibiru at archlinux.org
Mon Mar 7 15:53:10 UTC 2011


    Date: Monday, March 7, 2011 @ 10:53:09
  Author: ibiru
Revision: 112893

upgpkg: seahorse-plugins 2.30.1-3
libnotify 0.7 rebuild

Added:
  seahorse-plugins/trunk/seahorse-plugins-2.30.1-libnotify-0.7.patch
Modified:
  seahorse-plugins/trunk/PKGBUILD

---------------------------------------------+
 PKGBUILD                                    |   11 +++++++----
 seahorse-plugins-2.30.1-libnotify-0.7.patch |   26 ++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-03-07 14:40:07 UTC (rev 112892)
+++ PKGBUILD	2011-03-07 15:53:09 UTC (rev 112893)
@@ -3,7 +3,7 @@
 
 pkgname=seahorse-plugins
 pkgver=2.30.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Seahorse plugins"
 arch=(i686 x86_64)
 license=('GPL')
@@ -12,16 +12,19 @@
 optdepends=('gnome-panel-bonobo: applet support')
 groups=('gnome-extra')
 url="http://www.gnome.org"
-options=(!libtool !emptydirs)
+options=('!libtool' '!emptydirs')
 install=seahorse-plugins.install
 source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.30/${pkgname}-${pkgver}.tar.bz2
-        gpgme-init.patch)
+        gpgme-init.patch
+        seahorse-plugins-2.30.1-libnotify-0.7.patch)
 sha256sums=('1fdfed1aef2c22a29a9abc00eae67752854e466a66cee2a8c1c278277e832d66'
-            '418d67892b348d02885e968c5299416baf545b12cf8f58b23579f79e87776ab2')
+            '418d67892b348d02885e968c5299416baf545b12cf8f58b23579f79e87776ab2'
+            '9da8c5552217a56f4b7d12e28a425b3980b20953d8312c3017378e5a71536905')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   patch -Np1 -i "${srcdir}/gpgme-init.patch"
+  patch -Np0 -i "${srcdir}/seahorse-plugins-2.30.1-libnotify-0.7.patch"
   ./configure --prefix=/usr --sysconfdir=/etc \
       --localstatedir=/var --disable-scrollkeeper \
       --disable-update-mime-database \

Added: seahorse-plugins-2.30.1-libnotify-0.7.patch
===================================================================
--- seahorse-plugins-2.30.1-libnotify-0.7.patch	                        (rev 0)
+++ seahorse-plugins-2.30.1-libnotify-0.7.patch	2011-03-07 15:53:09 UTC (rev 112893)
@@ -0,0 +1,26 @@
+--- libseahorse/seahorse-notification.c
++++ libseahorse/seahorse-notification.c
+@@ -34,6 +34,9 @@
+ 
+ #ifdef HAVE_LIBNOTIFY
+ #include <libnotify/notify.h>
++#ifndef NOTIFY_CHECK_VERSION
++#define NOTIFY_CHECK_VERSION(x,y,z) 0
++#endif
+ #endif
+ 
+ /* -----------------------------------------------------------------------------
+@@ -213,7 +216,12 @@
+     heading = format_key_text (snotif->heading);
+     message = format_key_text (snotif->message);
+     
+-    notif = notify_notification_new (heading, message, snotif->icon, attachto);
++    notif = notify_notification_new (heading, message, snotif->icon
++#if NOTIFY_CHECK_VERSION (0, 7, 0)
++    );
++#else
++    , attachto);
++#endif
+     
+     g_free (heading);
+     g_free (message);




More information about the arch-commits mailing list