diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-11-16 20:09:10 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-11-16 20:09:10 +0000 |
commit | dc307c1a4f3ade7b5c70b56c3ca310fdb0e60893 (patch) | |
tree | 5908477b6c5c2a88242341034edf5a017089d7a0 /main/xfce4-power-manager | |
parent | 0fadea5692e3f71b9ee3081b0ea7a4d686a71328 (diff) | |
download | aports-dc307c1a4f3ade7b5c70b56c3ca310fdb0e60893.tar.bz2 aports-dc307c1a4f3ade7b5c70b56c3ca310fdb0e60893.tar.xz |
main/xfce4-power-manager: rebuild against libnotify-0.7
Diffstat (limited to 'main/xfce4-power-manager')
-rw-r--r-- | main/xfce4-power-manager/APKBUILD | 10 | ||||
-rw-r--r-- | main/xfce4-power-manager/xfce4-power-manager-1.0.10-libnotify-0.7.patch | 14 |
2 files changed, 20 insertions, 4 deletions
diff --git a/main/xfce4-power-manager/APKBUILD b/main/xfce4-power-manager/APKBUILD index 340962cc3e..ad799769d7 100644 --- a/main/xfce4-power-manager/APKBUILD +++ b/main/xfce4-power-manager/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xfce4-power-manager pkgver=1.0.10 -pkgrel=0 +pkgrel=1 pkgdesc="Power management for the Xfce desktop environment" url="http://goodies.xfce.org/projects/applications/xfce4-power-manager" arch="all" @@ -12,8 +12,9 @@ depends_dev="xfconf-dev xfce4-panel-dev dbus-glib-dev libnotify-dev libxrandr-dev libxfce4ui-dev" makedepends="$depends_dev" install="" -subpackages="$pkgname-doc" -source="http://archive.xfce.org/src/apps/xfce4-power-manager/1.0/xfce4-power-manager-$pkgver.tar.bz2" +subpackages="$pkgname-doc $pkgname-lang" +source="http://archive.xfce.org/src/apps/xfce4-power-manager/1.0/xfce4-power-manager-$pkgver.tar.bz2 + xfce4-power-manager-1.0.10-libnotify-0.7.patch" _builddir="$srcdir"/xfce4-power-manager-$pkgver prepare() { @@ -42,4 +43,5 @@ package() { make DESTDIR="$pkgdir" install || return 1 } -md5sums="38cbd272eb30e36ae538d9f38858bd38 xfce4-power-manager-1.0.10.tar.bz2" +md5sums="38cbd272eb30e36ae538d9f38858bd38 xfce4-power-manager-1.0.10.tar.bz2 +c790f973c29654701bb0748f842be4f7 xfce4-power-manager-1.0.10-libnotify-0.7.patch" diff --git a/main/xfce4-power-manager/xfce4-power-manager-1.0.10-libnotify-0.7.patch b/main/xfce4-power-manager/xfce4-power-manager-1.0.10-libnotify-0.7.patch new file mode 100644 index 0000000000..60cdf27c5a --- /dev/null +++ b/main/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 + |