diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-03-09 18:00:24 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-03-09 18:00:24 +0000 |
commit | 487a1bd51f53704d643dfdfe1f6c1cfae8b8c2b3 (patch) | |
tree | 6581d248fb855d678bb8f9125931a420492060de /gnome-extra/avant-window-navigator-extras | |
parent | Version bump. Initial import to the main tree (diff) | |
download | gentoo-2-487a1bd51f53704d643dfdfe1f6c1cfae8b8c2b3.tar.gz gentoo-2-487a1bd51f53704d643dfdfe1f6c1cfae8b8c2b3.tar.bz2 gentoo-2-487a1bd51f53704d643dfdfe1f6c1cfae8b8c2b3.zip |
Fix libnotify patch to include USE="gnome" wrt #357999 by "LeonBernieniv"
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra/avant-window-navigator-extras')
-rw-r--r-- | gnome-extra/avant-window-navigator-extras/ChangeLog | 6 | ||||
-rw-r--r-- | gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch | 18 |
2 files changed, 23 insertions, 1 deletions
diff --git a/gnome-extra/avant-window-navigator-extras/ChangeLog b/gnome-extra/avant-window-navigator-extras/ChangeLog index 364a880bca1d..1929e1809c0d 100644 --- a/gnome-extra/avant-window-navigator-extras/ChangeLog +++ b/gnome-extra/avant-window-navigator-extras/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for gnome-extra/avant-window-navigator-extras # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/avant-window-navigator-extras/ChangeLog,v 1.19 2011/01/30 17:26:44 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/avant-window-navigator-extras/ChangeLog,v 1.20 2011/03/09 18:00:24 ssuominen Exp $ + + 09 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> + files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch: + Fix libnotify patch to include USE="gnome" wrt #357999 by "LeonBernieniv" 30 Jan 2011; Samuli Suominen <ssuominen@gentoo.org> avant-window-navigator-extras-0.3.2.2.ebuild, diff --git a/gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch b/gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch index dd22e13aebc2..41ed98fbe98f 100644 --- a/gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch +++ b/gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch @@ -16,3 +16,21 @@ if (notify) { notify_notification_set_category(notify, type); +--- src/notification-daemon/src/daemon/daemon.c ++++ src/notification-daemon/src/daemon/daemon.c +@@ -1252,7 +1252,15 @@ + if (fork() == 0) + { + notify_init("notify-send"); ++#ifdef NOTIFY_CHECK_VERSION ++#if NOTIFY_CHECK_VERSION (0, 7, 0) ++ notify = notify_notification_new(summary, body, icon_str); ++#else + notify = notify_notification_new(summary, body, icon_str, NULL); ++#endif ++#else ++ notify = notify_notification_new(summary, body, icon_str, NULL); ++#endif + notify_notification_set_category(notify, type); + notify_notification_set_urgency(notify, urgency); + notify_notification_set_timeout(notify, expire_timeout); |