public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-client/midori/files: midori-0.2.9-libnotify-0.7.patch
@ 2011-01-30 21:19 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 3+ messages in thread
From: Samuli Suominen (ssuominen) @ 2011-01-30 21:19 UTC (permalink / raw
  To: gentoo-commits

ssuominen    11/01/30 21:19:32

  Added:                midori-0.2.9-libnotify-0.7.patch
  Log:
  Fix building with x11-libs/libnotify >= 0.7.
  
  (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  www-client/midori/files/midori-0.2.9-libnotify-0.7.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/files/midori-0.2.9-libnotify-0.7.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/files/midori-0.2.9-libnotify-0.7.patch?rev=1.1&content-type=text/plain

Index: midori-0.2.9-libnotify-0.7.patch
===================================================================
--- midori/midori-app.c
+++ midori/midori-app.c
@@ -42,6 +42,9 @@
 
 #if HAVE_LIBNOTIFY
     #include <libnotify/notify.h>
+    #ifndef NOTIFY_CHECK_VERSION
+    #define NOTIFY_CHECK_VERSION(x,y,z) 0
+    #endif
 #endif
 
 struct _MidoriApp
@@ -1203,8 +1206,11 @@
     if (notify_is_initted ())
     {
         NotifyNotification* note;
-
+        #if NOTIFY_CHECK_VERSION(0, 7, 0)
+        note = notify_notification_new (title, message, "midori");
+        #else
         note = notify_notification_new (title, message, "midori", NULL);
+        #endif
         notify_notification_show (note, NULL);
         g_object_unref (note);
     }






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

* [gentoo-commits] gentoo-x86 commit in www-client/midori/files: midori-0.2.9-libnotify-0.7.patch
@ 2011-01-30 21:26 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 3+ messages in thread
From: Samuli Suominen (ssuominen) @ 2011-01-30 21:26 UTC (permalink / raw
  To: gentoo-commits

ssuominen    11/01/30 21:26:57

  Modified:             midori-0.2.9-libnotify-0.7.patch
  Log:
  Link to upstream bug to patch header
  
  (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  www-client/midori/files/midori-0.2.9-libnotify-0.7.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/files/midori-0.2.9-libnotify-0.7.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/files/midori-0.2.9-libnotify-0.7.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/files/midori-0.2.9-libnotify-0.7.patch?r1=1.1&r2=1.2

Index: midori-0.2.9-libnotify-0.7.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-client/midori/files/midori-0.2.9-libnotify-0.7.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- midori-0.2.9-libnotify-0.7.patch	30 Jan 2011 21:19:32 -0000	1.1
+++ midori-0.2.9-libnotify-0.7.patch	30 Jan 2011 21:26:57 -0000	1.2
@@ -1,3 +1,5 @@
+http://bugs.launchpad.net/midori/+bug/710352
+
 --- midori/midori-app.c
 +++ midori/midori-app.c
 @@ -42,6 +42,9 @@






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

* [gentoo-commits] gentoo-x86 commit in www-client/midori/files: midori-0.2.9-libnotify-0.7.patch
@ 2011-04-28 13:18 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 3+ messages in thread
From: Samuli Suominen (ssuominen) @ 2011-04-28 13:18 UTC (permalink / raw
  To: gentoo-commits

ssuominen    11/04/28 13:18:39

  Removed:              midori-0.2.9-libnotify-0.7.patch
  Log:
  old
  
  (Portage version: 2.2.0_alpha30/cvs/Linux x86_64)



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

end of thread, other threads:[~2011-04-28 13:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-28 13:18 [gentoo-commits] gentoo-x86 commit in www-client/midori/files: midori-0.2.9-libnotify-0.7.patch Samuli Suominen (ssuominen)
  -- strict thread matches above, loose matches on Subject: below --
2011-01-30 21:26 Samuli Suominen (ssuominen)
2011-01-30 21:19 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