diff options
author | miwi <miwi@058c260c-8361-11dd-a0ac-aa2bafec7d09> | 2012-02-06 00:43:42 +0800 |
---|---|---|
committer | miwi <miwi@058c260c-8361-11dd-a0ac-aa2bafec7d09> | 2012-02-06 00:43:42 +0800 |
commit | eb384524d18261e42f80deeb7cbe74523f1d49eb (patch) | |
tree | 0495ae031d15285d4795cdeb948cfc6df2c97f58 /x11/libxcb | |
parent | e8fa453ef65d0752f7b1379dc1726874936edf7d (diff) | |
download | xorg-devel-ports-eb384524d18261e42f80deeb7cbe74523f1d49eb.tar xorg-devel-ports-eb384524d18261e42f80deeb7cbe74523f1d49eb.tar.gz xorg-devel-ports-eb384524d18261e42f80deeb7cbe74523f1d49eb.tar.bz2 xorg-devel-ports-eb384524d18261e42f80deeb7cbe74523f1d49eb.tar.lz xorg-devel-ports-eb384524d18261e42f80deeb7cbe74523f1d49eb.tar.xz xorg-devel-ports-eb384524d18261e42f80deeb7cbe74523f1d49eb.tar.zst xorg-devel-ports-eb384524d18261e42f80deeb7cbe74523f1d49eb.zip |
- Move ports/branches/xorg-dev to ports/trunk/
git-svn-id: https://trillian.chruetertee.ch/svn/ports/trunk@388 058c260c-8361-11dd-a0ac-aa2bafec7d09
Diffstat (limited to 'x11/libxcb')
-rw-r--r-- | x11/libxcb/Makefile | 54 | ||||
-rw-r--r-- | x11/libxcb/distinfo | 2 | ||||
-rw-r--r-- | x11/libxcb/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | x11/libxcb/files/patch-tests-check_public.c | 23 | ||||
-rw-r--r-- | x11/libxcb/pkg-descr | 5 | ||||
-rw-r--r-- | x11/libxcb/pkg-plist | 148 |
6 files changed, 243 insertions, 0 deletions
diff --git a/x11/libxcb/Makefile b/x11/libxcb/Makefile new file mode 100644 index 0000000..1f41da6 --- /dev/null +++ b/x11/libxcb/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: libxcb +# Date Created: 2006-08-23 +# Whom: Ashish Shukla <wahjava@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= libxcb +PORTVERSION= 1.7 +CATEGORIES= x11 python +MASTER_SITES= http://xcb.freedesktop.org/dist/ + +MAINTAINER= x11@FreeBSD.org +COMMENT= The X protocol C-language Binding (XCB) library + +BUILD_DEPENDS= ${LOCALBASE}/lib/libcheck.a:${PORTSDIR}/devel/libcheck \ + xsltproc:${PORTSDIR}/textproc/libxslt \ + xcb-proto>=1.7:${PORTSDIR}/x11/xcb-proto \ + ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:${PORTSDIR}/devel/libpthread-stubs +RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:${PORTSDIR}/devel/libpthread-stubs + +CONFIGURE_ARGS+= --disable-build-docs --without-doxygen --enable-xinput + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +USE_BZIP2= yes +USE_GNOME= gnomehack +USE_GMAKE= yes +USE_LDCONFIG= yes +USE_XORG= xau xdmcp +USE_PYTHON_BUILD= 2.5-2.7 + +GNU_CONFIGURE= yes +.for f in XPROTO_CFLAGS XPROTO_LIBS XDMCP_CFLAGS XDMCP_LIBS NEEDED_CFLAGS NEEDED_LIBS +CONFIGURE_ARGS+=${f}="${${f}}" +.endfor +CONFIGURE_ENV= LIBS="`pkg-config --libs pthread-stubs`" + +NEEDED_CFLAGS= -I${LOCALBASE}/include +NEEDED_LIBS= -L${LOCALBASE}/lib -lXau ${PTHREAD_STUBS_LIBS} + +XDMCP_CFLAGS= -I${LOCALBASE}/include +XDMCP_LIBS= -L${LOCALBASE}/lib -lXdmcp + +XPROTO_CFLAGS= -I${LOCALBASE}/include +XPROTO_LIBS= -L${LOCALBASE}/lib + +post-install: +.if !defined(NOPORTDOCS) + ${MAKE} -C ${WRKSRC}/doc ${INSTALL_TARGET} +.endif + +.include <bsd.port.mk> diff --git a/x11/libxcb/distinfo b/x11/libxcb/distinfo new file mode 100644 index 0000000..6354685 --- /dev/null +++ b/x11/libxcb/distinfo @@ -0,0 +1,2 @@ +SHA256 (libxcb-1.7.tar.bz2) = e776dc35e2a66094e7308ce2e045fb4e27cf3ca30ab1813a8fc08538140724df +SIZE (libxcb-1.7.tar.bz2) = 318619 diff --git a/x11/libxcb/files/patch-Makefile.in b/x11/libxcb/files/patch-Makefile.in new file mode 100644 index 0000000..86d274f --- /dev/null +++ b/x11/libxcb/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Sun Jun 17 17:33:00 2007 ++++ Makefile.in Sun Jun 17 17:34:18 2007 +@@ -220,7 +220,7 @@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + xcbincludedir = @xcbincludedir@ +-SUBDIRS = src tests doc ++SUBDIRS = src tests + pkgconfigdir = $(prefix)/libdata/pkgconfig + pkgconfig_DATA = \ + xcb.pc \ 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 0000000..2a2f271 --- /dev/null +++ b/x11/libxcb/files/patch-tests-check_public.c @@ -0,0 +1,23 @@ +--- tests/check_public.c.orig Wed Jan 24 15:16:59 2007 ++++ tests/check_public.c Wed Jan 24 15:22:33 2007 +@@ -70,7 +70,10 @@ + else if(test_type == TEST_ENVIRONMENT) + { + argument = 0; +- setenv("DISPLAY", name, 1); ++ if(name == NULL) ++ unsetenv("DISPLAY"); ++ else ++ setenv("DISPLAY", name, 1); + } + + got_host = (char *) -1; +@@ -148,7 +151,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/pkg-descr b/x11/libxcb/pkg-descr new file mode 100644 index 0000000..7550af1 --- /dev/null +++ b/x11/libxcb/pkg-descr @@ -0,0 +1,5 @@ +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/ diff --git a/x11/libxcb/pkg-plist b/x11/libxcb/pkg-plist new file mode 100644 index 0000000..dc30e21 --- /dev/null +++ b/x11/libxcb/pkg-plist @@ -0,0 +1,148 @@ +include/xcb/bigreq.h +include/xcb/composite.h +include/xcb/damage.h +include/xcb/dpms.h +include/xcb/dri2.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/xevie.h +include/xcb/xf86dri.h +include/xcb/xfixes.h +include/xcb/xinerama.h +include/xcb/xinput.h +include/xcb/xprint.h +include/xcb/xproto.h +include/xcb/xselinux.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-dri2.a +lib/libxcb-dri2.la +lib/libxcb-dri2.so +lib/libxcb-dri2.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.1 +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-xinerama.a +lib/libxcb-xinerama.la +lib/libxcb-xinerama.so +lib/libxcb-xinerama.so.0 +lib/libxcb-xinput.a +lib/libxcb-xinput.la +lib/libxcb-xinput.so +lib/libxcb-xinput.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.2 +libdata/pkgconfig/xcb-composite.pc +libdata/pkgconfig/xcb-damage.pc +libdata/pkgconfig/xcb-dpms.pc +libdata/pkgconfig/xcb-dri2.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-xinerama.pc +libdata/pkgconfig/xcb-xinput.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 +%%PORTDOCS%%%%DOCSDIR%%/tutorial/index.html +%%PORTDOCS%%%%DOCSDIR%%/tutorial/xcb.css +@dirrmtry include/xcb +%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial +%%PORTDOCS%%@dirrm %%DOCSDIR%% |