pkgsrc/x11/libxcb/Makefile
wiz 206dbe3e65 Update to 1.11:
Not only is there a new xcb-proto release, but we now also have libxcb 1.11.
This fixes some bugs that we had, e.g. with 64 bit fields and the present
extension.

Changes:

Alan Coopersmith (2):
      Document failure modes of xcb_connect*() functions
      Fix typos & awkward wording in tutorial

Alexander Mezin (1):
      xcb.h: add 'struct' before xcb_setup_t, xcb_query_extension_reply_t

Daniel Martin (1):
      Handle <pad align="n" /> between lists

Gaetan Nadon (11):
      autoconf: use XORG_DEFAULT_OPTIONS
      autoconf: use the warning variables from xorg
      autoconf: AC_INIT: add bug url
      autoconf: comment and layout the initialization section
      autoconf: require libtool minimum level 2.2
      autoconf: fix warning by replacing deprecated AC_HELP_STRING
      autoconf: use default xorg configuration for doxygen documentation
      autoconf: replace all tabs with spaces
      man: build static man pages using xorg patterns
      generated man pages: build without hard coded extension
      generated man pages: use xorg footer and no hard coded extension

Jeremy Huddleston Sequoia (2):
      xcb_open: Minor code cleanup for better readability
      xcb_open: Improve abstraction for launchd secure sockets

Keith Packard (4):
      Only #include directly referenced module header files
      Validate .pc file Requires lines
      Update .pc file Requires lines to express full dependencies
      Ensure xcb owns socket and no other threads are writing before send_request

Kenneth Graunke (1):
      Force XCB event structures with 64-bit extended fields to be packed.

Michael Haubenwallner (1):
      bug#79986: include system headers early

Peter Harris (1):
      Support <pad align="n" />

Ran Benita (8):
      Add comments about how _xcb_conn_ret_error() works
      c_client.py: remove useless 'today' variable
      c_client.py: remove trailing whitespace
      c_client.py: prefix all monkey-patched fields with c_
      c_client.py: make the man page output deterministic
      c_client.py: remove useless generated comments
      c_client.py: remove trailing whitespace from generated files
      c_client.py: remove more trailing space from generated files

Uli Schlachter (6):
      Remove tabs and trailing whitespaces
      xcb_disconnect(): Fix leak with error connections
      Make xcb_disconnect(NULL) safe
      Add doxygen documentation to functions in xcbext.h
      Bump xcb-proto requirement to 1.11
      Release libxcb 1.11
2014-08-05 18:38:02 +00:00

95 lines
2.8 KiB
Makefile

# $NetBSD: Makefile,v 1.26 2014/08/05 18:38:02 wiz Exp $
DISTNAME= libxcb-1.11
CATEGORIES= x11
MASTER_SITES= http://xcb.freedesktop.org/dist/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://xcb.freedesktop.org/
COMMENT= X protocol C-language Binding
LICENSE= mit # with no-advertising clause
TOOL_DEPENDS+= libxslt>=1.1.0:../../textproc/libxslt
TOOL_DEPENDS+= ${PYPKGPREFIX}-xcbgen>=1.11:../../x11/py-xcbgen
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
CONFIGURE_ARGS+= --disable-build-docs # or needs doxygen
CONFIGURE_ARGS+= --without-doxygen
.include "../../mk/bsd.prefs.mk"
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
# No native C compiler needed -- the tool that gobbles up the xcb
# prototypes is in Python.
#
# XXX This needs to match the version of xcb-proto we get for the
# target by buildlink3.
TOOL_DEPENDS+= xcb-proto-[0-9]*:../../x11/xcb-proto
.endif
# Adds -Wl,-R to pkgconfig files automatically
PKGCONFIG_OVERRIDE+= xcb-composite.pc.in
PKGCONFIG_OVERRIDE+= xcb-damage.pc.in
PKGCONFIG_OVERRIDE+= xcb-dri3.pc.in
PKGCONFIG_OVERRIDE+= xcb-dpms.pc.in
PKGCONFIG_OVERRIDE+= xcb-glx.pc.in
PKGCONFIG_OVERRIDE+= xcb-present.pc.in
PKGCONFIG_OVERRIDE+= xcb-randr.pc.in
PKGCONFIG_OVERRIDE+= xcb-record.pc.in
PKGCONFIG_OVERRIDE+= xcb-render.pc.in
PKGCONFIG_OVERRIDE+= xcb-res.pc.in
PKGCONFIG_OVERRIDE+= xcb-screensaver.pc.in
PKGCONFIG_OVERRIDE+= xcb-shape.pc.in
PKGCONFIG_OVERRIDE+= xcb-shm.pc.in
PKGCONFIG_OVERRIDE+= xcb-sync.pc.in
PKGCONFIG_OVERRIDE+= xcb-xevie.pc.in
PKGCONFIG_OVERRIDE+= xcb-xf86dri.pc.in
PKGCONFIG_OVERRIDE+= xcb-xfixes.pc.in
PKGCONFIG_OVERRIDE+= xcb-xinerama.pc.in
PKGCONFIG_OVERRIDE+= xcb-xkb.pc.in
PKGCONFIG_OVERRIDE+= xcb-xprint.pc.in
PKGCONFIG_OVERRIDE+= xcb-xtest.pc.in
PKGCONFIG_OVERRIDE+= xcb-xv.pc.in
PKGCONFIG_OVERRIDE+= xcb-xvmc.pc.in
PKGCONFIG_OVERRIDE+= xcb.pc.in
# libXdmcp is optional; adds support for XDM-AUTHORIZATION-1 in
# addition to MIT-MAGIC-COOKIE-1.
.include "../../mk/pthread.buildlink3.mk"
LDFLAGS.OpenBSD+= ${PTHREAD_LDFLAGS}
XTHREADLIB= ${${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}:L:M*}
.if empty(PTHREAD_CPPFLAGS)
XTHREAD_CPPFLAGS= -D_REENTRANT
.else
XTHREAD_CPPFLAGS= ${PTHREAD_CPPFLAGS}
.endif
SUBST_CLASSES+= pc
SUBST_FILES.pc= xcb.pc.in
SUBST_MESSAGE.pc= Configuring threading in xcb.pc.in.
SUBST_STAGE.pc= pre-configure
SUBST_VARS.pc= XTHREADLIB XTHREAD_CPPFLAGS
post-extract:
${CHMOD} -R go-w ${WRKSRC}
###
### XXX needed to build from scratch, but we're patching right now
### so it's not needed (nor should it ever be, really).
###
#.include "../../devel/gperf/buildlink3.mk"
PYTHON_FOR_BUILD_ONLY= tool
.include "../../lang/python/application.mk"
BUILDLINK_API_DEPENDS.xcb-proto?= xcb-proto>=1.11
.include "../../x11/xcb-proto/buildlink3.mk"
.include "../../x11/libXdmcp/buildlink3.mk"
.include "../../x11/libXau/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"