Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/xrdb/dist initial import of xrdb-1.2.2



details:   https://anonhg.NetBSD.org/xsrc/rev/71d621355b0b
branches:  trunk
changeset: 7548:71d621355b0b
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jun 19 08:00:17 2023 +0000

description:
initial import of xrdb-1.2.2

diffstat:

 external/mit/xrdb/dist/ChangeLog       |    83 +-
 external/mit/xrdb/dist/Makefile.in     |    40 +-
 external/mit/xrdb/dist/aclocal.m4      |  2366 ++++----
 external/mit/xrdb/dist/compile         |     6 +-
 external/mit/xrdb/dist/config.guess    |  1522 +++--
 external/mit/xrdb/dist/config.h.in     |    98 +-
 external/mit/xrdb/dist/config.sub      |  2910 +++++-----
 external/mit/xrdb/dist/configure       |  8058 ++++++++++++++++---------------
 external/mit/xrdb/dist/configure.ac    |     6 +-
 external/mit/xrdb/dist/depcomp         |     2 +-
 external/mit/xrdb/dist/install-sh      |   157 +-
 external/mit/xrdb/dist/man/Makefile.in |    11 +-
 external/mit/xrdb/dist/missing         |     2 +-
 13 files changed, 8179 insertions(+), 7082 deletions(-)

diffs (truncated from 21283 to 300 lines):

diff -r a2fc40817e01 -r 71d621355b0b external/mit/xrdb/dist/ChangeLog
--- a/external/mit/xrdb/dist/ChangeLog  Mon Jun 19 08:00:16 2023 +0000
+++ b/external/mit/xrdb/dist/ChangeLog  Mon Jun 19 08:00:17 2023 +0000
@@ -1,3 +1,84 @@
+commit ff688ceacaddb8e2f345caadfe33e408d97782a0
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Jun 3 10:40:03 2023 -0700
+
+    xrdb 1.2.2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 6085098c95847f1f9f13d26f2adc7518fabf3b24
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Feb 6 13:13:21 2023 -0800
+
+    configure: raise minimum autoconf requirement to 2.70
+    
+    Needed for builds on NetBSD to work correctly, since it depends on
+    AC_USE_SYSTEM_EXTENSIONS defining _OPENBSD_SOURCE to expose the
+    prototype for reallocarray() in the system headers.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit edcda53f9e66afadd871c23793e021e9725b4d6b
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 13 10:48:30 2022 -0800
+
+    Fallback asprintf: don't truncate output that has a \0 in string
+    
+    Unlikely to be hit in xrdb, but may affect other uses if this code
+    gets copied to other programs.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 496bdd684935b9b7156222fec7009e8aa4a8dbad
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 13 10:44:17 2022 -0800
+
+    Rename variable 'dup' to avoid shadowing dup() function
+    
+    As recommended by cppcheck
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit da0bcc8b8746cd3eb93f20d61145edc6a1040dda
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 13 10:41:14 2022 -0800
+
+    Use C99 struct initialization
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 0ac060079060419bdfc4e54ba1a8643cffa1d7d3
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 13 10:34:27 2022 -0800
+
+    Variable scope reduction as recommended by cppcheck
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit e7db9aa5f73904c243201d4c52e4b157ded05af7
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Thu Jul 28 17:30:21 2022 -0700
+
+    gitlab CI: stop requiring Signed-off-by in commits
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 1e20d715f2a064993a1b83b49d2f355d0ef9c56b
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Tue Dec 7 13:55:05 2021 -0800
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 70d96ac2b99c5ebc959c4baf9a32760c41c0e440
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Tue Dec 7 13:55:02 2021 -0800
+
+    gitlab CI: add a basic build test
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit 9c3a19e3f13252c6ac5b02ce703531b2bf9f7463
 Author: Matthieu Herrb <matthieu.herrb%laas.fr@localhost>
 Date:   Mon Aug 9 19:31:28 2021 +0200
@@ -971,7 +1052,7 @@ Date:   Sat Jul 2 01:17:35 2005 +0000
         (replaces per-OS hardcoding of CppCmd in Imake config files)
 
 commit 14ca3186594492b2733b9cc7e071ecfc039fb428
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Fri Jul 1 20:27:45 2005 +0000
 
     Build systems for xrdb, xrandr, xrefresh
