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.2



details:   https://anonhg.NetBSD.org/xsrc/rev/fcb3668ef169
branches:  xorg
changeset: 10454:fcb3668ef169
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Feb 23 10:08:49 2020 +0000

description:
initial import of font-util-1.3.2

diffstat:

 external/mit/font-util/dist/ChangeLog       |   100 +
 external/mit/font-util/dist/Makefile.am     |     2 +-
 external/mit/font-util/dist/Makefile.in     |     8 +-
 external/mit/font-util/dist/README.md       |    23 +
 external/mit/font-util/dist/aclocal.m4      |  2549 ++++++++++++++------------
 external/mit/font-util/dist/config.guess    |   679 +++---
 external/mit/font-util/dist/config.sub      |   304 +-
 external/mit/font-util/dist/configure       |    66 +-
 external/mit/font-util/dist/configure.ac    |     4 +-
 external/mit/font-util/dist/man/Makefile.in |     2 +
 external/mit/font-util/dist/ucs2any.c       |     6 +
 11 files changed, 2038 insertions(+), 1705 deletions(-)

diffs (truncated from 5441 to 300 lines):

diff -r 07b2f09f437c -r fcb3668ef169 external/mit/font-util/dist/ChangeLog
--- a/external/mit/font-util/dist/ChangeLog     Sun Feb 23 09:57:46 2020 +0000
+++ b/external/mit/font-util/dist/ChangeLog     Sun Feb 23 10:08:49 2020 +0000
@@ -1,3 +1,103 @@
+commit d45011b8324fecebb4fc79e57491d341dd96e325
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Aug 25 15:23:33 2019 -0700
+
+    font-util 1.3.2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit c5d12b729b61576069f479a0b5141aedea04676b
+Author: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+Date:   Wed Nov 8 21:36:32 2017 +0100
+
+    ucs2any: Fix parser crash on 32 bit
+    
+    It is possible to crash ucs2any or provoke successful return value even
+    though the processing was not successful.
+    
+    The problem lies within a possible integer overflow when adding elements
+    with a key which is too large.
+    
+    You can trigger the issue this way on a 32 bit system:
+    
+    $ cat > source.bdf << "EOF"
+    STARTFONT source
+    CHARS 1
+    ENCODING 1073741823
+    EOF
+    $ ucs2any source.bdf
+    Segmentation fault
+    $ _
+    
+    Another possibility would be to add "ENCODING 1" right after the CHARS
+    line. In that case, realloc will allocate 0 bytes afterwards which is a
+    success but might return NULL, e.g. on Linux/glibc systems. Such a
+    result value is handled as an error and errno is evaluated and returned,
+    even though there was no error:
+    
+    $ cat > source.bdf << "EOF"
+    STARTFONT source
+    CHARS 1
+    ENCODING 1
+    ENCODING 1073741823
+    EOF
+    $ ucs2any source.bdf
+    ucs2any: Success
+    $ echo $?
+    0
+    $ _
+    
+    Signed-off-by: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 1d70c9accf93b9fae1b9adb48e47b7d96a5ae64e
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Dec 7 19:27:32 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 202d167db645cfb6bd9218641b08833a6134ea04
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 18 21:41:33 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit b98fe13193464042d2733308cdc2343adbc6163a
+Author: Mihail Konev <k.mvc%ya.ru@localhost>
+Date:   Thu Jan 26 13:52:48 2017 +1000
+
+    autogen: add default patch prefix
+    
+    Signed-off-by: Mihail Konev <k.mvc%ya.ru@localhost>
+
+commit cf962e480dc73315a4f2288f4d4e007cf3fb9905
+Author: Emil Velikov <emil.l.velikov%gmail.com@localhost>
+Date:   Mon Mar 9 12:00:52 2015 +0000
+
+    autogen.sh: use quoted string variables
+    
+    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
+    fall-outs, when they contain space.
+    
+    Signed-off-by: Emil Velikov <emil.l.velikov%gmail.com@localhost>
+    Reviewed-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+    Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit 0abff92dc2370c57e79d028c17e6d7aeb50048f1
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date:   Tue Jan 24 10:32:07 2017 +1000
+
+    autogen.sh: use exec instead of waiting for configure to finish
+    
+    Syncs the invocation of configure with the one from the server.
+    
+    Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+    Reviewed-by: Emil Velikov <emil.velikov%collabora.com@localhost>
+
 commit cfe0b4fb8f87b03060a3d3c9538df144856b5e9f
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Sat Mar 14 09:00:06 2015 -0700
diff -r 07b2f09f437c -r fcb3668ef169 external/mit/font-util/dist/Makefile.am
--- a/external/mit/font-util/dist/Makefile.am   Sun Feb 23 09:57:46 2020 +0000
+++ b/external/mit/font-util/dist/Makefile.am   Sun Feb 23 10:08:49 2020 +0000
@@ -55,7 +55,7 @@
 
 CLEANFILES = bdftruncate
 
