From e37f6bd5315510c02582131e7465475819da6787 Mon Sep 17 00:00:00 2001 From: obache Date: Fri, 16 Aug 2013 02:37:01 +0000 Subject: Switch to use libnotify07. Bump PKGREVISION. --- www/liferea/Makefile | 6 +++--- www/liferea/distinfo | 3 ++- .../patch-src_notification_notif__libnotify.c | 24 ++++++++++++++++++++++ 3 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 www/liferea/patches/patch-src_notification_notif__libnotify.c (limited to 'www') diff --git a/www/liferea/Makefile b/www/liferea/Makefile index 7bf4ed23d42..77d85a2eb45 100644 --- a/www/liferea/Makefile +++ b/www/liferea/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.119 2013/06/06 12:55:11 wiz Exp $ +# $NetBSD: Makefile,v 1.120 2013/08/16 02:37:01 obache Exp $ DISTNAME= liferea-1.4.28 -PKGREVISION= 33 +PKGREVISION= 34 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=liferea/} @@ -47,7 +47,7 @@ GCONF_SCHEMAS= liferea.schemas .include "../../security/gnutls/buildlink3.mk" .include "../../sysutils/dbus-glib/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" -.include "../../sysutils/libnotify/buildlink3.mk" +.include "../../sysutils/libnotify07/buildlink3.mk" .include "../../textproc/libxml2/buildlink3.mk" .include "../../textproc/libxslt/buildlink3.mk" .include "../../x11/libSM/buildlink3.mk" diff --git a/www/liferea/distinfo b/www/liferea/distinfo index 16357bab113..6782f008fb6 100644 --- a/www/liferea/distinfo +++ b/www/liferea/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.59 2013/03/02 17:53:07 joerg Exp $ +$NetBSD: distinfo,v 1.60 2013/08/16 02:37:01 obache Exp $ SHA1 (liferea-1.4.28.tar.gz) = 5c40c9a20eb94d5e0bc5e9b41af51389bc364daf RMD160 (liferea-1.4.28.tar.gz) = 044d0f771ea06c7d35fb70afc2ebe8d64bd96ef0 @@ -7,4 +7,5 @@ SHA1 (patch-ae) = 91c32840150a33d2162301c17bd5c35edc6264ba SHA1 (patch-af) = 6376c278cc5fa1fd2f353e056d9e135fbf9e0bef SHA1 (patch-ag) = 49eaef5dd44397d5dda30d7b750cce3a26d5029d SHA1 (patch-src_feedlist.c) = 3c6e18f852726532686c54fc658fd0be961d9bdb +SHA1 (patch-src_notification_notif__libnotify.c) = ada0c674a447011fd1e4b370fd53d2c3886f8494 SHA1 (patch-src_rule.c) = b6de3509c604a570258b5ee04b5576c386751edd diff --git a/www/liferea/patches/patch-src_notification_notif__libnotify.c b/www/liferea/patches/patch-src_notification_notif__libnotify.c new file mode 100644 index 00000000000..0e05aa74074 --- /dev/null +++ b/www/liferea/patches/patch-src_notification_notif__libnotify.c @@ -0,0 +1,24 @@ +$NetBSD: patch-src_notification_notif__libnotify.c,v 1.1 2013/08/16 02:37:01 obache Exp $ + +* for libnotify-0.7 API change + +--- src/notification/notif_libnotify.c.orig 2007-09-19 18:38:29.000000000 +0000 ++++ src/notification/notif_libnotify.c +@@ -147,7 +147,7 @@ static void notif_libnotify_callback_sho + // notify_notification_update ( n, node_get_title(node_p), labelText_now_p, NULL); + // notify_notification_clear_actions(n); + +- n = notify_notification_new (node_get_title(node_p), labelText_now_p, NULL, NULL); ++ n = notify_notification_new (node_get_title(node_p), labelText_now_p, NULL); + + notify_notification_set_icon_from_pixbuf (n,node_get_icon(node_p)); + +@@ -223,7 +223,7 @@ notif_libnotify_node_has_new_items (node + + labelSummary_p = g_strdup_printf (ngettext ("%s has %d new / updated headline\n", "%s has %d new / updated headlines\n", item_count), + node_get_title (node), item_count); +- n = notify_notification_new ( _("Feed Update"), labelSummary_p, NULL, NULL); ++ n = notify_notification_new ( _("Feed Update"), labelSummary_p, NULL); + g_free(labelSummary_p); + + notify_notification_set_icon_from_pixbuf (n, node_get_icon (node)); -- cgit v1.2.3