Source-Changes-HG archive

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

[xsrc/xorg]: xsrc/external/mit/libSM/dist initial import of libSM-1.2.4



details:   https://anonhg.NetBSD.org/xsrc/rev/c4974d76412b
branches:  xorg
changeset: 7328:c4974d76412b
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jan 08 09:08:47 2023 +0000

description:
initial import of libSM-1.2.4

diffstat:

 external/mit/libSM/dist/ChangeLog                |    144 +-
 external/mit/libSM/dist/Makefile.am              |      2 +
 external/mit/libSM/dist/Makefile.in              |     49 +-
 external/mit/libSM/dist/README.md                |     18 +
 external/mit/libSM/dist/aclocal.m4               |   7270 +++++-----
 external/mit/libSM/dist/compile                  |     17 +-
 external/mit/libSM/dist/config.guess             |   1490 +-
 external/mit/libSM/dist/config.h.in              |     16 +-
 external/mit/libSM/dist/config.sub               |   2885 ++--
 external/mit/libSM/dist/configure                |  14668 +++++++++++---------
 external/mit/libSM/dist/configure.ac             |     24 +-
 external/mit/libSM/dist/depcomp                  |      8 +-
 external/mit/libSM/dist/doc/Makefile.in          |     19 +-
 external/mit/libSM/dist/include/X11/SM/SMproto.h |     36 +-
 external/mit/libSM/dist/install-sh               |    179 +-
 external/mit/libSM/dist/ltmain.sh                |    906 +-
 external/mit/libSM/dist/missing                  |     16 +-
 external/mit/libSM/dist/sm.pc.in                 |      3 +-
 external/mit/libSM/dist/src/Makefile.in          |     65 +-
 external/mit/libSM/dist/src/SMlibint.h           |     13 +
 external/mit/libSM/dist/src/sm_client.c          |     81 +-
 external/mit/libSM/dist/src/sm_manager.c         |     10 +-
 22 files changed, 15022 insertions(+), 12897 deletions(-)

diffs (truncated from 36293 to 300 lines):

diff -r e9d395e75a01 -r c4974d76412b external/mit/libSM/dist/ChangeLog
--- a/external/mit/libSM/dist/ChangeLog Sun Jan 08 08:51:02 2023 +0000
+++ b/external/mit/libSM/dist/ChangeLog Sun Jan 08 09:08:47 2023 +0000
@@ -1,3 +1,137 @@
+commit dc882ac7b748048f12b033d0d8e5267a6e36036a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Dec 19 18:17:34 2022 -0800
+
+    libSM 1.2.4
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 12812dca0f852178d8cc3813e4056b396a8f3ab5
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Sep 7 12:44:33 2022 -0700
+
+    Handle arrays too large to fit in iceConn buffers
+    
+    Fixes numerous gcc warnings of the form:
+    
+    sm_client.c: In function ‘SmcOpenConnection’:
+    SMlibint.h:109:25: warning: potential null pointer dereference [-Wnull-dereference]
+         *((CARD32 *) _pBuf) = _val; \
+    SMlibint.h:160:5: note: in expansion of macro ‘STORE_CARD32’
+         STORE_CARD32 (_pBuf, (CARD32) _len); \
+         ^~~~~~~~~~~~
+    sm_client.c:207:5: note: in expansion of macro ‘STORE_ARRAY8’
+         STORE_ARRAY8 (pData, len, previousId);
+         ^~~~~~~~~~~~
+    
+    v2: Raise required libICE version to 1.1.0 to get the updated
+    IceGetHeaderExtra macro definition needed for this to work correctly.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit bb02359ff464d51cbb29d3c93e7e55f3649e5b91
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Dec 4 12:07:40 2022 -0800
+
+    gitlab CI: build current libICE, to meet dependency on >= 1.1.0
+    
+    Allow us to pass CI without waiting for Debian to pick up yesterday's
+    release of libICE 1.1.0.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 6e541c8fa782ca816f8bf78a54eea27dab27e4a2
+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 449fdba5482549361a4cd6376d877ebd5162988a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Sep 7 11:07:56 2022 -0700
+
+    SmcCloseConnection: remove unnecessary cast from free()
+    
+    commit b17f93a1d041e63261ff followed the style of the time it was
+    written, before commit e77dd2e4bc8227 had removed them.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit b17f93a1d041e63261ff63419796136a26489549
+Author: Kim Woelders <kim%woelders.dk@localhost>
+Date:   Sat Oct 30 10:00:13 2010 +0200
+
+    Fix some potential memory leaks in SmcCloseConnection().
+    
+    Signed-off-by: Kim Woelders <kim%woelders.dk@localhost>
+    Reviewed-by: Corbin Simpson <MostAwesomeDude%gmail.com@localhost>
+
+commit a32df086f823099a5e0c00b20f0bb965fed5aa60
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Mar 5 10:49:14 2022 -0800
+
+    Add uuid as private dependency to sm.pc for static linking
+    
+    If a uuid.pc file was found, add it to Requires.private.
+    Otherwise, add $LIBUUID_LIBS to Libs.private.
+    
+    Fixes: #1
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit d2076f6a990acc295f2e98bdc2c95649978e7b5f
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Mar 5 08:16:08 2022 -0800
+
+    gitlab CI: add a basic build test
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 0b6048d790499477b6a2907bf3fe755a54cbe68d
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Mar 5 08:09:47 2022 -0800
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 56cdb14923310bfa4d393f2acfffeadb04d806c0
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Mar 5 08:09:19 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 e6ccf19f8d1f71ef79f192b4ca9debf7280232a3
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Dec 7 19:32:18 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 90df350229d3a687de8d65dc450bceb78eceb014
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Nov 19 17:15:03 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 82ed8b7d73f306835b951410f5c309a5774ab9d4
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Nov 10 13:19:14 2018 -0800
+
+    Remove obsolete B16 & B32 tags in struct definitions
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit a52c79544fcd6b5e2242b9122dfaa34be07aebb2
 Author: Matthieu Herrb <matthieu%herrb.eu@localhost>
 Date:   Sun Sep 30 11:03:41 2018 +0200
