Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/bdftopcf/dist initial import of bdftopcf-1.1.1



details:   https://anonhg.NetBSD.org/xsrc/rev/c801b07424a2
branches:  trunk
changeset: 7187:c801b07424a2
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Oct 16 22:45:58 2022 +0000

description:
initial import of bdftopcf-1.1.1

diffstat:

 external/mit/bdftopcf/dist/ChangeLog       |   188 +-
 external/mit/bdftopcf/dist/Makefile.am     |     6 +-
 external/mit/bdftopcf/dist/Makefile.in     |   166 +-
 external/mit/bdftopcf/dist/README.md       |    22 +
 external/mit/bdftopcf/dist/aclocal.m4      |  2406 ++++----
 external/mit/bdftopcf/dist/atom.c          |   234 +-
 external/mit/bdftopcf/dist/bdfint.h        |    34 +-
 external/mit/bdftopcf/dist/bdfread.c       |  1062 +-
 external/mit/bdftopcf/dist/bdftopcf.c      |     4 -
 external/mit/bdftopcf/dist/bdfutils.c      |   217 +-
 external/mit/bdftopcf/dist/bitmap.c        |   156 +-
 external/mit/bdftopcf/dist/bitmap.h        |    60 +-
 external/mit/bdftopcf/dist/bitmaputil.c    |   222 +-
 external/mit/bdftopcf/dist/bufio.c         |   146 +-
 external/mit/bdftopcf/dist/bufio.h         |    46 +-
 external/mit/bdftopcf/dist/compile         |    12 +-
 external/mit/bdftopcf/dist/config.guess    |  1604 +++--
 external/mit/bdftopcf/dist/config.h        |    20 +-
 external/mit/bdftopcf/dist/config.h.in     |    10 +-
 external/mit/bdftopcf/dist/config.sub      |  2932 +++++-----
 external/mit/bdftopcf/dist/configure       |  7944 +++++++++++++++------------
 external/mit/bdftopcf/dist/configure.ac    |     8 +-
 external/mit/bdftopcf/dist/defaults.c      |     2 +-
 external/mit/bdftopcf/dist/depcomp         |     8 +-
 external/mit/bdftopcf/dist/fileio.c        |    23 +-
 external/mit/bdftopcf/dist/filewr.c        |    18 +-
 external/mit/bdftopcf/dist/fntfil.h        |   209 +-
 external/mit/bdftopcf/dist/fntfilio.h      |    15 +-
 external/mit/bdftopcf/dist/fntfilst.h      |   166 +-
 external/mit/bdftopcf/dist/font.h          |    39 +-
 external/mit/bdftopcf/dist/fontaccel.c     |    93 +-
 external/mit/bdftopcf/dist/fontink.c       |   151 +-
 external/mit/bdftopcf/dist/fontmisc.h      |    43 +-
 external/mit/bdftopcf/dist/fontutil.h      |    28 +-
 external/mit/bdftopcf/dist/fontxlfd.h      |    42 +-
 external/mit/bdftopcf/dist/install-sh      |   170 +-
 external/mit/bdftopcf/dist/man/Makefile.in |    21 +-
 external/mit/bdftopcf/dist/missing         |    14 +-
 external/mit/bdftopcf/dist/pcf.h           |    20 +-
 external/mit/bdftopcf/dist/pcfwrite.c      |   519 +-
 external/mit/bdftopcf/dist/private.c       |    69 +-
 external/mit/bdftopcf/dist/utilbitmap.c    |   162 +-
 42 files changed, 10124 insertions(+), 9187 deletions(-)

diffs (truncated from 26799 to 300 lines):

diff -r 7d020113dcb6 -r c801b07424a2 external/mit/bdftopcf/dist/ChangeLog
--- a/external/mit/bdftopcf/dist/ChangeLog      Wed Sep 28 02:37:06 2022 +0000
+++ b/external/mit/bdftopcf/dist/ChangeLog      Sun Oct 16 22:45:58 2022 +0000
@@ -1,3 +1,189 @@
+commit 84eaf7f1bdd402661a83db7ad914eb7f8d5dc627
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Oct 15 11:53:35 2022 -0700
+
+    bdftopcf 1.1.1
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 200c891ed4a3d364aebdb18ed116ebbfd8101afe
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Sep 24 09:45:57 2022 -0700
+
+    Remove weak symbol setup from Atom code
+    
+    Not needed here, since this isn't a library and there is no
+    other source of these functions we link against.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 7e29b1d29c6d7cbabe1bad536f7b8f644bffcd4f
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Sep 16 16:05:28 2022 -0700
+
+    Remove unnecessary cast of strlen result in malloc argument
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 949da2db3e9357d8256863475a8c63409a8fc7b9
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Sep 16 15:58:21 2022 -0700
+
+    Fix -Wsign-compare warnings
+    
+    atom.c: In function ‘MakeAtom’:
+    atom.c:161:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+                 if (hashTable[h]->hash == hash && hashTable[h]->len == len &&
+                                                                     ^~
+    atom.c:172:69: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+                     if (hashTable[h]->hash == hash && hashTable[h]->len == len &&
+                                                                         ^~
+    atom.c:207:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+         if (reverseMapSize <= a->atom) {
+                            ^~
+    bitmap.c: In function ‘bitmapGetMetrics’:
+    bitmap.c:154:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+                 for (int i = 0; i < *glyphCount; i++) {
+                                   ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit c0fb322b8d53e3f9fdffbba8c733c78ff3d50c85
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Sep 16 15:50:53 2022 -0700
+
+    Remove redundant null-pointer check
+    
+    As warned by cppcheck:
+    
+    bdfread.c:130:18: style: Condition '!line' is always false [knownConditionTrueFalse]
+                if ((!line) || (bdfIsPrefix(line, "ENDCHAR")))
+                     ^
+    bdfread.c:126:13: note: Assuming condition '!line' is false
+            if (!line)
+                ^
+    bdfread.c:130:18: note: Condition '!line' is always false
+                if ((!line) || (bdfIsPrefix(line, "ENDCHAR")))
+                     ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit d3e6a823537bb451be60febb6bfc769135fe5b35
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Sep 16 15:46:57 2022 -0700
+
+    Remove redundant assignment
+    
+    As warned by cppcheck:
+    bdfutils.c:164:17: style: Variable 'pp' is reassigned a value before the old one has been used. [redundantAssignment]
+            for (pp = s; *pp; pp++)
+                    ^
+    bdfutils.c:162:12: note: pp is assigned
+            pp = s;
+               ^
+    bdfutils.c:164:17: note: pp is overwritten
+            for (pp = s; *pp; pp++)
+                    ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit fa8eed6deefbb96d9d3e2af1b23b9fff193bda92
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Sep 16 15:41:31 2022 -0700
+
+    Make some functions static that aren't called from other files
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 746899671c4d6f9d8b7fb25bb17109b331a1b2ed
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Sep 16 15:23:36 2022 -0700
+
+    Delete functions identified as unused by cppcheck
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 6d526c90729d1b66da6c2546ad3ae794ff0f7751
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Sep 16 14:34:41 2022 -0700
+
+    Variable scope reductions as recommended by cppcheck
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 548998994665241967a43e583f5d0f00ee089289
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Sep 16 13:20:48 2022 -0700
+
+    Add .git-blame-ignore-revs to hide whitespace commits from git blame
+    
+    To use this in your local repo clone, you will need to either run
+    `git blame --ignore-revs-file .git-blame-ignore-revs`
+    or set it permanently with
+    `git config blame.ignoreRevsFile .git-blame-ignore-revs`
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 1b66daf529d60196422ba71e77bb95ce74277447
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Sep 16 13:17:52 2022 -0700
+
+    Adopt X.Org standard coding style (via x-indent-all.sh)
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 65861022b037b0262529c1e1eedecd0e00afb02d
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jan 9 12:00:57 2022 -0800
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit c9b595bc61dc5519349a47c2ba07bf7309066657
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jan 9 11:59:32 2022 -0800
+
+    gitlab CI: add a basic build test
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 33edfaac0e8ddd9d125bdae8d3025f79642151d7
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 28 13:48:34 2021 -0800
+
+    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 7a9d318d64c85a9000f8baeb23c267ac8629c6c0
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Nov 21 16:38:42 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 91d4da2a278b28c4d9fda0832b23fd6309d925fb
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Nov 16 19:20:06 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit abf4bc86b696a41eb9183432bc1bbe84ae037194
+Author: Matthieu Herrb <matthieu%herrb.eu@localhost>
+Date:   Sun Dec 10 13:48:00 2017 +0100
+
+    Depend on xproto and fsproto that are now used.
+    
+    Signed-off-by: Matthieu Herrb <matthieu%herrb.eu@localhost>
+    Reviewed-by: Matt Turner <mattst88%gmail.com@localhost>
+
 commit c0b7d0b4a8436145f3fddc78d2452d7c720cce8b
 Author: Adam Jackson <ajax%redhat.com@localhost>
 Date:   Tue Nov 7 14:10:52 2017 -0500
@@ -484,7 +670,7 @@
     Use sed to fill in variables in man page
 
 commit 1367d1093078bb49e4f1b5f1453fea41ae6f2b25
-Author: Kristian Høgsberg <krh%redhat.com@localhost>
+Author: Kristian Høgsberg  <krh%redhat.com@localhost>
 Date:   Fri Sep 23 20:39:52 2005 +0000
 
     Fill these in.
diff -r 7d020113dcb6 -r c801b07424a2 external/mit/bdftopcf/dist/Makefile.am
--- a/external/mit/bdftopcf/dist/Makefile.am    Wed Sep 28 02:37:06 2022 +0000
+++ b/external/mit/bdftopcf/dist/Makefile.am    Sun Oct 16 22:45:58 2022 +0000
@@ -22,7 +22,8 @@
 SUBDIRS = man
 bin_PROGRAMS = bdftopcf
 
-AM_CFLAGS = $(CWARNFLAGS)
+AM_CFLAGS = $(BDFTOPCF_CFLAGS) $(CWARNFLAGS)
+bdftopcf_LDADD = $(BDFTOPCF_LIBS)
 
 bdftopcf_SOURCES = \
        atom.c \
@@ -50,7 +51,6 @@
        pcf.h \
        pcfwrite.c \
        private.c \
-       stubs.h \
        utilbitmap.c \
        bdftopcf.c
 
@@ -73,3 +73,5 @@
 lint:
        $(LINT) $(ALL_LINT_FLAGS) $(bdftopcf_SOURCES)
 endif LINT
+
+EXTRA_DIST = README.md
diff -r 7d020113dcb6 -r c801b07424a2 external/mit/bdftopcf/dist/Makefile.in
--- a/external/mit/bdftopcf/dist/Makefile.in    Wed Sep 28 02:37:06 2022 +0000
+++ b/external/mit/bdftopcf/dist/Makefile.in    Sun Oct 16 22:45:58 2022 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.15.1 from Makefile.am.
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994-2017 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,
@@ -132,7 +132,8 @@
        pcfwrite.$(OBJEXT) private.$(OBJEXT) utilbitmap.$(OBJEXT) \
        bdftopcf.$(OBJEXT)
 bdftopcf_OBJECTS = $(am_bdftopcf_OBJECTS)
-bdftopcf_LDADD = $(LDADD)
+am__DEPENDENCIES_1 =
+bdftopcf_DEPENDENCIES = $(am__DEPENDENCIES_1)
 AM_V_P = $(am__v_P_@AM_V@)
 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
 am__v_P_0 = false
@@ -147,7 +148,15 @@
 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)/atom.Po ./$(DEPDIR)/bdfread.Po \
+       ./$(DEPDIR)/bdftopcf.Po ./$(DEPDIR)/bdfutils.Po \
+       ./$(DEPDIR)/bitmap.Po ./$(DEPDIR)/bitmaputil.Po \
+       ./$(DEPDIR)/bufio.Po ./$(DEPDIR)/defaults.Po \
+       ./$(DEPDIR)/fileio.Po ./$(DEPDIR)/filewr.Po \
+       ./$(DEPDIR)/fontaccel.Po ./$(DEPDIR)/fontink.Po \
+       ./$(DEPDIR)/pcfwrite.Po ./$(DEPDIR)/private.Po \
+       ./$(DEPDIR)/utilbitmap.Po
 am__mv = mv -f
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@@ -183,9 +192,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.
@@ -202,12 +211,9 @@
   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 AUTHORS \
-       COPYING ChangeLog INSTALL README compile config.guess \
+       COPYING ChangeLog INSTALL README.md compile config.guess \
        config.sub depcomp install-sh missing
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
@@ -244,9 +250,11 @@
     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
   done; \
   reldir="$$dir2"


Home | Main Index | Thread Index | Old Index