Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/xfd/dist initial import of xfd-1.1.4



details:   https://anonhg.NetBSD.org/xsrc/rev/fca9a4b25e2c
branches:  trunk
changeset: 7325:fca9a4b25e2c
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jan 08 09:18:35 2023 +0000

description:
initial import of xfd-1.1.4

diffstat:

 external/mit/xfd/dist/ChangeLog       |   123 +-
 external/mit/xfd/dist/Makefile.am     |     3 +-
 external/mit/xfd/dist/Makefile.in     |   113 +-
 external/mit/xfd/dist/aclocal.m4      |  2313 ++++----
 external/mit/xfd/dist/config.guess    |  1488 +++--
 external/mit/xfd/dist/config.h.in     |    10 +-
 external/mit/xfd/dist/config.sub      |  2885 ++++++-----
 external/mit/xfd/dist/configure       |  7942 +++++++++++++++++---------------
 external/mit/xfd/dist/configure.ac    |     8 +-
 external/mit/xfd/dist/depcomp         |    10 +-
 external/mit/xfd/dist/grid.c          |    43 +-
 external/mit/xfd/dist/install-sh      |   172 +-
 external/mit/xfd/dist/man/Makefile.in |    19 +-
 external/mit/xfd/dist/missing         |    16 +-
 external/mit/xfd/dist/xfd.c           |    22 +-
 15 files changed, 8105 insertions(+), 7062 deletions(-)

diffs (truncated from 21454 to 300 lines):

diff -r cb082d19883f -r fca9a4b25e2c external/mit/xfd/dist/ChangeLog
--- a/external/mit/xfd/dist/ChangeLog   Sun Jan 08 09:18:31 2023 +0000
+++ b/external/mit/xfd/dist/ChangeLog   Sun Jan 08 09:18:35 2023 +0000
@@ -1,3 +1,118 @@
+commit a70254dac5e63fbe4f8aa89433189a613a509e1f
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Dec 3 13:46:02 2022 -0800
+
+    xfd 1.1.4
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 09834f092c6fb5ac4945bfd1b7b5bb228e42e04d
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Nov 12 15:23:52 2022 -0800
+
+    Tag unused arguments to callback functions as _X_UNUSED
+    
+    Gets rid of 33 -Wunused-parameter warnings from clang
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit d9ba30a6f56b2bb7e6f1b125a3d2eaa871c96eba
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Nov 12 13:05:24 2022 -0800
+
+    Handle -Wextra-semi-stmt warnings from clang
+    
+    Use do {...} while (0) idiom for pre-processor macros that define
+    code blocks so that trailing semi-colons don't appear to be extraneous
+    
+    grid.c:305:38: warning: empty expression statement has no effect;
+      remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
+                CI_GET_CHAR_INFO_1D (fs, ch, cs);
+                                                ^
+    grid.c:311:40: warning: empty expression statement has no effect;
+      remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
+                CI_GET_CHAR_INFO_2D (fs, r, c, cs);
+                                                  ^
+    grid.c:488:46: warning: empty expression statement has no effect;
+      remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
+        donestr (XftColor, xftColor, XtRXftColor);
+                                                 ^
+    grid.c:546:42: warning: empty expression statement has no effect;
+      remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
+        donestr (XftFont *, font, XtRXftFont);
+                                             ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 0be214afe5eeddc6d5e6cdcae9b7242d4e11b3cd
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Thu Jul 28 17:30:21 2022 -0700
+
+    gitlab CI: stop requiring Signed-off-by in commits
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 2ffeff68a6774675b1741655fa7a22c7af93c2ac
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Oct 16 11:00:38 2022 -0700
+
+    Mark usage() as _X_NORETURN _X_COLD
+    
+    Raises minimum xproto requirement to 7.0.25 from Nov. 2013
+    to get the _X_COLD definition in <X11/Xfuncproto.h>
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 122fa8689837bc5a5166432609f351c200a17ef6
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Oct 16 10:58:05 2022 -0700
+
+    Variable scope reductions as recommended by cppcheck
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit da378df9565f7a8e1e086d1676c6742a5ca9d5f4
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Oct 16 10:51:18 2022 -0700
+
+    Fix warning: missing initializer for field ‘extension’ of ‘SimpleClassPart'
+    
+    grid.c:153:3: warning: missing initializer for field ‘extension’ of ‘SimpleClassPart {aka struct <anonymous>}’ [-Wmissing-field-initializers]
+       }
+       ^
+    In file included from grid.c:34:0:
+    /net/also.us.oracle.com/export/alanc/X.Org/amd64-gcc/install/usr/X11R7/include/X11/Xaw/SimpleP.h:62:15: note: ‘extension’ declared here
+         XtPointer extension;
+                   ^~~~~~~~~
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit d946324dae78f15ffe63f1e129eb4cb35a7116b8
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Oct 16 10:42:15 2022 -0700
+
+    Use _CONST_X_STRING to make libXt declare String as const char *
+    
+    Clears 46 out of 68 -Wdiscarded-qualifiers warnings from gcc
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 9fdbf13e82163a69acf218ae5850b33fd5a0ff91
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Dec 6 12:00:17 2021 -0800
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 66bfd8cf6e349edb42de3474b53e9f50db3a4694
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Dec 6 12:00:14 2021 -0800
+
+    gitlab CI: add a basic build test
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit 9cf6578a0c35b14af13dc104ab3f4ccf64e673ae
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Sat Mar 9 18:56:26 2019 -0800
@@ -605,7 +720,7 @@
     Use sed to fill in variables in man page
 
 commit bd8980b53fe42bd02524fffd77aea85895fd8b22
