public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in gnome-extra/avant-window-navigator-extras/files: avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch
@ 2011-01-30 17:26 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 3+ messages in thread
From: Samuli Suominen (ssuominen) @ 2011-01-30 17:26 UTC (permalink / raw
  To: gentoo-commits

ssuominen    11/01/30 17:26:44

  Added:               
                        avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch
  Log:
  Fix building with x11-libs/libnotify >= 0.7. Punt useless .la files. drop old, broken
  
  (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch?rev=1.1&content-type=text/plain

Index: avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch
===================================================================
--- src/libawn-extras/notify.c
+++ src/libawn-extras/notify.c
@@ -43,7 +43,15 @@
 		expire_timeout=timeout;
 	}			
     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
 	if (notify)
 	{
 		notify_notification_set_category(notify, type);






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in gnome-extra/avant-window-navigator-extras/files: avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch
@ 2011-03-09 18:00 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 3+ messages in thread
From: Samuli Suominen (ssuominen) @ 2011-03-09 18:00 UTC (permalink / raw
  To: gentoo-commits

ssuominen    11/03/09 18:00:24

  Modified:            
                        avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch
  Log:
  Fix libnotify patch to include USE="gnome" wrt #357999 by "LeonBernieniv"
  
  (Portage version: 2.2.0_alpha26/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch?r1=1.1&r2=1.2

Index: avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch	30 Jan 2011 17:26:44 -0000	1.1
+++ avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch	9 Mar 2011 18:00:24 -0000	1.2
@@ -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);






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in gnome-extra/avant-window-navigator-extras/files: avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch
@ 2011-11-06  7:15 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 3+ messages in thread
From: Samuli Suominen (ssuominen) @ 2011-11-06  7:15 UTC (permalink / raw
  To: gentoo-commits

ssuominen    11/11/06 07:15:59

  Removed:             
                        avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch
  Log:
  punt awn-0.4.0 incompatible package



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-06  7:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-09 18:00 [gentoo-commits] gentoo-x86 commit in gnome-extra/avant-window-navigator-extras/files: avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch Samuli Suominen (ssuominen)
  -- strict thread matches above, loose matches on Subject: below --
2011-11-06  7:15 Samuli Suominen (ssuominen)
2011-01-30 17:26 Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox