summaryrefslogtreecommitdiffstats
path: root/extra/xfce4-power-manager
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xfce4-power-manager')
-rw-r--r--extra/xfce4-power-manager/.md5sum.i6861
-rw-r--r--extra/xfce4-power-manager/.md5sum.x86_641
-rwxr-xr-xextra/xfce4-power-manager/Pkgfile6
-rw-r--r--extra/xfce4-power-manager/xfce4-power-manager.patch22
4 files changed, 28 insertions, 2 deletions
diff --git a/extra/xfce4-power-manager/.md5sum.i686 b/extra/xfce4-power-manager/.md5sum.i686
index a35b0edd4..a742ccdf3 100644
--- a/extra/xfce4-power-manager/.md5sum.i686
+++ b/extra/xfce4-power-manager/.md5sum.i686
@@ -1 +1,2 @@
38cbd272eb30e36ae538d9f38858bd38 xfce4-power-manager-1.0.10.tar.bz2
+cb0ddd364df0a1fed22f8bac4bee52af xfce4-power-manager.patch
diff --git a/extra/xfce4-power-manager/.md5sum.x86_64 b/extra/xfce4-power-manager/.md5sum.x86_64
index a35b0edd4..a742ccdf3 100644
--- a/extra/xfce4-power-manager/.md5sum.x86_64
+++ b/extra/xfce4-power-manager/.md5sum.x86_64
@@ -1 +1,2 @@
38cbd272eb30e36ae538d9f38858bd38 xfce4-power-manager-1.0.10.tar.bz2
+cb0ddd364df0a1fed22f8bac4bee52af xfce4-power-manager.patch
diff --git a/extra/xfce4-power-manager/Pkgfile b/extra/xfce4-power-manager/Pkgfile
index e71f03f65..502e804d0 100755
--- a/extra/xfce4-power-manager/Pkgfile
+++ b/extra/xfce4-power-manager/Pkgfile
@@ -7,11 +7,13 @@
name=xfce4-power-manager
version=1.0.10
-release=1
-source=(http://archive.xfce.org/src/apps/${name}/1.0/${name}-${version}.tar.bz2)
+release=2
+source=(http://archive.xfce.org/src/apps/${name}/1.0/${name}-${version}.tar.bz2
+ xfce4-power-manager.patch)
build() {
cd $name-$version
+ patch -Np1 < ../xfce4-power-manager.patch
./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/xfce4 \
diff --git a/extra/xfce4-power-manager/xfce4-power-manager.patch b/extra/xfce4-power-manager/xfce4-power-manager.patch
new file mode 100644
index 000000000..45a9ff13a
--- /dev/null
+++ b/extra/xfce4-power-manager/xfce4-power-manager.patch
@@ -0,0 +1,22 @@
+From 9bc8900b4efef29fdc06331b028c7108df15b856 Mon Sep 17 00:00:00 2001
+From: Nick Schermer <nick@xfce.org>
+Date: Fri, 25 Mar 2011 07:11:33 +0000
+Subject: Don't attach to the status icon if libnotify >= 0.7.
+
+---
+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
+
+--
+cgit