-Author: Kristian Høgsberg <krh%redhat.com@localhost>
+Author: Kristian Høgsberg  <krh%redhat.com@localhost>
 Date:   Tue Sep 27 20:23:15 2005 +0000
 
     Update configure.ac to not require xaw8.
@@ -638,7 +753,7 @@
     - Update modular Xorg version
 
 commit 84402c21218d680e062d1effd217472d5a0d98dd
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Wed Jul 27 22:41:14 2005 +0000
 
     Add _BSD_SOURCE to xfd
@@ -670,7 +785,7 @@
         configure cache, you cache it, and the cached value is probably wrong.
 
 commit 3fc196e33de9fe3c8468d771763c4433328c764c
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Wed Jul 6 19:26:26 2005 +0000
 
     - Xaw/xaw.m4: Change help string to say "enable xprint" instead of "disable
@@ -681,7 +796,7 @@
     - remove font/arabic-misc/README and font/mutt-misc/README
 
 commit 5309f3af0daaf8292ad4fbdd8a7c1c66dc20a178
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Wed Jul 6 15:14:08 2005 +0000
 
     Build system for xfd
diff -r cb082d19883f -r fca9a4b25e2c external/mit/xfd/dist/Makefile.am
--- a/external/mit/xfd/dist/Makefile.am Sun Jan 08 09:18:31 2023 +0000
+++ b/external/mit/xfd/dist/Makefile.am Sun Jan 08 09:18:35 2023 +0000
@@ -22,7 +22,8 @@
 SUBDIRS = man
 bin_PROGRAMS = xfd
 
-AM_CPPFLAGS = -DXRENDER -D_BSD_SOURCE -DLOCALEDIR=\"$(LOCALEDIR)\"
+AM_CPPFLAGS = -DXRENDER -D_BSD_SOURCE -DLOCALEDIR=\"$(LOCALEDIR)\" \
+        -D_CONST_X_STRING
 AM_CFLAGS = $(XFD_CFLAGS) $(CWARNFLAGS)
 xfd_LDADD = $(XFD_LIBS)
 
diff -r cb082d19883f -r fca9a4b25e2c external/mit/xfd/dist/Makefile.in
--- a/external/mit/xfd/dist/Makefile.in Sun Jan 08 09:18:31 2023 +0000
+++ b/external/mit/xfd/dist/Makefile.in Sun Jan 08 09:18:35 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,
@@ -145,7 +145,8 @@
 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)/grid.Po ./$(DEPDIR)/xfd.Po
 am__mv = mv -f
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@@ -209,9 +210,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.
@@ -228,13 +229,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 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)
@@ -270,9 +268,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$$'
@@ -295,8 +295,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@
@@ -306,11 +307,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@
@@ -393,6 +393,7 @@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -402,7 +403,9 @@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 SUBDIRS = man
-AM_CPPFLAGS = -DXRENDER -D_BSD_SOURCE -DLOCALEDIR=\"$(LOCALEDIR)\"
+AM_CPPFLAGS = -DXRENDER -D_BSD_SOURCE -DLOCALEDIR=\"$(LOCALEDIR)\" \
+        -D_CONST_X_STRING
+
 AM_CFLAGS = $(XFD_CFLAGS) $(CWARNFLAGS)
 xfd_LDADD = $(XFD_LIBS)
 xfd_SOURCES = \
@@ -447,8 +450,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)
@@ -527,8 +530,14 @@
 distclean-compile:
        -rm -f *.tab.c
 
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/grid.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xfd.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/grid.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xfd.Po@am__quote@ # am--include-marker
+


Home | Main Index | Thread Index | Old Index