Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/xkbevd/dist initial import of xkbevd-1.1.5



details:   https://anonhg.NetBSD.org/xsrc/rev/f46d7f9bf729
branches:  trunk
changeset: 7257:f46d7f9bf729
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Nov 13 05:23:30 2022 +0000

description:
initial import of xkbevd-1.1.5

diffstat:

 external/mit/xkbevd/dist/ChangeLog       |   193 +-
 external/mit/xkbevd/dist/Makefile.am     |     2 +
 external/mit/xkbevd/dist/Makefile.in     |   127 +-
 external/mit/xkbevd/dist/README.md       |    26 +
 external/mit/xkbevd/dist/aclocal.m4      |   546 +-
 external/mit/xkbevd/dist/cfgparse.c      |  1535 ++---
 external/mit/xkbevd/dist/cfgscan.c       |     9 +-
 external/mit/xkbevd/dist/compile         |    17 +-
 external/mit/xkbevd/dist/config.guess    |  1685 +++--
 external/mit/xkbevd/dist/config.h.in     |    10 +-
 external/mit/xkbevd/dist/config.sub      |  2911 +++++-----
 external/mit/xkbevd/dist/configure       |  7964 +++++++++++++++--------------
 external/mit/xkbevd/dist/configure.ac    |     6 +-
 external/mit/xkbevd/dist/depcomp         |    10 +-
 external/mit/xkbevd/dist/install-sh      |   172 +-
 external/mit/xkbevd/dist/man/Makefile.in |    21 +-
 external/mit/xkbevd/dist/man/xkbevd.man  |     6 -
 external/mit/xkbevd/dist/missing         |    16 +-
 external/mit/xkbevd/dist/printev.c       |    11 +-
 external/mit/xkbevd/dist/xkbevd.c        |    33 +-
 external/mit/xkbevd/dist/ylwrap          |    10 +-
 21 files changed, 8289 insertions(+), 7021 deletions(-)

diffs (truncated from 22595 to 300 lines):

