summaryrefslogtreecommitdiff
path: root/x11/deforaos-locker
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2013-06-15 12:25:23 +0000
committerkhorben <khorben@pkgsrc.org>2013-06-15 12:25:23 +0000
commitbb2b087a56c64d0ce122002d6155f912185395db (patch)
treefadbb9d99886d3a4637078c0ae048129a4ac39de /x11/deforaos-locker
parent0e36390f5afd14734c360be524368f40f0f91408 (diff)
downloadpkgsrc-bb2b087a56c64d0ce122002d6155f912185395db.tar.gz
Fixed build with x11/deforaos-libdesktop 0.0.10
Diffstat (limited to 'x11/deforaos-locker')
-rw-r--r--x11/deforaos-locker/Makefile5
-rw-r--r--x11/deforaos-locker/distinfo5
-rw-r--r--x11/deforaos-locker/patches/patch-src_auth_Makefile4
-rw-r--r--x11/deforaos-locker/patches/patch-src_locker.c19
4 files changed, 26 insertions, 7 deletions
diff --git a/x11/deforaos-locker/Makefile b/x11/deforaos-locker/Makefile
index e4fa9d075dd..f7c93cdc169 100644
--- a/x11/deforaos-locker/Makefile
+++ b/x11/deforaos-locker/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2013/06/06 12:53:59 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2013/06/15 12:25:23 khorben Exp $
#
DISTNAME= Locker-0.2.1
PKGNAME= deforaos-locker-0.2.1
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= x11
MASTER_SITES= http://www.defora.org/os/download/download/3703/
@@ -34,5 +34,4 @@ post-install:
.include "../../x11/deforaos-libdesktop/buildlink3.mk"
.include "../../x11/libXScrnSaver/buildlink3.mk"
.include "../../x11/deforaos-panel/buildlink3.mk"
-.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/deforaos-locker/distinfo b/x11/deforaos-locker/distinfo
index 39485405a8c..6da05d5b337 100644
--- a/x11/deforaos-locker/distinfo
+++ b/x11/deforaos-locker/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2012/12/17 00:47:37 khorben Exp $
+$NetBSD: distinfo,v 1.2 2013/06/15 12:25:23 khorben Exp $
SHA1 (Locker-0.2.1.tar.gz) = b78288b7a45212dc2b89361539c7b63c85f7ee83
RMD160 (Locker-0.2.1.tar.gz) = 81d96bcff075eac749027841f2194351940f9a55
Size (Locker-0.2.1.tar.gz) = 49812 bytes
-SHA1 (patch-src_auth_Makefile) = dbad9612918cdb0e3d3b52f6116aea5632a89792
+SHA1 (patch-src_auth_Makefile) = 23c5cafc182e32eb226ab1e283ac0260a8ca0e45
+SHA1 (patch-src_locker.c) = 63a7f11d9e1948de3f27107392b9a962f7885880
diff --git a/x11/deforaos-locker/patches/patch-src_auth_Makefile b/x11/deforaos-locker/patches/patch-src_auth_Makefile
index ffd75f2cc26..718dda755d3 100644
--- a/x11/deforaos-locker/patches/patch-src_auth_Makefile
+++ b/x11/deforaos-locker/patches/patch-src_auth_Makefile
@@ -1,8 +1,8 @@
-$NetBSD: patch-src_auth_Makefile,v 1.1 2012/12/17 00:47:38 khorben Exp $
+$NetBSD: patch-src_auth_Makefile,v 1.2 2013/06/15 12:25:23 khorben Exp $
Fixes build in src/auth on netbsd-6
---- src/auth/Makefile.orig 2012-09-16 01:15:22.000000000 +0000
+--- src/auth/Makefile.orig 2012-10-14 16:56:53.000000000 +0000
+++ src/auth/Makefile
@@ -21,7 +21,7 @@ all: $(TARGETS)
diff --git a/x11/deforaos-locker/patches/patch-src_locker.c b/x11/deforaos-locker/patches/patch-src_locker.c
new file mode 100644
index 00000000000..a56feb4b004
--- /dev/null
+++ b/x11/deforaos-locker/patches/patch-src_locker.c
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_locker.c,v 1.1 2013/06/15 12:25:23 khorben Exp $
+
+API change in libDesktop 0.0.10
+
+--- src/locker.c.orig 2012-10-12 23:18:24.000000000 +0000
++++ src/locker.c
+@@ -268,8 +268,10 @@ Locker * locker_new(char const * demo, c
+ GDK_WINDOW_XID(root), ScreenSaverNotifyMask);
+ gdk_x11_register_standard_event_type(locker->display, locker->event, 1);
+ gdk_window_add_filter(root, _locker_on_filter, locker);
+- desktop_message_register(LOCKER_CLIENT_MESSAGE, _locker_on_message,
+- locker);
++ /* listen to desktop messages */
++ gtk_widget_realize(locker->windows[0]);
++ desktop_message_register(locker->windows[0], LOCKER_CLIENT_MESSAGE,
++ _locker_on_message, locker);
+ return locker;
+ }
+