From d3728889b88f67d998e7bc9acdbc1c83c50f9b77 Mon Sep 17 00:00:00 2001 From: Niclas Zeising Date: Sun, 13 Sep 2020 17:00:01 +0000 Subject: [PATCH] x11/libxcb: Update to 1.14 Update x11/libxcb to 1.14. Clean up the makefile: * Remove the dependency on check and libxslt, they are only needed for tests which aren't built and installed anyway. * No need to use gmake * Correct configure options * Have libxcb use pkgconfig to figure out cflags and ldflags, instead of hardcoding some cflags and ldflags in the Makefile. --- x11/libxcb/Makefile | 25 ++++--------------------- x11/libxcb/distinfo | 6 +++--- 2 files changed, 7 insertions(+), 24 deletions(-) diff --git a/x11/libxcb/Makefile b/x11/libxcb/Makefile index c68c1b2793cc..7f1e200971db 100644 --- a/x11/libxcb/Makefile +++ b/x11/libxcb/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= libxcb -PORTVERSION= 1.13.1 +PORTVERSION= 1.14 CATEGORIES= x11 python MASTER_SITES= https://xcb.freedesktop.org/dist/ @@ -12,33 +12,16 @@ COMMENT= The X protocol C-language Binding (XCB) library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= ${LOCALBASE}/lib/libcheck.a:devel/check \ - xcb-proto>=1.9:x11/xcb-proto \ +BUILD_DEPENDS= xcb-proto>=1.9:x11/xcb-proto \ ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs -RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs -CONFIGURE_ARGS+= --disable-build-docs --without-doxygen --enable-xinput +CONFIGURE_ARGS= --disable-devel-docs --without-doxygen --enable-xinput --enable-xkb -USES= cpe gmake gnome python:build xorg xorg-cat:lib -USE_GNOME= libxslt:build +USES= cpe python:build tar:xz xorg xorg-cat:lib USE_XORG= xau xdmcp INSTALL_TARGET= install-strip CPE_VENDOR= x OPTIONS_DEFINE= DOCS -.for f in XPROTO_CFLAGS XPROTO_LIBS XDMCP_CFLAGS XDMCP_LIBS NEEDED_CFLAGS NEEDED_LIBS -CONFIGURE_ARGS+=${f}="${${f}}" -.endfor -CONFIGURE_ARGS+=--enable-xkb - -NEEDED_CFLAGS= -I${LOCALBASE}/include -NEEDED_LIBS= -L${LOCALBASE}/lib -lXau `pkg-config --libs pthread-stubs` - -XDMCP_CFLAGS= -I${LOCALBASE}/include -XDMCP_LIBS= -L${LOCALBASE}/lib -lXdmcp - -XPROTO_CFLAGS= -I${LOCALBASE}/include -XPROTO_LIBS= -L${LOCALBASE}/lib - .include diff --git a/x11/libxcb/distinfo b/x11/libxcb/distinfo index 2f167eb2d5c4..27028a45bacd 100644 --- a/x11/libxcb/distinfo +++ b/x11/libxcb/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1538162049 -SHA256 (xorg/lib/libxcb-1.13.1.tar.bz2) = a89fb7af7a11f43d2ce84a844a4b38df688c092bf4b67683aef179cdf2a647c4 -SIZE (xorg/lib/libxcb-1.13.1.tar.bz2) = 506778 +TIMESTAMP = 1599995472 +SHA256 (xorg/lib/libxcb-1.14.tar.xz) = a55ed6db98d43469801262d81dc2572ed124edc3db31059d4e9916eb9f844c34 +SIZE (xorg/lib/libxcb-1.14.tar.xz) = 439404