Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/xorg]: xsrc/external/mit/libXres/dist initial import of libXres-1.2.1
details: https://anonhg.NetBSD.org/xsrc/rev/9e4e874c73b1
branches: xorg
changeset: 10677:9e4e874c73b1
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Apr 26 21:23:21 2021 +0000
description:
initial import of libXres-1.2.1
diffstat:
external/mit/libXres/dist/ChangeLog | 57 +
external/mit/libXres/dist/Makefile.am | 2 +
external/mit/libXres/dist/Makefile.in | 37 +-
external/mit/libXres/dist/README.md | 17 +
external/mit/libXres/dist/aclocal.m4 | 2674 +++++++-------
external/mit/libXres/dist/compile | 17 +-
external/mit/libXres/dist/config.guess | 584 +-
external/mit/libXres/dist/config.sub | 260 +-
external/mit/libXres/dist/configure | 373 +-
external/mit/libXres/dist/configure.ac | 4 +-
external/mit/libXres/dist/depcomp | 10 +-
external/mit/libXres/dist/include/X11/extensions/XRes.h | 1 +
external/mit/libXres/dist/install-sh | 172 +-
external/mit/libXres/dist/ltmain.sh | 258 +-
external/mit/libXres/dist/man/Makefile.in | 14 +-
external/mit/libXres/dist/missing | 16 +-
external/mit/libXres/dist/src/Makefile.in | 35 +-
external/mit/libXres/dist/src/XRes.c | 3 +-
18 files changed, 2340 insertions(+), 2194 deletions(-)
diffs (truncated from 7207 to 300 lines):
diff -r 05d9ae79ff8e -r 9e4e874c73b1 external/mit/libXres/dist/ChangeLog
--- a/external/mit/libXres/dist/ChangeLog Mon Apr 26 21:23:18 2021 +0000
+++ b/external/mit/libXres/dist/ChangeLog Mon Apr 26 21:23:21 2021 +0000
@@ -1,3 +1,60 @@
+commit c05c6d918b0e2011d4bfa370c321482e34630b17
+Author: Keith Packard <keithp%keithp.com@localhost>
+Date: Tue Mar 30 21:36:16 2021 -0700
+
+ libXres 1.2.1
+
+ Signed-off-by: Keith Packard <keithp%keithp.com@localhost>
+
+commit 53581bba3ee20671e6e5ab7c743bfbf6ffbe6974
+Author: Keith Packard <keithp%keithp.com@localhost>
+Date: Tue Mar 30 21:05:48 2021 -0700
+
+ Note ABI of XResQueryClientIds
+
+ XResQueryClientIds is now documented to return an array of 32-bit
+ values, not an array of longs. The previous implementation allocated
+ space for 32-bit values but read longs into that, overflowing the
+ array. Applications using this were expecting 32-bit values.
+
+ This "worked" on little endian 64-bit systems because only one value
+ was typically provided and the low 32-bits got stuck in the right
+ place, although the allocation was overrun at the end. That might
+ cause trouble if the allocator is checking carefully.
+
+ Signed-off-by: Keith Packard <keithp%keithp.com@localhost>
+
+commit 3e6bdd90c604e061c71715865eb403ffdd0dd7f0
+Author: Ray Strode <rstrode%redhat.com@localhost>
+Date: Wed Oct 21 10:03:23 2020 -0400
+
+ XRes: Use _XRead instead of _XRead32 for reading pid
+
+ _XRead32 requires the output variable to be a long, but
+ `ReadClientValues` feeds it client->value which is a
+ 32-bit allocation.
+
+ This commit changes the code to use _XRead instead, which
+ properly handles 32-bit output variables.
+
+ https://gitlab.freedesktop.org/xorg/lib/libxres/-/issues/3
+
+commit 97d312e5fd9b4b97e3f50c899a40325768f246a5
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Fri Dec 7 19:49:47 2018 -0800
+
+ Update configure.ac bug URL for gitlab migration
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit a90ff752cfe4020c323d927fe856e91c49abbc93
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Mon Nov 19 21:27:37 2018 -0800
+
+ Update README for gitlab migration
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
commit 84b9156c7833dfd91c65d33542420ff4fe226948
Author: Adam Jackson <ajax%redhat.com@localhost>
Date: Wed Oct 11 11:11:01 2017 -0400
diff -r 05d9ae79ff8e -r 9e4e874c73b1 external/mit/libXres/dist/Makefile.am
--- a/external/mit/libXres/dist/Makefile.am Mon Apr 26 21:23:18 2021 +0000
+++ b/external/mit/libXres/dist/Makefile.am Mon Apr 26 21:23:21 2021 +0000
@@ -37,3 +37,5 @@
$(CHANGELOG_CMD)
dist-hook: ChangeLog INSTALL
+
+EXTRA_DIST = README.md
diff -r 05d9ae79ff8e -r 9e4e874c73b1 external/mit/libXres/dist/Makefile.in
--- a/external/mit/libXres/dist/Makefile.in Mon Apr 26 21:23:18 2021 +0000
+++ b/external/mit/libXres/dist/Makefile.in Mon Apr 26 21:23:21 2021 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.15 from Makefile.am.
+# Makefile.in generated by automake 1.16.3 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+# Copyright (C) 1994-2020 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -185,9 +185,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.
@@ -209,8 +209,8 @@
CSCOPE = cscope
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
- $(srcdir)/xres.pc.in AUTHORS COPYING ChangeLog INSTALL README \
- compile config.guess config.sub install-sh ltmain.sh missing
+ $(srcdir)/xres.pc.in AUTHORS COPYING ChangeLog INSTALL compile \
+ config.guess config.sub install-sh ltmain.sh missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@@ -249,6 +249,8 @@
DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
GZIP_ENV = --best
DIST_TARGETS = dist-bzip2 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$$'
@@ -387,6 +389,7 @@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
+runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
@@ -400,6 +403,7 @@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xres.pc
MAINTAINERCLEANFILES = ChangeLog INSTALL
+EXTRA_DIST = README.md
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
@@ -425,8 +429,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)
@@ -591,7 +595,10 @@
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
-distdir: $(DISTFILES)
+distdir: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
+
+distdir-am: $(DISTFILES)
$(am__remove_distdir)
test -d "$(distdir)" || mkdir "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
@@ -673,6 +680,10 @@
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
$(am__post_remove_distdir)
+dist-zstd: distdir
+ tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
+ $(am__post_remove_distdir)
+
dist-tarZ: distdir
@echo WARNING: "Support for distribution archives compressed with" \
"legacy program 'compress' is deprecated." >&2
@@ -715,6 +726,8 @@
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
+ *.tar.zst*) \
+ zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
esac
chmod -R a-w $(distdir)
chmod u+w $(distdir)
@@ -730,7 +743,7 @@
$(DISTCHECK_CONFIGURE_FLAGS) \
--srcdir=../.. --prefix="$$dc_install_base" \
&& $(MAKE) $(AM_MAKEFLAGS) \
- && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
@@ -896,7 +909,7 @@
am--refresh check check-am clean clean-cscope clean-generic \
clean-libtool cscope cscopelist-am ctags ctags-am dist \
dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
- dist-tarZ dist-xz dist-zip distcheck distclean \
+ dist-tarZ dist-xz dist-zip dist-zstd distcheck distclean \
distclean-generic distclean-hdr distclean-libtool \
distclean-tags distcleancheck distdir distuninstallcheck dvi \
dvi-am html html-am info info-am install install-am \
diff -r 05d9ae79ff8e -r 9e4e874c73b1 external/mit/libXres/dist/README.md
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/libXres/dist/README.md Mon Apr 26 21:23:21 2021 +0000
@@ -0,0 +1,17 @@
+libXRes - X-Resource extension client library
+
+All questions regarding this software should be directed at the
+Xorg mailing list:
+
+ https://lists.x.org/mailman/listinfo/xorg
+
+The master development code repository can be found at:
+
+ https://gitlab.freedesktop.org/xorg/lib/libXRes
+
+Please submit bug reports and requests to merge patches there.
+
+For patch submission instructions, see:
+
+ https://www.x.org/wiki/Development/Documentation/SubmittingPatches
+
diff -r 05d9ae79ff8e -r 9e4e874c73b1 external/mit/libXres/dist/aclocal.m4
--- a/external/mit/libXres/dist/aclocal.m4 Mon Apr 26 21:23:18 2021 +0000
+++ b/external/mit/libXres/dist/aclocal.m4 Mon Apr 26 21:23:21 2021 +0000
@@ -1,6 +1,6 @@
-# generated automatically by aclocal 1.15 -*- Autoconf -*-
-
-# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+# generated automatically by aclocal 1.16.3 -*- Autoconf -*-
+
+# Copyright (C) 1996-2020 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -744,7 +744,6 @@
cat <<_LT_EOF >> "$cfgfile"
#! $SHELL
# Generated automatically by $as_me ($PACKAGE) $VERSION
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
# Provide generalized library-building support services.
@@ -1056,8 +1055,8 @@
_LT_EOF
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
- echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
- $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
+ echo "$AR cr libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
+ $AR cr libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
$RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
cat > conftest.c << _LT_EOF
@@ -1086,11 +1085,11 @@
# to the OS version, if on x86, and 10.4, the deployment
# target defaults to 10.4. Don't you love it?
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
- 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
+ 10.0,*86*-darwin8*|10.0,*-darwin[[912]]*)
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10.[[012]][[,.]]*)
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
- 10.*)
+ 10.*|11.*)
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
esac
;;
@@ -1507,7 +1506,7 @@
m4_defun([_LT_PROG_AR],
[AC_CHECK_TOOLS(AR, [ar], false)
: ${AR=ar}
-: ${AR_FLAGS=cru}
+: ${AR_FLAGS=cr}
_LT_DECL([], [AR], [1], [The archiver])
_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
@@ -2881,9 +2880,6 @@
# before this can be enabled.
hardcode_into_libs=yes
- # Add ABI-specific directories to the system library path.
- sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
-
# Ideally, we could use ldconfig to report *all* directores which are
# searched for libraries, however this is still not possible. Aside from not
# being certain /sbin/ldconfig is available, command
@@ -2892,7 +2888,7 @@
# appending ld.so.conf contents (and includes) to the search path.
if test -f /etc/ld.so.conf; then
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[
]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
- sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
fi
# We used to test for /lib/ld.so.1 and disable shared libraries on
@@ -2904,6 +2900,18 @@
dynamic_linker='GNU/Linux ld.so'
;;
+netbsdelf*-gnu)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
Home |
Main Index |
Thread Index |
Old Index