Date: Wed, 7 Aug 2013 23:39:29 +0000 (UTC) From: Niclas Zeising <zeising@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324373 - in head/x11: . xcb-util-cursor xcb-util-cursor/files Message-ID: <201308072339.r77NdTZt055995@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zeising Date: Wed Aug 7 23:39:28 2013 New Revision: 324373 URL: http://svnweb.freebsd.org/changeset/ports/324373 Log: Add a new port xcb-util-cursor, XCB replacement for libXcursor. Added: head/x11/xcb-util-cursor/ head/x11/xcb-util-cursor/Makefile (contents, props changed) head/x11/xcb-util-cursor/distinfo (contents, props changed) head/x11/xcb-util-cursor/files/ head/x11/xcb-util-cursor/files/patch-cursor__cursor.h (contents, props changed) head/x11/xcb-util-cursor/files/patch-cursor__parse_cursor_file.c (contents, props changed) head/x11/xcb-util-cursor/pkg-descr (contents, props changed) head/x11/xcb-util-cursor/pkg-plist (contents, props changed) Modified: head/x11/Makefile Modified: head/x11/Makefile ============================================================================== --- head/x11/Makefile Wed Aug 7 23:36:35 2013 (r324372) +++ head/x11/Makefile Wed Aug 7 23:39:28 2013 (r324373) @@ -321,6 +321,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: head/x11/xcb-util-cursor/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xcb-util-cursor/Makefile Wed Aug 7 23:39:28 2013 (r324373) @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= xcb-util-cursor +PORTVERSION= 0.0.99 +CATEGORIES= x11 +MASTER_SITES= http://xcb.freedesktop.org/dist/ + +MAINTAINER= x11@FreeBSD.org +COMMENT= XCB cursor library + +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 + +USE_BZIP2= yes +USE_GMAKE= yes +USE_LDCONFIG= yes +USE_XORG= xcb xorg-macros + +GNU_CONFIGURE= yes + +post-patch: + @${REINPLACE_CMD} -e \ + 's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|' \ + ${WRKSRC}/configure + +.include <bsd.port.mk> Added: head/x11/xcb-util-cursor/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xcb-util-cursor/distinfo Wed Aug 7 23:39:28 2013 (r324373) @@ -0,0 +1,2 @@ +SHA256 (xcb-util-cursor-0.0.99.tar.bz2) = 14fa5bfe639d26e950047ab904c559e935bad0ffac7bc7dc0362066d0a4e55b3 +SIZE (xcb-util-cursor-0.0.99.tar.bz2) = 276739 Added: head/x11/xcb-util-cursor/files/patch-cursor__cursor.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xcb-util-cursor/files/patch-cursor__cursor.h Wed Aug 7 23:39:28 2013 (r324373) @@ -0,0 +1,31 @@ +From c7eff39a5fb3552de57e52f737ea7ae59b1ef895 Mon Sep 17 00:00:00 2001 +From: Michael Stapelberg <michael@stapelberg.de> +Date: Fri, 12 Jul 2013 17:57:44 +0000 +Subject: don’t define xcb_cursor_context_t twice (Thanks Thomas) + +This fixes a compilation problem on NetBSD +--- +diff --git a/cursor/cursor.h b/cursor/cursor.h +index a69f025..7d8c76b 100644 +--- cursor/cursor.h ++++ 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 +-- +cgit v0.9.0.2-2-gbebe Added: head/x11/xcb-util-cursor/files/patch-cursor__parse_cursor_file.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xcb-util-cursor/files/patch-cursor__parse_cursor_file.c Wed Aug 7 23:39:28 2013 (r324373) @@ -0,0 +1,10 @@ +--- cursor/parse_cursor_file.c.orig 2013-08-07 21:57:33.658269610 +0200 ++++ cursor/parse_cursor_file.c 2013-08-07 22:00:01.294253704 +0200 +@@ -33,6 +33,7 @@ + #include <errno.h> + #include <sys/types.h> + #include <sys/stat.h> ++#include <sys/endian.h> + #include <fcntl.h> + #include <unistd.h> + Added: head/x11/xcb-util-cursor/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xcb-util-cursor/pkg-descr Wed Aug 7 23:39:28 2013 (r324373) @@ -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/ Added: head/x11/xcb-util-cursor/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xcb-util-cursor/pkg-plist Wed Aug 7 23:39:28 2013 (r324373) @@ -0,0 +1,7 @@ +include/xcb/xcb_cursor.h +lib/libxcb-cursor.a +lib/libxcb-cursor.la +lib/libxcb-cursor.so +lib/libxcb-cursor.so.0 +libdata/pkgconfig/xcb-cursor.pc +@dirrmtry include/xcb
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308072339.r77NdTZt055995>