[74098] trunk/dports/devel/libnotify

ryandesign at macports.org ryandesign at macports.org
Sat Dec 4 12:11:02 PST 2010


Revision: 74098
          http://trac.macports.org/changeset/74098
Author:   ryandesign at macports.org
Date:     2010-12-04 12:10:57 -0800 (Sat, 04 Dec 2010)
Log Message:
-----------
libnotify: update to 0.5.2.; see #27563

Modified Paths:
--------------
    trunk/dports/devel/libnotify/Portfile
    trunk/dports/devel/libnotify/files/patch-libnotify-notification-c.diff

Modified: trunk/dports/devel/libnotify/Portfile
===================================================================
--- trunk/dports/devel/libnotify/Portfile	2010-12-04 20:08:40 UTC (rev 74097)
+++ trunk/dports/devel/libnotify/Portfile	2010-12-04 20:10:57 UTC (rev 74098)
@@ -4,7 +4,8 @@
 PortSystem          1.0
 
 name                libnotify
-version             0.4.5
+version             0.5.2
+set branch          [join [lrange [split ${version} .] 0 1] .]
 categories          devel gnome
 maintainers         nomaintainer
 description         pop-up notification library
@@ -14,14 +15,14 @@
 
 platforms           darwin
 
-homepage            http://www.galago-project.org/
-master_sites        ${homepage}files/releases/source/${name}/
+homepage            http://library.gnome.org/devel/libnotify/
+master_sites        gnome:sources/${name}/${branch}
 
 use_bzip2           yes
-checksums           md5 6a8388f93309dbe336bbe5fc0677de6b \
-                    sha1 3bdcd4efaeb14480da4b170c6275cc3d705fb17d \
-                    rmd160 8ea0afdb8f2f147a2c5b189bfeca58c2b4558cdb
 
+checksums           sha1    bb088a318cfccb4261674065838860fa940fc04a \
+                    rmd160  97c7d295683d6a093e46611d354fe8bfd799fb7d
+
 variant quartz {
     patchfiles-append   patch-libnotify-notification-c.diff
 }
@@ -30,5 +31,5 @@
 depends_lib         port:gtk2 port:dbus-glib
 
 livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+livecheck.url       http://ftp.gnome.org/pub/GNOME/sources/${name}/${branch}/
+livecheck.regex     ${name}-(\[0-9.\]+)\\.tar

Modified: trunk/dports/devel/libnotify/files/patch-libnotify-notification-c.diff
===================================================================
--- trunk/dports/devel/libnotify/files/patch-libnotify-notification-c.diff	2010-12-04 20:08:40 UTC (rev 74097)
+++ trunk/dports/devel/libnotify/files/patch-libnotify-notification-c.diff	2010-12-04 20:10:57 UTC (rev 74098)
@@ -1,14 +1,10 @@
 --- 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>
+@@ -26,7 +26,6 @@
+ #include <dbus/dbus-glib.h>
  
- #include <gtk/gtkversion.h>
--#if GTK_CHECK_VERSION(2, 9, 2)
--# define HAVE_STATUS_ICON
--# include <gtk/gtkstatusicon.h>
--#endif
+ #include <gtk/gtk.h>
 -#include <gdk/gdkx.h>
  
- #define CHECK_DBUS_VERSION(major, minor) \
- 	(DBUS_MAJOR_VER > (major) || \
+ #include "notify.h"
+ #include "internal.h"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101204/e63e4057/attachment.html>


More information about the macports-changes mailing list