[71793] trunk/dports/devel/libnotify
elelay at macports.org
elelay at macports.org
Thu Sep 23 02:45:30 PDT 2010
Revision: 71793
http://trac.macports.org/changeset/71793
Author: elelay at macports.org
Date: 2010-09-23 02:45:26 -0700 (Thu, 23 Sep 2010)
Log Message:
-----------
add quartz variant to libnotify
it disables passing the application icon as a fallback notification icon
Modified Paths:
--------------
trunk/dports/devel/libnotify/Portfile
Added Paths:
-----------
trunk/dports/devel/libnotify/files/
trunk/dports/devel/libnotify/files/patch-libnotify-notification-c.diff
Modified: trunk/dports/devel/libnotify/Portfile
===================================================================
--- trunk/dports/devel/libnotify/Portfile 2010-09-23 08:43:37 UTC (rev 71792)
+++ trunk/dports/devel/libnotify/Portfile 2010-09-23 09:45:26 UTC (rev 71793)
@@ -22,6 +22,10 @@
sha1 3bdcd4efaeb14480da4b170c6275cc3d705fb17d \
rmd160 8ea0afdb8f2f147a2c5b189bfeca58c2b4558cdb
+variant quartz {
+ patchfiles-append patch-libnotify-notification-c.diff
+}
+
depends_build port:pkgconfig
depends_lib port:gtk2 port:dbus-glib
Added: trunk/dports/devel/libnotify/files/patch-libnotify-notification-c.diff
===================================================================
--- trunk/dports/devel/libnotify/files/patch-libnotify-notification-c.diff (rev 0)
+++ trunk/dports/devel/libnotify/files/patch-libnotify-notification-c.diff 2010-09-23 09:45:26 UTC (rev 71793)
@@ -0,0 +1,14 @@
+--- libnotify/notification.c.old 2010-09-15 20:26:52.000000000 +0200
++++ libnotify/notification.c 2010-09-15 20:31:25.000000000 +0200
+@@ -27,11 +27,6 @@
+ #include <libnotify/internal.h>
+
+ #include <gtk/gtkversion.h>
+-#if GTK_CHECK_VERSION(2, 9, 2)
+-# define HAVE_STATUS_ICON
+-# include <gtk/gtkstatusicon.h>
+-#endif
+-#include <gdk/gdkx.h>
+
+ #define CHECK_DBUS_VERSION(major, minor) \
+ (DBUS_MAJOR_VER > (major) || \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100923/e4c6a4b2/attachment.html>
More information about the macports-changes
mailing list