From fcb58fbfc1b26bc4ecd7a7bd461259e82a21509d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 18 May 2011 11:27:48 +0200 Subject: [PATCH] xfce4-power-manager: update to 1.0.10. --- .../patches/libnotify-0.7.patch | 18 ------------------ ...e4-power-manager-1.0.10-libnotify-0.7.patch | 14 ++++++++++++++ srcpkgs/xfce4-power-manager/template | 5 ++--- 3 files changed, 16 insertions(+), 21 deletions(-) delete mode 100644 srcpkgs/xfce4-power-manager/patches/libnotify-0.7.patch create mode 100644 srcpkgs/xfce4-power-manager/patches/xfce4-power-manager-1.0.10-libnotify-0.7.patch diff --git a/srcpkgs/xfce4-power-manager/patches/libnotify-0.7.patch b/srcpkgs/xfce4-power-manager/patches/libnotify-0.7.patch deleted file mode 100644 index 460510df42..0000000000 --- a/srcpkgs/xfce4-power-manager/patches/libnotify-0.7.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- src/xfpm-notify.c.orig 2011-02-28 23:43:55.521921469 +0100 -+++ src/xfpm-notify.c 2011-02-28 23:44:16.343032607 +0100 -@@ -209,14 +209,11 @@ xfpm_notify_new_notification_internal (c - { - NotifyNotification *n; - -- n = notify_notification_new (title, message, NULL, NULL); -+ n = notify_notification_new (title, message, NULL); - - if ( icon_name ) - xfpm_notify_set_notification_icon (n, icon_name); - -- if ( icon ) -- notify_notification_attach_to_status_icon (n, icon); -- - notify_notification_set_urgency (n, (NotifyUrgency)urgency); - - if ( timeout != 0) diff --git a/srcpkgs/xfce4-power-manager/patches/xfce4-power-manager-1.0.10-libnotify-0.7.patch b/srcpkgs/xfce4-power-manager/patches/xfce4-power-manager-1.0.10-libnotify-0.7.patch new file mode 100644 index 0000000000..5d017ae19f --- /dev/null +++ b/srcpkgs/xfce4-power-manager/patches/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 +--- src/xfpm-notify.c ++++ 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 + diff --git a/srcpkgs/xfce4-power-manager/template b/srcpkgs/xfce4-power-manager/template index 72e6bb0b1e..67f2fb3a73 100644 --- a/srcpkgs/xfce4-power-manager/template +++ b/srcpkgs/xfce4-power-manager/template @@ -1,14 +1,13 @@ # Template file for 'xfce4-power-manager' pkgname=xfce4-power-manager -version=1.0.3 -revision=1 +version=1.0.10 distfiles="http://archive.xfce.org/src/apps/${pkgname}/1.0/$pkgname-$version.tar.bz2" build_style=gnu_configure configure_args="--localstatedir=/var --enable-polkit --enable-dpms --disable-debug --enable-network-manager --disable-static" short_desc="Xfce power manager" maintainer="Juan RP " -checksum=9bb7487a652337335c00aafa4152e3ad0eaf24525a38d8df646e4950c42d61cf +checksum=80e4bb44f81c485ec09654dde432d6e28667d49a787625632a4413aac30422f0 long_desc=" $pkgname is the power manager for the Xfce desktop environment."