[arch-commits] Commit in xfce4-power-manager/trunk (2 files)
andyrtr at archlinux.org
andyrtr at archlinux.org
Mon Mar 7 18:39:50 UTC 2011
Date: Monday, March 7, 2011 @ 13:39:50
Author: andyrtr
Revision: 112918
upgpkg: xfce4-power-manager 1.0.10-2
libnotify rebuild
Added:
xfce4-power-manager/trunk/xfce4-power-manager-1.0.10-libnotify-0.7.patch
Modified:
xfce4-power-manager/trunk/PKGBUILD
------------------------------------------------+
PKGBUILD | 13 +++++++++----
xfce4-power-manager-1.0.10-libnotify-0.7.patch | 14 ++++++++++++++
2 files changed, 23 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-03-07 18:39:43 UTC (rev 112917)
+++ PKGBUILD 2011-03-07 18:39:50 UTC (rev 112918)
@@ -4,21 +4,26 @@
pkgname=xfce4-power-manager
pkgver=1.0.10
-pkgrel=1
+pkgrel=2
pkgdesc="power manager for xfce4 desktop"
arch=(i686 x86_64)
license=('GPL2')
url="http://xfce-goodies.berlios.de/"
groups=('xfce4-goodies')
-depends=('xfce4-panel>=4.7.4' 'upower' 'udisks' 'libnotify' 'hicolor-icon-theme' 'librsvg')
+depends=('xfce4-panel>=4.7.4' 'upower' 'udisks' 'libnotify>=0.7.1' 'hicolor-icon-theme' 'librsvg')
makedepends=('pkgconfig' 'intltool')
options=('!libtool')
install=${pkgname}.install
-source=(http://archive.xfce.org/src/apps/${pkgname}/1.0/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('38cbd272eb30e36ae538d9f38858bd38')
+source=(http://archive.xfce.org/src/apps/${pkgname}/1.0/${pkgname}-${pkgver}.tar.bz2
+ xfce4-power-manager-1.0.10-libnotify-0.7.patch)
+md5sums=('38cbd272eb30e36ae538d9f38858bd38'
+ 'c790f973c29654701bb0748f842be4f7')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+
+ patch -Np1 -i ${srcdir}/xfce4-power-manager-1.0.10-libnotify-0.7.patch
+
./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
Added: xfce4-power-manager-1.0.10-libnotify-0.7.patch
===================================================================
--- xfce4-power-manager-1.0.10-libnotify-0.7.patch (rev 0)
+++ xfce4-power-manager-1.0.10-libnotify-0.7.patch 2011-03-07 18:39:50 UTC (rev 112918)
@@ -0,0 +1,14 @@
+diff --git a/src/xfpm-notify.c b/src/xfpm-notify.c
+index c93a843..311b0fd 100644
+--- a/src/xfpm-notify.c
++++ b/src/xfpm-notify.c
+@@ -233,9 +233,6 @@ xfpm_notify_new_notification_internal (const gchar *title, const gchar *message,
+ #if !NOTIFY_CHECK_VERSION (0, 7, 0)
+ if ( icon )
+ notify_notification_attach_to_status_icon (n, icon);
+-#else
+- if ( icon )
+- notify_notification_attach_to_status_icon (n, icon);
+ #endif
+ #endif
+
More information about the arch-commits
mailing list