Ticket #27563: libnotify-0.6.0.diff

File libnotify-0.6.0.diff, 2.3 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago)

update to 0.6.0, which requires gtk3

  • files/patch-libnotify-notification-c.diff

     
    11--- libnotify/notification.c.old        2010-09-15 20:26:52.000000000 +0200
    22+++ libnotify/notification.c    2010-09-15 20:31:25.000000000 +0200
    3 @@ -27,11 +27,6 @@
    4  #include <libnotify/internal.h>
     3@@ -26,7 +26,6 @@
     4 #include <dbus/dbus-glib.h>
    55 
    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>
    117-#include <gdk/gdkx.h>
    128 
    13  #define CHECK_DBUS_VERSION(major, minor) \
    14         (DBUS_MAJOR_VER > (major) || \
     9 #include "notify.h"
     10 #include "internal.h"
  • Portfile

     
    44PortSystem          1.0
    55
    66name                libnotify
    7 version             0.4.5
     7version             0.6.0
     8set branch          [join [lrange [split ${version} .] 0 1] .]
    89categories          devel gnome
    910maintainers         nomaintainer
    1011description         pop-up notification library
     
    1415
    1516platforms           darwin
    1617
    17 homepage            http://www.galago-project.org/
    18 master_sites        ${homepage}files/releases/source/${name}/
     18homepage            http://library.gnome.org/devel/libnotify/
     19master_sites        gnome:sources/${name}/${branch}
    1920
    2021use_bzip2           yes
    21 checksums           md5 6a8388f93309dbe336bbe5fc0677de6b \
    22                     sha1 3bdcd4efaeb14480da4b170c6275cc3d705fb17d \
    23                     rmd160 8ea0afdb8f2f147a2c5b189bfeca58c2b4558cdb
    2422
     23checksums           sha1    e81059ca46663ab2986796666ea6d81ad6faeeaf \
     24                    rmd160  7ca27e0e955e6c29f944c9fbaa8313bd743dafc5
     25
    2526variant quartz {
    2627    patchfiles-append   patch-libnotify-notification-c.diff
    2728}
     
    3031depends_lib         port:gtk2 port:dbus-glib
    3132
    3233livecheck.type      regex
    33 livecheck.url       ${master_sites}
    34 livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
     34livecheck.url       http://ftp.gnome.org/pub/GNOME/sources/${name}/${branch}/
     35livecheck.regex     ${name}-(\[0-9.\]+)\\.tar