@@ -908,7 +1042,7 @@
     Signed-off-by: Alan Coopersmith <alan.coopersmith%sun.com@localhost>
 
 commit 0b2e5ca9da6b35f5cf98ac879601cf8083c72dde
-Author: Rémi Cardona <remi%gentoo.org@localhost>
+Author: Rémi Cardona  <remi%gentoo.org@localhost>
 Date:   Thu Dec 17 08:26:28 2009 +0100
 
     require autoconf 2.60 because of $(docdir) use
@@ -1032,7 +1166,7 @@
     Signed-off-by: Alan Coopersmith <alan.coopersmith%sun.com@localhost>
 
 commit 7fc343e70202279fd3daa3adf789ca35b0ec8891
-Author: Rémi Cardona <remi%gentoo.org@localhost>
+Author: Rémi Cardona  <remi%gentoo.org@localhost>
 Date:   Fri Aug 14 11:20:34 2009 +0200
 
     require libICE >= 1.0.5
@@ -1045,13 +1179,13 @@
     Signed-off-by: Rémi Cardona <remi%gentoo.org@localhost>
 
 commit 82bbf42a2ba0401a8346505b1292ddb7b58f4507
-Author: Rémi Cardona <remi%gentoo.org@localhost>
+Author: Rémi Cardona  <remi%gentoo.org@localhost>
 Date:   Fri Aug 7 14:19:50 2009 +0200
 
     libSM 1.1.1, update libtool version
 
 commit 45720a2e266748ac15bc0544b56e035383695588
-Author: Diego Elio 'Flameeyes' Pettenò <flameeyes%gmail.com@localhost>
+Author: Diego Elio 'Flameeyes' Pettenò  <flameeyes%gmail.com@localhost>
 Date:   Sat May 16 01:01:39 2009 +0200
 
     Use FreeBSD uuid functions when available.
@@ -1330,7 +1464,7 @@
     Require automake 1.7 in AM_INIT_AUTOMAKE
 
 commit 0b4b811191a1e74356b7ff78a09107e29a7ef695
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Tue May 17 21:25:16 2005 +0000
 
     - Conditionally include config.h in xc/lib/SM
diff -r e9d395e75a01 -r c4974d76412b external/mit/libSM/dist/Makefile.am
--- a/external/mit/libSM/dist/Makefile.am       Sun Jan 08 08:51:02 2023 +0000
+++ b/external/mit/libSM/dist/Makefile.am       Sun Jan 08 09:08:47 2023 +0000
@@ -14,3 +14,5 @@
        $(CHANGELOG_CMD)
 
 dist-hook: ChangeLog INSTALL
+
+EXTRA_DIST = README.md
diff -r e9d395e75a01 -r c4974d76412b external/mit/libSM/dist/Makefile.in
--- a/external/mit/libSM/dist/Makefile.in       Sun Jan 08 08:51:02 2023 +0000
+++ b/external/mit/libSM/dist/Makefile.in       Sun Jan 08 09:08:47 2023 +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,
@@ -164,9 +164,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.
@@ -183,12 +183,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 \
-       $(srcdir)/sm.pc.in AUTHORS COPYING ChangeLog INSTALL README \
+       $(srcdir)/sm.pc.in AUTHORS COPYING ChangeLog INSTALL README.md \
        compile config.guess config.sub install-sh ltmain.sh missing
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
@@ -225,9 +222,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$$'
@@ -249,8 +248,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@
@@ -264,8 +264,10 @@
 ECHO_N = @ECHO_N@
 ECHO_T = @ECHO_T@
 EGREP = @EGREP@
+ETAGS = @ETAGS@
 EXEEXT = @EXEEXT@
 FGREP = @FGREP@
+FILECMD = @FILECMD@
 FILE_MAN_DIR = @FILE_MAN_DIR@
 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
 FOP = @FOP@
@@ -321,6 +323,8 @@
 STRICT_CFLAGS = @STRICT_CFLAGS@
 STRIP = @STRIP@
 STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
+UUID_LIB_PRIVATE = @UUID_LIB_PRIVATE@
+UUID_PC = @UUID_PC@
 VERSION = @VERSION@
 XMLTO = @XMLTO@
 XORG_MAN_PAGE = @XORG_MAN_PAGE@
@@ -384,6 +388,7 @@
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = sm.pc
 MAINTAINERCLEANFILES = ChangeLog INSTALL
+EXTRA_DIST = README.md
 all: config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
 
@@ -409,8 +414,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)
@@ -574,8 +579,10 @@
 distclean-tags:
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags


Home | Main Index | Thread Index | Old Index