-EXTRA_DIST = $(mapfiles_DATA)
+EXTRA_DIST = $(mapfiles_DATA) README.md
 
 MAINTAINERCLEANFILES = ChangeLog INSTALL
 
diff -r 07b2f09f437c -r fcb3668ef169 external/mit/font-util/dist/Makefile.in
--- a/external/mit/font-util/dist/Makefile.in   Sun Feb 23 09:57:46 2020 +0000
+++ b/external/mit/font-util/dist/Makefile.in   Sun Feb 23 10:08:49 2020 +0000
@@ -236,8 +236,8 @@
 DIST_SUBDIRS = $(SUBDIRS)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
        $(srcdir)/fontutil.m4.in $(srcdir)/fontutil.pc.in COPYING \
-       ChangeLog INSTALL README compile config.guess config.sub \
-       depcomp install-sh missing
+       ChangeLog INSTALL compile config.guess config.sub depcomp \
+       install-sh missing
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
@@ -340,6 +340,8 @@
 PACKAGE_VERSION = @PACKAGE_VERSION@
 PATH_SEPARATOR = @PATH_SEPARATOR@
 PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
 SED = @SED@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
@@ -427,7 +429,7 @@
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = fontutil.pc
 CLEANFILES = bdftruncate
-EXTRA_DIST = $(mapfiles_DATA)
+EXTRA_DIST = $(mapfiles_DATA) README.md
 MAINTAINERCLEANFILES = ChangeLog INSTALL
 all: config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
diff -r 07b2f09f437c -r fcb3668ef169 external/mit/font-util/dist/README.md
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/font-util/dist/README.md     Sun Feb 23 10:08:49 2020 +0000
@@ -0,0 +1,23 @@
+X.Org font package creation/installation utilities
+--------------------------------------------------
+
+If the --with-fontrootdir option is specified when configuring this
+package, it will be recorded in the fontutil pkg-config file to be used
+as the default parent directory for font modules built using the fontutil
+macros from version 1.1 or later of this package.
+
+All questions regarding this software should be directed at the
+Xorg mailing list:
+
+  https://lists.x.org/mailman/listinfo/xorg
+
+The master development code repository can be found at:
+
+  https://gitlab.freedesktop.org/xorg/font/util
+
+Please submit bug reports and requests to merge patches there.
+
+For patch submission instructions, see:
+
+  https://www.x.org/wiki/Development/Documentation/SubmittingPatches
+
diff -r 07b2f09f437c -r fcb3668ef169 external/mit/font-util/dist/aclocal.m4
--- a/external/mit/font-util/dist/aclocal.m4    Sun Feb 23 09:57:46 2020 +0000
+++ b/external/mit/font-util/dist/aclocal.m4    Sun Feb 23 10:08:49 2020 +0000
@@ -20,1165 +20,71 @@
 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-2014 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.15'
-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.15], [],
-      [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.15])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-2014 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.
-
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
-# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
-# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
-#
-# Of course, Automake must honor this variable whenever it calls a
-# tool from the auxiliary directory.  The problem is that $srcdir (and
-# therefore $ac_aux_dir as well) can be either absolute or relative,
-# depending on how configure is run.  This is pretty annoying, since
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
-# source directory, any form will work fine, but in subdirectories a
-# relative path needs to be adjusted first.
-#
-# $ac_aux_dir/missing
-#    fails when called from a subdirectory if $ac_aux_dir is relative
-# $top_srcdir/$ac_aux_dir/missing
-#    fails if $ac_aux_dir is absolute,
-#    fails when called from a subdirectory in a VPATH build with
-#          a relative $ac_aux_dir
-#
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
-# are both prefixed by $srcdir.  In an in-source build this is usually
-# harmless because $srcdir is '.', but things will broke when you
-# start a VPATH build or use an absolute $srcdir.
-#
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
-# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
-#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
-# and then we would define $MISSING as
-#   MISSING="\${SHELL} $am_aux_dir/missing"
-# This will work as long as MISSING is not called from configure, because
-# unfortunately $(top_srcdir) has no meaning in configure.
-# However there are other variables, like CC, which are often used in
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
-#
-# Another solution, used here, is to always expand $ac_aux_dir to an
-# absolute PATH.  The drawback is that using absolute paths prevent a
-# configured tree to be moved without reconfiguration.
-
-AC_DEFUN([AM_AUX_DIR_EXPAND],
-[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
-# Expand $ac_aux_dir to an absolute path.
-am_aux_dir=`cd "$ac_aux_dir" && pwd`
-])
-
-# AM_CONDITIONAL                                            -*- Autoconf -*-
-
-# Copyright (C) 1997-2014 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_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ([2.52])dnl
- m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
-       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])dnl
-AC_SUBST([$1_FALSE])dnl
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
-m4_define([_AM_COND_VALUE_$1], [$2])dnl
-if $2; then
-  $1_TRUE=
-  $1_FALSE='#'
-else
-  $1_TRUE='#'
-  $1_FALSE=
-fi



Home | Main Index | Thread Index | Old Index