[Midnightbsd-cvs] mports [19803] trunk/x11: add xcb-util-cursor

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Aug 18 21:09:29 EDT 2015


Revision: 19803
          http://svnweb.midnightbsd.org/mports/?rev=19803
Author:   laffer1
Date:     2015-08-18 21:09:28 -0400 (Tue, 18 Aug 2015)
Log Message:
-----------
add xcb-util-cursor

Modified Paths:
--------------
    trunk/x11/Makefile

Added Paths:
-----------
    trunk/x11/xcb-util-cursor/
    trunk/x11/xcb-util-cursor/Makefile
    trunk/x11/xcb-util-cursor/distinfo
    trunk/x11/xcb-util-cursor/files/
    trunk/x11/xcb-util-cursor/files/patch-cursor__shape_to_id.gperf
    trunk/x11/xcb-util-cursor/files/patch-cursor_cursor.h
    trunk/x11/xcb-util-cursor/pkg-descr
    trunk/x11/xcb-util-cursor/pkg-plist

Modified: trunk/x11/Makefile
===================================================================
--- trunk/x11/Makefile	2015-08-19 01:00:20 UTC (rev 19802)
+++ trunk/x11/Makefile	2015-08-19 01:09:28 UTC (rev 19803)
@@ -129,6 +129,7 @@
 SUBDIR += xcb
 SUBDIR += xcb-proto
 SUBDIR += xcb-util
+SUBDIR += xcb-util-cursor
 SUBDIR += xcb-util-image
 SUBDIR += xcb-util-keysyms
 SUBDIR += xcb-util-renderutil

Added: trunk/x11/xcb-util-cursor/Makefile
===================================================================
--- trunk/x11/xcb-util-cursor/Makefile	                        (rev 0)
+++ trunk/x11/xcb-util-cursor/Makefile	2015-08-19 01:09:28 UTC (rev 19803)
@@ -0,0 +1,31 @@
+# $MidnightBSD$
+# $FreeBSD: head/x11/xcb-util-cursor/Makefile 384234 2015-04-18 15:34:36Z kwm $
+
+PORTNAME=	xcb-util-cursor
+PORTVERSION=	0.1.2
+CATEGORIES=	x11
+MASTER_SITES=	http://xcb.freedesktop.org/dist/
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	XCB cursor library
+
+LICENSE=	mit
+
+BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/xcb-util.pc:${PORTSDIR}/x11/xcb-util \
+		${LOCALBASE}/libdata/pkgconfig/xcb-renderutil.pc:${PORTSDIR}/x11/xcb-util-renderutil \
+		${LOCALBASE}/libdata/pkgconfig/xcb-image.pc:${PORTSDIR}/x11/xcb-util-image
+		
+RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/xcb-util.pc:${PORTSDIR}/x11/xcb-util \
+		${LOCALBASE}/libdata/pkgconfig/xcb-renderutil.pc:${PORTSDIR}/x11/xcb-util-renderutil \
+		${LOCALBASE}/libdata/pkgconfig/xcb-image.pc:${PORTSDIR}/x11/xcb-util-image
+
+XORG_CAT=	lib
+USE_XORG=	xcb
+USES=		gmake gperf
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|' \
+		${WRKSRC}/configure
+
+.include <bsd.port.mk>


Property changes on: trunk/x11/xcb-util-cursor/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/x11/xcb-util-cursor/distinfo
===================================================================
--- trunk/x11/xcb-util-cursor/distinfo	                        (rev 0)
+++ trunk/x11/xcb-util-cursor/distinfo	2015-08-19 01:09:28 UTC (rev 19803)
@@ -0,0 +1,2 @@
+SHA256 (xorg/lib/xcb-util-cursor-0.1.2.tar.bz2) = ed65367b810d47ab637011585135f4a84dd12e235dddcd3b26e0cfb3be21fb3a
+SIZE (xorg/lib/xcb-util-cursor-0.1.2.tar.bz2) = 289714


