Source-Changes-HG archive

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

[xsrc/xorg]: xsrc/external/mit/libFS/dist initial import of libFS-1.0.9



details:   https://anonhg.NetBSD.org/xsrc/rev/9ee3ac826e53
branches:  xorg
changeset: 7148:9ee3ac826e53
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Sep 09 03:35:46 2022 +0000

description:
initial import of libFS-1.0.9

diffstat:

 external/mit/libFS/dist/ChangeLog                 |     68 +-
 external/mit/libFS/dist/Makefile.in               |     57 +-
 external/mit/libFS/dist/README.md                 |      2 +-
 external/mit/libFS/dist/aclocal.m4                |    478 +-
 external/mit/libFS/dist/compile                   |     17 +-
 external/mit/libFS/dist/config.guess              |   1488 +-
 external/mit/libFS/dist/config.h.in               |    101 +-
 external/mit/libFS/dist/config.sub                |   2885 ++-
 external/mit/libFS/dist/configure                 |  14769 ++++++++++---------
 external/mit/libFS/dist/configure.ac              |      9 +-
 external/mit/libFS/dist/depcomp                   |     10 +-
 external/mit/libFS/dist/include/X11/fonts/FSlib.h |      2 +-
 external/mit/libFS/dist/install-sh                |    172 +-
 external/mit/libFS/dist/ltmain.sh                 |    881 +-
 external/mit/libFS/dist/missing                   |     16 +-
 external/mit/libFS/dist/src/FSFontInfo.c          |      6 +-
 external/mit/libFS/dist/src/FSFtNames.c           |      2 +-
 external/mit/libFS/dist/src/FSGetCats.c           |      2 +-
 external/mit/libFS/dist/src/FSListCats.c          |      2 +-
 external/mit/libFS/dist/src/FSListExt.c           |      2 +-
 external/mit/libFS/dist/src/FSOpenServ.c          |      2 +-
 external/mit/libFS/dist/src/FSQGlyphs.c           |      8 +-
 external/mit/libFS/dist/src/FSQXExt.c             |      6 +-
 external/mit/libFS/dist/src/FSQXInfo.c            |      2 +-
 external/mit/libFS/dist/src/FSlibos.h             |     14 +-
 external/mit/libFS/dist/src/Makefile.am           |      2 +-
 external/mit/libFS/dist/src/Makefile.in           |    160 +-
 external/mit/libFS/dist/src/reallocarray.c        |     43 +
 external/mit/libFS/dist/test/Makefile.in          |     41 +-
 29 files changed, 11622 insertions(+), 9625 deletions(-)

diffs (truncated from 29539 to 300 lines):

diff -r 8b51f6553b25 -r 9ee3ac826e53 external/mit/libFS/dist/ChangeLog
--- a/external/mit/libFS/dist/ChangeLog Thu Aug 11 23:09:58 2022 +0000
+++ b/external/mit/libFS/dist/ChangeLog Fri Sep 09 03:35:46 2022 +0000
@@ -1,3 +1,63 @@
+commit 7e8120c0574ab1910f63474ff6be8de0ddc4ccac
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Aug 26 15:23:32 2022 -0700
+
+    libFS 1.0.9
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit ee33ecf31706877e1ab7dc257fadbb3eb535da50
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun May 8 12:35:00 2022 -0700
+
+    Convert code to use FSmallocarray() & FSreallocarray()
+    
+    Provides automatic integer overflow checking in allocation size calculations
+    (Though we already have explicit checks before using values provided
+     over the protocol in calculations, so many were already manually checked.)
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 4a1d0977dbb6eb960ca4deedba90940bcaeecefb
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun May 8 12:20:58 2022 -0700
+
+    Import reallocarray() from libX11 (originally from OpenBSD)
+    
+    Wrapper for realloc() that checks for overflow when multiplying
+    arguments together, so we don't have to add overflow checks to
+    every single call.  For documentation on usage, see:
+    http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/calloc.3
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 8896fbce317e454e578cc80300693737e39e00fc
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun May 8 12:05:16 2022 -0700
+
+    gitlab CI: add a basic build test
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 29f790a5c98abde13b3daa5a7b1c1f53c4574550
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun May 8 12:01:22 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 aea1ce86c4391ba72de4e8599f3862eccd3599f0
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun May 8 12:00:23 2022 -0700
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit 02de7390e58f00a3701f656a2b205dc6c8dafb58
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Sun Mar 10 15:39:06 2019 -0700
@@ -796,7 +856,7 @@
     Signed-off-by: Gaetan Nadon <memsize%videotron.ca@localhost>
 
 commit 5895de6dedcb8603b6a415d3486395c29501868c
-Author: Cristian Rodríguez <cristian.rodriguez%opensuse.org@localhost>
+Author: Cristian Rodríguez  <cristian.rodriguez%opensuse.org@localhost>
 Date:   Tue Dec 14 15:07:34 2010 -0500
 
     Export only public API symbols
@@ -1192,7 +1252,7 @@
         <X11/fonts/foo.h>.
 
 commit 6847a3b405dd98a1aa7804e97e6b2ce13bbf8bd7
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Wed Jun 22 22:46:31 2005 +0000
 
     Apply these patches from Theo van Klaveren:
@@ -1214,7 +1274,7 @@
     Copy Xtrans.h to exports/include/X11/Xtrans only
 
 commit 6c0b06eddcffce31814cb103142f5cda2df9da91
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Wed May 25 22:12:21 2005 +0000
 
     - Use XTRANS_CONNECTION_FLAGS macro in lib/FS/configure.ac
@@ -1222,7 +1282,7 @@
     - instead add a new file fs_transport.c that include Xtrans/X11/transport.c
 
 commit 3a9234d968568f2009376cdb219ea47b90572c68
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Wed May 25 21:47:56 2005 +0000
 
     - Add FSlib to symlink.sh
diff -r 8b51f6553b25 -r 9ee3ac826e53 external/mit/libFS/dist/Makefile.in
--- a/external/mit/libFS/dist/Makefile.in       Thu Aug 11 23:09:58 2022 +0000
+++ b/external/mit/libFS/dist/Makefile.in       Fri Sep 09 03:35:46 2022 +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,10 @@
   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)/libfs.pc.in COPYING ChangeLog INSTALL compile \
-       config.guess config.sub install-sh ltmain.sh missing
+       $(srcdir)/libfs.pc.in COPYING 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)
@@ -246,9 +243,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$$'
@@ -270,8 +269,9 @@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
 CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
 CWARNFLAGS = @CWARNFLAGS@
 CYGPATH_W = @CYGPATH_W@
 DEFS = @DEFS@
@@ -285,8 +285,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@
 FS_CFLAGS = @FS_CFLAGS@
@@ -390,6 +392,7 @@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -429,8 +432,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)
@@ -615,8 +618,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'`; \
@@ -684,8 +689,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)
@@ -693,11 +699,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
@@ -709,7 +718,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
@@ -727,7 +736,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*) \
@@ -737,9 +746,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)
@@ -755,7 +766,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 \
@@ -921,7 +932,7 @@
        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-hdr distclean-libtool \
        distclean-tags distcleancheck distdir distuninstallcheck dvi \
        dvi-am html html-am info info-am install install-am \
diff -r 8b51f6553b25 -r 9ee3ac826e53 external/mit/libFS/dist/README.md
--- a/external/mit/libFS/dist/README.md Thu Aug 11 23:09:58 2022 +0000
+++ b/external/mit/libFS/dist/README.md Fri Sep 09 03:35:46 2022 +0000
@@ -9,7 +9,7 @@
 
   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/libFS
 



Home | Main Index | Thread Index | Old Index