Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/xf86-input-mouse/dist initial import of xf86-...
details: https://anonhg.NetBSD.org/xsrc/rev/839a6ede8e46
branches: trunk
changeset: 7568:839a6ede8e46
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Jun 20 02:09:48 2023 +0000
description:
initial import of xf86-input-mouse-1.9.5
diffstat:
external/mit/xf86-input-mouse/dist/COPYING | 3 +-
external/mit/xf86-input-mouse/dist/ChangeLog | 68 +++
external/mit/xf86-input-mouse/dist/aclocal.m4 | 64 ++-
external/mit/xf86-input-mouse/dist/config.guess | 56 ++-
external/mit/xf86-input-mouse/dist/config.sub | 47 +-
external/mit/xf86-input-mouse/dist/configure | 26 +-
external/mit/xf86-input-mouse/dist/configure.ac | 2 +-
external/mit/xf86-input-mouse/dist/include/xf86-mouse-properties.h | 2 +-
external/mit/xf86-input-mouse/dist/man/Makefile.am | 2 +-
external/mit/xf86-input-mouse/dist/man/Makefile.in | 2 +-
external/mit/xf86-input-mouse/dist/src/sun_mouse.c | 196 +++++++++-
11 files changed, 393 insertions(+), 75 deletions(-)
diffs (truncated from 999 to 300 lines):
diff -r 627319f23733 -r 839a6ede8e46 external/mit/xf86-input-mouse/dist/COPYING
--- a/external/mit/xf86-input-mouse/dist/COPYING Tue Jun 20 02:07:22 2023 +0000
+++ b/external/mit/xf86-input-mouse/dist/COPYING Tue Jun 20 02:09:48 2023 +0000
@@ -1,5 +1,4 @@
-Copyright (c) 2004-2005, 2008-2010, Oracle and/or its affiliates.
-All rights reserved.
+Copyright (c) 2004, 2022, Oracle and/or its affiliates.
Copyright 2012 Red Hat, Inc.
Permission is hereby granted, free of charge, to any person obtaining a
diff -r 627319f23733 -r 839a6ede8e46 external/mit/xf86-input-mouse/dist/ChangeLog
--- a/external/mit/xf86-input-mouse/dist/ChangeLog Tue Jun 20 02:07:22 2023 +0000
+++ b/external/mit/xf86-input-mouse/dist/ChangeLog Tue Jun 20 02:09:48 2023 +0000
@@ -1,3 +1,71 @@
+commit f59e8cb5b47fa989d3c9a0ca104d7261a94324db
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Thu May 4 17:17:54 2023 -0700
+
+ xf86-input-mouse 1.9.5
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit cad360554cdab324fc828cb5ffa47f610ca796c4
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Feb 25 09:07:15 2023 -0800
+
+ Remove "All rights reserved" from Oracle copyright notices
+
+ Oracle no longer includes this term in our copyright & license notices.
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 52073e2edc29059a5142d4460c5edc8739981e03
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Wed Nov 9 17:01:47 2022 -0800
+
+ sun_mouse: remove entry from vuidMouseList in DEVICE_CLOSE
+
+ Originally written by fei.feng%oracle.com@localhost to fix Oracle Bug 17429216:
+ "global vuidMouseList should not keep info for removed mouse device"
+
+ "During the testing for bug#17251473, I often see the mouse hang in X.
+ By debugging, I get that there seems something wrong in mouse_drv.so -
+ when a mouse is disconnected, the global vuidMouseList does not cleanup
+ the mouse's recorded info. So if a newly inserted mouse allocates a
+ input info pInfo which happens to have the same memory address as
+ previous pInfo, the driver would go wrong."
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit cd5b383c3f6c5b7ffa19f8e6ebb7d6551898a98b
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Wed Nov 9 16:27:42 2022 -0800
+
+ sun_mouse: Add RelToAbs option to convert relative events to absolute
+
+ Enabled automatically for the Sun ILOM device, to avoid acceleration
+ that causes the Remote KVMS mouse cursor to become unaligned with the
+ X mouse cursor.
+
+ Code originally written by david.m.marx%oracle.com@localhost in 2013 to fix
+ Oracle bug 15798251 - SUNBT7177072 "actual mouse pointer is off from
+ the cursor on remote window"
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 5f63ab04338fd811c610ae7617757ede52471316
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Wed Nov 2 14:45:25 2022 -0700
+
+ sun_mouse: include more required system headers
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit b99e91aafb66790d3158c068c321e40c19c0571d
+Author: Thomas Klausner <wiz%gatalith.at@localhost>
+Date: Wed Nov 2 09:11:33 2022 +0100
+
+ Rearrange includes to fix build on OmniOS. Include unistd.h for ioctl(2).
+
+ Signed-off-by: Thomas Klausner <wiz%gatalith.at@localhost>
+
commit ecd043f1de248cc03d240f1ae5850ce4f9f159a4
Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
Date: Tue Nov 1 19:30:06 2022 -0700
diff -r 627319f23733 -r 839a6ede8e46 external/mit/xf86-input-mouse/dist/aclocal.m4
--- a/external/mit/xf86-input-mouse/dist/aclocal.m4 Tue Jun 20 02:07:22 2023 +0000
+++ b/external/mit/xf86-input-mouse/dist/aclocal.m4 Tue Jun 20 02:09:48 2023 +0000
@@ -1426,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"),
@@ -1463,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,,
@@ -1793,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'.
#
@@ -2007,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'.
#
@@ -2077,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'.
#
@@ -2161,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'.
#
@@ -2269,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'.
#
@@ -2363,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'.
#
@@ -2418,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
-# maximum flexibilty in controlling documentation building.
+# maximum flexibility in controlling documentation building.
# Refer to:
# XORG_WITH_XMLTO --with-xmlto
# XORG_WITH_ASCIIDOC --with-asciidoc
@@ -2451,7 +2451,7 @@ AC_MSG_RESULT([$build_docs])
#
# This macro enables a builder to skip all developer documentation.
# Combined with the specific tool checking macros XORG_WITH_*, it provides
-# maximum flexibilty in controlling documentation building.
+# maximum flexibility in controlling documentation building.
# Refer to:
# XORG_WITH_XMLTO --with-xmlto
# XORG_WITH_ASCIIDOC --with-asciidoc
@@ -2484,7 +2484,7 @@ AC_MSG_RESULT([$build_devel_docs])
#
# This macro enables a builder to skip all functional specification targets.
# Combined with the specific tool checking macros XORG_WITH_*, it provides
-# maximum flexibilty in controlling documentation building.
+# maximum flexibility in controlling documentation building.
# Refer to:
# XORG_WITH_XMLTO --with-xmlto
# XORG_WITH_ASCIIDOC --with-asciidoc
@@ -2959,7 +2959,11 @@ AM_CONDITIONAL(MAKE_LINT_LIB, [test x$ma
AC_DEFUN([XORG_COMPILER_BRAND], [
AC_LANG_CASE(
[C], [
- AC_REQUIRE([AC_PROG_CC_C99])
+ dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC
+ dnl and complains that AC_PROG_CC_C99 is obsolete
+ m4_version_prereq([2.70],
+ [AC_REQUIRE([AC_PROG_CC])],
+ [AC_REQUIRE([AC_PROG_CC_C99])])
],
[C++], [
AC_REQUIRE([AC_PROG_CXX])
@@ -2975,7 +2979,7 @@ AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"
# Minimum version: 1.16.0
#
# Test if the compiler works when passed the given flag as a command line argument.
-# If it succeeds, the flag is appeneded to the given variable. If not, it tries the
+# If it succeeds, the flag is appended to the given variable. If not, it tries the
# next flag in the list until there are no more options.
#
# Note that this does not guarantee that the compiler supports the flag as some
@@ -2991,7 +2995,11 @@ AC_LANG_COMPILER_REQUIRE
AC_LANG_CASE(
[C], [
- AC_REQUIRE([AC_PROG_CC_C99])
+ dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC
+ dnl and complains that AC_PROG_CC_C99 is obsolete
+ m4_version_prereq([2.70],
+ [AC_REQUIRE([AC_PROG_CC])],
+ [AC_REQUIRE([AC_PROG_CC_C99])])
define([PREFIX], [C])
define([CACHE_PREFIX], [cc])
define([COMPILER], [$CC])
@@ -3132,7 +3140,7 @@ XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]
# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
-# Turn some warnings into errors, so we don't accidently get successful builds
+# Turn some warnings into errors, so we don't accidentally get successful builds
# when there are problems that should be fixed.
if test "x$SELECTIVE_WERROR" = "xyes" ; then
@@ -3241,23 +3249,35 @@ AC_SUBST([BASE_]PREFIX[FLAGS])
AC_LANG_CASE([C], AC_SUBST([CWARNFLAGS]))
]) # XORG_STRICT_OPTION
+# XORG_DEFAULT_NOCODE_OPTIONS
+# ---------------------------
+# Minimum version: 1.20.0
+#
+# Defines default options for X.Org modules which don't compile code,
+# such as fonts, bitmaps, cursors, and docs.
+#
+AC_DEFUN([XORG_DEFAULT_NOCODE_OPTIONS], [
+AC_REQUIRE([AC_PROG_INSTALL])
+XORG_RELEASE_VERSION
+XORG_CHANGELOG
+XORG_INSTALL
+XORG_MANPAGE_SECTIONS
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
+ [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
+]) # XORG_DEFAULT_NOCODE_OPTIONS
+
# XORG_DEFAULT_OPTIONS
# --------------------
# Minimum version: 1.3.0
#
-# Defines default options for X.Org modules.
+# Defines default options for X.Org modules which compile code.
#
AC_DEFUN([XORG_DEFAULT_OPTIONS], [
AC_REQUIRE([AC_PROG_INSTALL])
XORG_COMPILER_FLAGS
XORG_CWARNFLAGS
XORG_STRICT_OPTION
-XORG_RELEASE_VERSION
-XORG_CHANGELOG
-XORG_INSTALL
-XORG_MANPAGE_SECTIONS
-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
- [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
+XORG_DEFAULT_NOCODE_OPTIONS
]) # XORG_DEFAULT_OPTIONS
# XORG_INSTALL()
diff -r 627319f23733 -r 839a6ede8e46 external/mit/xf86-input-mouse/dist/config.guess
--- a/external/mit/xf86-input-mouse/dist/config.guess Tue Jun 20 02:07:22 2023 +0000
+++ b/external/mit/xf86-input-mouse/dist/config.guess Tue Jun 20 02:09:48 2023 +0000
@@ -1,14 +1,14 @@
#! /bin/sh
# Attempt to guess a canonical system name.
-# Copyright 1992-2021 Free Software Foundation, Inc.
+# Copyright 1992-2023 Free Software Foundation, Inc.
# shellcheck disable=SC2006,SC2268 # see below for rationale
-timestamp='2021-06-03'
+timestamp='2023-01-01'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
+# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
@@ -60,7 +60,7 @@ version="\
GNU config.guess ($timestamp)
Originally written by Per Bothner.
-Copyright 1992-2021 Free Software Foundation, Inc.
Home |
Main Index |
Thread Index |
Old Index