summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-08-12 12:28:19 +0000
committerobache <obache@pkgsrc.org>2013-08-12 12:28:19 +0000
commit7a52b307bfd85581969d1648ede8edc10d2cc700 (patch)
treeadbd979d7bc93be565d4222ec087ba16c4eb674a /x11
parent9a3f76edcc8288872b42cf297c309d0e3d63a7c2 (diff)
downloadpkgsrc-7a52b307bfd85581969d1648ede8edc10d2cc700.tar.gz
Switch to use libnotify07.
Bump PKGREVISION.
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-screensaver/Makefile6
-rw-r--r--x11/gnome-screensaver/distinfo3
-rw-r--r--x11/gnome-screensaver/patches/patch-src_gs-lock-plug.c15
3 files changed, 20 insertions, 4 deletions
diff --git a/x11/gnome-screensaver/Makefile b/x11/gnome-screensaver/Makefile
index 9a4153c17da..35eae56e81e 100644
--- a/x11/gnome-screensaver/Makefile
+++ b/x11/gnome-screensaver/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.64 2013/06/06 12:55:13 wiz Exp $
+# $NetBSD: Makefile,v 1.65 2013/08/12 12:28:19 obache Exp $
#
DISTNAME= gnome-screensaver-2.30.2
-PKGREVISION= 16
+PKGREVISION= 17
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-screensaver/2.30/}
EXTRACT_SUFX= .tar.bz2
@@ -65,7 +65,7 @@ BUILDLINK_API_DEPENDS.libexif+= libexif>=0.6.12
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../sysutils/gnome-menus/buildlink3.mk"
-.include "../../sysutils/libnotify/buildlink3.mk"
+.include "../../sysutils/libnotify07/buildlink3.mk"
BUILDLINK_API_DEPENDS.gnome-desktop+= gnome-desktop>=2.23.2
.include "../../x11/gnome-desktop/buildlink3.mk"
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.11.5
diff --git a/x11/gnome-screensaver/distinfo b/x11/gnome-screensaver/distinfo
index 94099be1507..14c28713a0a 100644
--- a/x11/gnome-screensaver/distinfo
+++ b/x11/gnome-screensaver/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2010/10/22 19:24:57 drochner Exp $
+$NetBSD: distinfo,v 1.24 2013/08/12 12:28:19 obache Exp $
SHA1 (gnome-screensaver-2.30.2.tar.bz2) = f9d7c0df0efaa6916099ca56078da8b36f4c4935
RMD160 (gnome-screensaver-2.30.2.tar.bz2) = 1b13722f3bebca709b9f44c45e995d07ed6c2044
@@ -6,3 +6,4 @@ Size (gnome-screensaver-2.30.2.tar.bz2) = 4814653 bytes
SHA1 (patch-aa) = 20f25a4efc3c134366280afbfb8aeb49db791208
SHA1 (patch-ab) = 5b5f9d69fd071bfd6f9b316626e23585841dad9d
SHA1 (patch-ae) = e7f36cb3bb673800ae2001ac3b2237cb912f56c3
+SHA1 (patch-src_gs-lock-plug.c) = 69bad8976618e6f0d26755cf260769954598ec3e
diff --git a/x11/gnome-screensaver/patches/patch-src_gs-lock-plug.c b/x11/gnome-screensaver/patches/patch-src_gs-lock-plug.c
new file mode 100644
index 00000000000..a1e45b05bc1
--- /dev/null
+++ b/x11/gnome-screensaver/patches/patch-src_gs-lock-plug.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_gs-lock-plug.c,v 1.1 2013/08/12 12:28:19 obache Exp $
+
+* libnotify>=0.7 API change
+
+--- src/gs-lock-plug.c.orig 2010-09-28 20:36:51.000000000 +0000
++++ src/gs-lock-plug.c
+@@ -1090,7 +1090,7 @@ submit_note (GtkButton *button,
+ strftime (summary, 128, "%X", tmp);
+
+ notify_init ("gnome-screensaver-dialog");
+- note = notify_notification_new (summary, escaped_text, NULL, NULL);
++ note = notify_notification_new (summary, escaped_text, NULL);
+ notify_notification_set_timeout (note, NOTIFY_EXPIRES_NEVER);
+ notify_notification_show (note, NULL);
+ g_object_unref (note);