Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/xorg]: xsrc/external/mit/libXi/dist initial import of libXi-1.8.1



details:   https://anonhg.NetBSD.org/xsrc/rev/fb4bc1d44d73
branches:  xorg
changeset: 7529:fb4bc1d44d73
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jun 19 06:19:31 2023 +0000

description:
initial import of libXi-1.8.1

diffstat:

 external/mit/libXi/dist/ChangeLog                              |     93 +
 external/mit/libXi/dist/Makefile.in                            |     40 +-
 external/mit/libXi/dist/README.md                              |      2 +-
 external/mit/libXi/dist/aclocal.m4                             |   9191 +------
 external/mit/libXi/dist/compile                                |      6 +-
 external/mit/libXi/dist/config.guess                           |   1518 +-
 external/mit/libXi/dist/config.sub                             |   2895 +-
 external/mit/libXi/dist/configure                              |  14200 +++++----
 external/mit/libXi/dist/configure.ac                           |      7 +-
 external/mit/libXi/dist/depcomp                                |      2 +-
 external/mit/libXi/dist/include/X11/extensions/XInput.h        |      6 +-
 external/mit/libXi/dist/install-sh                             |    157 +-
 external/mit/libXi/dist/ltmain.sh                              |    896 +-
 external/mit/libXi/dist/m4/libtool.m4                          |   8403 +++++
 external/mit/libXi/dist/m4/ltoptions.m4                        |    437 +
 external/mit/libXi/dist/m4/ltsugar.m4                          |    124 +
 external/mit/libXi/dist/m4/ltversion.m4                        |     24 +
 external/mit/libXi/dist/m4/lt~obsolete.m4                      |     99 +
 external/mit/libXi/dist/man/Makefile.in                        |     15 +-
 external/mit/libXi/dist/man/XAllowDeviceEvents.man             |      8 +-
 external/mit/libXi/dist/man/XChangeDeviceDontPropagateList.man |      8 +-
 external/mit/libXi/dist/man/XChangeKeyboardDevice.man          |      8 +-
 external/mit/libXi/dist/man/XChangePointerDevice.man           |      8 +-
 external/mit/libXi/dist/man/XDeviceBell.man                    |      8 +-
 external/mit/libXi/dist/man/XGetDeviceControl.man              |      8 +-
 external/mit/libXi/dist/man/XGetDeviceKeyMapping.man           |      8 +-
 external/mit/libXi/dist/man/XGetDeviceModifierMapping.man      |      8 +-
 external/mit/libXi/dist/man/XGetDeviceMotionEvents.man         |      8 +-
 external/mit/libXi/dist/man/XGetDeviceProperty.man             |      8 +-
 external/mit/libXi/dist/man/XGetExtensionVersion.man           |      8 +-
 external/mit/libXi/dist/man/XGetFeedbackControl.man            |      8 +-
 external/mit/libXi/dist/man/XGrabDevice.man                    |      8 +-
 external/mit/libXi/dist/man/XGrabDeviceButton.man              |      8 +-
 external/mit/libXi/dist/man/XGrabDeviceKey.man                 |      8 +-
 external/mit/libXi/dist/man/XIAllowEvents.man                  |      8 +-
 external/mit/libXi/dist/man/XIBarrierReleasePointer.man        |      8 +-
 external/mit/libXi/dist/man/XIChangeHierarchy.man              |      8 +-
 external/mit/libXi/dist/man/XIChangeProperty.man               |      8 +-
 external/mit/libXi/dist/man/XIDefineCursor.man                 |      8 +-
 external/mit/libXi/dist/man/XIGrabButton.man                   |      8 +-
 external/mit/libXi/dist/man/XIGrabDevice.man                   |      8 +-
 external/mit/libXi/dist/man/XIGrabEnter.man                    |      8 +-
 external/mit/libXi/dist/man/XIListProperties.man               |      8 +-
 external/mit/libXi/dist/man/XIQueryDevice.man                  |      8 +-
 external/mit/libXi/dist/man/XIQueryPointer.man                 |      8 +-
 external/mit/libXi/dist/man/XIQueryVersion.man                 |      8 +-
 external/mit/libXi/dist/man/XISelectEvents.man                 |      8 +-
 external/mit/libXi/dist/man/XISetClientPointer.man             |      8 +-
 external/mit/libXi/dist/man/XISetFocus.man                     |      8 +-
 external/mit/libXi/dist/man/XIWarpPointer.man                  |      8 +-
 external/mit/libXi/dist/man/XListDeviceProperties.man          |      8 +-
 external/mit/libXi/dist/man/XListInputDevices.man              |      8 +-
 external/mit/libXi/dist/man/XOpenDevice.man                    |      8 +-
 external/mit/libXi/dist/man/XQueryDeviceState.man              |      8 +-
 external/mit/libXi/dist/man/XSelectExtensionEvent.man          |      8 +-
 external/mit/libXi/dist/man/XSendExtensionEvent.man            |      8 +-
 external/mit/libXi/dist/man/XSetDeviceButtonMapping.man        |      8 +-
 external/mit/libXi/dist/man/XSetDeviceFocus.man                |      8 +-
 external/mit/libXi/dist/man/XSetDeviceMode.man                 |      8 +-
 external/mit/libXi/dist/man/XSetDeviceValuators.man            |      8 +-
 external/mit/libXi/dist/missing                                |      2 +-
 external/mit/libXi/dist/specs/Makefile.in                      |     15 +-
 external/mit/libXi/dist/specs/library.xml                      |     10 +-
 external/mit/libXi/dist/src/Makefile.in                        |     21 +-
 external/mit/libXi/dist/src/XChgFCtl.c                         |     14 +-
 external/mit/libXi/dist/src/XExtInt.c                          |      2 +-
 external/mit/libXi/dist/src/config.h.in                        |     10 +-
 67 files changed, 20152 insertions(+), 18365 deletions(-)

