summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-07-21 21:44:18 +0000
committerwiz <wiz@pkgsrc.org>2013-07-21 21:44:18 +0000
commit0198ceb7e3dd22951e6e2a574ec99de6e3a5d07c (patch)
tree4d0fefeb3a9cd88c8603bd7f1d2a07a731c26d3e /x11
parenta1594819a2dd9467974a5b3d394975036ccd8474 (diff)
downloadpkgsrc-0198ceb7e3dd22951e6e2a574ec99de6e3a5d07c.tar.gz
Import xcb-util-cursor-0.0.99 as x11/xcb-util-cursor.
XCB util-cursor module provides the following libraries: - cursor: port of libxcursor
Diffstat (limited to 'x11')
-rw-r--r--x11/xcb-util-cursor/DESCR3
-rw-r--r--x11/xcb-util-cursor/Makefile23
-rw-r--r--x11/xcb-util-cursor/PLIST4
-rw-r--r--x11/xcb-util-cursor/distinfo6
-rw-r--r--x11/xcb-util-cursor/patches/patch-cursor_cursor.h24
5 files changed, 60 insertions, 0 deletions
diff --git a/x11/xcb-util-cursor/DESCR b/x11/xcb-util-cursor/DESCR
new file mode 100644
index 00000000000..e612b1ee855
--- /dev/null
+++ b/x11/xcb-util-cursor/DESCR
@@ -0,0 +1,3 @@
+XCB util-cursor module provides the following libraries:
+
+ - cursor: port of libxcursor
diff --git a/x11/xcb-util-cursor/Makefile b/x11/xcb-util-cursor/Makefile
new file mode 100644
index 00000000000..83b615ef5b6
--- /dev/null
+++ b/x11/xcb-util-cursor/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2013/07/21 21:44:18 wiz Exp $
+
+DISTNAME= xcb-util-cursor-0.0.99
+CATEGORIES= x11
+MASTER_SITES= http://xcb.freedesktop.org/dist/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://xcb.freedesktop.org/
+COMMENT= XCB port of Xlib's libXcursor
+#LICENSE= mit
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config gmake
+USE_LIBTOOL= yes
+
+#PKGCONFIG_OVERRIDE= image/xcb-image.pc.in
+
+.include "../../x11/libxcb/buildlink3.mk"
+#.include "../../x11/xcb-util/buildlink3.mk"
+.include "../../x11/xcb-util-image/buildlink3.mk"
+.include "../../x11/xcb-util-renderutil/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xcb-util-cursor/PLIST b/x11/xcb-util-cursor/PLIST
new file mode 100644
index 00000000000..3ef9cb669f6
--- /dev/null
+++ b/x11/xcb-util-cursor/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2013/07/21 21:44:18 wiz Exp $
+include/xcb/xcb_cursor.h
+lib/libxcb-cursor.la
+lib/pkgconfig/xcb-cursor.pc
diff --git a/x11/xcb-util-cursor/distinfo b/x11/xcb-util-cursor/distinfo
new file mode 100644
index 00000000000..07b7092577e
--- /dev/null
+++ b/x11/xcb-util-cursor/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2013/07/21 21:44:18 wiz Exp $
+
+SHA1 (xcb-util-cursor-0.0.99.tar.bz2) = 1e68838f74bcbb4f095346f56b2e08b82478699e
+RMD160 (xcb-util-cursor-0.0.99.tar.bz2) = ebfcea9088e65bbe9ae6d7c4a92f382d97483fdc
+Size (xcb-util-cursor-0.0.99.tar.bz2) = 276739 bytes
+SHA1 (patch-cursor_cursor.h) = 690513cce218bec3e286d8535ad3997cea684b6e
diff --git a/x11/xcb-util-cursor/patches/patch-cursor_cursor.h b/x11/xcb-util-cursor/patches/patch-cursor_cursor.h
new file mode 100644
index 00000000000..707c4e7c445
--- /dev/null
+++ b/x11/xcb-util-cursor/patches/patch-cursor_cursor.h
@@ -0,0 +1,24 @@
+$NetBSD: patch-cursor_cursor.h,v 1.1 2013/07/21 21:44:18 wiz Exp $
+
+Don't define xcb_cursor_context_t twice.
+
+--- cursor/cursor.h.orig 2013-07-09 20:30:14.000000000 +0000
++++ cursor/cursor.h
+@@ -32,6 +32,8 @@
+ #include <stdbool.h>
+ #include <xcb/render.h>
+
++#include "xcb_cursor.h"
++
+ enum {
+ RM_XCURSOR_THEME = 0,
+ RM_XCURSOR_SIZE,
+@@ -61,7 +63,7 @@ typedef struct xcb_cursor_context_t {
+ const char *path;
+
+ bool render_present;
+-} xcb_cursor_context_t;
++};
+
+ /*
+ * Cursor files start with a header. The header