Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=961e43d1f323d43216fa45596e29cc9197c2bdc7

commit 961e43d1f323d43216fa45596e29cc9197c2bdc7
Author: Devil505 <devil505li...@gmail.com>
Date:   Wed May 4 20:56:17 2011 +0200

xfce4-power-manager-1.0.10-2-i686
* forgot to add patch for libnotify 0.7

diff --git a/source/xfce4-extra/xfce4-power-manager/FrugalBuild 
b/source/xfce4-extra/xfce4-power-manager/FrugalBuild
index 557f879..1610bce 100644
--- a/source/xfce4-extra/xfce4-power-manager/FrugalBuild
+++ b/source/xfce4-extra/xfce4-power-manager/FrugalBuild
@@ -16,8 +16,10 @@ options=('force')
_F_xfce_goodies_ext=".tar.bz2"
_F_gnome_iconcache="y"
Finclude xfce4 gnome-scriptlet
-source=(http://archive.xfce.org/src/xfce/$pkgname/1.0/$pkgname-$pkgver.tar.bz2)
-sha1sums=('64dd7a8fae9cd1cbcf6403d2f51f2281f38cca05')
+source=(http://archive.xfce.org/src/xfce/$pkgname/1.0/$pkgname-$pkgver.tar.bz2 
\
+       xfce4-power-manager-1.0.10-libnotify-0.7.patch)
+sha1sums=('64dd7a8fae9cd1cbcf6403d2f51f2281f38cca05' \
+          'e93908a1f238d820d410d7fcb3ea54aa96be23c8')

build()
{
diff --git 
a/source/xfce4-extra/xfce4-power-manager/xfce4-power-manager-1.0.10-libnotify-0.7.patch
 
b/source/xfce4-extra/xfce4-power-manager/xfce4-power-manager-1.0.10-libnotify-0.7.patch
new file mode 100644
index 0000000..60cdf27
--- /dev/null
+++ 
b/source/xfce4-extra/xfce4-power-manager/xfce4-power-manager-1.0.10-libnotify-0.7.patch
@@ -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
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to