Property changes on: trunk/x11/xcb-util-cursor/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/x11/xcb-util-cursor/files/patch-cursor__shape_to_id.gperf
===================================================================
--- trunk/x11/xcb-util-cursor/files/patch-cursor__shape_to_id.gperf	                        (rev 0)
+++ trunk/x11/xcb-util-cursor/files/patch-cursor__shape_to_id.gperf	2015-08-19 01:09:28 UTC (rev 19803)
@@ -0,0 +1,18 @@
+--- cursor/shape_to_id.gperf.orig	2013-08-28 14:00:29.539200308 +0200
++++ cursor/shape_to_id.gperf	2013-08-28 14:01:02.866194795 +0200
+@@ -1,5 +1,5 @@
+ struct shape_mapping { const char *name; int number; };
+-const int cursor_shape_to_id(const char *name);
++int cursor_shape_to_id(const char *name);
+ %%
+ X_cursor,0
+ arrow,1
+@@ -79,7 +79,7 @@
+ watch,75
+ xterm,76
+ %%
+-const int cursor_shape_to_id(const char *name) {
++int cursor_shape_to_id(const char *name) {
+ 	struct shape_mapping *mapping = in_word_set(name, strlen(name));
+ 	return (mapping ? (mapping->number * 2) : -1);
+ }


Property changes on: trunk/x11/xcb-util-cursor/files/patch-cursor__shape_to_id.gperf
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/x11/xcb-util-cursor/files/patch-cursor_cursor.h
===================================================================
--- trunk/x11/xcb-util-cursor/files/patch-cursor_cursor.h	                        (rev 0)
+++ trunk/x11/xcb-util-cursor/files/patch-cursor_cursor.h	2015-08-19 01:09:28 UTC (rev 19803)
@@ -0,0 +1,11 @@
+--- cursor/cursor.h.orig	2013-08-28 13:57:29.231213533 +0200
++++ cursor/cursor.h	2013-08-28 13:57:38.222207468 +0200
+@@ -154,7 +154,7 @@
+ } __attribute__((packed)) xcint_image_t;
+ 
+ /* shape_to_id.c */
+-const int cursor_shape_to_id(const char *name);
++int cursor_shape_to_id(const char *name);
+ 
+ /* parse_cursor_file.c */
+ int parse_cursor_file(xcb_cursor_context_t *c, const int fd, xcint_image_t **images, int *nimg);


Property changes on: trunk/x11/xcb-util-cursor/files/patch-cursor_cursor.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/x11/xcb-util-cursor/pkg-descr
===================================================================
--- trunk/x11/xcb-util-cursor/pkg-descr	                        (rev 0)
+++ trunk/x11/xcb-util-cursor/pkg-descr	2015-08-19 01:09:28 UTC (rev 19803)
@@ -0,0 +1,11 @@
+The xcb-util module provides a number of libraries which sit on top of
+libxcb, the core X protocol library, and some of the extension libraries.
+These libraries provide convenience functions and interfaces which make the
+raw X protocol more usable.  Some of the libraries also provide client-side
+code which is not strictly part of the X protocol but which have traditionally
+been provided by Xlib.
+
+The util-cursor module implements the XCB cursor library, which is th XCB
+replacement for libXcursor.
+
+WWW: http://xcb.freedesktop.org/


Property changes on: trunk/x11/xcb-util-cursor/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/x11/xcb-util-cursor/pkg-plist
===================================================================
--- trunk/x11/xcb-util-cursor/pkg-plist	                        (rev 0)
+++ trunk/x11/xcb-util-cursor/pkg-plist	2015-08-19 01:09:28 UTC (rev 19803)
@@ -0,0 +1,6 @@
+include/xcb/xcb_cursor.h
+lib/libxcb-cursor.a
+lib/libxcb-cursor.so
+lib/libxcb-cursor.so.0
+lib/libxcb-cursor.so.0.0.0
+libdata/pkgconfig/xcb-cursor.pc


Property changes on: trunk/x11/xcb-util-cursor/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list