Commit graph

33 commits

Author SHA1 Message Date
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
rodent
34b9a125a9 Needs to link against pthread on OpenBSD. print/ghostscript-gpl exposed the
issue during configure.
2014-05-29 00:39:47 +00:00
jperkin
9d5b1e7ac2 Search for pkgconfig files in lib${LIBABISUFFIX} and share directories
as appropriate.  This is required for X11_TYPE=native on Red Hat Linux.
2014-03-10 11:05:51 +00:00
wiz
211583345e Update to 1.10:
once again, there is a new libxcb release out. This time with even
less bugs, api and abi breakage.

Changes (hand-edited to remove things that were released from
branches):

Alan Coopersmith (3):
      Fix "indention" typos in xcb-examples.3 man page
      Enable warnings for pre-C89 style definitions for gcc & Solaris Studio
      Define _xcb_map_new with explicit void arg list instead of empty one

Christian König (1):
      fix deadlock with xcb_take_socket/return_socket v3

Daniel Martin (10):
      c_client.py: Always initialize xcb_align_to
      c_client.py: Do not create pointers in unions
      Make xsltproc optional
      Remove second AC_PREREQ, require version 2.60
      Set AC_CONFIG_AUX_DIR to build-aux
      Use build-aux as autom4te cache directory
      Use m4 directory
      Sort gitignore, adjust pattern for config.h
      tests: Add files to .gitignore
      c_client.py: Fix _sizeof() functions

