Source-Changes-HG archive

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

[xsrc/xorg]: xsrc/external/mit/xwininfo/dist initial import of xwininfo-1.1.6



details:   https://anonhg.NetBSD.org/xsrc/rev/8c75b5f43088
branches:  xorg
changeset: 7545:8c75b5f43088
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jun 19 08:00:21 2023 +0000

description:
initial import of xwininfo-1.1.6

diffstat:

 external/mit/xwininfo/dist/COPYING         |     2 +-
 external/mit/xwininfo/dist/ChangeLog       |    89 +-
 external/mit/xwininfo/dist/Makefile.in     |   113 +-
 external/mit/xwininfo/dist/README.md       |     2 +-
 external/mit/xwininfo/dist/aclocal.m4      |  2377 +++---
 external/mit/xwininfo/dist/compile         |    17 +-
 external/mit/xwininfo/dist/config.guess    |  1520 ++-
 external/mit/xwininfo/dist/config.h.in     |   102 +-
 external/mit/xwininfo/dist/config.sub      |  2910 ++++---
 external/mit/xwininfo/dist/configure       |  9955 +++++++++++++++------------
 external/mit/xwininfo/dist/configure.ac    |    21 +-
 external/mit/xwininfo/dist/depcomp         |    10 +-
 external/mit/xwininfo/dist/dsimple.c       |   211 +-
 external/mit/xwininfo/dist/install-sh      |   172 +-
 external/mit/xwininfo/dist/man/Makefile.in |    16 +-
 external/mit/xwininfo/dist/missing         |    16 +-
 external/mit/xwininfo/dist/xwininfo.c      |    66 +-
 17 files changed, 9580 insertions(+), 8019 deletions(-)

diffs (truncated from 23848 to 300 lines):

diff -r 4f5e3a2311cf -r 8c75b5f43088 external/mit/xwininfo/dist/COPYING
--- a/external/mit/xwininfo/dist/COPYING        Mon Jun 19 08:00:20 2023 +0000
+++ b/external/mit/xwininfo/dist/COPYING        Mon Jun 19 08:00:21 2023 +0000
@@ -1,4 +1,4 @@
-Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
+Copyright (c) 1999, 2010, 2023, Oracle and/or its affiliates.
 
 Permission is hereby granted, free of charge, to any person obtaining a
 copy of this software and associated documentation files (the "Software"),
diff -r 4f5e3a2311cf -r 8c75b5f43088 external/mit/xwininfo/dist/ChangeLog
--- a/external/mit/xwininfo/dist/ChangeLog      Mon Jun 19 08:00:20 2023 +0000
+++ b/external/mit/xwininfo/dist/ChangeLog      Mon Jun 19 08:00:21 2023 +0000
@@ -1,3 +1,88 @@
+commit 13826f0412926eb4659bca21a6f0e179c7a45f11
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Apr 9 09:59:46 2023 -0700
+
+    xwininfo 1.1.6
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 9a5623e2ffc6995b2c6edf379f191d76d7b4444a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Feb 25 13:06:06 2023 -0800
+
+    Add option to use libxcb-errors to improve X protocol error messages
+    
+    Requires passing --with-xcb-errors to configure
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit a60fe9c681990e0710e81ce88839aef2247e0d28
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 13 15:43:57 2022 -0800
+
+    Variable scope reduction as recommended by cppcheck
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit a4505ad3a938cfecb501b1ce806aa39ead42ec81
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 13 15:19:02 2022 -0800
+
+    Silence -Wdiscarded-qualifiers warning on systems with non-const iconv
+    
+    xwininfo.c: In function ‘print_utf8’:
+    xwininfo.c:1914:26: warning: initialization discards ‘const’ qualifier
+     from pointer target type [-Wdiscarded-qualifiers]
+      ICONV_CONST char *inp = u8str;
+                              ^~~~~
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 41ea77d4b64413648dd2fb61c42bf7b980b17783
+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 90fe017c5db9ead2e8fe64bfc1d146268a2eae97
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Apr 10 13:59:59 2022 -0700
+
+    Window_With_Name(): make sure cookies.get_net_wm_name is set
+    
+    Reported by Oracle Parfait:
+    
+    Error: Uninitialised memory
+       Uninitialised memory [uninitialised-mem] (CWE 456):
+          Possible access to uninitialised memory referenced by 'cookies'
+            at line 289 of dsimple.c in function 'recursive_Window_With_Name'.
+            called at line 420 in function 'Window_With_Name' with cookies = &cookies.
+            Path avoiding write at line 416
+            Write does not overlap at line 417
+            Write does not overlap at line 418
+              cookies allocated at line 410
+              cookies passed in at line 276 in function 'recursive_Window_With_Name'
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit f8ff22d7d00a96ab43bab7accbd2fcc01a1b5e0c
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Tue Dec 7 15:56:32 2021 -0800
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 9882388975f299bbff8788326e698752dd32c73c
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Tue Dec 7 15:56:29 2021 -0800
+
+    gitlab CI: add a basic build test
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit 985a3a70918038bf2569e0a5ebe3fa14d720e4de
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Sun Jul 14 13:51:36 2019 -0700
@@ -53,7 +138,7 @@ Date:   Sun Jun 9 10:21:39 2019 -0700
     Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 
 commit 58213a0cd39dc4ba044f48fab52ed3256ab9a9bd
