Source-Changes-HG archive

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

[xsrc/xorg]: xsrc/external/mit/xsm/dist initial import of xsm-1.0.5



details:   https://anonhg.NetBSD.org/xsrc/rev/df30bf5cbac0
branches:  xorg
changeset: 7055:df30bf5cbac0
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jul 11 19:40:44 2022 +0000

description:
initial import of xsm-1.0.5

diffstat:

 external/mit/xsm/dist/COPYING         |    27 +-
 external/mit/xsm/dist/ChangeLog       |   148 +-
 external/mit/xsm/dist/Makefile.in     |   170 +-
 external/mit/xsm/dist/aclocal.m4      |  2313 ++++----
 external/mit/xsm/dist/choose.c        |     4 +-
 external/mit/xsm/dist/compile         |    17 +-
 external/mit/xsm/dist/config.guess    |  1488 +++--
 external/mit/xsm/dist/config.h.in     |    10 +-
 external/mit/xsm/dist/config.sub      |  2885 ++++++-----
 external/mit/xsm/dist/configure       |  7910 +++++++++++++++++---------------
 external/mit/xsm/dist/configure.ac    |     8 +-
 external/mit/xsm/dist/depcomp         |    10 +-
 external/mit/xsm/dist/info.c          |     6 +-
 external/mit/xsm/dist/install-sh      |   172 +-
 external/mit/xsm/dist/man/Makefile.in |    19 +-
 external/mit/xsm/dist/misc.c          |    18 -
 external/mit/xsm/dist/missing         |    16 +-
 external/mit/xsm/dist/save.c          |     6 +-
 external/mit/xsm/dist/saveutil.c      |    11 +-
 external/mit/xsm/dist/xsm.c           |     2 +-
 external/mit/xsm/dist/xsm.h           |    11 +-
 21 files changed, 8164 insertions(+), 7087 deletions(-)

diffs (truncated from 21453 to 300 lines):

diff -r 49757ec2ec2c -r df30bf5cbac0 external/mit/xsm/dist/COPYING
--- a/external/mit/xsm/dist/COPYING     Mon Jul 11 19:19:25 2022 +0000
+++ b/external/mit/xsm/dist/COPYING     Mon Jul 11 19:40:44 2022 +0000
@@ -1,12 +1,21 @@
-This is a stub file.  This package has not yet had its complete licensing
-information compiled.  Please see the individual source files for details on
-your rights to use and modify this software.
+Copyright 1993, 1994, 1998  The Open Group
 
-Please submit updated COPYING files to the Xorg bugzilla:
+Permission to use, copy, modify, distribute, and sell this software and its
+documentation for any purpose is hereby granted without fee, provided that
+the above copyright notice appear in all copies and that both that
+copyright notice and this permission notice appear in supporting
+documentation.
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
 