diffs (truncated from 46679 to 300 lines):

diff -r 4cca227c513a -r fb4bc1d44d73 external/mit/libXi/dist/ChangeLog
--- a/external/mit/libXi/dist/ChangeLog Mon Jun 19 06:19:28 2023 +0000
+++ b/external/mit/libXi/dist/ChangeLog Mon Jun 19 06:19:31 2023 +0000
@@ -1,3 +1,96 @@
+commit 3a7503ec7703f10de17c622ea22b7bff736cea74
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date:   Thu May 4 14:42:12 2023 +1000
+
+    libXi 1.8.1
+    
+    Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit 0f1541e1e5bd57686edf95c3532544556ed370bb
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date:   Fri Apr 28 11:12:47 2023 +1000
+
+    Initialize a few stack vars to zero
+    
+    Modified version of the patch from #4
+    
+    Fixes #4
+    
+    Reviewed-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 826215af0cc46b19555063b8894de6781d4c5993
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Mar 4 10:44:45 2023 -0800
+
+    configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
+    
+    AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008,
+    so it's time to rely on it.
+    
+    Clears autoconf warnings:
+    
+    configure.ac:13: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
+    configure.ac:13: You should run autoupdate.
+    aclocal.m4:3465: AC_PROG_LIBTOOL is expanded from...
+    configure.ac:13: the top level
+    
+    libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
+    libtoolize: and rerunning libtoolize and aclocal.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 08431d0684f9a1edf199f6c6060d2bef1ac78399
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Thu Aug 25 15:39:36 2022 -0700
+
+    XInput_find_display: Don't dereference NULL dpyinfo
+    
+    Unlikely, but could happen if calloc fails in XextAddDisplay()
+    
+    Relies on XextHasExtension(i) macro from <X11/extensions/extutil.h>
+    which checks for ((i) && ((i)->codes))
+    
+    Fixes: #15
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit bca3474a8622fde5815260461784282f78a4efb5
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Jul 23 15:29:23 2022 -0700
+
+    gitlab CI: enable gitlab's builtin static analysis
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 87202ce9851c5fb61038829abd5b1feb42334a35
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Jul 23 15:28:42 2022 -0700
+
+    gitlab CI: enable commit & merge request checks
+    
+    Uses ci-fairy from freedesktop/ci-templates
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 0fb16bad9c851c11d171ff601bf8adae9ffc6fdb
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jul 17 13:39:34 2022 -0700
+
+    Fix spelling/wording issues
+    
+    Found by using:
+        codespell --builtin clear,rare,informal,code,names
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit ed12a34ed79d3751fc35194d93b7ad370a1a8b8a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jul 17 13:34:52 2022 -0700
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit f24d7f43ab4d97203e60677a3d42e11dbc80c8b4
 Author: Povilas Kanapickas <povilas%radix.lt@localhost>
 Date:   Wed Sep 15 19:28:03 2021 +0300