diff -r 8860bccc3497 -r f46d7f9bf729 external/mit/xkbevd/dist/ChangeLog
--- a/external/mit/xkbevd/dist/ChangeLog        Sun Nov 13 02:48:37 2022 +0000
+++ b/external/mit/xkbevd/dist/ChangeLog        Sun Nov 13 05:23:30 2022 +0000
@@ -1,3 +1,194 @@
+commit ca8e535970c7bec44e02141113e31a42bb0a1c5e
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Nov 12 15:47:00 2022 -0800
+
+    xkbevd 1.1.5
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 2ab380b66b2bca181b01d375779bfdff167744a6
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Oct 22 12:09:28 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 f7f9e4590a75d629b3ca65887b6e477a72ba39b7
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Oct 22 12:01:47 2022 -0700
+
+    eventTypeToString: remove unnecessary strcpy to static buffer
+    
+    Since the results are just passed to fprintf(), we can just return
+    a pointer to the string constants directly.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit be8848c2203b489854982eb74727928cb5b622da
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Oct 22 11:58:40 2022 -0700
+
+    xkbevd.c: Update default DFLT_XKB_CONFIG_ROOT path
+    
+    Normally overriden by -DDFLT_XKB_CONFIG_ROOT in Makefile
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 0bb93230c5263ebfc4cc25125f1c76f1d6a7382a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Oct 22 11:42:10 2022 -0700
+
+    cfgscan: check if character is EOF before calling isalpha or isdigit
+    
+    Resolves cppcheck warnings:
+    
+    cfgscan.c:475:22: warning: Either the condition 'ch==-1' is redundant or
+     isalpha() argument nr 1 can have invalid value. The value is -1 but the
+     valid values are '0:255'. [invalidFunctionArg]
+        else if (isalpha(ch) || (ch == '_'))
+                         ^
+    cfgscan.c:479:17: note: Assuming that condition 'ch==-1' is not redundant
+        else if (ch == EOF)
+                    ^
+    cfgscan.c:475:22: note: Invalid argument
+        else if (isalpha(ch) || (ch == '_'))
+                         ^
+    cfgscan.c:477:22: warning: Either the condition 'ch==-1' is redundant or
+     isdigit() argument nr 1 can have invalid value. The value is -1 but the
+     valid values are '0:255'. [invalidFunctionArg]
+        else if (isdigit(ch))
+                         ^
+    cfgscan.c:479:17: note: Assuming that condition 'ch==-1' is not redundant
+        else if (ch == EOF)
+                    ^
+    cfgscan.c:477:22: note: Invalid argument
+        else if (isdigit(ch))
+                         ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 00becc220c242cf7f37cc139db1e7f7b9c475d15
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Oct 22 11:16:46 2022 -0700
+
+    Rename shadowed variables
+    
+    Fixes gcc warnings of:
+    
+    xkbevd.c: In function ‘GetDisplay’:
+    xkbevd.c:219:33: warning: declaration of ‘dpyName’ shadows a global declaration [-Wshadow]
+     GetDisplay(char *program, char *dpyName, int *opcodeRtrn, int *evBaseRtrn)
+                                     ^~~~~~~
+    xkbevd.c:55:17: note: shadowed declaration is here
+     static char *   dpyName = NULL;
+                     ^~~~~~~
+    xkbevd.c:222:14: warning: declaration of ‘dpy’ shadows a global declaration [-Wshadow]
+         Display *dpy;
+                  ^~~
+    xkbevd.c:56:17: note: shadowed declaration is here
+     Display *       dpy = NULL;
+                     ^~~
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 199b00b2bbaf2dd90d95e9e3a77c738269ed3804
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Oct 22 11:11:00 2022 -0700
+
+    Variable scope reduction as suggested by cppcheck
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit fa4be31580f5ea62556ac02dc2e07737a758de87
+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 361125d11e8131f19c27cb2d367572e58ffed9f8
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Apr 2 12:46:57 2022 -0700
+
+    man page: remove out-of-date COPYRIGHT section
+    
+    The information previously listed here didn't match what is present in
+    the source code or the COPYING file, and the X(7) man page doesn't list
+    any license information as this had claimed.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 23684af1a2a33aaacb3acfa44d10f2131e6c2aed
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Dec 6 14:57:50 2021 -0800
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 414140cba366a5917a340c7c24525c301f8fb58c
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Dec 6 14:57:47 2021 -0800
+
+    gitlab CI: add a basic build test
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit dcf3ff77e28552fb0a2978e5d5c4a725c052466c
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Nov 21 17:11:31 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 4b896f7c9a964513ebdbb935e414a764ecb1cb6d
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Nov 16 22:24:48 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 2c5bf4d32484bcf223d39f7b13546475262ba382
+Author: Mihail Konev <k.mvc%ya.ru@localhost>
+Date:   Thu Jan 26 14:00:21 2017 +1000
+
+    autogen: add default patch prefix
+    
+    Signed-off-by: Mihail Konev <k.mvc%ya.ru@localhost>
+
+commit 4a2e0685ad9c8e25fd24a26c79e84d5ac50e2016
+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 dafbdaddea814acbf2240838a4b7c9f34b0de30b
+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 4a494c0d8beb710d8f3df941f05e4b8af42deac0
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Thu Apr 16 23:37:10 2015 -0700
@@ -680,7 +871,7 @@
         configure cache, you cache it, and the cached value is probably wrong.
 
 commit 6b1df45952ed9088b8f9db18afbd62f1ee84f59d
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Wed Jul 6 20:38:28 2005 +0000
 
     build system for xkbevd
diff -r 8860bccc3497 -r f46d7f9bf729 external/mit/xkbevd/dist/Makefile.am
--- a/external/mit/xkbevd/dist/Makefile.am      Sun Nov 13 02:48:37 2022 +0000
+++ b/external/mit/xkbevd/dist/Makefile.am      Sun Nov 13 05:23:30 2022 +0000
@@ -51,3 +51,5 @@
        $(CHANGELOG_CMD)
 
 dist-hook: ChangeLog INSTALL
+
+EXTRA_DIST += README.md
diff -r 8860bccc3497 -r f46d7f9bf729 external/mit/xkbevd/dist/Makefile.in
--- a/external/mit/xkbevd/dist/Makefile.in      Sun Nov 13 02:48:37 2022 +0000
+++ b/external/mit/xkbevd/dist/Makefile.in      Sun Nov 13 05:23:30 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,
@@ -144,7 +144,10 @@
 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)/cfgparse.Po ./$(DEPDIR)/cfgscan.Po \
+       ./$(DEPDIR)/evargs.Po ./$(DEPDIR)/printev.Po \
+       ./$(DEPDIR)/utils.Po ./$(DEPDIR)/xkbevd.Po
 am__mv = mv -f
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@@ -188,9 +191,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.
@@ -207,12 +210,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 COPYING \
-       ChangeLog INSTALL README cfgparse.c compile config.guess \
+       ChangeLog INSTALL README.md cfgparse.c compile config.guess \
        config.sub depcomp install-sh missing ylwrap
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
@@ -249,9 +249,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$$'
@@ -272,8 +274,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@
@@ -283,11 +286,10 @@
 ECHO_C = @ECHO_C@
 ECHO_N = @ECHO_N@
 ECHO_T = @ECHO_T@
-EGREP = @EGREP@
+ETAGS = @ETAGS@
 EXEEXT = @EXEEXT@


Home | Main Index | Thread Index | Old Index