Source-Changes-HG archive

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

[xsrc/xorg]: xsrc/external/mit/font-util/dist initial import of font-util-1.3.3



details:   https://anonhg.NetBSD.org/xsrc/rev/1ba8b3218484
branches:  xorg
changeset: 7079:1ba8b3218484
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Jul 13 18:59:13 2022 +0000

description:
initial import of font-util-1.3.3

diffstat:

 external/mit/font-util/dist/ChangeLog       |    79 +-
 external/mit/font-util/dist/Makefile.in     |    99 +-
 external/mit/font-util/dist/README.md       |     2 +-
 external/mit/font-util/dist/aclocal.m4      |  2313 ++++---
 external/mit/font-util/dist/compile         |    17 +-
 external/mit/font-util/dist/config.guess    |  1488 +++--
 external/mit/font-util/dist/config.h.in     |    10 +-
 external/mit/font-util/dist/config.sub      |  2885 +++++----
 external/mit/font-util/dist/configure       |  7798 ++++++++++++++------------
 external/mit/font-util/dist/configure.ac    |     4 +-
 external/mit/font-util/dist/depcomp         |    10 +-
 external/mit/font-util/dist/install-sh      |   172 +-
 external/mit/font-util/dist/man/Makefile.in |    19 +-
 external/mit/font-util/dist/man/ucs2any.man |     2 +-
 external/mit/font-util/dist/missing         |    16 +-
 external/mit/font-util/dist/ucs2any.c       |    31 +-
 16 files changed, 7979 insertions(+), 6966 deletions(-)

diffs (truncated from 20952 to 300 lines):

diff -r 65dd50ec6f48 -r 1ba8b3218484 external/mit/font-util/dist/ChangeLog
--- a/external/mit/font-util/dist/ChangeLog     Wed Jul 13 18:59:10 2022 +0000
+++ b/external/mit/font-util/dist/ChangeLog     Wed Jul 13 18:59:13 2022 +0000
@@ -1,3 +1,80 @@
+commit 2ef6b22ad908c024b6c2fbde5c1de62123f82dc2
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Tue Jul 12 11:28:17 2022 -0700
+
+    font-util 1.3.3
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 88bd16463e59455cda7e45e563867988c7e70d8d
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Tue Jul 12 11:26:05 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 aaddab088412777ffea435e83847f8aac9b9ce81
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Dec 8 14:11:58 2021 -0800
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit e1a2c79b4edea2af1a82db24b2dc993a6e530d5a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Dec 8 14:11:54 2021 -0800
+
+    gitlab CI: add a basic build test
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 564adb96f10a0bf43d67401b05ba0fcafe7c0a83
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Nov 16 18:22:23 2020 -0800
+
+    ucs2any: handle NULL returns from zquotedcpy()
+    
+    bdf file for testing:
+    
+    STARTFONT 2.1
+    FONT "Bad quotes test font-ISO10646-1
+    SIZE 7 75 75
+    FONTBOUNDINGBOX 5 7 0 -1
+    STARTPROPERTIES 3
+    SPACING "C
+    SLANT "R
+    ENDPROPERTIES
+    CHARS 0
+    ENDFONT
+    
+    Before this fix, the above segfaults when the NULL return from
+    zquotedcpy() is passed to other functions expecting a string.
+    
+    Fixes: 21063_61 & 21063_86 from https://cyber-itl.org/2020/10/28/citl-7000-defects.html
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit f78cd55ccd913855cc5569dfe2a9213e217bc469
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 15 17:06:26 2020 -0800
+
+    ucs2any: avoid segfaults if SLANT property is missing
+    
+    Test case:
+     grep -v SLANT ../../misc-misc/5x7.bdf > 5x7-noslant.bdf
+     ucs2any 5x7-noslant.bdf ../map-ISO8859-1 -d
+    
+    Before this fix, the above segfaults in strcmp with a NULL slant pointer.
+    
+    Fixes: 21063_131 from https://cyber-itl.org/2020/10/28/citl-7000-defects.html
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit d45011b8324fecebb4fc79e57491d341dd96e325
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Sun Aug 25 15:23:33 2019 -0700
@@ -364,7 +441,7 @@
     Reviewed-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 
 commit 62529733e57b6d6c775b1bcf584260b1cff6af5c
-Author: Michał Górny <mgorny%gentoo.org@localhost>
+Author: Michał Górny < <mgorny%gentoo.org@localhost>
 Date:   Thu Oct 7 17:31:06 2010 +0200
 
     fontutil.m4: Add a shorthand --disable-all-encodings option.
diff -r 65dd50ec6f48 -r 1ba8b3218484 external/mit/font-util/dist/Makefile.in
--- a/external/mit/font-util/dist/Makefile.in   Wed Jul 13 18:59:10 2022 +0000
+++ b/external/mit/font-util/dist/Makefile.in   Wed Jul 13 18:59:13 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,
@@ -147,7 +147,9 @@
 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)/bdftruncate.Po \
+       ./$(DEPDIR)/ucs2any.Po
 am__mv = mv -f
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@@ -211,9 +213,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.
@@ -230,14 +232,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)/fontutil.m4.in $(srcdir)/fontutil.pc.in COPYING \
-       ChangeLog INSTALL compile config.guess config.sub depcomp \
-       install-sh missing
+       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)
@@ -273,9 +272,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$$'
@@ -296,8 +297,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@
@@ -307,11 +309,10 @@
 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@
@@ -392,6 +393,7 @@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -457,8 +459,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)
@@ -545,8 +547,14 @@
 distclean-compile:
        -rm -f *.tab.c
 
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bdftruncate.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ucs2any.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bdftruncate.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ucs2any.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 $@ $<
@@ -730,8 +738,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'`; \
@@ -799,8 +809,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)
@@ -808,11 +819,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
@@ -824,7 +838,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
@@ -842,7 +856,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*) \
@@ -852,9 +866,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)
@@ -870,7 +886,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 \


Home | Main Index | Thread Index | Old Index