diff -r 4cca227c513a -r fb4bc1d44d73 external/mit/libXi/dist/Makefile.in
--- a/external/mit/libXi/dist/Makefile.in       Mon Jun 19 06:19:28 2023 +0000
+++ b/external/mit/libXi/dist/Makefile.in       Mon Jun 19 06:19:31 2023 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.16.1 from Makefile.am.
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994-2018 Free Software Foundation, Inc.
+# Copyright (C) 1994-2021 Free Software Foundation, Inc.
 
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -90,7 +90,10 @@ build_triplet = @build@
 host_triplet = @host@
 subdir = .
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
        $(ACLOCAL_M4)
 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
@@ -182,13 +185,10 @@ am__define_uniq_tagged_files = \
   unique=`for i in $$list; do \
     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
   done | $(am__uniquify_input)`
-ETAGS = etags
-CTAGS = ctags
-CSCOPE = cscope
 DIST_SUBDIRS = $(SUBDIRS)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/xi.pc.in COPYING \
-       ChangeLog INSTALL compile config.guess config.sub install-sh \
-       ltmain.sh missing
+       ChangeLog INSTALL README.md compile config.guess config.sub \
+       install-sh ltmain.sh missing
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
@@ -224,9 +224,11 @@ am__relativize = \
     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
   done; \
   reldir="$$dir2"
-DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
+DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz
 GZIP_ENV = --best
-DIST_TARGETS = dist-bzip2 dist-gzip
+DIST_TARGETS = dist-xz dist-gzip
+# Exists only to be overridden by the user if desired.
+AM_DISTCHECK_DVI_TARGET = dvi
 distuninstallcheck_listfiles = find . -type f -print
 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
   | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
@@ -249,8 +251,9 @@ CC = @CC@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
 CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
 CWARNFLAGS = @CWARNFLAGS@
 CYGPATH_W = @CYGPATH_W@
 DEFS = @DEFS@
@@ -264,8 +267,10 @@ ECHO_C = @ECHO_C@
 ECHO_N = @ECHO_N@
 ECHO_T = @ECHO_T@
 EGREP = @EGREP@
+ETAGS = @ETAGS@
 EXEEXT = @EXEEXT@
 FGREP = @FGREP@
+FILECMD = @FILECMD@
 FILE_MAN_DIR = @FILE_MAN_DIR@
 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
 FOP = @FOP@
@@ -562,7 +567,6 @@ cscopelist-am: $(am__tagged_files)
 distclean-tags:
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
        -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
-
 distdir: $(BUILT_SOURCES)
        $(MAKE) $(AM_MAKEFLAGS) distdir-am
 
@@ -636,6 +640,7 @@ distdir-am: $(DISTFILES)
 dist-gzip: distdir
        tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
        $(am__post_remove_distdir)
