From 0070220f5d8794567f339e96ee010004680c1c9ad92d18682b78bafd32838163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 16:09:01 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main libxcb revision acf52fea58ab9e4dcfeca754c43cfccb --- .gitattributes | 23 + baselibs.conf | 54 ++ bug-262309_xcb-xauthlocalhostname.diff | 24 + libxcb-1.15.tar.xz | 3 + libxcb-1.15.tar.xz.sig | Bin 0 -> 215 bytes libxcb.changes | 501 ++++++++++++++++ libxcb.keyring | 220 +++++++ libxcb.spec | 539 ++++++++++++++++++ ...-fails-retry-with-XAUTHLOCALHOSTNAME.patch | 139 +++++ 9 files changed, 1503 insertions(+) create mode 100644 .gitattributes create mode 100644 baselibs.conf create mode 100644 bug-262309_xcb-xauthlocalhostname.diff create mode 100644 libxcb-1.15.tar.xz create mode 100644 libxcb-1.15.tar.xz.sig create mode 100644 libxcb.changes create mode 100644 libxcb.keyring create mode 100644 libxcb.spec create mode 100644 n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..404473d --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,54 @@ +libxcb1 + provides "xorg-x11-libxcb- = 7.6_" + obsoletes "xorg-x11-libxcb- < 7.6_" +libxcb-composite0 +libxcb-damage0 +libxcb-dpms0 +libxcb-dri2-0 +libxcb-dri3-0 +libxcb-glx0 +libxcb-randr0 +libxcb-record0 +libxcb-render0 +libxcb-res0 +libxcb-screensaver0 +libxcb-shape0 +libxcb-shm0 +libxcb-sync1 +libxcb-present0 +libxcb-xf86dri0 +libxcb-xfixes0 +libxcb-xkb1 +libxcb-xinerama0 +libxcb-xinput0 +libxcb-xtest0 +libxcb-xv0 +libxcb-xvmc0 +libxcb-devel + requires -libxcb- + requires "libxcb1- = " + requires "libxcb-composite0- = " + requires "libxcb-damage0- = " + requires "libxcb-dpms0- = " + requires "libxcb-dri2-0- = " + requires "libxcb-dri3-0- = " + requires "libxcb-glx0- = " + requires "libxcb-randr0- = " + requires "libxcb-record0- = " + requires "libxcb-render0- = " + requires "libxcb-res0- = " + requires "libxcb-screensaver0- = " + requires "libxcb-shape0- = " + requires "libxcb-shm0- = " + requires "libxcb-sync1- = " + requires "libxcb-present0- = " + requires "libxcb-xf86dri0- = " + requires "libxcb-xfixes0- = " + requires "libxcb-xkb1- = " + requires "libxcb-xinerama0- = " + requires "libxcb-xinput0- = " + requires "libxcb-xtest0- = " + requires "libxcb-xv0- = " + requires "libxcb-xvmc0- = " + provides "xorg-x11-libxcb-devel- = 7.6_" + obsoletes "xorg-x11-libxcb-devel- < 7.6_" diff --git a/bug-262309_xcb-xauthlocalhostname.diff b/bug-262309_xcb-xauthlocalhostname.diff new file mode 100644 index 0000000..ffd3eb7 --- /dev/null +++ b/bug-262309_xcb-xauthlocalhostname.diff @@ -0,0 +1,24 @@ +--- src/xcb_auth.c.orig 2009-05-29 17:48:24.000000000 +0200 ++++ src/xcb_auth.c 2009-05-29 17:56:01.000000000 +0200 +@@ -119,2 +119,3 @@ static Xauth *get_authptr(struct sockadd + int dispbuflen; ++ Xauth *authptr = NULL; + +@@ -163,6 +163,16 @@ static Xauth *get_authptr(struct sockadd + +- return XauGetBestAuthByAddr (family, ++ authptr = XauGetBestAuthByAddr (family, + (unsigned short) addrlen, addr, + (unsigned short) dispbuflen, dispbuf, + N_AUTH_PROTOS, authnames, authnameslen); ++ // && !phostname ++ if ((!authptr || !authptr->data_length) && family == FamilyLocal) { ++ if ( (addr = getenv("XAUTHLOCALHOSTNAME")) ) { ++ authptr = XauGetBestAuthByAddr (family, ++ (unsigned short) strlen(addr), addr, ++ (unsigned short) dispbuflen, dispbuf, ++ N_AUTH_PROTOS, authnames, authnameslen); ++ } ++ } ++ return authptr; + } diff --git a/libxcb-1.15.tar.xz b/libxcb-1.15.tar.xz new file mode 100644 index 0000000..4da335d --- /dev/null +++ b/libxcb-1.15.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc38744f817cf6814c847e2df37fcb8997357d72fa4bcbc228ae0fe47219a059 +size 446492 diff --git a/libxcb-1.15.tar.xz.sig b/libxcb-1.15.tar.xz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..8a5db3596c752612e911ef6bb2427a1298b9d5fde202f5a0ceb35b2d7350412f GIT binary patch literal 215 zcmeCU%EBPV#ZW7z$P%|+k!4ofj-@`QrGKq?ty#h|%Wpa>Q&Qn7ws?^S1|ZO5(8w$< zE=?`cO)DsJ$jdKDEXmBzE7r>|NX;uqFVIWNOe@LA$S*2R%}vbH%S$aWb#-(zGBhx; zbhI#YvT!stadvhxbaHcabar(zvNSg_aJFOtZwvCpbC+u^% zW7(GZD=4$>_^dQ;ui!Zm442#Y>%386_`~&(!!=jh*p;Us_0-edQ + +- avoid configuring twice +- add gpg validation / source url / keyring + +------------------------------------------------------------------- +Wed May 4 15:23:40 UTC 2022 - Stefan Dirsch + +- buildrequire xcb-proto >= 1.15 + +------------------------------------------------------------------- +Wed May 4 07:19:27 UTC 2022 - Stefan Dirsch + +- Update to version 1.15 + * xcb_auth: Quiet -Wimplicit-fallthrough warning in get_authptr() + * Fix integer overflows in xcb_in.c + * Use the 'present' field to properly check that the XC-MISC + * Fix a memory leak + * Increment libtool version info for libxcb-dri3 + * Add newline when printing auth/connection failure string to stderr + * Fix build on Windows + * Fix writev emulation on Windows + * c_client.py: Extract get_expr_field_names() + * c_client.py: Use get_expr_field_names directly to resolve list fields + * c_client: Extract _c_get_field_mapping_for_expr() + * c_client.py: Implement handling of element + * tests: don't use deprecated fail_unless check API + * gitignore: add files generated by make check + * Avoid request counter truncation in replies map after 2**32 requests + * Fix hang in xcb_request_check() + * Improve/fix docs for reply fds functions + +------------------------------------------------------------------- +Mon Feb 24 19:25:27 UTC 2020 - Stefan Dirsch + +- Update to version 1.14 + * Update configure.ac bug URL for gitlab migration + * configure.ac: Depend on pthread-stubs only on not-Linux + * c_client: fix "adress" typo + * Include time.h before using time() + * Handle EINTR from recvmsg in _xcb_in_read + * Implement xcb_total_read() and xcb_total_written(). + * tests: Support Check 0.13.0 API + * Add "ge.*" to src/.gitignore + * Update README for gitlab migration + * Add README.md to EXTRA_DIST + +------------------------------------------------------------------- +Fri Jan 3 12:22:59 UTC 2020 - Chocy Orange + +- Update 1.13.1 + * u_don-t-flag-extra-reply-in-xcb_take_socket.patch has been upstreamed. + + +------------------------------------------------------------------- +Tue Aug 21 06:58:35 UTC 2018 - msrb@suse.com + +- u_don-t-flag-extra-reply-in-xcb_take_socket.patch + * Update to version proposed upstream. + +------------------------------------------------------------------- +Mon Aug 13 09:06:27 UTC 2018 - msrb@suse.com + +- u_don-t-flag-extra-reply-in-xcb_take_socket.patch + * Fix IO errors with KWin in combination with NVIDIA driver. + (bnc#1101560) + +------------------------------------------------------------------- +Mon Mar 5 14:15:26 UTC 2018 - sndirsch@suse.com + +- Update to version 1.13 + * As with xcb-proto, this release mainly enables multi-planar buffers in + DRI3 v1.2 via support for variable-sized lists of FDs, and enables + sending GenericEvents to other clients. Present v1.2 and RandR v1.6 + did not require any specific library changes. +- supersedes U_add-support-for-eventstruct.patch, + u_build_python3.patch + +------------------------------------------------------------------- +Wed Jan 17 11:22:29 UTC 2018 - tchvatal@suse.com + +- Really conditionalize the python3 option to allow us building + without any python2 present + * u_build_python3.patch +- Convert to pkgconfig style deps +- Format bit with spec-cleaner + +------------------------------------------------------------------- +Mon Jan 8 13:53:53 UTC 2018 - msrb@suse.com + +- Enable xinput extension. (bnc#1074249) +- U_add-support-for-eventstruct.patch + * Update xinput to the state when it was enabled by default + upstream. + +------------------------------------------------------------------- +Fri Jan 5 10:44:07 UTC 2018 - msrb@suse.com + +- n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch + * Prevent infinite loop also in case DISPLAY is non-local. + +------------------------------------------------------------------- +Wed Dec 20 21:07:38 UTC 2017 - aaronpuchert@alice-dsl.net + +- Use spaces instead of tabs in the patches (as does the original + source code) to avoid confusion. +- n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch + * If authentication (with *stage == 0) failed and the variable + XAUTHLOCALHOSTNAME wasn't set, we were never getting to stage 2 + in the original patch, causing calls to xcb_connect_to_display + to be stuck in an infinite loop. + Now we also go to stage 2 if the variable isn't set. + +------------------------------------------------------------------- +Mon Dec 11 12:13:21 UTC 2017 - sndirsch@suse.com + +- fixes build against python3 (package rename of + python-xcb-proto-devel to python3-xcb-proto-devel) + +------------------------------------------------------------------- +Thu Nov 30 15:11:43 UTC 2017 - msrb@suse.com + +- n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch + * Modify this patch to do what it say - retry not only if the current hostname is + not found in the xauthority file, but also when it is rejected by X server. + (bnc#1043221) + +------------------------------------------------------------------- +Thu May 19 09:40:43 UTC 2016 - sndirsch@suse.com + +- Update to version 1.12 + * here is a new version of libxcb for you to enjoy. The + highlights are the same as for the new xcb-proto release: + xinput support, RandR 1.5 and an automatic alignment checker. +- removed libxcb-xevie0/libxcb-xprint0 subpackages + +------------------------------------------------------------------- +Wed Dec 23 23:16:43 UTC 2015 - eich@suse.com + +- n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch: + If auth with credentials for hostname fails retry with XAUTHLOCALHOSTNAME + (boo#906622). + +------------------------------------------------------------------- +Sun Sep 6 16:21:14 UTC 2015 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.11.1: + This fixes some threading-related bugs with + xcb_wait_for_special_event() and adds 64-bit versions of + functions that work with sequence numbers. + +------------------------------------------------------------------- +Wed Aug 6 03:21:22 UTC 2014 - sndirsch@suse.com + +- added baselibs.conf as source to specfile + +------------------------------------------------------------------- +Tue Aug 5 23:13:11 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.11: + This fixes some bugs with 64 bit fields and the present extension. + +------------------------------------------------------------------- +Sun Apr 27 10:21:40 UTC 2014 - sndirsch@suse.com + +- added missing python-xcb-proto-devel >= 7.6_1.10.1 BuildRequires + +------------------------------------------------------------------- +Thu Apr 24 23:26:43 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Update to a newer snapshot +- Add missing BuildRequires + +------------------------------------------------------------------- +Tue Mar 18 14:16:36 UTC 2014 - sndirsch@suse.com + +- remove URL in specfile sourceline for snapshot tarball in the + hope to be accepted by buildservice now + +------------------------------------------------------------------- +Tue Mar 18 14:04:31 UTC 2014 - sndirsch@suse.com + +- update to current git commit 4ffa6f8 to match current xcb-proto + git sources + +------------------------------------------------------------------- +Sun Dec 22 16:06:49 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to version 1.10: + + Bump libxcb-xkb SONAME due to ABI break introduced in 1.9.2 + + Enable libxcb-xkb by default + + Bump libxcb-sync SONAME + + c_client.py: Fix _sizeof() functions + + c_client.py: Do not create pointers in unions + + c_client.py: Always initialize xcb_align_to + + Re-introduce xcb_ge_event_t (deprecated, xcb_ge_generic_event_t + should be used instead) + + Fix alignment issues in FD passing code + + Fix poll() if POLLIN == ROLLRDNORM|POLLRDBAND + + Use /usr/spool/sockets/X11/ on HP-UX for UNIX sockets + + Make xsltproc optional + +------------------------------------------------------------------- +Mon Nov 25 18:00:23 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Fixup package descriptions + +------------------------------------------------------------------- +Mon Nov 25 16:48:09 UTC 2013 - hrvoje.senjan@gmail.com + +- Adjust baselibs for new libxcb-dri3-0 and libxcb-present0 subpackages + +------------------------------------------------------------------- +Fri Nov 8 17:23:17 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to version 1.9.3: + + Buildsystem fixes + +------------------------------------------------------------------- +Fri Nov 8 01:13:31 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to version 1.9.2: + + New upstream release, no changelog provided +- Bump xcb-proto BuildRequires as per upstream change +- New dri3-0 and present subpackages + +------------------------------------------------------------------- +Sun Oct 20 10:56:20 UTC 2013 - jengelh@inai.de + +- Split devel documentation into separate package + +------------------------------------------------------------------- +Fri Aug 23 20:12:20 UTC 2013 - hrvoje.senjan@gmail.com + +- Enable xcb-xkb extension (can be used by Weston/Wayland and Qt5, + and also upstream will build it by default in next release) + +------------------------------------------------------------------- +Sat Jun 1 19:42:02 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.9.1: + + Fix python code to work with python-3 + + Security fix for integer overflow in read_packet() [CVE-2013-2064] + +------------------------------------------------------------------- +Tue Apr 16 07:12:43 UTC 2013 - mmeister@suse.com + +- Added url as source. + Please see http://en.opensuse.org/SourceUrls + +------------------------------------------------------------------- +Sun Jan 27 03:46:11 UTC 2013 - jengelh@inai.de + +- Use more robust make install call +- New Git repository URLs + +------------------------------------------------------------------- +Fri Oct 5 18:15:57 UTC 2012 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.9: + + 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 + + c_client: Fix parallel-make issue creating 'man' directory + + xcb_connect: launchd: Don't fall back on tcp if $DISPLAY is a path to a + launchd socket + + 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 + + c_client.py: generate manpages + + Allow xcb_send_request with >MAX_IOV iovecs + + Add a .gitignore for src/man/ + + Fix a multi-thread deadlock + + Include static man pages in "make dist" +- Packaging changes: + + Pack the now static manpages in the devel package + +------------------------------------------------------------------- +Wed Mar 21 10:00:05 UTC 2012 - jengelh@medozas.de + +- Update to new upstream release 1.8.1 +* Fallback to TCP if no protocol is specified and the UNIX + connection fails + +------------------------------------------------------------------- +Sun Feb 12 02:53:20 UTC 2012 - jengelh@medozas.de + +- Rename xorg-x11-libxcb to libxcb and utilize shlib policy + (The high amount of subpackages is because libxcb essentially + substitutes the entire libX* suite) + +------------------------------------------------------------------- +Mon Jan 16 20:40:48 UTC 2012 - vljn@ovi.com + +- update libxcb to 1.8 + * Needed for Mesa to create GL3 context + +------------------------------------------------------------------- +Sun Nov 20 06:49:34 UTC 2011 - coolo@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Tue Dec 21 02:49:39 UTC 2010 - sndirsch@novell.com + +- bumped version number to 7.6_1.7 + +------------------------------------------------------------------- +Sat Sep 4 19:03:26 UTC 2010 - sndirsch@novell.com + +- update to release 1.7 +- bumped version number to 7.5_1.7 +- fixed Summary/Group entries in -devel package + +------------------------------------------------------------------- +Sat Jul 3 07:16:57 UTC 2010 - jengelh@medozas.de + +- use gcc instead of ld, so that -m32/-m64 is passed to the linker + +------------------------------------------------------------------- +Fri Apr 2 18:09:02 CEST 2010 - sndirsch@suse.de + +- bumped version number to 7.5 + +------------------------------------------------------------------- +Mon Dec 14 18:42:16 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Fri Dec 4 22:15:53 CET 2009 - sndirsch@suse.de + +- libxcb 1.5 + +------------------------------------------------------------------- +Tue Dec 1 21:31:02 CET 2009 - sndirsch@suse.de + +- libxcb-1.4_2009-10-15_e82c34c.diff + * update to git commit e82c34c (2009-10-15); required for XvMC + support in xf86-video-intel 2.10 RC1 + +------------------------------------------------------------------- +Thu Jul 16 07:43:30 CEST 2009 - sndirsch@suse.de + +- libxcb 1.4 + * Add majorCode, minorCode and resourceID fields to X generic + error + * Fix precedence bug: wrong length for big-requests preceded by + sync + * Fix libxcb-randr version info + +------------------------------------------------------------------- +Fri May 29 17:31:34 CEST 2009 - sndirsch@suse.de + +- libxcb 1.3 + * various issues fixed +- obsoletes commit-beccb0b.diff + +------------------------------------------------------------------- +Sat May 16 09:49:06 CEST 2009 - sndirsch@suse.de + +- commit-beccb0b.diff + * kludgily hand-merged xid fixes (bnc #423740, bfo #20254) + +------------------------------------------------------------------- +Thu Apr 30 21:53:45 CEST 2009 - eich@suse.de + +- pack .la files in devel package + +------------------------------------------------------------------- +Thu Apr 30 18:21:11 CEST 2009 - sndirsch@suse.de + +- reenabled build of static libs on openSUSE <= 11.1 + +------------------------------------------------------------------- +Tue Apr 21 20:36:43 CEST 2009 - crrodriguez@suse.de + +- remove static libraries and "la" files + +------------------------------------------------------------------- +Mon Mar 2 21:13:44 CET 2009 - sndirsch@suse.de + +- create fake libxcb-xlib.so.0 instead of faking the Provides for + it + +------------------------------------------------------------------- +Mon Mar 2 17:58:55 CET 2009 - ro@suse.de + +- extend last fix to baselibs.conf + +------------------------------------------------------------------- +Mon Mar 2 11:45:16 CET 2009 - sndirsch@suse.de + +- fake provide libxcb-xlib.so.0 + +------------------------------------------------------------------- +Sun Mar 1 19:07:51 CET 2009 - sndirsch@suse.de + +- libxcb 1.2 +- obsoletes always-sloppy.diff + +------------------------------------------------------------------- +Thu Sep 11 14:22:34 CEST 2008 - sndirsch@suse.de + +- bumped release number to 7.4 + +------------------------------------------------------------------- +Mon Jul 21 14:40:13 CEST 2008 - sndirsch@suse.de + +- back to libxcb 1.1, since libxcb 1.2-pre requires python for + building, which requires xorg-x11-libxcb for building + ==> autobuild loop + + +------------------------------------------------------------------- +Fri Jul 18 17:08:20 CEST 2008 - sndirsch@suse.de + +- libxcb 1.1.90.1 + +------------------------------------------------------------------- +Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de + +- added baselibs.conf file to build xxbit packages + for multilib support + +------------------------------------------------------------------- +Fri Feb 29 16:23:28 CET 2008 - dmueller@suse.de + +- add missing %postun ldconfig script + +------------------------------------------------------------------- +Mon Nov 5 14:58:18 CET 2007 - sndirsch@suse.de + +- always-sloppy.diff + * This patch prints out warnings only, the assert() is completely + gone now. As programs with this error typically trigger it + several times, each warning is printed only once. (Bug #251087) + +------------------------------------------------------------------- +Mon Nov 5 09:40:14 CET 2007 - sndirsch@suse.de + +- xcb-proto 1.1 + * In the eleven months since XCB's 1.0 release, a few portability + and correctness bugs have been found in libxcb. This release + fixes those, adds nicer handling of Xlib locking bugs, updates + pure-XCB extension support for RandR to version 1.2 and DAMAGE + to version 1.1, and enhances the libxcb documentation. +- obsoletes sloppy-lock.diff, xcb_parse_display.diff + +------------------------------------------------------------------- +Sat Sep 29 12:24:12 CEST 2007 - sndirsch@suse.de + +- bumped version to 7.3 + +------------------------------------------------------------------- +Tue Jul 3 17:40:34 CEST 2007 - sndirsch@suse.de + +- xcb_parse_display.diff: + * "Attempt to include more of the original display parsing. The + fix only attempts to address the unix: and [protocol/][host]: + issue. It doesn't even make the attempt to mimic the behavior + of the old code in libX11/src/ConnDis.c:_X11TransConnectDisplay(). + The patch is yet untested, it however does compile." + (Bug #289007) + * "Discovered two errors in my fix. One isn't likely to concern + us as it's related to DECnet transport, the other one is real." + (Bug #289007) + * "This patch should fix the problem with artefacts from Bug + #257830 which still had been in the tree." (Bug #289007) + * "fix segfault" (Bug #289007) + * "fix condition" (Bug #289007) + +------------------------------------------------------------------- +Tue May 29 15:21:21 CEST 2007 - sndirsch@suse.de + +- added "%post -p /sbin/ldconfig" to specfile to make rpmlint happy + +------------------------------------------------------------------- +Fri Apr 27 11:16:25 CEST 2007 - sndirsch@suse.de + +- bug-262309_xcb-xauthlocalhostname.diff: + * add code, which checks for XAUTHLOCALHOSTNAME now also for + libxcb, since Xtranssock.c has been replaced by XCB as + transport layer (Bug #262309) + +------------------------------------------------------------------- +Sun Mar 4 13:41:15 CET 2007 - sndirsch@suse.de + +- sloppy-lock.diff: + * workaround for "xcb_xlib.c:50: xcb_xlib_unlock: Assertion + `c->xlib.lock' failed"; set LIBXCB_ALLOW_SLOPPY_LOCK to enable + it (Bug #251087) + +------------------------------------------------------------------- +Sun Dec 3 15:40:06 CET 2006 - sndirsch@suse.de + +- created package + diff --git a/libxcb.keyring b/libxcb.keyring new file mode 100644 index 0000000..41ef66e --- /dev/null +++ b/libxcb.keyring @@ -0,0 +1,220 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBE6HVy4BEADACp0EU6HZ4KyFx/qfhzNarCfnlyEoCFY08k516UaHrUOrYWPp +ukoahcceA/M3H/xM0CGIn6uiuG/Cq7+qODAZNBsr6haIbDaqSUt+953b5qCSbD65 +LBR8TXvW+9KkXPhXTKi/osYBdmsbFLeVLqU5Kd4QJqWKRLtuo0ENbFkQPVypEJk8 +Ozg2zZ2yeSQAy0pgeFh8lezI7A23yj229kFq0EEfeqHpgifIzR2hNIhS5pTSOt8V +RDapO3FpOmxPPUMsaJ1KATD92+SgbZW8evW7ffz4QUiQiFsfTSOTCaTFu8qpu6Fb +a9u/u6mTrJQGRdqDcFp3iWjEUOVr0gUdLSr3zey152PBRaC26/eLqH8PFgCerBk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VEMkVEMTlGODVCMzY4 +MkMACgkQD91oLZdMpyrkPxAAhqdxxeQR1D9Qs6KBWD32GdnbySIdYJNZd8eqF85z +aC9G5YFe27lRH8d8DsG0zZDg9bYuLLm7J86Jq+21SIjuD1hHxLDd0cMelG2UwtW6 +3M169+J7Al/ZaPDFEDmpqukFi8TvJkVYubebAkoKEdHWohHnbIHfNLe5m6JnQ0UY +3+WzyQmliRUmEzk6/fkagtHIqF98MmVNjvv7gb69YKhJbVKUy/deRnlOy/rgOLOu +eaQ+ieNpjOB6cPq1Y0PJklXEdIP350IxoxDsoXuAYiPCcHGqvs9FtL8Jcpa4AuK+ +Pd30b0gSUiOJnzSyQnbXe6eJUROlEXCiW+5j7FreDFh6bKM5nAgGsM6PiPrAJP1F +ygG5q5XKhtoJOynFdVoKHz5vKBfG9rTUo7Gt6hVHGZhFY4aXI/4lIsHLSo2DsCVB ++qJa1zxtCPvzfv9sdzHveIhfUkOKx2o+Pj1qKqYqij+ZwEV2/vrM2VlXkj5c2Skk +AQB+EUxcmD61baHEVxq1W1nu3ND6VpzBFc8XytZH5ILPr7ffI2DZgmsnrFdzf0uX +aKe2qAe2an3hlwIdvZlZJLM3RK+CxQHPuFTCPIEuMA2H0NSnd40CAwAJrgJMQg6J +GtFxytk/Se55X3OyPOpl1ixz7MYKgloZhMob/essPnrQvYrWcHC/GJ87DnMqo2pX +TGc= +=Mxu+ +-----END PGP PUBLIC KEY BLOCK----- diff --git a/libxcb.spec b/libxcb.spec new file mode 100644 index 0000000..864923b --- /dev/null +++ b/libxcb.spec @@ -0,0 +1,539 @@ +# +# spec file for package libxcb +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define lname libxcb1 +%if 0%{?suse_version} >= 1500 +%bcond_with python2 +%else +%bcond_without python2 +%endif +Name: libxcb +Version: 1.15 +Release: 0 +Summary: X11 core protocol C library +License: MIT +Group: Development/Libraries/C and C++ +URL: https://xcb.freedesktop.org/ +#Git-Clone: git://anongit.freedesktop.org/xcb/libxcb +#Git-Web: https://cgit.freedesktop.org/xcb/libxcb/ +#DL-URL: https://xcb.freedesktop.org/dist/ +Source: https://xcb.freedesktop.org/dist/libxcb-%{version}.tar.xz +Source1: https://xcb.freedesktop.org/dist/libxcb-%{version}.tar.xz.sig +Source2: baselibs.conf +Source3: libxcb.keyring +Patch1: bug-262309_xcb-xauthlocalhostname.diff +Patch2: n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch +BuildRequires: autoconf >= 2.57 +BuildRequires: automake +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: xsltproc +BuildRequires: pkgconfig(check) >= 0.9.4 +BuildRequires: pkgconfig(pthread-stubs) +BuildRequires: pkgconfig(xau) >= 0.99.2 +BuildRequires: pkgconfig(xcb-proto) >= 1.15 +BuildRequires: pkgconfig(xorg-macros) >= 1.18 +%if %{with python2} +BuildRequires: python-base >= 2.6 +BuildRequires: python-xcb-proto-devel >= 7.6_1.12 +BuildRequires: python-xml +%else +BuildRequires: python3-base +BuildRequires: python3-xcb-proto-devel >= 7.6_1.12 +BuildRequires: python3-xml +%endif + +%description +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. + +%package -n libxcb1 +Summary: X11 core protocol C library +Group: System/Libraries +Provides: xorg-x11-libxcb = 7.6_%{version}-%{release} +Obsoletes: xorg-x11-libxcb < 7.6_%{version}-%{release} + +%description -n libxcb1 +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. + +%package -n libxcb-composite0 +Summary: X11 Composite Extension C library +Group: System/Libraries + +%description -n libxcb-composite0 +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. + +The Composite extension causes a entire sub-tree of the window +hierarchy to be rendered to an off-screen buffer. Applications can +then take the contents of that buffer and do whatever they like. The +off-screen buffer can be automatically merged into the parent window +or merged by external programs, called compositing managers. + +%package -n libxcb-damage0 +Summary: X11 Damage Extension C library +Group: System/Libraries + +%description -n libxcb-damage0 +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. + +The X Damage Extension allows applications to track modified regions +of drawables. + +%package -n libxcb-dpms0 +Summary: X11 DPMS Extension C library +Group: System/Libraries + +%description -n libxcb-dpms0 +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. + +%package -n libxcb-dri2-0 +Summary: X11 DRI2 Extension C library +Group: System/Libraries + +%description -n libxcb-dri2-0 +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. + +%package -n libxcb-dri3-0 +Summary: X11 DRI3 Extension C library +Group: System/Libraries + +%description -n libxcb-dri3-0 +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. + +%package -n libxcb-glx0 +Summary: X11 GLX Extension C library +Group: System/Libraries + +%description -n libxcb-glx0 +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. + +%package -n libxcb-randr0 +Summary: X11 RandR Extension C library +Group: System/Libraries + +%description -n libxcb-randr0 +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. + +The X Resize, Rotate and Reflect Extension (RandR) allows clients to +dynamically change X screens, so as to resize, to change the +orientation and layout of the root window of a screen. + +%package -n libxcb-record0 +Summary: X11 RECORD Extension C library +Group: System/Libraries + +%description -n libxcb-record0 +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. + +The RECORD extension supports the recording and reporting of all core +X protocol and arbitrary X extension protocol. + +%package -n libxcb-render0 +Summary: X11 Render Extension C library +Group: System/Libraries + +%description -n libxcb-render0 +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. + +%package -n libxcb-res0 +Summary: X11 Resource Extension C library +Group: System/Libraries + +%description -n libxcb-res0 +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. + +%package -n libxcb-screensaver0 +Summary: X11 ScreenSaver Extension C library +Group: System/Libraries + +%description -n libxcb-screensaver0 +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. + +The X Window System provides support for changing the image on a +display screen after a user-settable period of inactivity to avoid +burning the cathode ray tube phosphors. This extension allows an +external "screen saver" client to detect when the alternate image is +to be displayed and to provide the graphics. + +%package -n libxcb-shape0 +Summary: X11 Shape Extension C library +Group: System/Libraries + +%description -n libxcb-shape0 +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. + +- X11 Nonrectangular Window Shape extension (Xshape) + +%package -n libxcb-shm0 +Summary: X11 Shared Memory Extension C library +Group: System/Libraries + +%description -n libxcb-shm0 +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. + +The MIT Shared Memory (MIT-SHM) Extension allows exchanging image +data between client and server using shared memory, so that it does +not need to be transferred over sockets. + +%package -n libxcb-sync1 +Summary: X11 Sync Extension C library +Group: System/Libraries + +%description -n libxcb-sync1 +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. + +%package -n libxcb-present0 +Summary: X11 Present Extension C library +Group: System/Libraries + +%description -n libxcb-present0 +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. + +%package -n libxcb-xf86dri0 +Summary: X11 XFree86-DRI Extension C library +Group: System/Libraries + +%description -n libxcb-xf86dri0 +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. + +%package -n libxcb-xfixes0 +Summary: X11 Xfixes Extension C library +Group: System/Libraries + +%description -n libxcb-xfixes0 +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. + +The X Fixes extension provides applications with work-arounds for +various limitations in the core protocol. + +%package -n libxcb-xkb1 +Summary: X11 Keyboard Extension C library +Group: System/Libraries + +%description -n libxcb-xkb1 +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. + +Xkb extends the ability to control the keyboard +over what is offered by the X Window System core protocol. + +%package -n libxcb-xinerama0 +Summary: X11 Xinerama Extension C library +Group: System/Libraries + +%description -n libxcb-xinerama0 +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. + +Xinerama is an extension to the X Window System which enables +multi-headed X applications and window managers to use two or more +physical displays as one large virtual display. + +%package -n libxcb-xinput0 +Summary: X11 XInput Extension C library +Group: System/Libraries + +%description -n libxcb-xinput0 +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. + +Xinput is an extension to the X Window System intended to replace +core input processing. + +%package -n libxcb-xtest0 +Summary: X11 XTEST Extension C library +Group: System/Libraries + +%description -n libxcb-xtest0 +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. + +The XTEST extension is a minimal set of client and server extensions +required to completely test the X11 server with no user intervention. +This extension is not intended to support general journaling and +playback of user actions. + +%package -n libxcb-xv0 +Summary: X11 video Extension C library +Group: System/Libraries + +%description -n libxcb-xv0 +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. + +The X Video Extension (Xv) extension provides support for video +adaptors attached to an X display. It takes the approach that a +display may have one or more video adaptors, each of which has one or +more ports through which independent video streams pass. + +%package -n libxcb-xvmc0 +Summary: X11 Video Motion Compensation Extension C library +Group: System/Libraries + +%description -n libxcb-xvmc0 +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. + +X-Video Motion Compensation (XvMC), is an extension of the X video +extension (Xv) for the X Window System. The XvMC API allows video +programs to offload portions of the video decoding process to the GPU +video-hardware. + +%package devel +Summary: Development files for the X11 protocol C library +Group: Development/Libraries/C and C++ +Requires: libxcb-composite0 = %{version} +Requires: libxcb-damage0 = %{version} +Requires: libxcb-dpms0 = %{version} +Requires: libxcb-dri2-0 = %{version} +Requires: libxcb-dri3-0 = %{version} +Requires: libxcb-glx0 = %{version} +Requires: libxcb-present0 = %{version} +Requires: libxcb-randr0 = %{version} +Requires: libxcb-record0 = %{version} +Requires: libxcb-render0 = %{version} +Requires: libxcb-res0 = %{version} +Requires: libxcb-screensaver0 = %{version} +Requires: libxcb-shape0 = %{version} +Requires: libxcb-shm0 = %{version} +Requires: libxcb-sync1 = %{version} +Requires: libxcb-xf86dri0 = %{version} +Requires: libxcb-xfixes0 = %{version} +Requires: libxcb-xinerama0 = %{version} +Requires: libxcb-xinput0 = %{version} +Requires: libxcb-xkb1 = %{version} +Requires: libxcb-xtest0 = %{version} +Requires: libxcb-xv0 = %{version} +Requires: libxcb-xvmc0 = %{version} +# O/P added for 12.2 +Provides: xorg-x11-libxcb-devel = 7.6_%{version}-%{release} +Obsoletes: xorg-x11-libxcb-devel < 7.6_%{version}-%{release} + +%description devel +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. + +This package contains the development headers for the library found +in %{lname}. + +%package devel-doc +Summary: Documentation for libxcb +Group: Documentation/Man +BuildArch: noarch + +%description devel-doc +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. + +This subpackage contains the manual pages and documentation for +libxcb. + +%prep +%setup -q +%patch1 +%patch2 -p1 + +%build +NOCONFIGURE=1 ./autogen.sh +%configure --docdir=%{_docdir}/%{name} \ + --disable-static \ + --enable-xinput \ + --enable-xkb \ + --enable-sendfds +%make_build + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print + +%post -n libxcb1 -p /sbin/ldconfig +%postun -n libxcb1 -p /sbin/ldconfig +%post -n libxcb-composite0 -p /sbin/ldconfig +%postun -n libxcb-composite0 -p /sbin/ldconfig +%post -n libxcb-damage0 -p /sbin/ldconfig +%postun -n libxcb-damage0 -p /sbin/ldconfig +%post -n libxcb-dpms0 -p /sbin/ldconfig +%postun -n libxcb-dpms0 -p /sbin/ldconfig +%post -n libxcb-dri2-0 -p /sbin/ldconfig +%postun -n libxcb-dri2-0 -p /sbin/ldconfig +%post -n libxcb-dri3-0 -p /sbin/ldconfig +%postun -n libxcb-dri3-0 -p /sbin/ldconfig +%post -n libxcb-glx0 -p /sbin/ldconfig +%postun -n libxcb-glx0 -p /sbin/ldconfig +%post -n libxcb-randr0 -p /sbin/ldconfig +%postun -n libxcb-randr0 -p /sbin/ldconfig +%post -n libxcb-record0 -p /sbin/ldconfig +%postun -n libxcb-record0 -p /sbin/ldconfig +%post -n libxcb-render0 -p /sbin/ldconfig +%postun -n libxcb-render0 -p /sbin/ldconfig +%post -n libxcb-res0 -p /sbin/ldconfig +%postun -n libxcb-res0 -p /sbin/ldconfig +%post -n libxcb-screensaver0 -p /sbin/ldconfig +%postun -n libxcb-screensaver0 -p /sbin/ldconfig +%post -n libxcb-shape0 -p /sbin/ldconfig +%postun -n libxcb-shape0 -p /sbin/ldconfig +%post -n libxcb-shm0 -p /sbin/ldconfig +%postun -n libxcb-shm0 -p /sbin/ldconfig +%post -n libxcb-sync1 -p /sbin/ldconfig +%postun -n libxcb-sync1 -p /sbin/ldconfig +%post -n libxcb-present0 -p /sbin/ldconfig +%postun -n libxcb-present0 -p /sbin/ldconfig +%post -n libxcb-xf86dri0 -p /sbin/ldconfig +%postun -n libxcb-xf86dri0 -p /sbin/ldconfig +%post -n libxcb-xfixes0 -p /sbin/ldconfig +%postun -n libxcb-xfixes0 -p /sbin/ldconfig +%post -n libxcb-xkb1 -p /sbin/ldconfig +%postun -n libxcb-xkb1 -p /sbin/ldconfig +%post -n libxcb-xinerama0 -p /sbin/ldconfig +%postun -n libxcb-xinerama0 -p /sbin/ldconfig +%post -n libxcb-xinput0 -p /sbin/ldconfig +%postun -n libxcb-xinput0 -p /sbin/ldconfig +%post -n libxcb-xtest0 -p /sbin/ldconfig +%postun -n libxcb-xtest0 -p /sbin/ldconfig +%post -n libxcb-xv0 -p /sbin/ldconfig +%postun -n libxcb-xv0 -p /sbin/ldconfig +%post -n libxcb-xvmc0 -p /sbin/ldconfig +%postun -n libxcb-xvmc0 -p /sbin/ldconfig + +%files -n libxcb1 +%{_libdir}/libxcb.so.1* + +%files -n libxcb-composite0 +%{_libdir}/libxcb-composite.so.0* + +%files -n libxcb-damage0 +%{_libdir}/libxcb-damage.so.0* + +%files -n libxcb-dpms0 +%{_libdir}/libxcb-dpms.so.0* + +%files -n libxcb-dri2-0 +%{_libdir}/libxcb-dri2.so.0* + +%files -n libxcb-dri3-0 +%{_libdir}/libxcb-dri3.so.0* + +%files -n libxcb-glx0 +%{_libdir}/libxcb-glx.so.0* + +%files -n libxcb-randr0 +%{_libdir}/libxcb-randr.so.0* + +%files -n libxcb-record0 +%{_libdir}/libxcb-record.so.0* + +%files -n libxcb-render0 +%{_libdir}/libxcb-render.so.0* + +%files -n libxcb-res0 +%{_libdir}/libxcb-res.so.0* + +%files -n libxcb-screensaver0 +%{_libdir}/libxcb-screensaver.so.0* + +%files -n libxcb-shape0 +%{_libdir}/libxcb-shape.so.0* + +%files -n libxcb-shm0 +%{_libdir}/libxcb-shm.so.0* + +%files -n libxcb-sync1 +%{_libdir}/libxcb-sync.so.1* + +%files -n libxcb-present0 +%{_libdir}/libxcb-present.so.0* + +%files -n libxcb-xf86dri0 +%{_libdir}/libxcb-xf86dri.so.* + +%files -n libxcb-xfixes0 +%{_libdir}/libxcb-xfixes.so.* + +%files -n libxcb-xkb1 +%{_libdir}/libxcb-xkb.so.1* + +%files -n libxcb-xinerama0 +%{_libdir}/libxcb-xinerama.so.0* + +%files -n libxcb-xinput0 +%{_libdir}/libxcb-xinput.so.0* + +%files -n libxcb-xtest0 +%{_libdir}/libxcb-xtest.so.0* + +%files -n libxcb-xv0 +%{_libdir}/libxcb-xv.so.0* + +%files -n libxcb-xvmc0 +%{_libdir}/libxcb-xvmc.so.0* + +%files devel +%{_includedir}/xcb +%{_libdir}/libxcb*.so +%{_libdir}/pkgconfig/xcb*.pc + +%files devel-doc +%{_docdir}/%{name} +%{_mandir}/man3/xcb* + +%changelog diff --git a/n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch b/n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch new file mode 100644 index 0000000..f1f7774 --- /dev/null +++ b/n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch @@ -0,0 +1,139 @@ +From: Egbert Eich +Date: Thu Dec 24 00:11:43 2015 +0100 +Subject: [PATCH]If auth with credentials for hostname fails retry with XAUTHLOCALHOSTNAME +Patch-mainline: never + +References: boo#906622 +Signed-off-by: Egbert Eich + +Signed-off-by: Egbert Eich +--- + src/xcb_auth.c | 26 ++++++++++++++++++-------- + 1 file changed, 18 insertions(+), 8 deletions(-) + +Index: libxcb-1.12/src/xcb_auth.c +=================================================================== +--- libxcb-1.12.orig/src/xcb_auth.c ++++ libxcb-1.12/src/xcb_auth.c +@@ -109,7 +109,7 @@ static int authname_match(enum auth_prot + + #define SIN6_ADDR(s) (&((struct sockaddr_in6 *)s)->sin6_addr) + +-static Xauth *get_authptr(struct sockaddr *sockname, int display) ++static Xauth *get_authptr(struct sockaddr *sockname, int display, int *stage) + { + char *addr = 0; + int addrlen = 0; +@@ -119,6 +119,8 @@ static Xauth *get_authptr(struct sockadd + int dispbuflen; + Xauth *authptr = NULL; + ++ if (*stage == 2) ++ return NULL; + family = FamilyLocal; /* 256 */ + switch(sockname->sa_family) + { +@@ -161,18 +163,23 @@ static Xauth *get_authptr(struct sockadd + addrlen = strlen(addr); + } + +- authptr = XauGetBestAuthByAddr (family, +- (unsigned short) addrlen, addr, +- (unsigned short) dispbuflen, dispbuf, +- N_AUTH_PROTOS, authnames, authnameslen); +- // && !phostname +- if ((!authptr || !authptr->data_length) && family == FamilyLocal) { +- if ( (addr = getenv("XAUTHLOCALHOSTNAME")) ) { ++ if (*stage == 0) { ++ authptr = XauGetBestAuthByAddr (family, ++ (unsigned short) addrlen, addr, ++ (unsigned short) dispbuflen, dispbuf, ++ N_AUTH_PROTOS, authnames, authnameslen); ++ *stage = 1; ++ return authptr; ++ } ++ if (*stage == 1) { ++ if ((!authptr || !authptr->data_length) && family == FamilyLocal && (addr = getenv("XAUTHLOCALHOSTNAME"))) { + authptr = XauGetBestAuthByAddr (family, + (unsigned short) strlen(addr), addr, + (unsigned short) dispbuflen, dispbuf, + N_AUTH_PROTOS, authnames, authnameslen); + } ++ *stage = 2; ++ return authptr; + } + return authptr; + } +@@ -320,7 +327,7 @@ static struct sockaddr *get_peer_sock_na + return NULL; + } + +-int _xcb_get_auth_info(int fd, xcb_auth_info_t *info, int display) ++int _xcb_get_auth_info(int fd, xcb_auth_info_t *info, int display, int *stage) + { + /* code adapted from Xlib/ConnDis.c, xtrans/Xtranssocket.c, + xtrans/Xtransutils.c */ +@@ -345,7 +352,7 @@ int _xcb_get_auth_info(int fd, xcb_auth_ + gotsockname = 1; + } + +- authptr = get_authptr(sockname, display); ++ authptr = get_authptr(sockname, display, stage); + if (authptr == 0) + { + free(sockname); +Index: libxcb-1.12/src/xcbint.h +=================================================================== +--- libxcb-1.12.orig/src/xcbint.h ++++ libxcb-1.12/src/xcbint.h +@@ -219,7 +219,7 @@ int _xcb_conn_wait(xcb_connection_t *c, + + /* xcb_auth.c */ + +-int _xcb_get_auth_info(int fd, xcb_auth_info_t *info, int display); ++int _xcb_get_auth_info(int fd, xcb_auth_info_t *info, int display, int *stage); + + #ifdef GCC_HAS_VISIBILITY + #pragma GCC visibility pop +Index: libxcb-1.12/src/xcb_util.c +=================================================================== +--- libxcb-1.12.orig/src/xcb_util.c ++++ libxcb-1.12/src/xcb_util.c +@@ -494,6 +494,7 @@ xcb_connection_t *xcb_connect_to_display + char *protocol = NULL; + xcb_auth_info_t ourauth; + xcb_connection_t *c; ++ int stage = 0; + + int parsed = _xcb_parse_display(displayname, &host, &protocol, &display, screenp); + +@@ -510,6 +511,7 @@ xcb_connection_t *xcb_connect_to_display + } + #endif + ++ retry: + fd = _xcb_open(host, protocol, display); + + if(fd == -1) { +@@ -525,7 +527,7 @@ xcb_connection_t *xcb_connect_to_display + goto out; + } + +- if(_xcb_get_auth_info(fd, &ourauth, display)) ++ if(_xcb_get_auth_info(fd, &ourauth, display, &stage)) + { + c = xcb_connect_to_fd(fd, &ourauth); + free(ourauth.name); +@@ -534,8 +536,11 @@ xcb_connection_t *xcb_connect_to_display + else + c = xcb_connect_to_fd(fd, 0); + +- if(c->has_error) ++ if(c->has_error) { ++ if (stage < 2) ++ goto retry; + goto out; ++ } + + /* Make sure requested screen number is in bounds for this server */ + if((screenp != NULL) && (*screenp >= (int) c->setup->roots_len)) {