Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/xorg]: xsrc/external/mit/viewres/dist initial import of viewres-1.0.6
details: https://anonhg.NetBSD.org/xsrc/rev/e672578ca9d3
branches: xorg
changeset: 10450:e672578ca9d3
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Feb 23 09:37:03 2020 +0000
description:
initial import of viewres-1.0.6
diffstat:
external/mit/viewres/dist/ChangeLog | 72 ++++++++++++++++++++++++++++++++++
external/mit/viewres/dist/Makefile.am | 3 +
external/mit/viewres/dist/Makefile.in | 6 +-
external/mit/viewres/dist/README.md | 18 ++++++++
external/mit/viewres/dist/configure | 30 +++++++-------
external/mit/viewres/dist/configure.ac | 4 +-
external/mit/viewres/dist/viewres.c | 18 ++++----
7 files changed, 123 insertions(+), 28 deletions(-)
diffs (truncated from 327 to 300 lines):
diff -r 1c338ae97c29 -r e672578ca9d3 external/mit/viewres/dist/ChangeLog
--- a/external/mit/viewres/dist/ChangeLog Sun Feb 23 09:09:23 2020 +0000
+++ b/external/mit/viewres/dist/ChangeLog Sun Feb 23 09:37:03 2020 +0000
@@ -1,3 +1,75 @@
+commit 5661dfdc04572cdbb6ed4e641049657c4ba39252
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Aug 25 16:11:01 2019 -0700
+
+ viewres 1.0.6
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 85f2a20e7535a5f8dcdeb805f3e30f387d45baf3
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Jun 8 19:20:26 2019 -0700
+
+ Fix -Wshadow warnings
+
+ viewres.c: In function â??select_callbackâ??:
+ viewres.c:620:18: warning: declaration of â??nodeâ?? shadows a previous local [-Wshadow]
+ XmuWidgetNode *node = selected_list.elements[i];
+ ^~~~
+ viewres.c:593:20: note: shadowed declaration is here
+ XmuWidgetNode *node;
+ ^~~~
+ viewres.c:658:18: warning: declaration of â??nodeâ?? shadows a previous local [-Wshadow]
+ XmuWidgetNode *node = selected_list.elements[i];
+ ^~~~
+ viewres.c:593:20: note: shadowed declaration is here
+ XmuWidgetNode *node;
+ ^~~~
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 917269949545cf1ab1e0068cc2ba7c1f9a775012
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Jun 8 19:16:53 2019 -0700
+
+ Fix -Wsign-compare warnings
+
+ viewres.c: In function â??set_resource_labelsâ??:
+ viewres.c:313:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+ for (i = 0; i < node->nresources; i++, res++, wn++) {
+ ^
+ viewres.c:329:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+ for (i = 0; i < node->nconstraints; i++, res++, wn++) {
+ ^
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit f846695df6b5d9543e12d1c8f04d9d7575df1ac6
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Jun 8 19:15:34 2019 -0700
+
+ Pass -D_CONST_X_STRING to make libXt declare String as const char *
+
+ Clears up 32 of 38 gcc -Wdiscarded-qualifiers warnings
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 74bd63d6e6768f96c3e6fc2b692a5b012edbcea3
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Wed Nov 21 16:58:21 2018 -0800
+
+ Update configure.ac bug URL for gitlab migration
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 8ee2177d894c91a4a864b5b182705d72055e0090
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Fri Nov 16 20:55:55 2018 -0800
+
+ Update README for gitlab migration
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
commit 3b72d922ec82789124d43ef11e601a2f1e620458
Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
Date: Sun Mar 4 19:38:27 2018 -0800
diff -r 1c338ae97c29 -r e672578ca9d3 external/mit/viewres/dist/Makefile.am
--- a/external/mit/viewres/dist/Makefile.am Sun Feb 23 09:09:23 2020 +0000
+++ b/external/mit/viewres/dist/Makefile.am Sun Feb 23 09:37:03 2020 +0000
@@ -23,6 +23,7 @@
bin_PROGRAMS = viewres
AM_CFLAGS = $(VIEWRES_CFLAGS) $(CWARNFLAGS)
+AM_CPPFLAGS = -D_CONST_X_STRING
viewres_LDADD = $(VIEWRES_LIBS)
viewres_SOURCES = \
@@ -48,3 +49,5 @@
$(CHANGELOG_CMD)
dist-hook: ChangeLog INSTALL
+
+EXTRA_DIST = README.md
diff -r 1c338ae97c29 -r e672578ca9d3 external/mit/viewres/dist/Makefile.in
--- a/external/mit/viewres/dist/Makefile.in Sun Feb 23 09:09:23 2020 +0000
+++ b/external/mit/viewres/dist/Makefile.in Sun Feb 23 09:37:03 2020 +0000
@@ -233,8 +233,8 @@
CSCOPE = cscope
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in COPYING \
- ChangeLog INSTALL README compile config.guess config.sub \
- depcomp install-sh missing
+ ChangeLog INSTALL compile config.guess config.sub depcomp \
+ install-sh missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@@ -400,6 +400,7 @@
top_srcdir = @top_srcdir@
SUBDIRS = man
AM_CFLAGS = $(VIEWRES_CFLAGS) $(CWARNFLAGS)
+AM_CPPFLAGS = -D_CONST_X_STRING
viewres_LDADD = $(VIEWRES_LIBS)
viewres_SOURCES = \
viewres.c
@@ -412,6 +413,7 @@
app-defaults/Viewres-color
MAINTAINERCLEANFILES = ChangeLog INSTALL
+EXTRA_DIST = README.md
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
diff -r 1c338ae97c29 -r e672578ca9d3 external/mit/viewres/dist/README.md
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/viewres/dist/README.md Sun Feb 23 09:37:03 2020 +0000
@@ -0,0 +1,18 @@
+viewres displays a tree showing the widget class hierarchy of the
+Athena Widget Set (libXaw).
+
+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/app/viewres
+
+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 1c338ae97c29 -r e672578ca9d3 external/mit/viewres/dist/configure
--- a/external/mit/viewres/dist/configure Sun Feb 23 09:09:23 2020 +0000
+++ b/external/mit/viewres/dist/configure Sun Feb 23 09:37:03 2020 +0000
@@ -1,8 +1,8 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for viewres 1.0.5.
+# Generated by GNU Autoconf 2.69 for viewres 1.0.6.
#
-# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
+# Report bugs to <https://gitlab.freedesktop.org/xorg/app/viewres/issues>.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -267,7 +267,7 @@
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
else
$as_echo "$0: Please tell bug-autoconf%gnu.org@localhost and
-$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
+$0: https://gitlab.freedesktop.org/xorg/app/viewres/issues
$0: about your system, including any error possibly output
$0: before this message. Then install a modern shell, or
$0: manually run the script under such a shell if you do
@@ -581,9 +581,9 @@
# Identity of this package.
PACKAGE_NAME='viewres'
PACKAGE_TARNAME='viewres'
-PACKAGE_VERSION='1.0.5'
-PACKAGE_STRING='viewres 1.0.5'
-PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
+PACKAGE_VERSION='1.0.6'
+PACKAGE_STRING='viewres 1.0.6'
+PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/viewres/issues'
PACKAGE_URL=''
ac_unique_file="Makefile.am"
@@ -1309,7 +1309,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures viewres 1.0.5 to adapt to many kinds of systems.
+\`configure' configures viewres 1.0.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1379,7 +1379,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of viewres 1.0.5:";;
+ short | recursive ) echo "Configuration of viewres 1.0.6:";;
esac
cat <<\_ACEOF
@@ -1429,7 +1429,7 @@
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
-Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
+Report bugs to <https://gitlab.freedesktop.org/xorg/app/viewres/issues>.
_ACEOF
ac_status=$?
fi
@@ -1492,7 +1492,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-viewres configure 1.0.5
+viewres configure 1.0.6
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1749,7 +1749,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by viewres $as_me 1.0.5, which was
+It was created by viewres $as_me 1.0.6, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2617,7 +2617,7 @@
# Define the identity of the package.
PACKAGE='viewres'
- VERSION='1.0.5'
+ VERSION='1.0.6'
cat >>confdefs.h <<_ACEOF
@@ -11247,7 +11247,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by viewres $as_me 1.0.5, which was
+This file was extended by viewres $as_me 1.0.6, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -11307,13 +11307,13 @@
Configuration commands:
$config_commands
-Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
+Report bugs to <https://gitlab.freedesktop.org/xorg/app/viewres/issues>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-viewres config.status 1.0.5
+viewres config.status 1.0.6
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -r 1c338ae97c29 -r e672578ca9d3 external/mit/viewres/dist/configure.ac
--- a/external/mit/viewres/dist/configure.ac Sun Feb 23 09:09:23 2020 +0000
+++ b/external/mit/viewres/dist/configure.ac Sun Feb 23 09:37:03 2020 +0000
@@ -23,8 +23,8 @@
# Initialize Autoconf
AC_PREREQ([2.60])
-AC_INIT([viewres], [1.0.5],
- [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [viewres])
+AC_INIT([viewres], [1.0.6],
+ [https://gitlab.freedesktop.org/xorg/app/viewres/issues], [viewres])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS([config.h])
diff -r 1c338ae97c29 -r e672578ca9d3 external/mit/viewres/dist/viewres.c
--- a/external/mit/viewres/dist/viewres.c Sun Feb 23 09:09:23 2020 +0000
+++ b/external/mit/viewres/dist/viewres.c Sun Feb 23 09:37:03 2020 +0000
@@ -294,7 +294,7 @@
static Boolean
set_resource_labels (XmuWidgetNode *node)
{
- int i;
+ Cardinal i;
const char **cur;
XtResourceList res;
XmuWidgetNode **wn;
@@ -617,9 +617,9 @@
add_to_selected_list (node->superclass, TRUE);
} else {
for (i = 0; i < nselected; i++) {
- XmuWidgetNode *node = selected_list.elements[i];
- if (node->superclass)
- add_to_selected_list (node->superclass, TRUE);
+ XmuWidgetNode *nodeI = selected_list.elements[i];
+ if (nodeI->superclass)
+ add_to_selected_list (nodeI->superclass, TRUE);
}
Home |
Main Index |
Thread Index |
Old Index