Projects
Mega:23.09
libxcb
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
_service:tar_scm:libxcb.spec
Changed
@@ -1,5 +1,5 @@ Name: libxcb -Version: 1.15 +Version: 1.16 Release: 1 Summary: A C binding to the X11 protocol License: MIT @@ -78,6 +78,9 @@ %exclude %{_docdir}/%{name}-%{version}/COPYING %changelog +* Thu Dec 28 2023 Paul Thomas <paulthomas100199@gmail.com> - 1.16-1 +- update to version 1.16 + * Thu Oct 27 2022 wangkerong <wangkerong@h-partners.com> - 1.15-1 - upgrade to 1.15
View file
_service
Changed
@@ -2,7 +2,7 @@ <service name="tar_scm"> <param name="url">git@gitee.com:src-openeuler/libxcb.git</param> <param name="scm">git</param> - <param name="revision">openEuler-23.09</param> + <param name="revision">master</param> <param name="exclude">*</param> <param name="extract">*</param> </service>
View file
_service:tar_scm:libxcb-1.15.tar.xz/ChangeLog -> _service:tar_scm:libxcb-1.16.tar.xz/ChangeLog
Changed
@@ -1,3 +1,296 @@ +commit cc4b93c9cd93bad15b7106747b0213e4b9c53a1c +Author: Matt Turner <mattst88@gmail.com> +Date: Wed Aug 16 16:09:50 2023 -0400 + + libxcb 1.16 + + Signed-off-by: Matt Turner <mattst88@gmail.com> + +commit 1519334652837cb7b2a8f8117628ea3cc744f7cb +Author: Matt Turner <mattst88@gmail.com> +Date: Wed Aug 16 16:08:46 2023 -0400 + + configure.ac: Require xcb-proto >= 1.16.0 + + Signed-off-by: Matt Turner <mattst88@gmail.com> + +commit 038636786ad1914f3daf3503ae9611f40dffbb8f +Author: Ilya Pominov <ipominov@astralinux.ru> +Date: Sun Apr 2 11:35:16 2023 +0300 + + c_client: Fix crash in xcb_randr_set_monitor + + Take into account c_need_sizeof when evaluating + xcb_protocol_request_t.count + + Incorrect xcb_protocol_request_t.count causes a segmentation fault when + calling functions: + - xcb_randr_set_monitor{_checked} + - xcb_input_change_feedback_control{_checked} + - xcb_input_change_device_control{_unchecked} + + Steps to reproduce: + Call xcb_randr_set_monitor() with valid arguments + + OBSERVED RESULT + Segmentation fault + ``` + Process terminating with default action of signal 11 (SIGSEGV) + Access not within mapped region at address 0x780 + at 0x4852925: memmove (in /usr/libexec/valgrind/vgpreload_memcheck- + amd64-linux.so) + by 0x486967C: memcpy (string_fortified.h:29) + by 0x486967C: send_request (xcb_out.c:59) + by 0x486967C: send_request (xcb_out.c:46) + by 0x486967C: xcb_send_request_with_fds64 (xcb_out.c:338) + by 0x48699FC: xcb_send_request (xcb_out.c:359) + by 0x4891F11: xcb_randr_set_monitor_checked (randr.c:5350) + ``` + + EXPECTED RESULT + Function returns cookie + + Amend: 77b594f9583ea0247ff27130316d8e045da7f921 + + Signed-off-by: Ilya Pominov <ipominov@astralinux.ru> + +commit 8935793f1f3751a6aa9d78955c7d6236177986de +Author: Demi Marie Obenour <demiobenour@gmail.com> +Date: Sat Mar 25 15:27:33 2023 -0400 + + Add tests for unix socket parsing + + Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> + +commit 095255531b90f0b442e6ca41fb3752a058562d07 +Author: Demi Marie Obenour <demiobenour@gmail.com> +Date: Fri Aug 12 22:02:02 2022 -0400 + + DISPLAY starting with / or unix: is always a socket path + + If DISPLAY starts with / or unix:, do not check for anything but a full + filesystem socket path. In particular, abstract AF_UNIX sockets and TCP + sockets will not be used in this case. Also be stricter about parsing + the screen part of /path.screen displays, and bail out after all stat() + errors other than ENOENT. + + Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> + +commit ccdef1a8a5b6956a3fb7115d634db213433dca75 +Author: Demi Marie Obenour <demiobenour@gmail.com> +Date: Sun Jul 3 17:57:11 2022 -0400 + + Allow full paths to sockets on non-macOS + + When combined with xorg/lib/libxtrans!7, this allows CVE-2020-25697 to + be mitigated by placing the AF_UNIX socket in a secure directory on the + filesystem. + + This enables HAVE_LAUNCHD unconditionally and deletes the configure + switch. + + Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> + +commit 18e109d755c5ce18157fdabb6de8ee6845b348ff +Author: Matthieu Herrb <matthieu@herrb.eu> +Date: Tue Feb 28 14:19:21 2023 +0100 + + Fix xcb_connect() call with a custom xcb_auth_info_t + + If the function implementing xcb_connect is called directly with a + custom xcb_auth_info_t then checking that the screen in $DISPLAY + is valid is skipped. + + Reported by chohag AT jtan DOT com + + Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> + +commit fd04ab24a5e99d53874789439d3ffb0eb82574f7 +Author: Jan Beich <jbeich@FreeBSD.org> +Date: Fri Feb 10 14:16:20 2023 +0000 + + configure.ac: drop `pthread-stubs` dependency on DragonFly and FreeBSD + + All `pthread_*` symbols used by libxcb have stubs in libc. So, stop + linking against libpthread. + +commit 4d1a578dd5348909ade2a853d806272326d228d7 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Thu Feb 9 14:56:38 2023 -0800 + + Raise minimum required version of Python from 2.6 to 3.0 + + Trying to build with Python 2.7.14 fails with: + File "./c_client.py", line 2270 + key = (*self.name:-1, field.enum) + ^ + SyntaxError: invalid syntax + + Fixes: 33f3dbe ("Fix handling of documented enum parameters") + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit e2a3e80eb837eaaa834a01a2741d4c249c984442 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Mon Feb 6 15:48:49 2023 -0800 + + configure.ac: Remove obsolete AC_HEADER_STDC + + Nothing checks for the STDC_HEADERS flag this set, and all supported + systems have C89 compatible headers now. + + Clears autoconf warnings of: + configure.ac:93: warning: The macro `AC_HEADER_STDC' is obsolete. + configure.ac:93: You should run autoupdate. + ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... + configure.ac:93: the top level + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 3333d5bde8baaca8981e806ef86b74f4adb77ba7 +Author: Daniel G <giri@nwrk.biz> +Date: Mon Jan 9 16:21:35 2023 +0000 + + Fix indentation. + +commit 973b510e954f6989ed773f8b357ca50fbc99bced +Author: Daniel G <giri@nwrk.biz> +Date: Sat Jan 7 19:35:47 2023 +0000 + + Fix windows build. + +commit cb8c70f5a65b4bd68b449dcaa637c3c4753e2f81 +Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com> +Date: Sat Nov 26 14:55:07 2022 -0800 + + xcb_conn: Add a check for NULL to silence a UBSan runtime error + + xcb_conn.c:314:60: runtime error: applying zero offset to null pointer + + Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> + +commit 33f3dbe3699a92e8ca18f470adac456e0b935e75 +Author: Demi Marie Obenour <demiobenour@gmail.com> +Date: Sun Oct 16 01:50:53 2022 -0400 + + Fix handling of documented enum parameters + + Previously this would crash the code generator. + + Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> + +commit c9513aac2d78808f63b83d71072c2c483b20162d +Author: Demi Marie Obenour <demi@invisiblethingslab.com> +Date: Sat Aug 28 12:25:05 2021 -0400 + + Fix a compiler warning + + The warning is harmless but annoying. + + Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> + +commit 06e1ef43bbb8c84fc243fa6a53c81147a3a24273 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Tue Oct 4 11:30:09 2022 -0700 + + configure.ac: drop dependency `pthread-stubs` on Solaris + + On Solaris 10 and later, the pthread functions are directly in libc, + and libpthread only has metadata to redirect calls from it to the + libc functions.
View file
_service:tar_scm:libxcb-1.15.tar.xz/Makefile.am -> _service:tar_scm:libxcb-1.16.tar.xz/Makefile.am
Changed
@@ -12,6 +12,9 @@ if BUILD_DAMAGE pkgconfig_DATA += xcb-damage.pc endif +if BUILD_DBE +pkgconfig_DATA += xcb-dbe.pc +endif if BUILD_DPMS pkgconfig_DATA += xcb-dpms.pc endif
View file
_service:tar_scm:libxcb-1.15.tar.xz/Makefile.in -> _service:tar_scm:libxcb-1.16.tar.xz/Makefile.in
Changed
@@ -90,31 +90,32 @@ host_triplet = @host@ @BUILD_COMPOSITE_TRUE@am__append_1 = xcb-composite.pc @BUILD_DAMAGE_TRUE@am__append_2 = xcb-damage.pc -@BUILD_DPMS_TRUE@am__append_3 = xcb-dpms.pc -@BUILD_DRI2_TRUE@am__append_4 = xcb-dri2.pc -@BUILD_DRI3_TRUE@am__append_5 = xcb-dri3.pc -@BUILD_GLX_TRUE@am__append_6 = xcb-glx.pc -@BUILD_PRESENT_TRUE@am__append_7 = xcb-present.pc -@BUILD_RANDR_TRUE@am__append_8 = xcb-randr.pc -@BUILD_RECORD_TRUE@am__append_9 = xcb-record.pc -@BUILD_RENDER_TRUE@am__append_10 = xcb-render.pc -@BUILD_RESOURCE_TRUE@am__append_11 = xcb-res.pc -@BUILD_SCREENSAVER_TRUE@am__append_12 = xcb-screensaver.pc -@BUILD_SHAPE_TRUE@am__append_13 = xcb-shape.pc -@BUILD_SHM_TRUE@am__append_14 = xcb-shm.pc -@BUILD_SYNC_TRUE@am__append_15 = xcb-sync.pc -@BUILD_XEVIE_TRUE@am__append_16 = xcb-xevie.pc -@BUILD_XFREE86_DRI_TRUE@am__append_17 = xcb-xf86dri.pc -@BUILD_XFIXES_TRUE@am__append_18 = xcb-xfixes.pc -@BUILD_XINERAMA_TRUE@am__append_19 = xcb-xinerama.pc -@BUILD_XINPUT_TRUE@am__append_20 = xcb-xinput.pc -@BUILD_XKB_TRUE@am__append_21 = xcb-xkb.pc -@BUILD_XPRINT_TRUE@am__append_22 = xcb-xprint.pc -@BUILD_SELINUX_TRUE@am__append_23 = xcb-xselinux.pc -@BUILD_XTEST_TRUE@am__append_24 = xcb-xtest.pc -@BUILD_XV_TRUE@am__append_25 = xcb-xv.pc -@BUILD_XVMC_TRUE@am__append_26 = xcb-xvmc.pc -@BUILD_GE_TRUE@am__append_27 = xcb-ge.pc +@BUILD_DBE_TRUE@am__append_3 = xcb-dbe.pc +@BUILD_DPMS_TRUE@am__append_4 = xcb-dpms.pc +@BUILD_DRI2_TRUE@am__append_5 = xcb-dri2.pc +@BUILD_DRI3_TRUE@am__append_6 = xcb-dri3.pc +@BUILD_GLX_TRUE@am__append_7 = xcb-glx.pc +@BUILD_PRESENT_TRUE@am__append_8 = xcb-present.pc +@BUILD_RANDR_TRUE@am__append_9 = xcb-randr.pc +@BUILD_RECORD_TRUE@am__append_10 = xcb-record.pc +@BUILD_RENDER_TRUE@am__append_11 = xcb-render.pc +@BUILD_RESOURCE_TRUE@am__append_12 = xcb-res.pc +@BUILD_SCREENSAVER_TRUE@am__append_13 = xcb-screensaver.pc +@BUILD_SHAPE_TRUE@am__append_14 = xcb-shape.pc +@BUILD_SHM_TRUE@am__append_15 = xcb-shm.pc +@BUILD_SYNC_TRUE@am__append_16 = xcb-sync.pc +@BUILD_XEVIE_TRUE@am__append_17 = xcb-xevie.pc +@BUILD_XFREE86_DRI_TRUE@am__append_18 = xcb-xf86dri.pc +@BUILD_XFIXES_TRUE@am__append_19 = xcb-xfixes.pc +@BUILD_XINERAMA_TRUE@am__append_20 = xcb-xinerama.pc +@BUILD_XINPUT_TRUE@am__append_21 = xcb-xinput.pc +@BUILD_XKB_TRUE@am__append_22 = xcb-xkb.pc +@BUILD_XPRINT_TRUE@am__append_23 = xcb-xprint.pc +@BUILD_SELINUX_TRUE@am__append_24 = xcb-xselinux.pc +@BUILD_XTEST_TRUE@am__append_25 = xcb-xtest.pc +@BUILD_XV_TRUE@am__append_26 = xcb-xv.pc +@BUILD_XVMC_TRUE@am__append_27 = xcb-xvmc.pc +@BUILD_GE_TRUE@am__append_28 = xcb-ge.pc subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ @@ -129,13 +130,13 @@ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/src/config.h -CONFIG_CLEAN_FILES = xcb.pc xcb-composite.pc xcb-damage.pc xcb-dpms.pc \ - xcb-dri2.pc xcb-dri3.pc xcb-ge.pc xcb-glx.pc xcb-present.pc \ - xcb-randr.pc xcb-record.pc xcb-render.pc xcb-res.pc \ - xcb-screensaver.pc xcb-shape.pc xcb-shm.pc xcb-sync.pc \ - xcb-xevie.pc xcb-xf86dri.pc xcb-xfixes.pc xcb-xinerama.pc \ - xcb-xinput.pc xcb-xkb.pc xcb-xprint.pc xcb-xselinux.pc \ - xcb-xtest.pc xcb-xv.pc xcb-xvmc.pc +CONFIG_CLEAN_FILES = xcb.pc xcb-composite.pc xcb-damage.pc xcb-dbe.pc \ + xcb-dpms.pc xcb-dri2.pc xcb-dri3.pc xcb-ge.pc xcb-glx.pc \ + xcb-present.pc xcb-randr.pc xcb-record.pc xcb-render.pc \ + xcb-res.pc xcb-screensaver.pc xcb-shape.pc xcb-shm.pc \ + xcb-sync.pc xcb-xevie.pc xcb-xf86dri.pc xcb-xfixes.pc \ + xcb-xinerama.pc xcb-xinput.pc xcb-xkb.pc xcb-xprint.pc \ + xcb-xselinux.pc xcb-xtest.pc xcb-xv.pc xcb-xvmc.pc CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) @@ -398,20 +399,21 @@ $(TEST_LOG_FLAGS) DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/xcb-composite.pc.in \ - $(srcdir)/xcb-damage.pc.in $(srcdir)/xcb-dpms.pc.in \ - $(srcdir)/xcb-dri2.pc.in $(srcdir)/xcb-dri3.pc.in \ - $(srcdir)/xcb-ge.pc.in $(srcdir)/xcb-glx.pc.in \ - $(srcdir)/xcb-present.pc.in $(srcdir)/xcb-randr.pc.in \ - $(srcdir)/xcb-record.pc.in $(srcdir)/xcb-render.pc.in \ - $(srcdir)/xcb-res.pc.in $(srcdir)/xcb-screensaver.pc.in \ - $(srcdir)/xcb-shape.pc.in $(srcdir)/xcb-shm.pc.in \ - $(srcdir)/xcb-sync.pc.in $(srcdir)/xcb-xevie.pc.in \ - $(srcdir)/xcb-xf86dri.pc.in $(srcdir)/xcb-xfixes.pc.in \ - $(srcdir)/xcb-xinerama.pc.in $(srcdir)/xcb-xinput.pc.in \ - $(srcdir)/xcb-xkb.pc.in $(srcdir)/xcb-xprint.pc.in \ - $(srcdir)/xcb-xselinux.pc.in $(srcdir)/xcb-xtest.pc.in \ - $(srcdir)/xcb-xv.pc.in $(srcdir)/xcb-xvmc.pc.in \ - $(srcdir)/xcb.pc.in $(top_srcdir)/build-aux/compile \ + $(srcdir)/xcb-damage.pc.in $(srcdir)/xcb-dbe.pc.in \ + $(srcdir)/xcb-dpms.pc.in $(srcdir)/xcb-dri2.pc.in \ + $(srcdir)/xcb-dri3.pc.in $(srcdir)/xcb-ge.pc.in \ + $(srcdir)/xcb-glx.pc.in $(srcdir)/xcb-present.pc.in \ + $(srcdir)/xcb-randr.pc.in $(srcdir)/xcb-record.pc.in \ + $(srcdir)/xcb-render.pc.in $(srcdir)/xcb-res.pc.in \ + $(srcdir)/xcb-screensaver.pc.in $(srcdir)/xcb-shape.pc.in \ + $(srcdir)/xcb-shm.pc.in $(srcdir)/xcb-sync.pc.in \ + $(srcdir)/xcb-xevie.pc.in $(srcdir)/xcb-xf86dri.pc.in \ + $(srcdir)/xcb-xfixes.pc.in $(srcdir)/xcb-xinerama.pc.in \ + $(srcdir)/xcb-xinput.pc.in $(srcdir)/xcb-xkb.pc.in \ + $(srcdir)/xcb-xprint.pc.in $(srcdir)/xcb-xselinux.pc.in \ + $(srcdir)/xcb-xtest.pc.in $(srcdir)/xcb-xv.pc.in \ + $(srcdir)/xcb-xvmc.pc.in $(srcdir)/xcb.pc.in \ + $(top_srcdir)/build-aux/compile \ $(top_srcdir)/build-aux/config.guess \ $(top_srcdir)/build-aux/config.sub \ $(top_srcdir)/build-aux/install-sh \ @@ -506,6 +508,7 @@ ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +FILECMD = @FILECMD@ FILE_MAN_DIR = @FILE_MAN_DIR@ FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ GREP = @GREP@ @@ -517,7 +520,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LAUNCHD = @LAUNCHD@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ @@ -647,7 +649,7 @@ $(am__append_18) $(am__append_19) $(am__append_20) \ $(am__append_21) $(am__append_22) $(am__append_23) \ $(am__append_24) $(am__append_25) $(am__append_26) \ - $(am__append_27) + $(am__append_27) $(am__append_28) AM_TESTS_ENVIRONMENT = \ AM_SRCDIR=${srcdir} @@ -704,6 +706,8 @@ cd $(top_builddir) && $(SHELL) ./config.status $@ xcb-damage.pc: $(top_builddir)/config.status $(srcdir)/xcb-damage.pc.in cd $(top_builddir) && $(SHELL) ./config.status $@ +xcb-dbe.pc: $(top_builddir)/config.status $(srcdir)/xcb-dbe.pc.in + cd $(top_builddir) && $(SHELL) ./config.status $@ xcb-dpms.pc: $(top_builddir)/config.status $(srcdir)/xcb-dpms.pc.in cd $(top_builddir) && $(SHELL) ./config.status $@ xcb-dri2.pc: $(top_builddir)/config.status $(srcdir)/xcb-dri2.pc.in
View file
_service:tar_scm:libxcb-1.15.tar.xz/aclocal.m4 -> _service:tar_scm:libxcb-1.16.tar.xz/aclocal.m4
Changed
@@ -366,7 +366,7 @@ dnl xorg-macros.m4. Generated from xorg-macros.m4.in xorgversion.m4 by configure. dnl -dnl Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. +dnl Copyright (c) 2005, 2023, Oracle and/or its affiliates. dnl dnl Permission is hereby granted, free of charge, to any person obtaining a dnl copy of this software and associated documentation files (the "Software"), @@ -403,7 +403,7 @@ # See the "minimum version" comment for each macro you use to see what # version you require. m4_defun(XORG_MACROS_VERSION, -m4_define(vers_have, 1.19.3) +m4_define(vers_have, 1.20.0) m4_define(maj_have, m4_substr(vers_have, 0, m4_index(vers_have, .))) m4_define(maj_needed, m4_substr($1, 0, m4_index($1, .))) m4_if(m4_cmp(maj_have, maj_needed), 0,, @@ -733,7 +733,7 @@ # Documentation tools are not always available on all platforms and sometimes # not at the appropriate level. This macro enables a module to test for the # presence of the tool and obtain it's path in separate variables. Coupled with -# the --with-xmlto option, it allows maximum flexibilty in making decisions +# the --with-xmlto option, it allows maximum flexibility in making decisions # as whether or not to use the xmlto package. When DEFAULT is not specified, # --with-xmlto assumes 'auto'. # @@ -947,7 +947,7 @@ # Documentation tools are not always available on all platforms and sometimes # not at the appropriate level. This macro enables a module to test for the # presence of the tool and obtain it's path in separate variables. Coupled with -# the --with-asciidoc option, it allows maximum flexibilty in making decisions +# the --with-asciidoc option, it allows maximum flexibility in making decisions # as whether or not to use the asciidoc package. When DEFAULT is not specified, # --with-asciidoc assumes 'auto'. # @@ -1017,7 +1017,7 @@ # Documentation tools are not always available on all platforms and sometimes # not at the appropriate level. This macro enables a module to test for the # presence of the tool and obtain it's path in separate variables. Coupled with -# the --with-doxygen option, it allows maximum flexibilty in making decisions +# the --with-doxygen option, it allows maximum flexibility in making decisions # as whether or not to use the doxygen package. When DEFAULT is not specified, # --with-doxygen assumes 'auto'. # @@ -1101,7 +1101,7 @@ # Documentation tools are not always available on all platforms and sometimes # not at the appropriate level. This macro enables a module to test for the # presence of the tool and obtain it's path in separate variables. Coupled with -# the --with-groff option, it allows maximum flexibilty in making decisions +# the --with-groff option, it allows maximum flexibility in making decisions # as whether or not to use the groff package. When DEFAULT is not specified, # --with-groff assumes 'auto'. # @@ -1209,7 +1209,7 @@ # Documentation tools are not always available on all platforms and sometimes # not at the appropriate level. This macro enables a module to test for the # presence of the tool and obtain it's path in separate variables. Coupled with -# the --with-fop option, it allows maximum flexibilty in making decisions +# the --with-fop option, it allows maximum flexibility in making decisions # as whether or not to use the fop package. When DEFAULT is not specified, # --with-fop assumes 'auto'. # @@ -1303,7 +1303,7 @@ # Documentation tools are not always available on all platforms and sometimes # not at the appropriate level. This macro enables a module to test for the # presence of the tool and obtain it's path in separate variables. Coupled with -# the --with-ps2pdf option, it allows maximum flexibilty in making decisions +# the --with-ps2pdf option, it allows maximum flexibility in making decisions # as whether or not to use the ps2pdf package. When DEFAULT is not specified, # --with-ps2pdf assumes 'auto'. # @@ -1358,7 +1358,7 @@ # not at the appropriate level. This macro enables a builder to skip all # documentation targets except traditional man pages. # Combined with the specific tool checking macros XORG_WITH_*, it provides -# maximum flexibilty in controlling documentation building. +# maximum flexibility in controlling documentation building. # Refer to: # XORG_WITH_XMLTO --with-xmlto # XORG_WITH_ASCIIDOC --with-asciidoc @@ -1391,7 +1391,7 @@ # # This macro enables a builder to skip all developer documentation. # Combined with the specific tool checking macros XORG_WITH_*, it provides -# maximum flexibilty in controlling documentation building. +# maximum flexibility in controlling documentation building. # Refer to: # XORG_WITH_XMLTO --with-xmlto # XORG_WITH_ASCIIDOC --with-asciidoc @@ -1424,7 +1424,7 @@ # # This macro enables a builder to skip all functional specification targets. # Combined with the specific tool checking macros XORG_WITH_*, it provides -# maximum flexibilty in controlling documentation building. +# maximum flexibility in controlling documentation building. # Refer to: # XORG_WITH_XMLTO --with-xmlto # XORG_WITH_ASCIIDOC --with-asciidoc @@ -1899,7 +1899,11 @@ AC_DEFUN(XORG_COMPILER_BRAND, AC_LANG_CASE( C, - AC_REQUIRE(AC_PROG_CC_C99) + dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC + dnl and complains that AC_PROG_CC_C99 is obsolete + m4_version_prereq(2.70, + AC_REQUIRE(AC_PROG_CC), + AC_REQUIRE(AC_PROG_CC_C99)) , C++, AC_REQUIRE(AC_PROG_CXX) @@ -1915,7 +1919,7 @@ # Minimum version: 1.16.0 # # Test if the compiler works when passed the given flag as a command line argument. -# If it succeeds, the flag is appeneded to the given variable. If not, it tries the +# If it succeeds, the flag is appended to the given variable. If not, it tries the # next flag in the list until there are no more options. # # Note that this does not guarantee that the compiler supports the flag as some @@ -1931,7 +1935,11 @@ AC_LANG_CASE( C, - AC_REQUIRE(AC_PROG_CC_C99) + dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC + dnl and complains that AC_PROG_CC_C99 is obsolete + m4_version_prereq(2.70, + AC_REQUIRE(AC_PROG_CC), + AC_REQUIRE(AC_PROG_CC_C99)) define(PREFIX, C) define(CACHE_PREFIX, cc) define(COMPILER, $CC) @@ -2072,7 +2080,7 @@ # XORG_TESTSET_CFLAG(BASE_PREFIXFLAGS, -Wcast-align) # XORG_TESTSET_CFLAG(BASE_PREFIXFLAGS, -Wcast-qual) -# Turn some warnings into errors, so we don't accidently get successful builds +# Turn some warnings into errors, so we don't accidentally get successful builds # when there are problems that should be fixed. if test "x$SELECTIVE_WERROR" = "xyes" ; then @@ -2181,23 +2189,35 @@ AC_LANG_CASE(C, AC_SUBST(CWARNFLAGS)) ) # XORG_STRICT_OPTION +# XORG_DEFAULT_NOCODE_OPTIONS +# --------------------------- +# Minimum version: 1.20.0 +# +# Defines default options for X.Org modules which don't compile code, +# such as fonts, bitmaps, cursors, and docs. +# +AC_DEFUN(XORG_DEFAULT_NOCODE_OPTIONS, +AC_REQUIRE(AC_PROG_INSTALL) +XORG_RELEASE_VERSION +XORG_CHANGELOG +XORG_INSTALL +XORG_MANPAGE_SECTIONS +m4_ifdef(AM_SILENT_RULES, AM_SILENT_RULES(yes), + AC_SUBST(AM_DEFAULT_VERBOSITY, 1)) +) # XORG_DEFAULT_NOCODE_OPTIONS + # XORG_DEFAULT_OPTIONS # -------------------- # Minimum version: 1.3.0 # -# Defines default options for X.Org modules. +# Defines default options for X.Org modules which compile code. # AC_DEFUN(XORG_DEFAULT_OPTIONS, AC_REQUIRE(AC_PROG_INSTALL) XORG_COMPILER_FLAGS XORG_CWARNFLAGS XORG_STRICT_OPTION -XORG_RELEASE_VERSION -XORG_CHANGELOG -XORG_INSTALL -XORG_MANPAGE_SECTIONS -m4_ifdef(AM_SILENT_RULES, AM_SILENT_RULES(yes), - AC_SUBST(AM_DEFAULT_VERBOSITY, 1)) +XORG_DEFAULT_NOCODE_OPTIONS ) # XORG_DEFAULT_OPTIONS # XORG_INSTALL()
View file
_service:tar_scm:libxcb-1.15.tar.xz/autogen.sh -> _service:tar_scm:libxcb-1.16.tar.xz/autogen.sh
Changed
@@ -1,14 +1,17 @@ #! /bin/sh -srcdir=`dirname $0` +srcdir=`dirname "$0"` test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` -cd $srcdir +cd "$srcdir" autoreconf -v --install || exit 1 -cd $ORIGDIR || exit $? +cd "$ORIGDIR" || exit $? + +git config --local --get format.subjectPrefix >/dev/null 2>&1 || + git config --local format.subjectPrefix "PATCH libxcb" if test -z "$NOCONFIGURE"; then - $srcdir/configure "$@" + exec "$srcdir"/configure "$@" fi
View file
_service:tar_scm:libxcb-1.15.tar.xz/build-aux/config.guess -> _service:tar_scm:libxcb-1.16.tar.xz/build-aux/config.guess
Changed
@@ -1,12 +1,14 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2021 Free Software Foundation, Inc. +# Copyright 1992-2023 Free Software Foundation, Inc. -timestamp='2021-01-01' +# shellcheck disable=SC2006,SC2268 # see below for rationale + +timestamp='2023-01-01' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -32,7 +34,15 @@ # Please send patches to <config-patches@gnu.org>. -me=$(echo "$0" | sed -e 's,.*/,,') +# The "shellcheck disable" line above the timestamp inhibits complaints +# about features and limitations of the classic Bourne shell that were +# superseded or lifted in POSIX. However, this script identifies a wide +# variety of pre-POSIX systems that do not have POSIX shells at all, and +# even some reasonably current systems (Solaris 10 as case-in-point) still +# have a pre-POSIX /bin/sh. + + +me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 OPTION @@ -50,7 +60,7 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2021 Free Software Foundation, Inc. +Copyright 1992-2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -84,6 +94,9 @@ exit 1 fi +# Just in case it came from the environment. +GUESS= + # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a @@ -102,8 +115,8 @@ # prevent multiple calls if $tmp is already set test "$tmp" && return 0 : "${TMPDIR=/tmp}" - # shellcheck disable=SC2039 - { tmp=$( (umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null) && test -n "$tmp" && test -d "$tmp" ; } || + # shellcheck disable=SC2039,SC3028 + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } @@ -112,7 +125,7 @@ ,,) echo "int x;" > "$dummy.c" for driver in cc gcc c89 c99 ; do if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then - CC_FOR_BUILD="$driver" + CC_FOR_BUILD=$driver break fi done @@ -131,12 +144,12 @@ PATH=$PATH:/.attbin ; export PATH fi -UNAME_MACHINE=$( (uname -m) 2>/dev/null) || UNAME_MACHINE=unknown -UNAME_RELEASE=$( (uname -r) 2>/dev/null) || UNAME_RELEASE=unknown -UNAME_SYSTEM=$( (uname -s) 2>/dev/null) || UNAME_SYSTEM=unknown -UNAME_VERSION=$( (uname -v) 2>/dev/null) || UNAME_VERSION=unknown +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown -case "$UNAME_SYSTEM" in +case $UNAME_SYSTEM in Linux|GNU|GNU/*) LIBC=unknown @@ -157,7 +170,8 @@ #endif #endif EOF - eval "$($CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g')" + cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` + eval "$cc_set_libc" # Second heuristic to detect musl libc. if "$LIBC" = unknown && @@ -176,7 +190,7 @@ # Note: order is significant - the case branches are not exclusive. -case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in +case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, @@ -188,12 +202,11 @@ # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". - sysctl="sysctl -n hw.machine_arch" - UNAME_MACHINE_ARCH=$( (uname -p 2>/dev/null || \ - "/sbin/$sysctl" 2>/dev/null || \ - "/usr/sbin/$sysctl" 2>/dev/null || \ - echo unknown)) - case "$UNAME_MACHINE_ARCH" in + UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ + /sbin/sysctl -n hw.machine_arch 2>/dev/null || \ + /usr/sbin/sysctl -n hw.machine_arch 2>/dev/null || \ + echo unknown)` + case $UNAME_MACHINE_ARCH in aarch64eb) machine=aarch64_be-unknown ;; armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; @@ -201,15 +214,15 @@ sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; earmv*) - arch=$(echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv0-9\).*$,\1,') - endian=$(echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p') - machine="${arch}${endian}"-unknown + arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv0-9\).*$,\1,'` + endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'` + machine=${arch}${endian}-unknown ;; - *) machine="$UNAME_MACHINE_ARCH"-unknown ;; + *) machine=$UNAME_MACHINE_ARCH-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently (or will in the future) and ABI. - case "$UNAME_MACHINE_ARCH" in + case $UNAME_MACHINE_ARCH in earm*) os=netbsdelf ;; @@ -230,10 +243,10 @@ ;; esac # Determine ABI tags. - case "$UNAME_MACHINE_ARCH" in + case $UNAME_MACHINE_ARCH in earm*) expr='s/^earmv0-9/-eabi/;s/eb$//' - abi=$(echo "$UNAME_MACHINE_ARCH" | sed -e "$expr") + abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` ;; esac # The OS release @@ -241,76 +254,82 @@ # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. - case "$UNAME_VERSION" in + case $UNAME_VERSION in Debian*) release='-gnu' ;; *) - release=$(echo "$UNAME_RELEASE" | sed -e 's/-_.*//' | cut -d. -f1,2) + release=`echo "$UNAME_RELEASE" | sed -e 's/-_.*//' | cut -d. -f1,2` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "$machine-${os}${release}${abi-}" - exit ;; + GUESS=$machine-${os}${release}${abi-} + ;; *:Bitrig:*:*) - UNAME_MACHINE_ARCH=$(arch | sed 's/Bitrig.//') - echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE" - exit ;; + UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` + GUESS=$UNAME_MACHINE_ARCH-unknown-bitrig$UNAME_RELEASE + ;; *:OpenBSD:*:*) - UNAME_MACHINE_ARCH=$(arch | sed 's/OpenBSD.//') - echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE" - exit ;; + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + GUESS=$UNAME_MACHINE_ARCH-unknown-openbsd$UNAME_RELEASE + ;; + *:SecBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/SecBSD.//'`
View file
_service:tar_scm:libxcb-1.15.tar.xz/build-aux/config.sub -> _service:tar_scm:libxcb-1.16.tar.xz/build-aux/config.sub
Changed
@@ -1,12 +1,14 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright 1992-2021 Free Software Foundation, Inc. +# Copyright 1992-2023 Free Software Foundation, Inc. -timestamp='2021-01-07' +# shellcheck disable=SC2006,SC2268 # see below for rationale + +timestamp='2023-01-21' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -50,7 +52,14 @@ # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. -me=$(echo "$0" | sed -e 's,.*/,,') +# The "shellcheck disable" line above the timestamp inhibits complaints +# about features and limitations of the classic Bourne shell that were +# superseded or lifted in POSIX. However, this script identifies a wide +# variety of pre-POSIX systems that do not have POSIX shells at all, and +# even some reasonably current systems (Solaris 10 as case-in-point) still +# have a pre-POSIX /bin/sh. + +me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 OPTION CPU-MFR-OPSYS or ALIAS @@ -67,7 +76,7 @@ version="\ GNU config.sub ($timestamp) -Copyright 1992-2021 Free Software Foundation, Inc. +Copyright 1992-2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -112,9 +121,11 @@ # Split fields of configuration type # shellcheck disable=SC2162 +saved_IFS=$IFS IFS="-" read field1 field2 field3 field4 <<EOF $1 EOF +IFS=$saved_IFS # Separate into logical components for further validation case $1 in @@ -134,7 +145,7 @@ nto-qnx* | linux-* | uclinux-uclibc* \ | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \ | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \ - | storm-chaos* | os2-emx* | rtmk-nova*) + | storm-chaos* | os2-emx* | rtmk-nova* | managarm-*) basic_machine=$field1 basic_os=$maybe_os ;; @@ -163,6 +174,10 @@ basic_machine=$field1 basic_os=$field2 ;; + zephyr*) + basic_machine=$field1-unknown + basic_os=$field2 + ;; # Manufacturers dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \ | att* | 7300* | 3300* | delta* | motorola* | sun234* \ @@ -769,22 +784,22 @@ vendor=hp ;; i*86v32) - cpu=$(echo "$1" | sed -e 's/86.*/86/') + cpu=`echo "$1" | sed -e 's/86.*/86/'` vendor=pc basic_os=sysv32 ;; i*86v4*) - cpu=$(echo "$1" | sed -e 's/86.*/86/') + cpu=`echo "$1" | sed -e 's/86.*/86/'` vendor=pc basic_os=sysv4 ;; i*86v) - cpu=$(echo "$1" | sed -e 's/86.*/86/') + cpu=`echo "$1" | sed -e 's/86.*/86/'` vendor=pc basic_os=sysv ;; i*86sol2) - cpu=$(echo "$1" | sed -e 's/86.*/86/') + cpu=`echo "$1" | sed -e 's/86.*/86/'` vendor=pc basic_os=solaris2 ;; @@ -813,27 +828,6 @@ vendor=atari basic_os=mint ;; - mipsEE* | ee) - cpu=mips64r5900el - vendor=scei - case $os in - linux*) - ;; - *) - os=elf - ;; - esac - ;; - iop) - cpu=mipsel - vendor=scei - os=irx - ;; - dvp) - cpu=dvp - vendor=scei - os=elf - ;; news-3600 | risc-news) cpu=mips vendor=sony @@ -938,14 +932,16 @@ ;; leon-*|leon3-9-*) cpu=sparc - vendor=$(echo "$basic_machine" | sed 's/-.*//') + vendor=`echo "$basic_machine" | sed 's/-.*//'` ;; *-*) # shellcheck disable=SC2162 + saved_IFS=$IFS IFS="-" read cpu vendor <<EOF $basic_machine EOF + IFS=$saved_IFS ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and @@ -1024,6 +1020,11 @@ ;; # Here we normalize CPU types with a missing or matching vendor + armh-unknown | armh-alt) + cpu=armv7l + vendor=alt + basic_os=${basic_os:-linux-gnueabihf} + ;; dpx20-unknown | dpx20-bull) cpu=rs6000 vendor=bull @@ -1074,7 +1075,7 @@ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) cpu=i586 ;; - pentiumpro-* | p6-* | 6x86-* | athlon-* | athalon_*-*) + pentiumpro-* | p6-* | 6x86-* | athlon-* | athlon_*-*) cpu=i686 ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) @@ -1105,7 +1106,7 @@ cpu=mipsisa64sb1el ;; sh5elb-*) - cpu=$(echo "$cpu" | sed 's/^\(sh.\)e\(.\)$/\1\2e/') + cpu=`echo "$cpu" | sed 's/^\(sh.\)e\(.\)$/\1\2e/'` ;; spur-*) cpu=spur @@ -1123,9 +1124,9 @@ cpu=x86_64 ;; xscale-* | xscaleebl-*) - cpu=$(echo "$cpu" | sed 's/^xscale/arm/') + cpu=`echo "$cpu" | sed 's/^xscale/arm/'` ;; - arm64-*) + arm64-* | aarch64le-*) cpu=aarch64 ;; @@ -1186,7 +1187,7 @@ | alphapca567 | alpha64pca567 \ | am33_2.0 \ | amdgcn \ - | arc | arceb \ + | arc | arceb | arc32 | arc64 \ | arm | armlbe | armelb | armv* \ | avr | avr32 \ | asmjs \ @@ -1195,7 +1196,7 @@
View file
_service:tar_scm:libxcb-1.15.tar.xz/build-aux/ltmain.sh -> _service:tar_scm:libxcb-1.16.tar.xz/build-aux/ltmain.sh
Changed
@@ -1,12 +1,12 @@ -#! /bin/sh +#! /usr/bin/env sh ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in -## by inline-source v2014-01-03.01 +## by inline-source v2019-02-19.15 -# libtool (GNU libtool) 2.4.6 +# libtool (GNU libtool) 2.4.7 # Provide generalized library-building support services. # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 -# Copyright (C) 1996-2015 Free Software Foundation, Inc. +# Copyright (C) 1996-2019, 2021-2022 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. @@ -31,8 +31,8 @@ PROGRAM=libtool PACKAGE=libtool -VERSION=2.4.6 -package_revision=2.4.6 +VERSION=2.4.7 +package_revision=2.4.7 ## ------ ## @@ -64,34 +64,25 @@ # libraries, which are installed to $pkgauxdir. # Set a version string for this script. -scriptversion=2015-10-04.22; # UTC +scriptversion=2019-02-19.15; # UTC # General shell script boiler plate, and helper functions. # Written by Gary V. Vaughan, 2004 -# Copyright (C) 2004-2015 Free Software Foundation, Inc. -# This is free software; see the source for copying conditions. There is NO -# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. - -# As a special exception to the GNU General Public License, if you distribute -# this file as part of a program or library that is built using GNU Libtool, -# you may include this file under the same distribution terms that you use -# for the rest of that program. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# This is free software. There is NO warranty; not even for +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# +# Copyright (C) 2004-2019, 2021 Bootstrap Authors +# +# This file is dual licensed under the terms of the MIT license +# <https://opensource.org/license/MIT>, and GPL version 2 or later +# <http://www.gnu.org/licenses/gpl-2.0.html>. You must apply one of +# these licenses when using or redistributing this software or any of +# the files within it. See the URLs above, or the file `LICENSE` +# included in the Bootstrap distribution for the full license texts. -# Please report bugs or propose patches to gary@gnu.org. +# Please report bugs or propose patches to: +# <https://github.com/gnulib-modules/bootstrap/issues> ## ------ ## @@ -139,9 +130,12 @@ _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\" fi" done - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH +# These NLS vars are set unconditionally (bootstrap issue #24). Unset those +# in case the environment reset is needed later and the $save_* variant is not +# defined (see the code above). +LC_ALL=C +LANGUAGE=C +export LANGUAGE LC_ALL # Make sure IFS has a sensible default sp=' ' @@ -159,6 +153,26 @@ fi +# func_unset VAR +# -------------- +# Portably unset VAR. +# In some shells, an 'unset VAR' statement leaves a non-zero return +# status if VAR is already unset, which might be problematic if the +# statement is used at the end of a function (thus poisoning its return +# value) or when 'set -e' is active (causing even a spurious abort of +# the script in this case). +func_unset () +{ + { eval $1=; (eval unset $1) >/dev/null 2>&1 && eval unset $1 || : ; } +} + + +# Make sure CDPATH doesn't cause `cd` commands to output the target dir. +func_unset CDPATH + +# Make sure ${,E,F}GREP behave sanely. +func_unset GREP_OPTIONS + ## ------------------------- ## ## Locate command utilities. ## @@ -259,7 +273,7 @@ rm -f conftest.in conftest.tmp conftest.nl conftest.out } - func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin + func_path_progs "sed gsed" func_check_prog_sed "$PATH:/usr/xpg4/bin" rm -f conftest.sed SED=$func_path_progs_result } @@ -295,7 +309,7 @@ rm -f conftest.in conftest.tmp conftest.nl conftest.out } - func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin + func_path_progs "grep ggrep" func_check_prog_grep "$PATH:/usr/xpg4/bin" GREP=$func_path_progs_result } @@ -360,6 +374,35 @@ s/\\(^$_G_bs\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g s/\n//g" +# require_check_ifs_backslash +# --------------------------- +# Check if we can use backslash as IFS='\' separator, and set +# $check_ifs_backshlash_broken to ':' or 'false'. +require_check_ifs_backslash=func_require_check_ifs_backslash +func_require_check_ifs_backslash () +{ + _G_save_IFS=$IFS + IFS='\' + _G_check_ifs_backshlash='a\\b' + for _G_i in $_G_check_ifs_backshlash + do + case $_G_i in + a) + check_ifs_backshlash_broken=false + ;; + '') + break + ;; + *) + check_ifs_backshlash_broken=: + break + ;; + esac + done + IFS=$_G_save_IFS + require_check_ifs_backslash=: +} + ## ----------------- ## ## Global variables. ## @@ -580,16 +623,16 @@ { $debug_cmd - func_quote_for_eval "$2" - eval "$1+=\\ \$func_quote_for_eval_result" + func_quote_arg pretty "$2" + eval "$1+=\\ \$func_quote_arg_result" }' else func_append_quoted () { $debug_cmd - func_quote_for_eval "$2" - eval "$1=\$$1\\ \$func_quote_for_eval_result" + func_quote_arg pretty "$2" + eval "$1=\$$1\\ \$func_quote_arg_result" } fi @@ -1091,132 +1134,203 @@ } -# func_quote ARG
View file
_service:tar_scm:libxcb-1.15.tar.xz/configure -> _service:tar_scm:libxcb-1.16.tar.xz/configure
Changed
@@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for libxcb 1.15. +# Generated by GNU Autoconf 2.71 for libxcb 1.16. # # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxcb/issues>. # @@ -622,8 +622,8 @@ # Identity of this package. PACKAGE_NAME='libxcb' PACKAGE_TARNAME='libxcb' -PACKAGE_VERSION='1.15' -PACKAGE_STRING='libxcb 1.15' +PACKAGE_VERSION='1.16' +PACKAGE_STRING='libxcb 1.16' PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxcb/issues' PACKAGE_URL='' @@ -666,7 +666,6 @@ LIBOBJS XCB_SERVERSIDE_SUPPORT_FALSE XCB_SERVERSIDE_SUPPORT_TRUE -LAUNCHD BUILD_XVMC_FALSE BUILD_XVMC_TRUE BUILD_XV_FALSE @@ -717,6 +716,8 @@ BUILD_DRI2_TRUE BUILD_DPMS_FALSE BUILD_DPMS_TRUE +BUILD_DBE_FALSE +BUILD_DBE_TRUE BUILD_DAMAGE_FALSE BUILD_DAMAGE_TRUE BUILD_COMPOSITE_FALSE @@ -782,6 +783,7 @@ RANLIB ac_ct_AR AR +FILECMD LN_S NM ac_ct_DUMPBIN @@ -921,6 +923,7 @@ with_queue_size enable_composite enable_damage +enable_dbe enable_dpms enable_dri2 enable_dri3 @@ -946,7 +949,6 @@ enable_xtest enable_xv enable_xvmc -with_launchd with_serverside_support ' ac_precious_vars='build_alias @@ -1520,7 +1522,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures libxcb 1.15 to adapt to many kinds of systems. +\`configure' configures libxcb 1.16 to adapt to many kinds of systems. Usage: $0 OPTION... VAR=VALUE... @@ -1591,7 +1593,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libxcb 1.15:";; + short | recursive ) echo "Configuration of libxcb 1.16:";; esac cat <<\_ACEOF @@ -1620,6 +1622,7 @@ (default: yes) --enable-composite Build XCB Composite Extension (default: yes) --enable-damage Build XCB Damage Extension (default: yes) + --enable-dbe Build XCB Dbe Extension (default: yes) --enable-dpms Build XCB DPMS Extension (default: yes) --enable-dri2 Build XCB DRI2 Extension (default: yes) --enable-dri3 Build XCB DRI3 Extension (default: auto) @@ -1665,8 +1668,6 @@ --with-doxygen Use doxygen to regenerate documentation (default: auto) --with-queue-size=SIZE Set the XCB buffer queue size (default is 16384) - --with-launchd Build with support for Apple's launchd (default: - auto) --with-serverside-support Build with support for server-side usage of xcb. This is still EXPERIMENTAL! ABI/API may change! @@ -1771,7 +1772,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libxcb configure 1.15 +libxcb configure 1.16 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -1923,7 +1924,7 @@ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. */ + which can conflict with char $2 (void); below. */ #include <limits.h> #undef $2 @@ -1934,7 +1935,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +char $2 (void); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ @@ -2101,7 +2102,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libxcb $as_me 1.15, which was +It was created by libxcb $as_me 1.16, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -2388,9 +2389,7 @@ /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ struct buf { int x; }; struct buf * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; +static char *e (char **p, int i) { return pi; } @@ -2441,6 +2440,7 @@ extern int printf (const char *, ...); extern int dprintf (int, const char *, ...); extern void *malloc (size_t); +extern void free (void *); // Check varargs macros. These examples are taken from C99 6.10.3.5. // dprintf is used instead of fprintf to avoid needing to declare @@ -3379,7 +3379,7 @@ # Define the identity of the package. PACKAGE='libxcb' - VERSION='1.15' + VERSION='1.16' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -3490,13 +3490,13 @@ if test -n "$PYTHON"; then # If the user set $PYTHON, use it and don't search something else. - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6" >&5 -printf %s "checking whether $PYTHON version is >= 2.6... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.0" >&5 +printf %s "checking whether $PYTHON version is >= 3.0... " >&6; } prog="import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x -minver = list(map(int, '2.6'.split('.'))) + 0, 0, 0 +minver = list(map(int, '3.0'.split('.'))) + 0, 0, 0 minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minveri @@ -3518,8 +3518,8 @@ else # Otherwise, try each interpreter until we find one that satisfies # VERSION. - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5 -printf %s "checking for a Python interpreter with version >= 2.6... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.0" >&5 +printf %s "checking for a Python interpreter with version >= 3.0... " >&6; } if test ${am_cv_pathless_PYTHON+y} then : printf %s "(cached) " >&6 @@ -3531,7 +3531,7 @@ # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x -minver = list(map(int, '2.6'.split('.'))) + 0, 0, 0 +minver = list(map(int, '3.0'.split('.'))) + 0, 0, 0 minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minveri @@ -5313,8 +5313,8 @@
View file
_service:tar_scm:libxcb-1.15.tar.xz/configure.ac -> _service:tar_scm:libxcb-1.16.tar.xz/configure.ac
Changed
@@ -2,7 +2,7 @@ # Initialize Autoconf AC_PREREQ(2.60) -AC_INIT(libxcb,1.15, +AC_INIT(libxcb,1.16, https://gitlab.freedesktop.org/xorg/lib/libxcb/issues, libxcb) AC_CONFIG_AUX_DIR(build-aux) @@ -12,7 +12,7 @@ # Initialize Automake AM_INIT_AUTOMAKE(foreign dist-xz) -AM_PATH_PYTHON(2.6) +AM_PATH_PYTHON(3.0) # Set common system defines for POSIX extensions, such as _GNU_SOURCE # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL) @@ -50,10 +50,10 @@ AC_SUBST(HTML_CHECK_RESULT) # Checks for pkg-config packages -PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.14) +PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.16.0) NEEDED="xau >= 0.99.2" case $host_os in -linux*) ;; +linux*|darwin*|solaris*|dragonfly*|freebsd*) ;; *) NEEDED="$NEEDED pthread-stubs" ;; esac PKG_CHECK_MODULES(NEEDED, $NEEDED) @@ -90,7 +90,6 @@ AC_MSG_RESULT($XCBPROTO_XCBPYTHONDIR) AC_SUBST(XCBPROTO_XCBPYTHONDIR) -AC_HEADER_STDC AC_SEARCH_LIBS(getaddrinfo, socket) AC_SEARCH_LIBS(connect, socket) @@ -221,6 +220,7 @@ XCB_EXTENSION(Composite, yes) XCB_EXTENSION(Damage, yes) +XCB_EXTENSION(Dbe, yes) XCB_EXTENSION(DPMS, yes) XCB_EXTENSION(DRI2, yes) XCB_EXTENSION(DRI3, $have_sendmsg) @@ -247,16 +247,6 @@ XCB_EXTENSION(Xv, yes) XCB_EXTENSION(XvMC, yes) -AC_ARG_WITH(launchd, AS_HELP_STRING(--with-launchd, Build with support for Apple's launchd (default: auto)), LAUNCHD=$withval, LAUNCHD=auto) -if test "x$LAUNCHD" = xauto; then - unset LAUNCHD - AC_CHECK_PROG(LAUNCHD, launchd, yes, no, $PATH$PATH_SEPARATOR/sbin) -fi - -if test "x$LAUNCHD" = xyes ; then - AC_DEFINE(HAVE_LAUNCHD, 1, launchd support available) -fi - AC_ARG_WITH(serverside-support, AS_HELP_STRING(--with-serverside-support, Build with support for server-side usage of xcb. This is still EXPERIMENTAL! ABI/API may change! (default: no)), XCB_SERVERSIDE_SUPPORT=$withval, XCB_SERVERSIDE_SUPPORT=no) AM_CONDITIONAL(XCB_SERVERSIDE_SUPPORT, test "x$XCB_SERVERSIDE_SUPPORT" = "xyes") @@ -273,6 +263,7 @@ xcb.pc xcb-composite.pc xcb-damage.pc +xcb-dbe.pc xcb-dpms.pc xcb-dri2.pc xcb-dri3.pc @@ -321,6 +312,7 @@ echo " X11 extensions" echo " Composite...........: ${BUILD_COMPOSITE}" echo " Damage..............: ${BUILD_DAMAGE}" +echo " Dbe.................: ${BUILD_DBE}" echo " Dpms................: ${BUILD_DPMS}" echo " Dri2................: ${BUILD_DRI2}" echo " Dri3................: ${BUILD_DRI3}"
View file
_service:tar_scm:libxcb-1.15.tar.xz/doc/Makefile.in -> _service:tar_scm:libxcb-1.16.tar.xz/doc/Makefile.in
Changed
@@ -164,6 +164,7 @@ ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +FILECMD = @FILECMD@ FILE_MAN_DIR = @FILE_MAN_DIR@ FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ GREP = @GREP@ @@ -175,7 +176,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LAUNCHD = @LAUNCHD@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@
View file
_service:tar_scm:libxcb-1.15.tar.xz/doc/tutorial/index.html -> _service:tar_scm:libxcb-1.16.tar.xz/doc/tutorial/index.html
Changed
@@ -2297,9 +2297,7 @@ values0 = screen->white_pixel; values1 = XCB_EVENT_MASK_KEY_RELEASE | - XCB_EVENT_MASK_BUTTON_PRESS | - XCB_EVENT_MASK_EXPOSURE | - XCB_EVENT_MASK_POINTER_MOTION; + XCB_EVENT_MASK_EXPOSURE; cookie_window = xcb_create_window_checked (c, screen->root_depth, window, screen->root,
View file
_service:tar_scm:libxcb-1.15.tar.xz/m4/libtool.m4 -> _service:tar_scm:libxcb-1.16.tar.xz/m4/libtool.m4
Changed
@@ -1,6 +1,7 @@ # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # -# Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc. +# Copyright (C) 1996-2001, 2003-2019, 2021-2022 Free Software +# Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is free software; the Free Software Foundation gives @@ -31,7 +32,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. ) -# serial 58 LT_INIT +# serial 59 LT_INIT # LT_PREREQ(VERSION) @@ -181,6 +182,7 @@ m4_require(_LT_CHECK_SHELL_FEATURES)dnl m4_require(_LT_PATH_CONVERSION_FUNCTIONS)dnl m4_require(_LT_CMD_RELOAD)dnl +m4_require(_LT_DECL_FILECMD)dnl m4_require(_LT_CHECK_MAGIC_METHOD)dnl m4_require(_LT_CHECK_SHAREDLIB_FROM_LINKLIB)dnl m4_require(_LT_CMD_OLD_ARCHIVE)dnl @@ -219,8 +221,8 @@ ofile=libtool can_build_shared=yes -# All known linkers require a '.a' archive for static linking (except MSVC, -# which needs '.lib'). +# All known linkers require a '.a' archive for static linking (except MSVC and +# ICC, which need '.lib'). libext=a with_gnu_ld=$lt_cv_prog_gnu_ld @@ -778,7 +780,7 @@ # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? - sed '$q' "$ltmain" >> "$cfgfile" \ + $SED '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || @@ -1042,8 +1044,8 @@ _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD - echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD - $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD + echo "$AR $AR_FLAGS libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD + $AR $AR_FLAGS libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD cat > conftest.c << _LT_EOF @@ -1067,17 +1069,12 @@ _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; - darwin*) # darwin 5.x on - # if running on 10.5 or later, the deployment target defaults - # to the OS version, if on x86, and 10.4, the deployment - # target defaults to 10.4. Don't you love it? - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in - 10.0,*86*-darwin8*|10.0,*-darwin91*) - _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; - 10.012,.*) - _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; - 10.*|11.*) - _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; + darwin*) + case $MACOSX_DEPLOYMENT_TARGET,$host in + 10.012,*|,*powerpc*-darwin5-8*) + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; + *) + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; esac ;; esac @@ -1126,12 +1123,12 @@ output_verbose_link_cmd=func_echo_all _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" - _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" - _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" + _LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" + _LT_TAGVAR(module_expsym_cmds, $1)="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" m4_if($1, CXX, if test yes != "$lt_cv_apple_cc_single_mod"; then _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" - _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" + _LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" fi ,) else @@ -1245,7 +1242,8 @@ # _LT_WITH_SYSROOT # ---------------- AC_DEFUN(_LT_WITH_SYSROOT, -AC_MSG_CHECKING(for sysroot) +m4_require(_LT_DECL_SED)dnl +AC_MSG_CHECKING(for sysroot) AC_ARG_WITH(sysroot, AS_HELP_STRING(--with-sysroot@<:@=DIR@:>@, Search for dependent libraries within DIR (or the compiler's sysroot @@ -1262,7 +1260,7 @@ fi ;; #( /*) - lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"` ;; #( no|'') ;; #( @@ -1292,7 +1290,7 @@ # options accordingly. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE=32 ;; @@ -1309,7 +1307,7 @@ echo '#line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test yes = "$lt_cv_prog_gnu_ld"; then - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; @@ -1321,7 +1319,7 @@ ;; esac else - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; @@ -1343,7 +1341,7 @@ echo '#line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then emul=elf - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *32-bit*) emul="${emul}32" ;; @@ -1351,7 +1349,7 @@ emul="${emul}64" ;; esac - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *MSB*) emul="${emul}btsmip" ;; @@ -1359,7 +1357,7 @@ emul="${emul}ltsmip" ;; esac - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *N32*) emul="${emul}n32" ;; @@ -1379,14 +1377,14 @@ # not appear in the list. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in + case `$FILECMD conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) - case `/usr/bin/file conftest.o` in + case `$FILECMD conftest.o` in *x86-64*) LD="${LD-ld} -m elf32_x86_64" ;; @@ -1454,7 +1452,7 @@ # options accordingly. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in + case `$FILECMD conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) @@ -1493,9 +1491,22 @@ m4_defun(_LT_PROG_AR, AC_CHECK_TOOLS(AR, ar, false) : ${AR=ar}
View file
_service:tar_scm:libxcb-1.15.tar.xz/m4/ltoptions.m4 -> _service:tar_scm:libxcb-1.16.tar.xz/m4/ltoptions.m4
Changed
@@ -1,7 +1,7 @@ # Helper functions for option handling. -*- Autoconf -*- # -# Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software -# Foundation, Inc. +# Copyright (C) 2004-2005, 2007-2009, 2011-2019, 2021-2022 Free +# Software Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives
View file
_service:tar_scm:libxcb-1.15.tar.xz/m4/ltsugar.m4 -> _service:tar_scm:libxcb-1.16.tar.xz/m4/ltsugar.m4
Changed
@@ -1,6 +1,6 @@ # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # -# Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software +# Copyright (C) 2004-2005, 2007-2008, 2011-2019, 2021-2022 Free Software # Foundation, Inc. # Written by Gary V. Vaughan, 2004 #
View file
_service:tar_scm:libxcb-1.15.tar.xz/m4/ltversion.m4 -> _service:tar_scm:libxcb-1.16.tar.xz/m4/ltversion.m4
Changed
@@ -1,6 +1,7 @@ # ltversion.m4 -- version numbers -*- Autoconf -*- # -# Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. +# Copyright (C) 2004, 2011-2019, 2021-2022 Free Software Foundation, +# Inc. # Written by Scott James Remnant, 2004 # # This file is free software; the Free Software Foundation gives @@ -9,15 +10,15 @@ # @configure_input@ -# serial 4179 ltversion.m4 +# serial 4245 ltversion.m4 # This file is part of GNU Libtool -m4_define(LT_PACKAGE_VERSION, 2.4.6) -m4_define(LT_PACKAGE_REVISION, 2.4.6) +m4_define(LT_PACKAGE_VERSION, 2.4.7) +m4_define(LT_PACKAGE_REVISION, 2.4.7) AC_DEFUN(LTVERSION_VERSION, -macro_version='2.4.6' -macro_revision='2.4.6' +macro_version='2.4.7' +macro_revision='2.4.7' _LT_DECL(, macro_version, 0, Which release of libtool.m4 was used?) _LT_DECL(, macro_revision, 0) )
View file
_service:tar_scm:libxcb-1.15.tar.xz/m4/lt~obsolete.m4 -> _service:tar_scm:libxcb-1.16.tar.xz/m4/lt~obsolete.m4
Changed
@@ -1,7 +1,7 @@ # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # -# Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software -# Foundation, Inc. +# Copyright (C) 2004-2005, 2007, 2009, 2011-2019, 2021-2022 Free +# Software Foundation, Inc. # Written by Scott James Remnant, 2004. # # This file is free software; the Free Software Foundation gives
View file
_service:tar_scm:libxcb-1.15.tar.xz/man/Makefile.in -> _service:tar_scm:libxcb-1.16.tar.xz/man/Makefile.in
Changed
@@ -193,6 +193,7 @@ ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +FILECMD = @FILECMD@ FILE_MAN_DIR = @FILE_MAN_DIR@ FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ GREP = @GREP@ @@ -204,7 +205,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LAUNCHD = @LAUNCHD@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@
View file
_service:tar_scm:libxcb-1.15.tar.xz/src/Makefile.am -> _service:tar_scm:libxcb-1.16.tar.xz/src/Makefile.am
Changed
@@ -40,6 +40,14 @@ nodist_libxcb_damage_la_SOURCES = damage.c damage.h endif +EXTSOURCES += dbe.c +if BUILD_DBE +lib_LTLIBRARIES += libxcb-dbe.la +libxcb_dbe_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@ +libxcb_dbe_la_LIBADD = $(XCB_LIBS) +nodist_libxcb_dbe_la_SOURCES = dbe.c dbe.h +endif + EXTSOURCES += dpms.c if BUILD_DPMS lib_LTLIBRARIES += libxcb-dpms.la
View file
_service:tar_scm:libxcb-1.15.tar.xz/src/Makefile.in -> _service:tar_scm:libxcb-1.16.tar.xz/src/Makefile.in
Changed
@@ -92,33 +92,34 @@ host_triplet = @host@ @BUILD_COMPOSITE_TRUE@am__append_1 = libxcb-composite.la @BUILD_DAMAGE_TRUE@am__append_2 = libxcb-damage.la -@BUILD_DPMS_TRUE@am__append_3 = libxcb-dpms.la -@BUILD_DRI2_TRUE@am__append_4 = libxcb-dri2.la -@BUILD_DRI3_TRUE@am__append_5 = libxcb-dri3.la -@BUILD_PRESENT_TRUE@am__append_6 = libxcb-present.la -@BUILD_GLX_TRUE@am__append_7 = libxcb-glx.la -@BUILD_RANDR_TRUE@am__append_8 = libxcb-randr.la -@BUILD_RECORD_TRUE@am__append_9 = libxcb-record.la -@BUILD_RENDER_TRUE@am__append_10 = libxcb-render.la -@BUILD_RESOURCE_TRUE@am__append_11 = libxcb-res.la -@BUILD_SCREENSAVER_TRUE@am__append_12 = libxcb-screensaver.la -@BUILD_SHAPE_TRUE@am__append_13 = libxcb-shape.la -@BUILD_SHM_TRUE@am__append_14 = libxcb-shm.la -@BUILD_SYNC_TRUE@am__append_15 = libxcb-sync.la -@BUILD_XEVIE_TRUE@am__append_16 = libxcb-xevie.la -@BUILD_XFREE86_DRI_TRUE@am__append_17 = libxcb-xf86dri.la -@BUILD_XFIXES_TRUE@am__append_18 = libxcb-xfixes.la -@BUILD_XINERAMA_TRUE@am__append_19 = libxcb-xinerama.la -@BUILD_XINPUT_TRUE@am__append_20 = libxcb-xinput.la -@BUILD_XKB_TRUE@am__append_21 = libxcb-xkb.la -@BUILD_XPRINT_TRUE@am__append_22 = libxcb-xprint.la -@BUILD_SELINUX_TRUE@am__append_23 = libxcb-xselinux.la -@BUILD_XTEST_TRUE@am__append_24 = libxcb-xtest.la -@BUILD_XV_TRUE@am__append_25 = libxcb-xv.la -@BUILD_XVMC_TRUE@am__append_26 = libxcb-xvmc.la -@BUILD_GE_TRUE@am__append_27 = libxcb-ge.la -@XCB_HAVE_WIN32_TRUE@am__append_28 = xcb_windefs.h -@XCB_SERVERSIDE_SUPPORT_TRUE@am__append_29 = --server-side +@BUILD_DBE_TRUE@am__append_3 = libxcb-dbe.la +@BUILD_DPMS_TRUE@am__append_4 = libxcb-dpms.la +@BUILD_DRI2_TRUE@am__append_5 = libxcb-dri2.la +@BUILD_DRI3_TRUE@am__append_6 = libxcb-dri3.la +@BUILD_PRESENT_TRUE@am__append_7 = libxcb-present.la +@BUILD_GLX_TRUE@am__append_8 = libxcb-glx.la +@BUILD_RANDR_TRUE@am__append_9 = libxcb-randr.la +@BUILD_RECORD_TRUE@am__append_10 = libxcb-record.la +@BUILD_RENDER_TRUE@am__append_11 = libxcb-render.la +@BUILD_RESOURCE_TRUE@am__append_12 = libxcb-res.la +@BUILD_SCREENSAVER_TRUE@am__append_13 = libxcb-screensaver.la +@BUILD_SHAPE_TRUE@am__append_14 = libxcb-shape.la +@BUILD_SHM_TRUE@am__append_15 = libxcb-shm.la +@BUILD_SYNC_TRUE@am__append_16 = libxcb-sync.la +@BUILD_XEVIE_TRUE@am__append_17 = libxcb-xevie.la +@BUILD_XFREE86_DRI_TRUE@am__append_18 = libxcb-xf86dri.la +@BUILD_XFIXES_TRUE@am__append_19 = libxcb-xfixes.la +@BUILD_XINERAMA_TRUE@am__append_20 = libxcb-xinerama.la +@BUILD_XINPUT_TRUE@am__append_21 = libxcb-xinput.la +@BUILD_XKB_TRUE@am__append_22 = libxcb-xkb.la +@BUILD_XPRINT_TRUE@am__append_23 = libxcb-xprint.la +@BUILD_SELINUX_TRUE@am__append_24 = libxcb-xselinux.la +@BUILD_XTEST_TRUE@am__append_25 = libxcb-xtest.la +@BUILD_XV_TRUE@am__append_26 = libxcb-xv.la +@BUILD_XVMC_TRUE@am__append_27 = libxcb-xvmc.la +@BUILD_GE_TRUE@am__append_28 = libxcb-ge.la +@XCB_HAVE_WIN32_TRUE@am__append_29 = xcb_windefs.h +@XCB_SERVERSIDE_SUPPORT_TRUE@am__append_30 = --server-side subdir = src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ @@ -184,6 +185,13 @@ $(AM_CFLAGS) $(CFLAGS) $(libxcb_damage_la_LDFLAGS) $(LDFLAGS) \ -o $@ @BUILD_DAMAGE_TRUE@am_libxcb_damage_la_rpath = -rpath $(libdir) +@BUILD_DBE_TRUE@libxcb_dbe_la_DEPENDENCIES = $(XCB_LIBS) +@BUILD_DBE_TRUE@nodist_libxcb_dbe_la_OBJECTS = dbe.lo +libxcb_dbe_la_OBJECTS = $(nodist_libxcb_dbe_la_OBJECTS) +libxcb_dbe_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(libxcb_dbe_la_LDFLAGS) $(LDFLAGS) -o $@ +@BUILD_DBE_TRUE@am_libxcb_dbe_la_rpath = -rpath $(libdir) @BUILD_DPMS_TRUE@libxcb_dpms_la_DEPENDENCIES = $(XCB_LIBS) @BUILD_DPMS_TRUE@nodist_libxcb_dpms_la_OBJECTS = dpms.lo libxcb_dpms_la_OBJECTS = $(nodist_libxcb_dpms_la_OBJECTS) @@ -408,9 +416,9 @@ depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/bigreq.Plo ./$(DEPDIR)/composite.Plo \ - ./$(DEPDIR)/damage.Plo ./$(DEPDIR)/dpms.Plo \ - ./$(DEPDIR)/dri2.Plo ./$(DEPDIR)/dri3.Plo ./$(DEPDIR)/ge.Plo \ - ./$(DEPDIR)/glx.Plo ./$(DEPDIR)/present.Plo \ + ./$(DEPDIR)/damage.Plo ./$(DEPDIR)/dbe.Plo \ + ./$(DEPDIR)/dpms.Plo ./$(DEPDIR)/dri2.Plo ./$(DEPDIR)/dri3.Plo \ + ./$(DEPDIR)/ge.Plo ./$(DEPDIR)/glx.Plo ./$(DEPDIR)/present.Plo \ ./$(DEPDIR)/randr.Plo ./$(DEPDIR)/record.Plo \ ./$(DEPDIR)/render.Plo ./$(DEPDIR)/res.Plo \ ./$(DEPDIR)/screensaver.Plo ./$(DEPDIR)/shape.Plo \ @@ -446,6 +454,7 @@ am__v_CCLD_1 = SOURCES = $(nodist_libxcb_composite_la_SOURCES) \ $(nodist_libxcb_damage_la_SOURCES) \ + $(nodist_libxcb_dbe_la_SOURCES) \ $(nodist_libxcb_dpms_la_SOURCES) \ $(nodist_libxcb_dri2_la_SOURCES) \ $(nodist_libxcb_dri3_la_SOURCES) \ @@ -543,6 +552,7 @@ ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +FILECMD = @FILECMD@ FILE_MAN_DIR = @FILE_MAN_DIR@ FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ GREP = @GREP@ @@ -554,7 +564,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LAUNCHD = @LAUNCHD@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ @@ -681,14 +690,14 @@ $(am__append_18) $(am__append_19) $(am__append_20) \ $(am__append_21) $(am__append_22) $(am__append_23) \ $(am__append_24) $(am__append_25) $(am__append_26) \ - $(am__append_27) + $(am__append_27) $(am__append_28) # FIXME: find a way to autogenerate this from the XML files. -EXTSOURCES = xproto.c bigreq.c xc_misc.c composite.c damage.c dpms.c \ - dri2.c dri3.c present.c glx.c randr.c record.c render.c res.c \ - screensaver.c shape.c shm.c sync.c xevie.c xf86dri.c xfixes.c \ - xinerama.c xinput.c xkb.c xprint.c xselinux.c xtest.c xv.c \ - xvmc.c ge.c +EXTSOURCES = xproto.c bigreq.c xc_misc.c composite.c damage.c dbe.c \ + dpms.c dri2.c dri3.c present.c glx.c randr.c record.c render.c \ + res.c screensaver.c shape.c shm.c sync.c xevie.c xf86dri.c \ + xfixes.c xinerama.c xinput.c xkb.c xprint.c xselinux.c xtest.c \ + xv.c xvmc.c ge.c AM_CFLAGS = $(BASE_CFLAGS) $(NEEDED_CFLAGS) $(XDMCP_CFLAGS) libxcb_la_LIBADD = $(NEEDED_LIBS) $(XDMCP_LIBS) libxcb_la_SOURCES = \ @@ -712,6 +721,9 @@ @BUILD_DAMAGE_TRUE@libxcb_damage_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@ @BUILD_DAMAGE_TRUE@libxcb_damage_la_LIBADD = $(XCB_LIBS) @BUILD_DAMAGE_TRUE@nodist_libxcb_damage_la_SOURCES = damage.c damage.h +@BUILD_DBE_TRUE@libxcb_dbe_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@ +@BUILD_DBE_TRUE@libxcb_dbe_la_LIBADD = $(XCB_LIBS) +@BUILD_DBE_TRUE@nodist_libxcb_dbe_la_SOURCES = dbe.c dbe.h @BUILD_DPMS_TRUE@libxcb_dpms_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@ @BUILD_DPMS_TRUE@libxcb_dpms_la_LIBADD = $(XCB_LIBS) @BUILD_DPMS_TRUE@nodist_libxcb_dpms_la_SOURCES = dpms.c dpms.h @@ -788,7 +800,7 @@ @BUILD_GE_TRUE@libxcb_ge_la_LIBADD = $(XCB_LIBS) @BUILD_GE_TRUE@nodist_libxcb_ge_la_SOURCES = ge.c ge.h EXTHEADERS = $(EXTSOURCES:.c=.h) -xcbinclude_HEADERS = xcb.h xcbext.h $(am__append_28) +xcbinclude_HEADERS = xcb.h xcbext.h $(am__append_29) nodist_xcbinclude_HEADERS = $(EXTHEADERS) noinst_HEADERS = xcbint.h BUILT_MAN_PAGES = man/xcb_* @@ -796,7 +808,7 @@ libman_DATA = $(BUILT_MAN_PAGES) BUILT_SOURCES = $(EXTSOURCES) $(BUILT_MAN_PAGES) CLEANFILES = $(EXTSOURCES) $(EXTHEADERS) $(BUILT_MAN_PAGES) -C_CLIENT_PY_EXTRA_ARGS = $(am__append_29) +C_CLIENT_PY_EXTRA_ARGS = $(am__append_30) all: $(BUILT_SOURCES) config.h $(MAKE) $(AM_MAKEFLAGS) all-am @@ -888,6 +900,9 @@ libxcb-damage.la: $(libxcb_damage_la_OBJECTS) $(libxcb_damage_la_DEPENDENCIES) $(EXTRA_libxcb_damage_la_DEPENDENCIES) $(AM_V_CCLD)$(libxcb_damage_la_LINK) $(am_libxcb_damage_la_rpath) $(libxcb_damage_la_OBJECTS) $(libxcb_damage_la_LIBADD) $(LIBS) +libxcb-dbe.la: $(libxcb_dbe_la_OBJECTS) $(libxcb_dbe_la_DEPENDENCIES) $(EXTRA_libxcb_dbe_la_DEPENDENCIES) + $(AM_V_CCLD)$(libxcb_dbe_la_LINK) $(am_libxcb_dbe_la_rpath) $(libxcb_dbe_la_OBJECTS) $(libxcb_dbe_la_LIBADD) $(LIBS) + libxcb-dpms.la: $(libxcb_dpms_la_OBJECTS) $(libxcb_dpms_la_DEPENDENCIES) $(EXTRA_libxcb_dpms_la_DEPENDENCIES) $(AM_V_CCLD)$(libxcb_dpms_la_LINK) $(am_libxcb_dpms_la_rpath) $(libxcb_dpms_la_OBJECTS) $(libxcb_dpms_la_LIBADD) $(LIBS) @@ -975,6 +990,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bigreq.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/composite.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/damage.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dbe.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dpms.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dri2.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dri3.Plo@am__quote@ # am--include-marker @@ -1242,6 +1258,7 @@ -rm -f ./$(DEPDIR)/bigreq.Plo -rm -f ./$(DEPDIR)/composite.Plo -rm -f ./$(DEPDIR)/damage.Plo + -rm -f ./$(DEPDIR)/dbe.Plo -rm -f ./$(DEPDIR)/dpms.Plo -rm -f ./$(DEPDIR)/dri2.Plo -rm -f ./$(DEPDIR)/dri3.Plo @@ -1326,6 +1343,7 @@ -rm -f ./$(DEPDIR)/bigreq.Plo -rm -f ./$(DEPDIR)/composite.Plo -rm -f ./$(DEPDIR)/damage.Plo + -rm -f ./$(DEPDIR)/dbe.Plo -rm -f ./$(DEPDIR)/dpms.Plo -rm -f ./$(DEPDIR)/dri2.Plo -rm -f ./$(DEPDIR)/dri3.Plo
View file
_service:tar_scm:libxcb-1.15.tar.xz/src/c_client.py -> _service:tar_scm:libxcb-1.16.tar.xz/src/c_client.py
Changed
@@ -2266,13 +2266,13 @@ elif base_func_name == 'xcb_create_window' and field.c_field_name == 'value_mask': field.enum = 'CW' if field.enum: - # XXX: why the 'xcb' prefix? - key = ('xcb', field.enum) + assert 2 <= len(self.name) <= 3 + key = (*self.name:-1, field.enum) tname = _t(key) if namecounttname > 1: tname = _t(key + ('enum',)) - _h(' * @param %s A bitmask of #%s values.' % (field.c_field_name, tname)) + _h(' * @param %s A bitmask of #%s values.', field.c_field_name, tname) if self.doc and field.field_name in self.doc.fields: desc = self.doc.fieldsfield.field_name @@ -2280,7 +2280,8 @@ desc = desc.replace('`%s`' % name, '\\a %s' % (name)) desc = desc.split("\n") desc = line if line != '' else '\\n' for line in desc - _h(' * @param %s %s' % (field.c_field_name, "\n * ".join(desc))) + _h(' * @param %s %s', field.c_field_name, "\n * ".join(desc)) + # If there is no documentation yet, we simply don't generate an # @param tag. Doxygen will then warn about missing documentation. @@ -2339,7 +2340,7 @@ for field in param_fields: if not field.type.fixed_size() and field.wire: count = count + 2 - if field.type.c_need_serialize: + if field.type.c_need_serialize or field.type.c_need_sizeof: # _serialize() keeps track of padding automatically count -= 1 dimension = count + 2
View file
_service:tar_scm:libxcb-1.15.tar.xz/src/config.h.in -> _service:tar_scm:libxcb-1.16.tar.xz/src/config.h.in
Changed
@@ -21,9 +21,6 @@ /* Define to 1 if you have the `is_system_labeled' function. */ #undef HAVE_IS_SYSTEM_LABELED -/* launchd support available */ -#undef HAVE_LAUNCHD - /* Define to 1 if you have the `ws2_32' library (-lws2_32). */ #undef HAVE_LIBWS2_32
View file
_service:tar_scm:libxcb-1.15.tar.xz/src/xcb_auth.c -> _service:tar_scm:libxcb-1.16.tar.xz/src/xcb_auth.c
Changed
@@ -73,7 +73,7 @@ #define AUTH_PROTO_XDM_AUTHORIZATION "XDM-AUTHORIZATION-1" #define AUTH_PROTO_MIT_MAGIC_COOKIE "MIT-MAGIC-COOKIE-1" -static char *authnamesN_AUTH_PROTOS = { +static const char *authnamesN_AUTH_PROTOS = { #ifdef HASXDMAUTH AUTH_PROTO_XDM_AUTHORIZATION, #endif @@ -165,7 +165,7 @@ return XauGetBestAuthByAddr (family, (unsigned short) addrlen, addr, (unsigned short) dispbuflen, dispbuf, - N_AUTH_PROTOS, authnames, authnameslen); + N_AUTH_PROTOS, (char **)authnames, authnameslen); } #ifdef HASXDMAUTH
View file
_service:tar_scm:libxcb-1.15.tar.xz/src/xcb_conn.c -> _service:tar_scm:libxcb-1.16.tar.xz/src/xcb_conn.c
Changed
@@ -310,9 +310,11 @@ int cur = (*vector)->iov_len; if(cur > n) cur = n; - (*vector)->iov_len -= cur; - (*vector)->iov_base = (char *) (*vector)->iov_base + cur; - n -= cur; + if(cur) { + (*vector)->iov_len -= cur; + (*vector)->iov_base = (char *) (*vector)->iov_base + cur; + n -= cur; + } if((*vector)->iov_len) break; }
View file
_service:tar_scm:libxcb-1.15.tar.xz/src/xcb_util.c -> _service:tar_scm:libxcb-1.16.tar.xz/src/xcb_util.c
Changed
@@ -60,9 +60,7 @@ # include <sys/stat.h> #endif -#ifdef HAVE_LAUNCHD #include <sys/stat.h> -#endif int xcb_popcount(uint32_t mask) { @@ -82,7 +80,6 @@ return s; } -#ifdef HAVE_LAUNCHD /* Return true and parse if name matches <path to socket>.<screen> * Upon success: * host = <path to socket> @@ -95,19 +92,30 @@ { struct stat sbuf; char pathPATH_MAX; - int _screen = 0; + size_t len; + int _screen = 0, res; - strlcpy(path, name, sizeof(path)); - if (0 != stat(path, &sbuf)) { - char *dot = strrchr(path, '.'); - if (!dot) + len = strlen(name); + if (len >= sizeof(path)) + return 0; + memcpy(path, name, len + 1); + res = stat(path, &sbuf); + if (0 != res) { + unsigned long lscreen; + char *dot, *endptr; + if (res != -1 || (errno != ENOENT && errno != ENOTDIR)) + return 0; + dot = strrchr(path, '.'); + if (!dot || dot1 < '1' || dot1 > '9') return 0; *dot = '\0'; - + errno = 0; + lscreen = strtoul(dot + 1, &endptr, 10); + if (lscreen > INT_MAX || !endptr || *endptr || errno) + return 0; if (0 != stat(path, &sbuf)) return 0; - - _screen = atoi(dot + 1); + _screen = (int)lscreen; } if (host) { @@ -133,7 +141,6 @@ return 1; } -#endif static int _xcb_parse_display(const char *name, char **host, char **protocol, int *displayp, int *screenp) @@ -146,11 +153,12 @@ if(!name) return 0; -#ifdef HAVE_LAUNCHD /* First check for <path to socket>.<screen> */ - if (_xcb_parse_display_path_to_socket(name, host, protocol, displayp, screenp)) - return 1; -#endif + if (name0 == '/') + return _xcb_parse_display_path_to_socket(name, host, protocol, displayp, screenp); + + if (strncmp(name, "unix:", 5) == 0) + return _xcb_parse_display_path_to_socket(name + 5, host, protocol, displayp, screenp); slash = strrchr(name, '/'); @@ -236,41 +244,44 @@ char *file = NULL; int actual_filelen; - /* If protocol or host is "unix", fall through to Unix socket code below */ - if ((!protocol || (strcmp("unix",protocol) != 0)) && - (*host != '\0') && (strcmp("unix",host) != 0)) - { - /* display specifies TCP */ - unsigned short port = X_TCP_PORT + display; - return _xcb_open_tcp(host, protocol, port); - } + if (protocol && strcmp("unix", protocol) == 0 && host && host0 == '/') { + /* Full path to socket provided, ignore everything else */ + filelen = strlen(host) + 1; + if (filelen > INT_MAX) + return -1; + file = malloc(filelen); + if (file == NULL) + return -1; + memcpy(file, host, filelen); + actual_filelen = (int)(filelen - 1); + } else { + /* If protocol or host is "unix", fall through to Unix socket code below */ + if ((!protocol || (strcmp("unix",protocol) != 0)) && + (*host != '\0') && (strcmp("unix",host) != 0)) + { + /* display specifies TCP */ + unsigned short port = X_TCP_PORT + display; + return _xcb_open_tcp(host, protocol, port); + } #ifndef _WIN32 #if defined(HAVE_TSOL_LABEL_H) && defined(HAVE_IS_SYSTEM_LABELED) - /* Check special path for Unix sockets under Solaris Trusted Extensions */ - if (is_system_labeled()) - { - struct stat sbuf; - const char *tsol_base = "/var/tsol/doors/.X11-unix/X"; - char tsol_socketPATH_MAX; - - snprintf(tsol_socket, sizeof(tsol_socket), "%s%d", tsol_base, display); - - if (stat(tsol_socket, &sbuf) == 0) - base = tsol_base; - } + /* Check special path for Unix sockets under Solaris Trusted Extensions */ + if (is_system_labeled()) + { + const char *tsol_base = "/var/tsol/doors/.X11-unix/X"; + char tsol_socketPATH_MAX; + struct stat sbuf; + + snprintf(tsol_socket, sizeof(tsol_socket), "%s%d", tsol_base, display); + + if (stat(tsol_socket, &sbuf) == 0) + base = tsol_base; + else if (errno != ENOENT) + return 0; + } #endif -#ifdef HAVE_LAUNCHD - struct stat sbuf; - if (0 == stat(host, &sbuf)) { - file = strdup(host); - if(file == NULL) - return -1; - filelen = actual_filelen = strlen(file); - } else -#endif - { filelen = strlen(base) + 1 + sizeof(display) * 3 + 1; file = malloc(filelen); if(file == NULL) @@ -278,24 +289,23 @@ /* display specifies Unix socket */ actual_filelen = snprintf(file, filelen, "%s%d", base, display); - } - if(actual_filelen < 0) - { - free(file); - return -1; - } - /* snprintf may truncate the file */ - filelen = MIN(actual_filelen, filelen - 1); + if(actual_filelen < 0) + { + free(file); + return -1; + } + /* snprintf may truncate the file */ + filelen = MIN(actual_filelen, filelen - 1); #ifdef HAVE_ABSTRACT_SOCKETS - fd = _xcb_open_abstract(protocol, file, filelen); - if (fd >= 0 || (errno != ENOENT && errno != ECONNREFUSED)) - { - free(file); - return fd; - } - + fd = _xcb_open_abstract(protocol, file, filelen); + if (fd >= 0 || (errno != ENOENT && errno != ECONNREFUSED)) + { + free(file); + return fd; + } #endif + } fd = _xcb_open_unix(protocol, file); free(file); @@ -389,7 +399,11 @@ fd = _xcb_socket(addr->ai_family, addr->ai_socktype, addr->ai_protocol); if (_xcb_do_connect(fd, addr->ai_addr, addr->ai_addrlen) >= 0) break;
View file
_service:tar_scm:libxcb-1.15.tar.xz/tests/Makefile.in -> _service:tar_scm:libxcb-1.16.tar.xz/tests/Makefile.in
Changed
@@ -463,6 +463,7 @@ ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +FILECMD = @FILECMD@ FILE_MAN_DIR = @FILE_MAN_DIR@ FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ GREP = @GREP@ @@ -474,7 +475,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LAUNCHD = @LAUNCHD@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@
View file
_service:tar_scm:libxcb-1.15.tar.xz/tests/check_public.c -> _service:tar_scm:libxcb-1.16.tar.xz/tests/check_public.c
Changed
@@ -1,6 +1,10 @@ #include <check.h> +#include <stdio.h> #include <string.h> #include <stdlib.h> +#ifdef __unix__ +#include <unistd.h> +#endif #include "check_suites.h" #include "xcb.h" #include "xcbext.h" @@ -97,6 +101,37 @@ START_TEST(parse_display_unix) { +#ifdef __unix__ + char bufsizeof "/tmp/xcb-test.XXXXXXX"; + char buf2sizeof(buf) + 7; + int r, v; + memcpy(buf, "/tmp/xcb-test.XXXXXXX", sizeof buf); + v = mkstemp(buf); + ck_assert_msg(v >= 0, "cannot create temporary file"); + parse_display_pass(buf, buf, 0, 0); + r = snprintf(buf2, sizeof buf2, "unix:%s", buf); + if (r < 5 || r >= (int)sizeof buf2) { + ck_assert_msg(0, "snprintf() failed (return value %d)", r); + unlink(buf); + return; + } + parse_display_pass(buf2, buf, 0, 0); + r = snprintf(buf2, sizeof buf2, "unix:%s.1", buf); + if (r < 7 || r >= (int)sizeof buf2) { + ck_assert_msg(0, "snprintf() failed (return value %d)", r); + unlink(buf); + return; + } + parse_display_pass(buf2, buf, 0, 1); + r = snprintf(buf2, sizeof buf2, "%s.1", buf); + if (r < 2 || r >= (int)sizeof buf2) { + ck_assert_msg(0, "snprintf() failed (return value %d)", r); + unlink(buf); + return; + } + parse_display_pass(buf2, buf, 0, 1); + unlink(buf); +#endif parse_display_pass(":0", "", 0, 0); parse_display_pass(":1", "", 1, 0); parse_display_pass(":0.1", "", 0, 1);
View file
_service:tar_scm:libxcb-1.16.tar.xz/xcb-dbe.pc.in
Added
@@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: XCB Dbe +Description: XCB Double Buffer Extension +Version: @PACKAGE_VERSION@ +Requires.private: xcb +Libs: -L${libdir} -lxcb-dbe +Cflags: -I${includedir}
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2