Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/libXcomposite/dist initial import of libXcomp...



details:   https://anonhg.NetBSD.org/xsrc/rev/04c2052bda6f
branches:  trunk
changeset: 7314:04c2052bda6f
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jan 08 08:50:51 2023 +0000

description:
initial import of libXcomposite-0.4.6

diffstat:

 external/mit/libXcomposite/dist/ChangeLog           |    102 +-
 external/mit/libXcomposite/dist/Makefile.in         |     56 +-
 external/mit/libXcomposite/dist/README.md           |      2 +-
 external/mit/libXcomposite/dist/aclocal.m4          |  20213 +++++++++--------
 external/mit/libXcomposite/dist/compile             |     17 +-
 external/mit/libXcomposite/dist/config.guess        |   1488 +-
 external/mit/libXcomposite/dist/config.h.in         |     10 +-
 external/mit/libXcomposite/dist/config.sub          |   2885 +-
 external/mit/libXcomposite/dist/configure           |  13985 ++++++-----
 external/mit/libXcomposite/dist/configure.ac        |     12 +-
 external/mit/libXcomposite/dist/depcomp             |     10 +-
 external/mit/libXcomposite/dist/install-sh          |    172 +-
 external/mit/libXcomposite/dist/ltmain.sh           |    881 +-
 external/mit/libXcomposite/dist/man/Makefile.in     |     18 +-
 external/mit/libXcomposite/dist/missing             |     16 +-
 external/mit/libXcomposite/dist/src/Makefile.in     |     41 +-
 external/mit/libXcomposite/dist/src/Xcomposite.c    |     62 +-
 external/mit/libXcomposite/dist/src/xcompositeint.h |      5 +-
 18 files changed, 20897 insertions(+), 19078 deletions(-)

diffs (truncated from 47339 to 300 lines):

diff -r f46a3820ce02 -r 04c2052bda6f external/mit/libXcomposite/dist/ChangeLog
--- a/external/mit/libXcomposite/dist/ChangeLog Sun Jan 08 08:50:47 2023 +0000
+++ b/external/mit/libXcomposite/dist/ChangeLog Sun Jan 08 08:50:51 2023 +0000
@@ -1,3 +1,101 @@
+commit cecff847395deb553b6331f31776f9cbfc809add
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Dec 4 14:04:06 2022 -0800
+
+    libXcomposite 0.4.6
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 352885a4ff166cd065da1944649a4f12801dd4d2
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Nov 21 11:54:58 2022 -0800
+
+    XCompositeCloseDisplay: Mark codes as unused
+    
+    Quiets clang warning:
+    
+    Xcomposite.c:91:50: warning: unused parameter 'codes' [-Wunused-parameter]
+    XCompositeCloseDisplay (Display *dpy, XExtCodes *codes)
+                                                     ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 544392051e5f566c4eb29fa2e40dbce748935728
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Nov 21 11:50:04 2022 -0800
+
+    Handle implicit conversion warnings from clang
+    
+    Clears 13 -Wimplicit-int-conversion, 10 -Wshorten-64-to-32, and
+    2 -Wsign-conversion warnings.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 253561cfcc3b95d21046bf08467fa0f68be385da
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Nov 21 11:33:26 2022 -0800
+
+    Wrap XComposite*CheckExtension() in do { ... } while(0)
+    
+    Makes macro expansion safer and eliminates -Wextra-semi-stmt warnings
+    from clang every time it is called due to semicolon after bracket.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 8a10ff647b795b778af58037a8cbc23a03289e9a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Nov 21 11:29:44 2022 -0800
+
+    Remove unnecessary casts from malloc() and free() calls
+    
+    Not needed in C89 and later
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit c0c02375b5a319fffe98b8f80ac3c25a8ab3e362
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Nov 21 11:26:44 2022 -0800
+
+    Mark two dpy parameters const as suggested by cppcheck
+    
+    Xcomposite.c:56:66: style: Parameter 'dpy' can be declared with const
+      [constParameter]
+    XCompositeExtRemoveDisplay (XCompositeExtInfo *extinfo, Display *dpy)
+                                                                     ^
+    Xcomposite.c:175:22: style: Parameter 'dpy' can be declared with const
+      [constParameter]
+            Display     *dpy)
+                         ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit d2d1e38e5cd7027c4ebe73d6b420a516f3c99c9d
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jul 17 11:21:47 2022 -0700
+
+    gitlab CI: add a basic build test
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit b134b362129f236f4f9221a393b57a9456fe3214
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jul 17 11:19:45 2022 -0700
+
+    Fix spelling/wording issues
+    
+    Found by using:
+        codespell --builtin clear,rare,usage,informal,code,names
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit f173c3b9c809842768c52eb16fb9a83f0551e5f4
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jul 17 11:19:10 2022 -0700
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit fd7d02cc014ac9bf5bb7e68b66102ea36a76a59a
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Sun Mar 10 17:25:19 2019 -0700
@@ -652,7 +750,7 @@
     Require modular X library. Unify dependency _CFLAGS/_LIBS
 
 commit 7098e81fd4d933ca922431280579049396466d23
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Thu Jul 7 18:25:28 2005 +0000
 
     Add build sytem for Xcomposite
@@ -669,7 +767,7 @@
         <X11/fonts/foo.h>.
 
 commit 6a5a9a284a8e0e76aed1302ccb5c423c12b66eac
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Tue May 17 16:47:58 2005 +0000
 
     Add Xdamage build system
diff -r f46a3820ce02 -r 04c2052bda6f external/mit/libXcomposite/dist/Makefile.in
--- a/external/mit/libXcomposite/dist/Makefile.in       Sun Jan 08 08:50:47 2023 +0000
+++ b/external/mit/libXcomposite/dist/Makefile.in       Sun Jan 08 08:50:51 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,
@@ -185,9 +185,9 @@
   $(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.
@@ -204,13 +204,11 @@
   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 \
        $(srcdir)/xcomposite.pc.in AUTHORS COPYING ChangeLog INSTALL \
-       compile config.guess config.sub install-sh ltmain.sh missing
+       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)
@@ -246,9 +244,11 @@
     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$$'
@@ -271,8 +271,9 @@
 CFLAGS = @CFLAGS@
 CHANGELOG_CMD = @CHANGELOG_CMD@
 COMPOSITEEXT_VERSION = @COMPOSITEEXT_VERSION@
-CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
 CWARNFLAGS = @CWARNFLAGS@
 CYGPATH_W = @CYGPATH_W@
 DEFS = @DEFS@
@@ -286,8 +287,10 @@
 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@
 GREP = @GREP@
@@ -388,6 +391,7 @@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -426,8 +430,8 @@
            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)
@@ -591,8 +595,10 @@
 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'`; \
@@ -660,8 +666,9 @@
          ! -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)
@@ -669,11 +676,14 @@
 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
@@ -685,7 +695,7 @@
        @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
@@ -703,7 +713,7 @@
 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*) \
@@ -713,9 +723,11 @@
        *.tar.Z*) \
          uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
        *.shar.gz*) \
-         GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
+         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)
@@ -731,7 +743,7 @@
            $(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 \
@@ -897,7 +909,7 @@



Home | Main Index | Thread Index | Old Index