-https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
-All licensing questions regarding this software should be directed at the
-Xorg mailing list:
-
-http://lists.freedesktop.org/mailman/listinfo/xorg
+Except as contained in this notice, the name of The Open Group shall not be
+used in advertising or otherwise to promote the sale, use or other dealings
+in this Software without prior written authorization from The Open Group.
diff -r 49757ec2ec2c -r df30bf5cbac0 external/mit/xsm/dist/ChangeLog
--- a/external/mit/xsm/dist/ChangeLog   Mon Jul 11 19:19:25 2022 +0000
+++ b/external/mit/xsm/dist/ChangeLog   Mon Jul 11 19:40:44 2022 +0000
@@ -1,3 +1,145 @@
+commit 6733ee9baffaef106792c0457c53b5c9452d0021
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Apr 3 17:03:13 2022 -0700
+
+    xsm 1.0.5
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit e552f2d4980d41d7a219dbe0c5dbaf33c4d752f3
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Feb 19 10:40:19 2022 -0800
+
+    Fill in COPYING file with copyright notices from source code
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit c4d20042385ac95023ff5c03f2849655bdfb931b
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jan 9 12:31:56 2022 -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 655c8ff920ac3fe8601e449b2ef8247063069bc8
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Tue Dec 7 14:21:26 2021 -0800
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 822be4f28bda6ba1267f4f11d378295e70f4aaba
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Tue Dec 7 14:21:21 2021 -0800
+
+    gitlab CI: enable Static Application Security Testing (SAST)
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 107fbd198f2d4cec9efb54e89a568a595ac2d1e3
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 28 11:02:18 2021 -0800
+
+    Add noreturn attributes suggested by gcc
+    
+    misc.c: In function ‘nomem’:
+    misc.c:106:1: warning: function might be candidate for
+     attribute ‘noreturn’ [-Wsuggest-attribute=noreturn]
+      106 | nomem(void)
+          | ^~~~~
+    xsm.c:657:1: warning: function might be candidate for
+     attribute ‘noreturn’ [-Wsuggest-attribute=noreturn]
+      657 | EndSession(int status)
+          | ^~~~~~~~~~
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 416a3fc806f47b158b489bb44f7709fc44fa4f3e
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 28 10:54:06 2021 -0800
+
+    WriteSave: allocate enough room for full session_save_file in error
+    
+    Clears warning from gcc 11.2:
+    
+    saveutil.c: In function ‘WriteSave’:
+    saveutil.c:315:75: warning: ‘%s’ directive output may be truncated
+     writing up to 1023 bytes into a region of size 221 [-Wformat-truncation=]
+      315 |         snprintf (msg, sizeof(msg), "%s: Error creating session save file %s",
+          |                                                                           ^~
+      316 |                   Argv[0], session_save_file);
+          |                            ~~~~~~~~~~~~~~~~~
+    saveutil.c:315:9: note: ‘snprintf’ output 36 or more bytes (assuming 1059)
+     into a destination of size 256
+      315 |         snprintf (msg, sizeof(msg), "%s: Error creating session save file %s",
+          |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+      316 |                   Argv[0], session_save_file);
+          |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 6a902614350d46b759fc09a88daf9aff11f79ee8
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 28 10:42:03 2021 -0800
+
+    Increase size of number buffer to fit all possible values
+    
+    Clears gcc warning of:
+    
+    info.c: In function ‘DisplayProps’:
+    info.c:214:44: warning: ‘snprintf’ output may be truncated before the
+     last format character [-Wformat-truncation=]
+           snprintf (number, sizeof(number), "%d", propnum);
+                                                ^
+    info.c:214:7: note: ‘snprintf’ output between 2 and 11 bytes into a
+     destination of size 10
+           snprintf (number, sizeof(number), "%d", propnum);
+           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 4bf092e35a92b4fb613f4fee01d5ab26a612ddb6
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 28 10:38:43 2021 -0800
+
+    Use _CONST_X_STRING to make libXt declare String as const char *
+    
+    Clears 5 -Wincompatible-pointer-types warnings
+    and 18 -Wdiscarded-qualifiers warnings from gcc
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit c7a7f81b18f8594aceaa9c32217753ef935dac2d
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 28 11:13:24 2021 -0800
+
+    gitlab CI: add a basic build test
+    
+    Based on the config from libX11
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 788c1484c7357ba8a1c69167db2994bb9282d4a6
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Nov 21 17:19:25 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 536adbdd5b5e44fcfbd5bce287080e678a48b678
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Sep 30 17:20:13 2018 -0700
+
+    Remove ancient System() replacement for system(3c) on Solaris
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit cae8e0a4db186da3556bdab944b61eb540e6685c
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Fri Mar 9 20:24:29 2018 -0800
@@ -85,7 +227,7 @@
     Signed-off-by: Gaetan Nadon <memsize%videotron.ca@localhost>
 
 commit 9f4bee64da58ed95923ceee4abfe56d5125974f6
-Author: Stéphane Aulery <lkppo%free.fr@localhost>
+Author: Stéphane Aulery  <lkppo%free.fr@localhost>
 Date:   Thu Jul 4 00:53:43 2013 +0200
 
     Improve help messages & man page
@@ -95,7 +237,7 @@
     Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 
 commit 9a7429ed7734531ca313d8c1f724bcb07c33ff54
-Author: Stéphane Aulery <lkppo%free.fr@localhost>
+Author: Stéphane Aulery  <lkppo%free.fr@localhost>
 Date:   Sat Jul 6 15:40:56 2013 +0200
 
     Drop CRAY support
@@ -692,7 +834,7 @@
         against tempfile race conditions in many places)
 
 commit 2f07c342e877fde5d3f64041ca6ff365a643ddc8
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Fri Jul 1 20:09:07 2005 +0000
 
     xtrap.pc.in: s/Xfixes/XTrap/ xi.pc.in: s/Xt/Xi/ Xv/src/Makefile.am: remove
diff -r 49757ec2ec2c -r df30bf5cbac0 external/mit/xsm/dist/Makefile.in
--- a/external/mit/xsm/dist/Makefile.in Mon Jul 11 19:19:25 2022 +0000
+++ b/external/mit/xsm/dist/Makefile.in Mon Jul 11 19:40:44 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,
@@ -151,7 +151,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)/auth.Po ./$(DEPDIR)/choose.Po \
+       ./$(DEPDIR)/info.Po ./$(DEPDIR)/list.Po ./$(DEPDIR)/lock.Po \
+       ./$(DEPDIR)/log.Po ./$(DEPDIR)/mainwin.Po ./$(DEPDIR)/misc.Po \
+       ./$(DEPDIR)/popup.Po ./$(DEPDIR)/printhex.Po \
+       ./$(DEPDIR)/prop.Po ./$(DEPDIR)/remote.Po \
+       ./$(DEPDIR)/restart.Po ./$(DEPDIR)/save.Po \
+       ./$(DEPDIR)/saveutil.Po ./$(DEPDIR)/signals.Po \
+       ./$(DEPDIR)/xsm.Po ./$(DEPDIR)/xtwatch.Po
 am__mv = mv -f
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@@ -215,9 +223,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.
@@ -234,9 +242,6 @@
   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 compile config.guess config.sub \
@@ -276,9 +281,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$$'
@@ -299,8 +306,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@
@@ -310,11 +318,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@


Home | Main Index | Thread Index | Old Index