+
 dist-bzip2: distdir
        tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
        $(am__post_remove_distdir)
@@ -643,11 +648,14 @@ dist-bzip2: distdir
 dist-lzip: distdir
        tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
        $(am__post_remove_distdir)
-
 dist-xz: distdir
        tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
        $(am__post_remove_distdir)
 
+dist-zstd: distdir
+       tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
+       $(am__post_remove_distdir)
+
 dist-tarZ: distdir
        @echo WARNING: "Support for distribution archives compressed with" \
                       "legacy program 'compress' is deprecated." >&2
@@ -690,6 +698,8 @@ distcheck: dist
          eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
        *.zip*) \
          unzip $(distdir).zip ;;\
+       *.tar.zst*) \
+         zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
        esac
        chmod -R a-w $(distdir)
        chmod u+w $(distdir)
@@ -705,7 +715,7 @@ distcheck: dist
            $(DISTCHECK_CONFIGURE_FLAGS) \
            --srcdir=../.. --prefix="$$dc_install_base" \
          && $(MAKE) $(AM_MAKEFLAGS) \
-         && $(MAKE) $(AM_MAKEFLAGS) dvi \
+         && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
          && $(MAKE) $(AM_MAKEFLAGS) check \
          && $(MAKE) $(AM_MAKEFLAGS) install \
          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
@@ -871,7 +881,7 @@ uninstall-am: uninstall-pkgconfigDATA
        am--refresh check check-am clean clean-cscope clean-generic \
        clean-libtool cscope cscopelist-am ctags ctags-am dist \
        dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
-       dist-tarZ dist-xz dist-zip distcheck distclean \
+       dist-tarZ dist-xz dist-zip dist-zstd distcheck distclean \
        distclean-generic distclean-libtool distclean-tags \
        distcleancheck distdir distuninstallcheck dvi dvi-am html \
        html-am info info-am install install-am install-data \
diff -r 4cca227c513a -r fb4bc1d44d73 external/mit/libXi/dist/README.md
--- a/external/mit/libXi/dist/README.md Mon Jun 19 06:19:28 2023 +0000
+++ b/external/mit/libXi/dist/README.md Mon Jun 19 06:19:31 2023 +0000
@@ -6,7 +6,7 @@ Xorg mailing list:
 
   https://lists.x.org/mailman/listinfo/xorg
 
-The master development code repository can be found at:
+The primary development code repository can be found at:
 
   https://gitlab.freedesktop.org/xorg/lib/libXi
 
diff -r 4cca227c513a -r fb4bc1d44d73 external/mit/libXi/dist/aclocal.m4
--- a/external/mit/libXi/dist/aclocal.m4        Mon Jun 19 06:19:28 2023 +0000
+++ b/external/mit/libXi/dist/aclocal.m4        Mon Jun 19 06:19:31 2023 +0000
@@ -1,6 +1,6 @@
-# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
+# generated automatically by aclocal 1.16.5 -*- Autoconf -*-
 
-# Copyright (C) 1996-2018 Free Software Foundation, Inc.
+# Copyright (C) 1996-2021 Free Software Foundation, Inc.
 
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -14,9066 +14,12 @@
 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
-[m4_warning([this file was generated for autoconf 2.69.
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
+[m4_warning([this file was generated for autoconf 2.71.
 You have another version of autoconf.  It may work, but is not guaranteed to.
 If you have problems, you may need to regenerate the build system entirely.
 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
 
-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
-#
-#   Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
-#   Written by Gordon Matzigkeit, 1996
-#
-# This file is free software; the Free Software Foundation gives
-# unlimited permission to copy and/or distribute it, with or without
-# modifications, as long as this notice is preserved.
-
-m4_define([_LT_COPYING], [dnl
-# Copyright (C) 2014 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.
-
-# GNU Libtool 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 2 of 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.
-#
-# GNU Libtool is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.



Home | Main Index | Thread Index | Old Index