Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/xorg]: xsrc/external/mit/xwd/dist initial import of xwd-1.0.9
details: https://anonhg.NetBSD.org/xsrc/rev/4f5e3a2311cf
branches: xorg
changeset: 7544:4f5e3a2311cf
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Jun 19 08:00:20 2023 +0000
description:
initial import of xwd-1.0.9
diffstat:
external/mit/xwd/dist/ChangeLog | 130 ++++++++++++++++++++++++++++++
external/mit/xwd/dist/Makefile.in | 8 +-
external/mit/xwd/dist/README.md | 2 +-
external/mit/xwd/dist/aclocal.m4 | 74 +++++++++++-----
external/mit/xwd/dist/config.guess | 56 +++++++++---
external/mit/xwd/dist/config.sub | 60 ++++++++++---
external/mit/xwd/dist/configure | 26 +++--
external/mit/xwd/dist/configure.ac | 4 +-
external/mit/xwd/dist/dsimple.c | 14 +-
external/mit/xwd/dist/dsimple.h | 2 +-
external/mit/xwd/dist/list.c | 27 ++---
external/mit/xwd/dist/man/Makefile.in | 2 +-
external/mit/xwd/dist/multiVis.c | 147 ++++++++++++++-------------------
external/mit/xwd/dist/wsutils.h | 8 +-
external/mit/xwd/dist/xwd.c | 61 ++++++++-----
15 files changed, 413 insertions(+), 208 deletions(-)
diffs (truncated from 1644 to 300 lines):
diff -r 237a507a0798 -r 4f5e3a2311cf external/mit/xwd/dist/ChangeLog
--- a/external/mit/xwd/dist/ChangeLog Mon Jun 19 08:00:17 2023 +0000
+++ b/external/mit/xwd/dist/ChangeLog Mon Jun 19 08:00:20 2023 +0000
@@ -1,3 +1,133 @@
+commit a6663cdafe97e3e7a1c60d03fc576dfe62b20d88
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Jun 3 10:23:24 2023 -0700
+
+ xwd 1.0.9
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 55e90e61eb0ec32b6998ba3c562df3897aebbb43
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Feb 11 18:26:12 2023 -0800
+
+ Make -help & -version work without requiring an open display
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit e9e78bf8f2de870fbf90cc247721df16805ba3da
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Nov 13 15:07:14 2022 -0800
+
+ list.c: Stop building functions that are never called
+
+ This general-purpose list implementation includes functions xwd
+ doesn't use, so we don't need to build those here.
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 7d59a57f67f1c0be40b7e2ff0323026824b1f403
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Nov 13 15:05:15 2022 -0800
+
+ Delete commented-out local copy of list function prototypes
+
+ Duplicated list.h header contents
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 0501a64d58ae6c1e9287188de120efbdd6aadd2d
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Nov 13 15:02:11 2022 -0800
+
+ Variable scope reduction as recommended by cppcheck
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 9bf3f50c2a287a1d455df3e36e751604d7d50381
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Nov 13 14:33:08 2022 -0800
+
+ Remove unnecessary casts from malloc() and free() calls
+
+ Not needed in C89 & later
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit fd5e1e9ee9ed359e0ad0dddfbaa4d9c84dcb1810
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Nov 13 14:27:25 2022 -0800
+
+ Handle -Wcomma warnings from clang
+
+ xwd.c:332:22: warning: possible misuse of comma operator here [-Wcomma]
+ width += absx, absx = 0;
+ ^
+ xwd.c:334:23: warning: possible misuse of comma operator here [-Wcomma]
+ height += absy, absy = 0;
+ ^
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit c0601f552aa34af005270f3a65ec0e92421497cb
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Nov 13 14:23:28 2022 -0800
+
+ Remove unused macros
+
+ Found by clang:
+ multiVis.c:977:9: warning: macro is not used [-Wunused-macros]
+ #define DIRECT_COLOR 0x11
+ ^
+ multiVis.c:976:9: warning: macro is not used [-Wunused-macros]
+ #define TRUE_COLOR 0x10
+ ^
+ multiVis.c:975:9: warning: macro is not used [-Wunused-macros]
+ #define PSEUDO_COLOR 0x04
+ ^
+ multiVis.c:974:9: warning: macro is not used [-Wunused-macros]
+ #define GRAY_SCALE 0x02
+ ^
+ multiVis.c:973:9: warning: macro is not used [-Wunused-macros]
+ #define STATIC_GRAY 0x01
+ ^
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit da73a432704776e7e78097fb0c93d81e90bc7859
+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 d232d25f338fca51d583d5888cb9171fd958536e
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Tue Dec 7 14:35:24 2021 -0800
+
+ Build xz tarballs instead of bzip2
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 3eeb0d0e145b1ae47d2ec8d638f46960a321cdf7
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Tue Dec 7 14:35:21 2021 -0800
+
+ gitlab CI: add a basic build test
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit e0341cc8ddd76e6af2b11bbcdda25f470aa4160d
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Nov 28 14:14:14 2021 -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 57586247e0c6bce744c04f072185762e76879baf
Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
Date: Sun Aug 1 17:14:35 2021 -0700
diff -r 237a507a0798 -r 4f5e3a2311cf external/mit/xwd/dist/Makefile.in
--- a/external/mit/xwd/dist/Makefile.in Mon Jun 19 08:00:17 2023 +0000
+++ b/external/mit/xwd/dist/Makefile.in Mon Jun 19 08:00:20 2023 +0000
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.16.4 from Makefile.am.
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2021 Free Software Foundation, Inc.
@@ -240,9 +240,9 @@ am__relativize = \
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
@@ -697,6 +697,7 @@ distdir-am: $(DISTFILES)
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
$(am__post_remove_distdir)
+
dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
$(am__post_remove_distdir)
@@ -704,7 +705,6 @@ dist-bzip2: distdir
dist-lzip: distdir
tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
$(am__post_remove_distdir)
-
dist-xz: distdir
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
$(am__post_remove_distdir)
diff -r 237a507a0798 -r 4f5e3a2311cf external/mit/xwd/dist/README.md
--- a/external/mit/xwd/dist/README.md Mon Jun 19 08:00:17 2023 +0000
+++ b/external/mit/xwd/dist/README.md Mon Jun 19 08:00:20 2023 +0000
@@ -6,7 +6,7 @@ Xorg mailing list:
https://lists.x.org/mailman/listinfo/xorg
-The master development code repository can be found at:
+The primary development code repository can be found at:
https://gitlab.freedesktop.org/xorg/app/xwd
diff -r 237a507a0798 -r 4f5e3a2311cf external/mit/xwd/dist/aclocal.m4
--- a/external/mit/xwd/dist/aclocal.m4 Mon Jun 19 08:00:17 2023 +0000
+++ b/external/mit/xwd/dist/aclocal.m4 Mon Jun 19 08:00:20 2023 +0000
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.16.4 -*- Autoconf -*-
+# generated automatically by aclocal 1.16.5 -*- Autoconf -*-
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
@@ -35,7 +35,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
[am__api_version='1.16'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.16.4], [],
+m4_if([$1], [1.16.5], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -51,7 +51,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.16.4])dnl
+[AM_AUTOMAKE_VERSION([1.16.5])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -428,6 +428,10 @@ m4_defn([AC_PROG_CC])
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
[AC_PREREQ([2.65])dnl
+m4_ifdef([_$0_ALREADY_INIT],
+ [m4_fatal([$0 expanded multiple times
+]m4_defn([_$0_ALREADY_INIT]))],
+ [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -1422,7 +1426,7 @@ AS_VAR_IF([$1], [""], [$5], [$4])dnl
dnl xorg-macros.m4. Generated from xorg-macros.m4.in xorgversion.m4 by configure.
dnl
-dnl Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+dnl Copyright (c) 2005, 2023, Oracle and/or its affiliates.
dnl
dnl Permission is hereby granted, free of charge, to any person obtaining a
dnl copy of this software and associated documentation files (the "Software"),
@@ -1459,7 +1463,7 @@ dnl DEALINGS IN THE SOFTWARE.
# See the "minimum version" comment for each macro you use to see what
# version you require.
m4_defun([XORG_MACROS_VERSION],[
-m4_define([vers_have], [1.19.3])
+m4_define([vers_have], [1.20.0])
m4_define([maj_have], m4_substr(vers_have, 0, m4_index(vers_have, [.])))
m4_define([maj_needed], m4_substr([$1], 0, m4_index([$1], [.])))
m4_if(m4_cmp(maj_have, maj_needed), 0,,
@@ -1789,7 +1793,7 @@ AC_SUBST(MAKE_HTML)
# Documentation tools are not always available on all platforms and sometimes
# not at the appropriate level. This macro enables a module to test for the
# presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-xmlto option, it allows maximum flexibilty in making decisions
+# the --with-xmlto option, it allows maximum flexibility in making decisions
# as whether or not to use the xmlto package. When DEFAULT is not specified,
# --with-xmlto assumes 'auto'.
#
@@ -2003,7 +2007,7 @@ AM_CONDITIONAL([HAVE_PERL], [test "$have
# Documentation tools are not always available on all platforms and sometimes
# not at the appropriate level. This macro enables a module to test for the
# presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-asciidoc option, it allows maximum flexibilty in making decisions
+# the --with-asciidoc option, it allows maximum flexibility in making decisions
# as whether or not to use the asciidoc package. When DEFAULT is not specified,
# --with-asciidoc assumes 'auto'.
#
@@ -2073,7 +2077,7 @@ AM_CONDITIONAL([HAVE_ASCIIDOC], [test "$
# Documentation tools are not always available on all platforms and sometimes
# not at the appropriate level. This macro enables a module to test for the
# presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-doxygen option, it allows maximum flexibilty in making decisions
+# the --with-doxygen option, it allows maximum flexibility in making decisions
# as whether or not to use the doxygen package. When DEFAULT is not specified,
# --with-doxygen assumes 'auto'.
#
@@ -2157,7 +2161,7 @@ AM_CONDITIONAL([HAVE_DOXYGEN], [test "$h
# Documentation tools are not always available on all platforms and sometimes
# not at the appropriate level. This macro enables a module to test for the
# presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-groff option, it allows maximum flexibilty in making decisions
+# the --with-groff option, it allows maximum flexibility in making decisions
# as whether or not to use the groff package. When DEFAULT is not specified,
# --with-groff assumes 'auto'.
#
@@ -2265,7 +2269,7 @@ AM_CONDITIONAL([HAVE_GROFF_HTML], [test
# Documentation tools are not always available on all platforms and sometimes
# not at the appropriate level. This macro enables a module to test for the
# presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-fop option, it allows maximum flexibilty in making decisions
+# the --with-fop option, it allows maximum flexibility in making decisions
# as whether or not to use the fop package. When DEFAULT is not specified,
# --with-fop assumes 'auto'.
#
@@ -2359,7 +2363,7 @@ AC_SUBST([M4], [$ac_cv_path_M4])
# Documentation tools are not always available on all platforms and sometimes
# not at the appropriate level. This macro enables a module to test for the
# presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-ps2pdf option, it allows maximum flexibilty in making decisions
+# the --with-ps2pdf option, it allows maximum flexibility in making decisions
# as whether or not to use the ps2pdf package. When DEFAULT is not specified,
# --with-ps2pdf assumes 'auto'.
#
@@ -2414,7 +2418,7 @@ AM_CONDITIONAL([HAVE_PS2PDF], [test "$ha
# not at the appropriate level. This macro enables a builder to skip all
# documentation targets except traditional man pages.
# Combined with the specific tool checking macros XORG_WITH_*, it provides
Home |
Main Index |
Thread Index |
Old Index