-Author: Stéphane Aulery <lkppo%free.fr@localhost>
+Author: Stéphane Aulery  <lkppo%free.fr@localhost>
 Date:   Wed Jul 3 00:29:17 2013 +0200
 
     Improve manpage and -h option
@@ -1082,7 +1167,7 @@ Date:   Wed Jul 20 19:32:05 2005 +0000
         configure cache, you cache it, and the cached value is probably wrong.
 
 commit 97aa768841e147fde3cf16ba9a4c852358085d27
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Fri Jul 8 21:00:46 2005 +0000
 
     Build system for xwininfo
diff -r 4f5e3a2311cf -r 8c75b5f43088 external/mit/xwininfo/dist/Makefile.in
--- a/external/mit/xwininfo/dist/Makefile.in    Mon Jun 19 08:00:20 2023 +0000
+++ b/external/mit/xwininfo/dist/Makefile.in    Mon Jun 19 08:00:21 2023 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.15 from Makefile.am.
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994-2014 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,
@@ -144,7 +144,9 @@ am__v_at_0 = @
 am__v_at_1 = 
 DEFAULT_INCLUDES = -I.@am__isrc@
 depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
+am__maybe_remake_depfiles = depfiles
+am__depfiles_remade = $(DEPDIR)/strnlen.Po ./$(DEPDIR)/clientwin.Po \
+       ./$(DEPDIR)/dsimple.Po ./$(DEPDIR)/xwininfo.Po
 am__mv = mv -f
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@@ -180,9 +182,9 @@ am__recursive_targets = \
   $(RECURSIVE_CLEAN_TARGETS) \
   $(am__extra_recursive_targets)
 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
-       cscope distdir dist dist-all distcheck
-am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
-       $(LISP)config.h.in
+       cscope distdir distdir-am dist dist-all distcheck
+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 +201,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 COPYING \
-       ChangeLog INSTALL compile config.guess config.rpath config.sub \
-       depcomp install-sh missing strnlen.c
+       ChangeLog INSTALL README.md compile config.guess config.rpath \
+       config.sub depcomp install-sh missing strnlen.c
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
@@ -241,9 +240,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$$'
@@ -266,6 +267,8 @@ CFLAGS = @CFLAGS@
 CHANGELOG_CMD = @CHANGELOG_CMD@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
 CWARNFLAGS = @CWARNFLAGS@
 CYGPATH_W = @CYGPATH_W@
 DEFS = @DEFS@
@@ -276,6 +279,7 @@ 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@
@@ -364,6 +368,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -410,8 +415,8 @@ Makefile: $(srcdir)/Makefile.in $(top_bu
            echo ' $(SHELL) ./config.status'; \
            $(SHELL) ./config.status;; \
          *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+           echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
+           cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
        esac;
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
@@ -490,10 +495,16 @@ mostlyclean-compile:
 distclean-compile:
        -rm -f *.tab.c
 
-@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strnlen.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clientwin.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dsimple.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xwininfo.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strnlen.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clientwin.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dsimple.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xwininfo.Po@am__quote@ # am--include-marker
+
+$(am__depfiles_remade):
+       @$(MKDIR_P) $(@D)
+       @echo '# dummy' >$@-t && $(am__mv) $@-t $@
+
+am--depfiles: $(am__depfiles_remade)
 
 .c.o:
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@@ -614,8 +625,10 @@ 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
 
-distdir: $(DISTFILES)
+distdir-am: $(DISTFILES)
        $(am__remove_distdir)
        test -d "$(distdir)" || mkdir "$(distdir)"
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
@@ -683,8 +696,9 @@ distdir: $(DISTFILES)
          ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
        || chmod -R a+r "$(distdir)"
 dist-gzip: distdir
-       tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+       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 +706,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
@@ -708,7 +725,7 @@ dist-shar: distdir
        @echo WARNING: "Support for shar distribution archives is" \
                       "deprecated." >&2
        @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
-       shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+       shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
        $(am__post_remove_distdir)
 
 dist-zip: distdir
@@ -726,7 +743,7 @@ dist dist-all:
 distcheck: dist
        case '$(DIST_ARCHIVES)' in \
        *.tar.gz*) \
-         GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+         eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
        *.tar.bz2*) \
          bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
        *.tar.lz*) \


Home | Main Index | Thread Index | Old Index