diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-10-08 16:14:52 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-10-08 16:14:52 +0000 |
commit | 748baa01ca1add8dcbe2c8fed4aeaba10003c4cf (patch) | |
tree | b7b9da0d8fcdac9ae2c49934f50d707c851310f9 /x11/libxcb | |
parent | 67973ea154cd6e47e9f8250f1f4b2f18333a1969 (diff) | |
download | ports-748baa01ca1add8dcbe2c8fed4aeaba10003c4cf.tar.gz ports-748baa01ca1add8dcbe2c8fed4aeaba10003c4cf.zip |
Notes
Diffstat (limited to 'x11/libxcb')
-rw-r--r-- | x11/libxcb/Makefile | 49 | ||||
-rw-r--r-- | x11/libxcb/distinfo | 3 | ||||
-rw-r--r-- | x11/libxcb/files/patch-src-xcb_util.c | 10 | ||||
-rw-r--r-- | x11/libxcb/files/patch-tests-check_public.c | 11 | ||||
-rw-r--r-- | x11/libxcb/files/patch-xcb.pc.in | 10 | ||||
-rw-r--r-- | x11/libxcb/pkg-descr | 8 | ||||
-rw-r--r-- | x11/libxcb/pkg-plist | 131 |
7 files changed, 222 insertions, 0 deletions
diff --git a/x11/libxcb/Makefile b/x11/libxcb/Makefile new file mode 100644 index 000000000000..53856e596548 --- /dev/null +++ b/x11/libxcb/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: libxcb +# Date Created: 2006-08-23 +# Whom: Ashish Shukla <wahjava@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= libxcb +PORTVERSION= 0.9.92 +CATEGORIES= x11 +MASTER_SITES= http://xcb.freedesktop.org/dist/ + +MAINTAINER= wahjava@gmail.com +COMMENT= The X protocol C-language Binding (XCB) library + +BUILD_DEPENDS= ${LIB_PC_DEPENDS} \ + ${LOCALBASE}/lib/libcheck.a:${PORTSDIR}/devel/libcheck \ + xsltproc:${PORTSDIR}/textproc/libxslt +RUN_DEPENDS= ${LIB_PC_DEPENDS} + +USE_X_PREFIX= yes +USE_BZIP2= yes +USE_GNOME= gnomehack pkgconfig +USE_GMAKE= yes +USE_LDCONFIG= yes + +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --with-check=${LOCALBASE} +.for f in XPROTO_CFLAGS XPROTO_LIBS XDMCP_CFLAGS XDMCP_LIBS XAU_CFLAGS XAU_LIBS +CONFIGURE_ARGS+=${f}="${${f}}" +.endfor +CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}" + +LIB_PC_DEPENDS= ${X11BASE}/libdata/pkgconfig/xcb-proto.pc:${PORTSDIR}/x11/xcb-proto + +XAU_CFLAGS= -I${X11BASE}/include +XAU_LIBS= -L${X11BASE}/lib -lXau + +XDMCP_CFLAGS= -I${X11BASE}/include +XDMCP_LIBS= -L${X11BASE}/lib -lXdmcp + +XPROTO_CFLAGS= -I${X11BASE}/include +XPROTO_LIBS= -L${X11BASE}/lib + +post-build: + DISPLAY= ${GMAKE} -C ${WRKSRC} check + +.include <bsd.port.mk> diff --git a/x11/libxcb/distinfo b/x11/libxcb/distinfo new file mode 100644 index 000000000000..ca84900ca02a --- /dev/null +++ b/x11/libxcb/distinfo @@ -0,0 +1,3 @@ +MD5 (libxcb-0.9.92.tar.bz2) = 6f01c8fa200deebb20b019f7401a2606 +SHA256 (libxcb-0.9.92.tar.bz2) = 64337d31564f3239ccb8f0d7f8e1c4987f570985af3ab83a38cf9af5736ef9b1 +SIZE (libxcb-0.9.92.tar.bz2) = 319483 diff --git a/x11/libxcb/files/patch-src-xcb_util.c b/x11/libxcb/files/patch-src-xcb_util.c new file mode 100644 index 000000000000..bdc15070dba4 --- /dev/null +++ b/x11/libxcb/files/patch-src-xcb_util.c @@ -0,0 +1,10 @@ +--- src/xcb_util.c.orig Wed Aug 23 02:46:44 2006 ++++ src/xcb_util.c Wed Aug 23 02:46:44 2006 +@@ -39,6 +39,7 @@ + #include <stdlib.h> + #include <unistd.h> + #include <string.h> ++#include <netinet/in.h> /* added by Ashish Shukla */ + + #include "xcb.h" + #include "xcbext.h" diff --git a/x11/libxcb/files/patch-tests-check_public.c b/x11/libxcb/files/patch-tests-check_public.c new file mode 100644 index 000000000000..6478c3405200 --- /dev/null +++ b/x11/libxcb/files/patch-tests-check_public.c @@ -0,0 +1,11 @@ +--- tests/check_public.c.orig Wed Aug 23 02:49:33 2006 ++++ tests/check_public.c Wed Aug 23 02:49:33 2006 +@@ -97,7 +97,7 @@ + + START_TEST(parse_display_negative) + { +- parse_display_fail(0); ++ parse_display_fail(NULL); /* modified by Ashish Shukla. 0 is not NULL in ISO C but in ISO C++ */ + parse_display_fail(""); + parse_display_fail(":"); + parse_display_fail("::"); diff --git a/x11/libxcb/files/patch-xcb.pc.in b/x11/libxcb/files/patch-xcb.pc.in new file mode 100644 index 000000000000..8ee3f293ef43 --- /dev/null +++ b/x11/libxcb/files/patch-xcb.pc.in @@ -0,0 +1,10 @@ +--- ./xcb.pc.in.orig Mon Sep 25 05:52:46 2006 ++++ ./xcb.pc.in Sun Oct 8 11:40:02 2006 +@@ -6,7 +6,6 @@ + Name: XCB + Description: X-protocol C Binding + Version: @PACKAGE_VERSION@ +-Requires.private: xau + Libs: -L${libdir} -lxcb + Libs.private: @LIBS@ + Cflags: -I${includedir} diff --git a/x11/libxcb/pkg-descr b/x11/libxcb/pkg-descr new file mode 100644 index 000000000000..7ae4144c72e4 --- /dev/null +++ b/x11/libxcb/pkg-descr @@ -0,0 +1,8 @@ +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +WWW: http://xcb.freedesktop.org/ + +- Ashish Shukla +wahjava@gmail.com diff --git a/x11/libxcb/pkg-plist b/x11/libxcb/pkg-plist new file mode 100644 index 000000000000..3d19770ba8c1 --- /dev/null +++ b/x11/libxcb/pkg-plist @@ -0,0 +1,131 @@ +include/xcb/bigreq.h +include/xcb/composite.h +include/xcb/damage.h +include/xcb/dpms.h +include/xcb/glx.h +include/xcb/randr.h +include/xcb/record.h +include/xcb/render.h +include/xcb/res.h +include/xcb/screensaver.h +include/xcb/shape.h +include/xcb/shm.h +include/xcb/sync.h +include/xcb/xc_misc.h +include/xcb/xcb.h +include/xcb/xcbext.h +include/xcb/xcbxlib.h +include/xcb/xevie.h +include/xcb/xf86dri.h +include/xcb/xfixes.h +include/xcb/xprint.h +include/xcb/xproto.h +include/xcb/xtest.h +include/xcb/xv.h +include/xcb/xvmc.h +lib/libxcb-composite.a +lib/libxcb-composite.la +lib/libxcb-composite.so +lib/libxcb-composite.so.0 +lib/libxcb-damage.a +lib/libxcb-damage.la +lib/libxcb-damage.so +lib/libxcb-damage.so.0 +lib/libxcb-dpms.a +lib/libxcb-dpms.la +lib/libxcb-dpms.so +lib/libxcb-dpms.so.0 +lib/libxcb-glx.a +lib/libxcb-glx.la +lib/libxcb-glx.so +lib/libxcb-glx.so.0 +lib/libxcb-randr.a +lib/libxcb-randr.la +lib/libxcb-randr.so +lib/libxcb-randr.so.0 +lib/libxcb-record.a +lib/libxcb-record.la +lib/libxcb-record.so +lib/libxcb-record.so.0 +lib/libxcb-render.a +lib/libxcb-render.la +lib/libxcb-render.so +lib/libxcb-render.so.0 +lib/libxcb-res.a +lib/libxcb-res.la +lib/libxcb-res.so +lib/libxcb-res.so.0 +lib/libxcb-screensaver.a +lib/libxcb-screensaver.la +lib/libxcb-screensaver.so +lib/libxcb-screensaver.so.0 +lib/libxcb-shape.a +lib/libxcb-shape.la +lib/libxcb-shape.so +lib/libxcb-shape.so.0 +lib/libxcb-shm.a +lib/libxcb-shm.la +lib/libxcb-shm.so +lib/libxcb-shm.so.0 +lib/libxcb-sync.a +lib/libxcb-sync.la +lib/libxcb-sync.so +lib/libxcb-sync.so.0 +lib/libxcb-xevie.a +lib/libxcb-xevie.la +lib/libxcb-xevie.so +lib/libxcb-xevie.so.0 +lib/libxcb-xf86dri.a +lib/libxcb-xf86dri.la +lib/libxcb-xf86dri.so +lib/libxcb-xf86dri.so.0 +lib/libxcb-xfixes.a +lib/libxcb-xfixes.la +lib/libxcb-xfixes.so +lib/libxcb-xfixes.so.0 +lib/libxcb-xlib.a +lib/libxcb-xlib.la +lib/libxcb-xlib.so +lib/libxcb-xlib.so.0 +lib/libxcb-xprint.a +lib/libxcb-xprint.la +lib/libxcb-xprint.so +lib/libxcb-xprint.so.0 +lib/libxcb-xtest.a +lib/libxcb-xtest.la +lib/libxcb-xtest.so +lib/libxcb-xtest.so.0 +lib/libxcb-xv.a +lib/libxcb-xv.la +lib/libxcb-xv.so +lib/libxcb-xv.so.0 +lib/libxcb-xvmc.a +lib/libxcb-xvmc.la +lib/libxcb-xvmc.so +lib/libxcb-xvmc.so.0 +lib/libxcb.a +lib/libxcb.la +lib/libxcb.so +lib/libxcb.so.1 +libdata/pkgconfig/xcb-composite.pc +libdata/pkgconfig/xcb-damage.pc +libdata/pkgconfig/xcb-dpms.pc +libdata/pkgconfig/xcb-glx.pc +libdata/pkgconfig/xcb-randr.pc +libdata/pkgconfig/xcb-record.pc +libdata/pkgconfig/xcb-render.pc +libdata/pkgconfig/xcb-res.pc +libdata/pkgconfig/xcb-screensaver.pc +libdata/pkgconfig/xcb-shape.pc +libdata/pkgconfig/xcb-shm.pc +libdata/pkgconfig/xcb-sync.pc +libdata/pkgconfig/xcb-xevie.pc +libdata/pkgconfig/xcb-xf86dri.pc +libdata/pkgconfig/xcb-xfixes.pc +libdata/pkgconfig/xcb-xlib.pc +libdata/pkgconfig/xcb-xprint.pc +libdata/pkgconfig/xcb-xtest.pc +libdata/pkgconfig/xcb-xv.pc +libdata/pkgconfig/xcb-xvmc.pc +libdata/pkgconfig/xcb.pc +@dirrm include/xcb |