Ticket #27563: libnotify-0.6.0.diff
File libnotify-0.6.0.diff, 2.3 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago) |
---|
-
files/patch-libnotify-notification-c.diff
1 1 --- libnotify/notification.c.old 2010-09-15 20:26:52.000000000 +0200 2 2 +++ libnotify/notification.c 2010-09-15 20:31:25.000000000 +0200 3 @@ -2 7,11 +27,6 @@4 #include < libnotify/internal.h>3 @@ -26,7 +26,6 @@ 4 #include <dbus/dbus-glib.h> 5 5 6 #include <gtk/gtkversion.h> 7 -#if GTK_CHECK_VERSION(2, 9, 2) 8 -# define HAVE_STATUS_ICON 9 -# include <gtk/gtkstatusicon.h> 10 -#endif 6 #include <gtk/gtk.h> 11 7 -#include <gdk/gdkx.h> 12 8 13 # define CHECK_DBUS_VERSION(major, minor) \14 (DBUS_MAJOR_VER > (major) || \9 #include "notify.h" 10 #include "internal.h" -
Portfile
4 4 PortSystem 1.0 5 5 6 6 name libnotify 7 version 0.4.5 7 version 0.6.0 8 set branch [join [lrange [split ${version} .] 0 1] .] 8 9 categories devel gnome 9 10 maintainers nomaintainer 10 11 description pop-up notification library … … 14 15 15 16 platforms darwin 16 17 17 homepage http:// www.galago-project.org/18 master_sites ${homepage}files/releases/source/${name}/18 homepage http://library.gnome.org/devel/libnotify/ 19 master_sites gnome:sources/${name}/${branch} 19 20 20 21 use_bzip2 yes 21 checksums md5 6a8388f93309dbe336bbe5fc0677de6b \22 sha1 3bdcd4efaeb14480da4b170c6275cc3d705fb17d \23 rmd160 8ea0afdb8f2f147a2c5b189bfeca58c2b4558cdb24 22 23 checksums sha1 e81059ca46663ab2986796666ea6d81ad6faeeaf \ 24 rmd160 7ca27e0e955e6c29f944c9fbaa8313bd743dafc5 25 25 26 variant quartz { 26 27 patchfiles-append patch-libnotify-notification-c.diff 27 28 } … … 30 31 depends_lib port:gtk2 port:dbus-glib 31 32 32 33 livecheck.type regex 33 livecheck.url ${master_sites}34 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"34 livecheck.url http://ftp.gnome.org/pub/GNOME/sources/${name}/${branch}/ 35 livecheck.regex ${name}-(\[0-9.\]+)\\.tar