Daphne Pfister (2):
      Fix poll() if POLLIN == ROLLRDNORM|POLLRDBAND
      Use /usr/spool/sockets/X11/ on HP-UX for UNIX sockets (#69118).

Julien Cristau (2):
      Bump xcb-proto requirement to 1.10
      Add NEWS for 1.10

Marc Deslauriers (1):
      Update Makefile.am for newer automake

Mark Kettenis (1):
      Fix alignment issues in FD passing code

Michael Stapelberg (1):
      Build xcb-xkb by default

PHO (1):
      Test the value of msg_controllen for platforms whose CMSG_FIRSTHDR() does not test it for us

Uli Schlachter (6):
      Fix documentation of xcb_poll_for_event()
      Revert "fix deadlock with xcb_take_socket/return_socket v3"
      Revert "Remove xcb_ge_event_t from xcb.h"
      Increment the "current" version info for sync, xinput and xkb
      Add NEWS entries for releases 1.9.1 to 1.9.3
      Release libxcb 1.10
2014-01-02 19:52:16 +00:00
wiz
8368ffc3b9 Update to 1.9.3.
1.9.3:
Fix up some portability and build issues in the FD passing code introduced
in 1.9.2.   Now builds & works on Solaris as well as Linux, can be enabled
or disabled via --enable-sendfds and --disable-sendfds flags to configure.

1.9.2:
This has minimal patches needed to support GE events and current
xcb-proto, and then the patches for DRI3 and Present.
2013-11-08 13:11:44 +00:00
wiz
78b1464c1e Update to 1.9.1:
* Fix python code to work with python-3
* Security fix for integer overflow in read_packet() [CVE-2013-2064]

Alan Coopersmith (2):
      integer overflow in read_packet() [CVE-2013-2064]
      libxcb 1.9.1

Christian König (1):
      whitespace fix in xcb_take_socket

Chí-Thanh Christopher Nguyễn (2):
      c-client.py: Fix python-3 AttributeError: 'dict' object has no attribute 'iteritems'
      c_client.py: Fix python-3 invalid except statement

Colin Walters (1):
      autogen.sh: Implement GNOME Build API
2013-05-30 16:53:47 +00:00
riastradh
dbe605c40e Make libxcb and xcb-proto cross-compile. 2013-05-10 22:40:31 +00:00
jperkin
2edc786c8d Spell XTHREAD_CPPFLAGS correctly. This is confirmed required on Solaris, so
remove the XXX comments.
2013-02-01 14:40:29 +00:00
asau
8aba7e3fbf Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-29 05:06:05 +00:00
wiz
97e94e1fb3 Add missing files to PLIST and depend on libxcb-1.8.
Ride update.
2012-10-07 22:40:44 +00:00
wiz
3ea575b1a3 Update to 1.9:
Alan Coopersmith (4):
      Fix "sppported" typo in doxygen comment for XCB_CONN_CLOSED_EXT_NOTSUPPORTED
      Always include "config.h" at the start of all C source files.
      Add AC_USE_SYSTEM_EXTENSIONS to allow use of more system functionality
      Return connection failure if display string specifies non-existent screen

Colin Walters (1):
      c_client: Fix parallel-make issue creating 'man' directory

Jeremy Huddleston (1):
      xcb_connect: launchd: Don't fall back on tcp if $DISPLAY is a path to a
launchd socket

Julien Danjou (4):
      Allow undocumented code to be built
      Split manpage list in two (static/built)
      Do not list manpages, use a wildcard
      Move static man to man

Michael Stapelberg (1):
      c_client.py: generate manpages

Peter Harris (1):
      Allow xcb_send_request with >MAX_IOV iovecs

Uli Schlachter (4):
      Add a .gitignore for src/man/
      Fix a multi-thread deadlock
      Include static man pages in "make dist"
      Release libxcb 1.9
2012-10-07 22:09:47 +00:00
tron
2a2e83c60e Increase the minium required version of the "x11/libxcb" package to 1.6.
There are at least two packages ("graphics/cairo" and "x11/xlsclients")
which require this. And we definitely want to avoid the situation where
both the based and "pkgsrc" version get used at the same time.

Bump all the packages which use the "x11/libxcb" package except the two
which already require version 1.6. For those package remove the manually
set minimum required version.

Change discussed with Thomas Klausner in private e-mail.
2012-10-02 12:09:40 +00:00
wiz
ac5a646822 Update to 1.8.1:
1.8.1:
Arnaud Fontaine (1):
      Add xkb_internals and xkb_issues to EXTRA_DIST.

Jeremy Huddleston (2):
      Revert "Fix include order with Xdmcp on WIN32"
      darwin: Use read(2) rather than recv(2)

Jon TURNEY (2):
      Fix build of xcb_auth.c with XDMCP on WIN32
      Update use of error_connection under WIN32 to _xcb_conn_ret_error()

Julien Cristau (1):
      Fallback to TCP if no protocol is specified and the UNIX connection fails

Julien Danjou (2):
      Bump xcb-proto requirement
      Release libxcb 1.8.1

Uli Schlachter (1):
      Fix a busy loop on BSD and Mac OS

1.8:
Aaron Plattner (1):
      xcb_disconnect: call shutdown() to force a disconnect

Alan Coopersmith (5):
      Use special path to sockets when running under Solaris Trusted Extensions
      Remove unused DECnet code
      Add #include <sys/socket.h> to xcb_conn.c
      Make launchd code in xcb_util.c match surrounding code indent levels
      If protocol is "unix", use a Unix domain socket, not TCP

Arvind Umrao (1):
      Added more error states and removed global error_connection

Carlos Garnacho (1):
      Handle XGE events with the "send event" flag

Christoph Reimann (14):
      added xcb_sumof() with restriction to uint8_t
      xkb: updated configure.ac/Makefile.am
      new and still preliminary functions for switch; feautures include     - API compatibility with valueparam     - r
      xkb: added pkg config file
      added generating code for _serialize() in case of variable sized structs (largely untested)
      preliminary handling of further special cases in unserialize     first attempts to unify serialize and unserializ
      partial rewrite of serialize helper functions completed;     _serialize() & _unserialize() have been tested for s
      bug fixes for all kinds of 'special cases'
      attempt to fix special case: variable fields followed by fixed size fields
      renamed most _unserialize() functions to _sizeof() and fixed _unserialize() for the special case of intermixed va
      special case 'intermixed variable and fixed size fields': fixed reply side, needs testing
      added accessors for special cases     major bugfixes include: rewrite of prefix related functions, merge of seria
      small fix in the xkb pkg file
      small fix to get rid of some compiler warnings     also added very basic documentation for xkb

David Coles (1):
      Add support for building with Python 3

James Jones (1):
      Insert, not append explicit xcbgen dir python path

Jamey Sharp (15):
      xcb_request_check: Sync even if an event was read for this sequence.
      _xcb_conn_wait: Shut down the connection on unexpected poll() events.
      xcb_send_request: Send all requests using a common internal send_request.
      xcb_request_check: Hold the I/O lock while deciding to sync.
      xcb_discard_reply: Simplify by re-using poll_for_reply helper.
      xcb_in: Use 64-bit sequence numbers internally everywhere.
      Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb/libxcb
      Include XKB in ./configure's summary output.
      Enable AM_SILENT_RULES on automake 1.11 or newer.
      Factor reader_list management out of wait_for_reply.
      Dequeue readers that can't receive any new responses.
      Introduce xcb_wait_for_event_until, for consuming responses in wire-order.
      Delete the old c-client.xsl.
      Revert "Introduce xcb_wait_for_event_until, for consuming responses in wire-order."
      Keep ALIGNOF definition out of the public namespace.

Jeetu Golani (8):
      Win32 code for xcb-1.5
      windefs.h is now called xcb_windefs.h - changed all includes to reflect that.Replaced one instance ofWIN32 with _
      changes in xcb_windefs.h - the flag  _XCB_WINDEFS_H replaces WINDEFS_H
      restablished inclusion of fcntl.h and netinet/tcp.h in xcb_util.c -- without these the code no longer compiled on
      xcb_in.c #ifndef _WIN32 inside of #if USE_POLL redundant and removed
      Set errno=0 in read_block. On Win32 there is no errno and this makes the     do..while loop execute only once. Al
      Replaced read() in read_block and _xcb_in_read() with recv for all     platforms. MSG_WAITALL is undefined in Min
      Don't validate FD_SETSIZE on Win32

Jeremy Huddleston (1):
      darwin: Don't use poll() when expected to run on darwin10 and prior

Jon TURNEY (1):
      Fix WIN32 compilation after commit 163c47bdc0d32785d831e4c93fea9ab7e023446b

Josh Triplett (1):
      Allow disconnecting connections that are in error state.

Julien Danjou (1):
      Release libxcb 1.8

Keith Packard (1):
      Make xcb_take_socket keep flushing until idle

Markus Duft (1):
      Support pre-IPv6 systems (without getaddrinfo)

Michael Stapelberg (1):
      Drop AI_ADDRCONFIG when resolving TCP addresses

Nick Bowler (1):
      xcb_auth: Fix memory leak in _xcb_get_auth_info.

Peter Harris (10):
      Merge branch 'master' of git://github.com/topcat/xcb-win32
      Merge branch 'gsoc2010' of git://anongit.freedesktop.org/~chr/libxcb
      Add xkb.* to gitignore
      Don't emit out-of-module sizeof definitions
      Fix memory leak in _sizeof implemented with _unserialize
      Make *_unserialize safe to use on buffers in-place
      Clean up a couple of warnings in xprint
      Fix _unserialize of reply headers
      Merge branch 'master' of git://anongit.freedesktop.org/~peterh/libxcb
      Don't try to sizeof(void)

Rami Ylimäki (3):
      Prevent reply waiters from being blocked.
      Prevent theoretical double free and leak on get_peer_sock_name.
      Introduce a variant of xcb_poll_for_event for examining event queue.

Ryan Pavlik (2):
      Fix include order with Xdmcp on WIN32
      Use WSAStartup()/WSACleanup() on WIN32

Uli Schlachter (3):
      xcb_take_socket: Document sequence wrap requirements
      Compute alignment correctly
      Fix a dead-lock due to xcb_poll_for_reply

Vincent Torri (1):
      fix Windows build and installation
2012-06-03 17:29:41 +00:00
dholland
1d8f45be1a Set BUILDLINK_API_DEPENDS correctly (with +=, not ?=) 2012-05-07 02:45:47 +00:00
wiz
aada88e659 Remove python24 and all traces of it from pkgsrc.
Remove devel/py-ctypes (only needed by and supporting python24).
Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE
lines that just mirror defaults now.
Miscellaneous cleanup while editing all these files.
2012-04-08 19:08:44 +00:00
obache
b3c688279b Back to original code, use cElementTree. 2011-06-15 11:15:35 +00:00
wiz
f09b8dbca6 Let's assume for now that everything that worked with python-2.6 also
works with python-2.7.
2011-02-25 09:47:18 +00:00
tron
cc7a997526 Check for "xcb.pc" and not "xcb-proto.pc" as the later belongs to the
"xcb-proto" package.
2010-09-11 19:30:05 +00:00
tron
a2fb540a4a Detect "libxcb" as part of the bundled X11 distribution. This brings us
one step closer to fixing PR pkg/43868 under Mac OS X.
2010-09-11 19:09:51 +00:00
joerg
88a368637c Add missing patch from last commit. 2010-09-10 19:13:52 +00:00
joerg
05f946f10e Update to libxcb 1.7:
- Always wake up readers after writing
- Get rid of PATH_MAX and MAXPATHLEN
- Add ~ operator support in code generator
- xcb_open: Improve protocol/host parsing
- xcb_connect_to_display_with_auth_info: Fix memory leak
- Report which extensions are being built
2010-09-10 19:12:13 +00:00
wiz
9163ee3e88 Update to 1.6:
Release 1.6 (2010-04-09)
========================
- darwin: xnu doesn't support poll on ttys on the master side
- Fix descriptor leak on memory error path
- Support xcb_discard_reply
- Open the X11 socket with close-on-exec flag
- Fix authentication on hpux and Hurd
2010-05-02 11:56:21 +00:00
heinz
ccd5df3b35 Added LICENSE information. 2010-01-30 16:27:59 +00:00
wiz
38cf0dd44b Depend on py-xcbgen that has py-expat dependency.
There are some 1.6 packages (post-python2{5,6} changes) that don't pull
py-expat in and fail.
2010-01-27 14:00:33 +00:00
wiz
86a66e575e Update to 1.5:
Release 1.5 (2009-12-03)
========================
- setsockopt(SO_KEEPALIVE) on TCP display connections
- Add DRI2 support
- Fix check dependency
- Cygwin build fix: Add -no-undefined to libtool flags
2009-12-15 12:24:47 +00:00
wiz
f7ea21a211 Update to 1.4:
Arnaud Fontaine (2):
      Add majorCode, minorCode and resourceID fields to X generic error
      Release libxcb 1.4

Jamey Sharp (1):
      Fix precedence bug: wrong length for big-requests preceded by sync

Julien Cristau (1):
      Fix libxcb-randr version info
2009-08-16 15:42:28 +00:00
drochner
32b004cf96 a Python script needed for build contains tons if these ugly
"conditional expressions", so it needs Python-2.5+
2009-06-18 11:08:18 +00:00
joerg
b02a0f888e Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +00:00
wiz
927dbc1e1e Update to 1.3:
Bart Massey (2):
      kludgily hand-merged xid fixes
      Fix XDM-AUTHORIZATION-1 (bug #14202)

Bob Ham (1):
      Store xcbproto version libxcb was compiled with

Jeremy Huddleston (1):
      darwin: Don't use poll() on versions of darwin before darwin10

Julien Danjou (9):
      Copy full IPv4 mapping (Bug #20665)
      Fix do_append() arguments
      auth: precompute authnameslen
      auth: use snprintf() return value
      util: open_abstract gets filelen as parameters
      util: merge common code for xcb_connect
      util: remove useless strlen calls from decnet opening
      depends on recent xcb-proto and bump version of randr
      Release libxcb 1.3

Michael Ost (1):
      use poll() instead of select() when available

Peter Harris (3):
      Don't use enums in generated C code - use integer constants instead.
      Revert "Don't use enums in generated C code"
      Avoid name collisions between xidtype and enum.

Samuel Thibault (1):
      Local socket connections do not work on hurd-i386

elupus (1):
      Disable Nagle on TCP socket
2009-05-29 09:27:45 +00:00
hasso
625e1a9595 Fix install on platforms not using pax tar. Bump PKGREVISION. 2009-05-14 02:57:28 +00:00
wiz
c283d91f65 Update to 1.2:
Julien Danjou (2):
      Stop providing autogenerated files in tarball
      Release libxcb 1.2
2009-04-11 12:48:07 +00:00
drochner
d77711cf97 split the "xcbgen" Python extension which comes with xcb-proto
into its own pkg and pull it in the common Python way so that
we ensure matching Python versions
2009-04-08 13:06:22 +00:00
drochner
49226def63 import libxcb-1.1.93, from Jeremy C. Reed and Michael Stapelberg
per pkgsrc-wip
2009-04-06 10:23:59 +00:00