diff -r a2fc40817e01 -r 71d621355b0b external/mit/xrdb/dist/Makefile.in
--- a/external/mit/xrdb/dist/Makefile.in        Mon Jun 19 08:00:16 2023 +0000
+++ b/external/mit/xrdb/dist/Makefile.in        Mon Jun 19 08:00:17 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,
@@ -181,8 +181,8 @@ am__recursive_targets = \
   $(am__extra_recursive_targets)
 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
        cscope distdir distdir-am dist dist-all distcheck
-am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
-       $(LISP)config.h.in
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
+       config.h.in
 # Read a list of newline-separated strings from the standard input,
 # and print each of them once, without duplicates.  Input order is
 # *not* preserved.
@@ -199,13 +199,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)/config.h.in AUTHORS \
-       COPYING ChangeLog INSTALL compile config.guess config.sub \
-       depcomp install-sh missing
+       COPYING ChangeLog INSTALL README.md compile config.guess \
+       config.sub depcomp install-sh missing
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
@@ -241,9 +238,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$$'
@@ -264,9 +263,10 @@ CC = @CC@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
 CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 CPP_PATH = @CPP_PATH@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
 CWARNFLAGS = @CWARNFLAGS@
 CYGPATH_W = @CYGPATH_W@
 DEFS = @DEFS@
@@ -276,11 +276,10 @@ DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
 ECHO_C = @ECHO_C@
 ECHO_N = @ECHO_N@
 ECHO_T = @ECHO_T@
-EGREP = @EGREP@
+ETAGS = @ETAGS@
 EXEEXT = @EXEEXT@
 FILE_MAN_DIR = @FILE_MAN_DIR@
 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-GREP = @GREP@
 INSTALL = @INSTALL@
 INSTALL_CMD = @INSTALL_CMD@
 INSTALL_DATA = @INSTALL_DATA@
@@ -611,7 +610,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
 
@@ -685,6 +683,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)
@@ -692,11 +691,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
@@ -739,6 +741,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)
@@ -754,7 +758,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 \
@@ -923,7 +927,7 @@ uninstall-am: uninstall-binPROGRAMS
        clean-binPROGRAMS clean-cscope clean-generic 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 distclean-compile \
+       dist-zip dist-zstd distcheck distclean distclean-compile \
        distclean-generic distclean-hdr distclean-tags distcleancheck \
        distdir distuninstallcheck dvi dvi-am html html-am info \
        info-am install install-am install-binPROGRAMS install-data \
diff -r a2fc40817e01 -r 71d621355b0b external/mit/xrdb/dist/aclocal.m4
--- a/external/mit/xrdb/dist/aclocal.m4 Mon Jun 19 08:00:16 2023 +0000
+++ b/external/mit/xrdb/dist/aclocal.m4 Mon Jun 19 08:00:17 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,14 +14,1142 @@
 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'.])])
 
+# Copyright (C) 2002-2021 Free Software Foundation, Inc.
+#
+# 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.
+
+# AM_AUTOMAKE_VERSION(VERSION)
+# ----------------------------
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
+# generated from the m4 files accompanying Automake X.Y.
+# (This private macro should not be called outside this file.)
+AC_DEFUN([AM_AUTOMAKE_VERSION],
+[am__api_version='1.16'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version.  Point them to the right macro.
+m4_if([$1], [1.16.5], [],
+      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+
+# _AM_AUTOCONF_VERSION(VERSION)
+# -----------------------------
+# aclocal traces this macro to find the Autoconf version.
+# This is a private macro too.  Using m4_define simplifies
+# the logic in aclocal, which can simply ignore this definition.
+m4_define([_AM_AUTOCONF_VERSION], [])
+
+# AM_SET_CURRENT_AUTOMAKE_VERSION
+# -------------------------------
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+[AM_AUTOMAKE_VERSION([1.16.5])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+
+# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
+
+# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation



Home | Main Index | Thread Index | Old Index