Update to xev 1.0.4
This commit is contained in:
parent
658adee8db
commit
3c1ea789d5
@ -1,12 +1,25 @@
|
|||||||
This is a stub file. This package has not yet had its complete licensing
|
Copyright (c) 1988 X Consortium
|
||||||
information compiled. Please see the individual source files for details on
|
|
||||||
your rights to use and modify this software.
|
|
||||||
|
|
||||||
Please submit updated COPYING files to the Xorg bugzilla:
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of this software and associated documentation files (the
|
||||||
|
"Software"), to deal in the Software without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
|
The above copyright notice and this permission notice shall be included
|
||||||
|
in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
All licensing questions regarding this software should be directed at the
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
Xorg mailing list:
|
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||||
|
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||||
|
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
|
OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
http://lists.freedesktop.org/mailman/listinfo/xorg
|
Except as contained in this notice, the name of the X Consortium shall
|
||||||
|
not be used in advertising or otherwise to promote the sale, use or
|
||||||
|
other dealings in this Software without prior written authorization
|
||||||
|
from the X Consortium.
|
||||||
|
@ -1,3 +1,67 @@
|
|||||||
|
commit 7616febda25a1c6dd1f5458de60286ba6099104c
|
||||||
|
Author: Alan Coopersmith <alan.coopersmith@sun.com>
|
||||||
|
Date: Mon Oct 12 18:45:55 2009 -0700
|
||||||
|
|
||||||
|
xev 1.0.4
|
||||||
|
|
||||||
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
||||||
|
|
||||||
|
commit 1e549e6420abc892ef6230d7cf798f74c8fc5582
|
||||||
|
Author: Alan Coopersmith <alan.coopersmith@sun.com>
|
||||||
|
Date: Mon Oct 12 18:38:22 2009 -0700
|
||||||
|
|
||||||
|
Fill in COPYING with notice from xev.c
|
||||||
|
|
||||||
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
||||||
|
|
||||||
|
commit 5c92c37b733db62d2504d6d93f5b5da0658b06b2
|
||||||
|
Author: Alan Coopersmith <alan.coopersmith@sun.com>
|
||||||
|
Date: Mon Oct 12 18:36:45 2009 -0700
|
||||||
|
|
||||||
|
Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS
|
||||||
|
|
||||||
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
||||||
|
|
||||||
|
commit 40bcf74b066c3b0347e5bc735bcf9a670af1b8c2
|
||||||
|
Author: Alan Coopersmith <alan.coopersmith@sun.com>
|
||||||
|
Date: Thu Oct 1 14:54:23 2009 -0700
|
||||||
|
|
||||||
|
Add README with pointers to mailing lists, bugzilla, & git
|
||||||
|
|
||||||
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
||||||
|
|
||||||
|
commit b0e1f6b3ffc36de124479b85d60b1364d8b00393
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Tue Jul 7 17:52:50 2009 -0400
|
||||||
|
|
||||||
|
xev: use XORG_CHANGELOG macro to create ChangeLog. #22611
|
||||||
|
|
||||||
|
Build break: app/xev/Makefile.am: command not found: git-log
|
||||||
|
Adding the macro in configure.ac and use it in Makefile.am
|
||||||
|
Refer to: https://bugs.freedesktop.org/show_bug.cgi?id=22611
|
||||||
|
Tested: running autogen.sh, make and 'make dist'
|
||||||
|
|
||||||
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||||
|
|
||||||
|
commit 2fa6919b6f4cb007e218185f15c8fda512afcb37
|
||||||
|
Author: Branden Robinson <branden@debian.org>
|
||||||
|
Date: Mon Mar 22 17:19:47 2004 -0500
|
||||||
|
|
||||||
|
Flush standard output after processing each event
|
||||||
|
|
||||||
|
When redirecting the output of xev (eg, xev > foo), the output file is
|
||||||
|
truncated on exit due to libc buffering, since xev's exit(0) is
|
||||||
|
unreachable code. Reported by Bill Currie.
|
||||||
|
|
||||||
|
Debian bug#238638 <http://bugs.debian.org/238638>
|
||||||
|
|
||||||
|
commit 04f027bf11b566224ead89aff51eb06d222b7086
|
||||||
|
Author: Adam Jackson <ajax@redhat.com>
|
||||||
|
Date: Fri Mar 7 17:15:28 2008 -0500
|
||||||
|
|
||||||
|
xev 1.0.3
|
||||||
|
|
||||||
commit d82fb133b9cd4d3284db553a0afdd530b466073e
|
commit d82fb133b9cd4d3284db553a0afdd530b466073e
|
||||||
Author: James Cloos <cloos@jhcloos.com>
|
Author: James Cloos <cloos@jhcloos.com>
|
||||||
Date: Thu Dec 6 15:51:06 2007 -0500
|
Date: Thu Dec 6 15:51:06 2007 -0500
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
bin_PROGRAMS = xev
|
bin_PROGRAMS = xev
|
||||||
|
|
||||||
xev_CFLAGS = $(XEV_CFLAGS)
|
AM_CFLAGS = $(CWARNFLAGS) $(XEV_CFLAGS)
|
||||||
xev_LDADD = $(XEV_LIBS)
|
xev_LDADD = $(XEV_LIBS)
|
||||||
|
|
||||||
xev_SOURCES = \
|
xev_SOURCES = \
|
||||||
@ -61,10 +61,11 @@ MAN_SUBSTS = \
|
|||||||
SUFFIXES = .$(APP_MAN_SUFFIX) .man
|
SUFFIXES = .$(APP_MAN_SUFFIX) .man
|
||||||
|
|
||||||
.man.$(APP_MAN_SUFFIX):
|
.man.$(APP_MAN_SUFFIX):
|
||||||
sed $(MAN_SUBSTS) < $< > $@
|
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
|
||||||
|
|
||||||
.PHONY: ChangeLog
|
.PHONY: ChangeLog
|
||||||
|
|
||||||
ChangeLog:
|
ChangeLog:
|
||||||
(GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
|
$(CHANGELOG_CMD)
|
||||||
|
|
||||||
dist-hook: ChangeLog
|
dist-hook: ChangeLog
|
||||||
|
@ -76,7 +76,7 @@ CONFIG_CLEAN_FILES =
|
|||||||
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(appmandir)"
|
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(appmandir)"
|
||||||
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
||||||
PROGRAMS = $(bin_PROGRAMS)
|
PROGRAMS = $(bin_PROGRAMS)
|
||||||
am_xev_OBJECTS = xev-xev.$(OBJEXT)
|
am_xev_OBJECTS = xev.$(OBJEXT)
|
||||||
xev_OBJECTS = $(am_xev_OBJECTS)
|
xev_OBJECTS = $(am_xev_OBJECTS)
|
||||||
am__DEPENDENCIES_1 =
|
am__DEPENDENCIES_1 =
|
||||||
xev_DEPENDENCIES = $(am__DEPENDENCIES_1)
|
xev_DEPENDENCIES = $(am__DEPENDENCIES_1)
|
||||||
@ -109,7 +109,6 @@ am__remove_distdir = \
|
|||||||
DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
|
DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
|
||||||
GZIP_ENV = --best
|
GZIP_ENV = --best
|
||||||
distuninstallcheck_listfiles = find . -type f -print
|
distuninstallcheck_listfiles = find . -type f -print
|
||||||
distcleancheck_listfiles = find . -type f -print
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
|
ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
|
||||||
ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
|
ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
|
||||||
@ -125,7 +124,10 @@ AWK = @AWK@
|
|||||||
CC = @CC@
|
CC = @CC@
|
||||||
CCDEPMODE = @CCDEPMODE@
|
CCDEPMODE = @CCDEPMODE@
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
|
CHANGELOG_CMD = @CHANGELOG_CMD@
|
||||||
|
CPP = @CPP@
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CWARNFLAGS = @CWARNFLAGS@
|
||||||
CYGPATH_W = @CYGPATH_W@
|
CYGPATH_W = @CYGPATH_W@
|
||||||
DEFS = @DEFS@
|
DEFS = @DEFS@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
@ -134,9 +136,11 @@ DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
|
|||||||
ECHO_C = @ECHO_C@
|
ECHO_C = @ECHO_C@
|
||||||
ECHO_N = @ECHO_N@
|
ECHO_N = @ECHO_N@
|
||||||
ECHO_T = @ECHO_T@
|
ECHO_T = @ECHO_T@
|
||||||
|
EGREP = @EGREP@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FILE_MAN_DIR = @FILE_MAN_DIR@
|
FILE_MAN_DIR = @FILE_MAN_DIR@
|
||||||
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
|
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
|
||||||
|
GREP = @GREP@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
@ -169,8 +173,6 @@ VERSION = @VERSION@
|
|||||||
XEV_CFLAGS = @XEV_CFLAGS@
|
XEV_CFLAGS = @XEV_CFLAGS@
|
||||||
XEV_LIBS = @XEV_LIBS@
|
XEV_LIBS = @XEV_LIBS@
|
||||||
ac_ct_CC = @ac_ct_CC@
|
ac_ct_CC = @ac_ct_CC@
|
||||||
ac_ct_STRIP = @ac_ct_STRIP@
|
|
||||||
ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
|
|
||||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||||
am__include = @am__include@
|
am__include = @am__include@
|
||||||
@ -185,28 +187,36 @@ build_cpu = @build_cpu@
|
|||||||
build_os = @build_os@
|
build_os = @build_os@
|
||||||
build_vendor = @build_vendor@
|
build_vendor = @build_vendor@
|
||||||
datadir = @datadir@
|
datadir = @datadir@
|
||||||
|
datarootdir = @datarootdir@
|
||||||
|
distcleancheck_listfiles = @distcleancheck_listfiles@
|
||||||
|
docdir = @docdir@
|
||||||
|
dvidir = @dvidir@
|
||||||
exec_prefix = @exec_prefix@
|
exec_prefix = @exec_prefix@
|
||||||
host = @host@
|
host = @host@
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_cpu = @host_cpu@
|
host_cpu = @host_cpu@
|
||||||
host_os = @host_os@
|
host_os = @host_os@
|
||||||
host_vendor = @host_vendor@
|
host_vendor = @host_vendor@
|
||||||
|
htmldir = @htmldir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
infodir = @infodir@
|
infodir = @infodir@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
libdir = @libdir@
|
libdir = @libdir@
|
||||||
libexecdir = @libexecdir@
|
libexecdir = @libexecdir@
|
||||||
|
localedir = @localedir@
|
||||||
localstatedir = @localstatedir@
|
localstatedir = @localstatedir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
|
pdfdir = @pdfdir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
|
psdir = @psdir@
|
||||||
sbindir = @sbindir@
|
sbindir = @sbindir@
|
||||||
sharedstatedir = @sharedstatedir@
|
sharedstatedir = @sharedstatedir@
|
||||||
sysconfdir = @sysconfdir@
|
sysconfdir = @sysconfdir@
|
||||||
target_alias = @target_alias@
|
target_alias = @target_alias@
|
||||||
xev_CFLAGS = $(XEV_CFLAGS)
|
AM_CFLAGS = $(CWARNFLAGS) $(XEV_CFLAGS)
|
||||||
xev_LDADD = $(XEV_LIBS)
|
xev_LDADD = $(XEV_LIBS)
|
||||||
xev_SOURCES = \
|
xev_SOURCES = \
|
||||||
xev.c
|
xev.c
|
||||||
@ -326,7 +336,7 @@ mostlyclean-compile:
|
|||||||
distclean-compile:
|
distclean-compile:
|
||||||
-rm -f *.tab.c
|
-rm -f *.tab.c
|
||||||
|
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xev-xev.Po@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xev.Po@am__quote@
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
|
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
|
||||||
@ -341,20 +351,6 @@ distclean-compile:
|
|||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
|
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
|
||||||
|
|
||||||
xev-xev.o: xev.c
|
|
||||||
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xev_CFLAGS) $(CFLAGS) -MT xev-xev.o -MD -MP -MF "$(DEPDIR)/xev-xev.Tpo" -c -o xev-xev.o `test -f 'xev.c' || echo '$(srcdir)/'`xev.c; \
|
|
||||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xev-xev.Tpo" "$(DEPDIR)/xev-xev.Po"; else rm -f "$(DEPDIR)/xev-xev.Tpo"; exit 1; fi
|
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xev.c' object='xev-xev.o' libtool=no @AMDEPBACKSLASH@
|
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
||||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xev_CFLAGS) $(CFLAGS) -c -o xev-xev.o `test -f 'xev.c' || echo '$(srcdir)/'`xev.c
|
|
||||||
|
|
||||||
xev-xev.obj: xev.c
|
|
||||||
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xev_CFLAGS) $(CFLAGS) -MT xev-xev.obj -MD -MP -MF "$(DEPDIR)/xev-xev.Tpo" -c -o xev-xev.obj `if test -f 'xev.c'; then $(CYGPATH_W) 'xev.c'; else $(CYGPATH_W) '$(srcdir)/xev.c'; fi`; \
|
|
||||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xev-xev.Tpo" "$(DEPDIR)/xev-xev.Po"; else rm -f "$(DEPDIR)/xev-xev.Tpo"; exit 1; fi
|
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xev.c' object='xev-xev.obj' libtool=no @AMDEPBACKSLASH@
|
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
||||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xev_CFLAGS) $(CFLAGS) -c -o xev-xev.obj `if test -f 'xev.c'; then $(CYGPATH_W) 'xev.c'; else $(CYGPATH_W) '$(srcdir)/xev.c'; fi`
|
|
||||||
uninstall-info-am:
|
uninstall-info-am:
|
||||||
install-appmanDATA: $(appman_DATA)
|
install-appmanDATA: $(appman_DATA)
|
||||||
@$(NORMAL_INSTALL)
|
@$(NORMAL_INSTALL)
|
||||||
@ -654,12 +650,13 @@ uninstall-am: uninstall-appmanDATA uninstall-binPROGRAMS \
|
|||||||
|
|
||||||
|
|
||||||
.man.$(APP_MAN_SUFFIX):
|
.man.$(APP_MAN_SUFFIX):
|
||||||
sed $(MAN_SUBSTS) < $< > $@
|
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
|
||||||
|
|
||||||
.PHONY: ChangeLog
|
.PHONY: ChangeLog
|
||||||
|
|
||||||
ChangeLog:
|
ChangeLog:
|
||||||
(GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
|
$(CHANGELOG_CMD)
|
||||||
|
|
||||||
dist-hook: ChangeLog
|
dist-hook: ChangeLog
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
|
@ -0,0 +1,31 @@
|
|||||||
|
xev creates a window and then asks the X server to send it X11 events
|
||||||
|
whenever anything happens to the window (such as it being moved,
|
||||||
|
resized, typed in, clicked in, etc.). You can also attach it to an
|
||||||
|
existing window. It is useful for seeing what causes events to occur
|
||||||
|
and to display the information that they contain; it is essentially a
|
||||||
|
debugging and development tool, and should not be needed in normal
|
||||||
|
usage.
|
||||||
|
|
||||||
|
All questions regarding this software should be directed at the
|
||||||
|
Xorg mailing list:
|
||||||
|
|
||||||
|
http://lists.freedesktop.org/mailman/listinfo/xorg
|
||||||
|
|
||||||
|
Please submit bug reports to the Xorg bugzilla:
|
||||||
|
|
||||||
|
https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
|
||||||
|
|
||||||
|
The master development code repository can be found at:
|
||||||
|
|
||||||
|
git://anongit.freedesktop.org/git/xorg/app/xev
|
||||||
|
|
||||||
|
http://cgit.freedesktop.org/xorg/app/xev
|
||||||
|
|
||||||
|
For patch submission instructions, see:
|
||||||
|
|
||||||
|
http://www.x.org/wiki/Development/Documentation/SubmittingPatches
|
||||||
|
|
||||||
|
For more information on the git code manager, see:
|
||||||
|
|
||||||
|
http://wiki.x.org/wiki/GitPage
|
||||||
|
|
138
app/xev/aclocal.m4
vendored
138
app/xev/aclocal.m4
vendored
@ -995,6 +995,7 @@ AC_SUBST([am__tar])
|
|||||||
AC_SUBST([am__untar])
|
AC_SUBST([am__untar])
|
||||||
]) # _AM_PROG_TAR
|
]) # _AM_PROG_TAR
|
||||||
|
|
||||||
|
dnl xorg-macros.m4. Generated from xorg-macros.m4.in xorgversion.m4 by configure.
|
||||||
dnl
|
dnl
|
||||||
dnl Copyright 2005-2006 Sun Microsystems, Inc. All rights reserved.
|
dnl Copyright 2005-2006 Sun Microsystems, Inc. All rights reserved.
|
||||||
dnl
|
dnl
|
||||||
@ -1031,27 +1032,24 @@ dnl of the copyright holder.
|
|||||||
# your configure.ac with the minimum required version, such as:
|
# your configure.ac with the minimum required version, such as:
|
||||||
# XORG_MACROS_VERSION(1.1)
|
# XORG_MACROS_VERSION(1.1)
|
||||||
#
|
#
|
||||||
# To force at least a version with this macro defined, also add:
|
# To ensure that this macro is defined, also add:
|
||||||
# m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.1 or later before running autoconf/autogen])])
|
# m4_ifndef([XORG_MACROS_VERSION],
|
||||||
|
# [m4_fatal([must install xorg-macros 1.1 or later before running autoconf/autogen])])
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# See the "minimum version" comment for each macro you use to see what
|
# See the "minimum version" comment for each macro you use to see what
|
||||||
# version you require.
|
# version you require.
|
||||||
AC_DEFUN([XORG_MACROS_VERSION],[
|
m4_defun([XORG_MACROS_VERSION],[
|
||||||
[XORG_MACROS_needed_version=$1
|
m4_define([vers_have], [1.3.0])
|
||||||
XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
|
m4_define([maj_have], m4_substr(vers_have, 0, m4_index(vers_have, [.])))
|
||||||
XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`]
|
m4_define([maj_needed], m4_substr([$1], 0, m4_index([$1], [.])))
|
||||||
AC_MSG_CHECKING([if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}])
|
m4_if(m4_cmp(maj_have, maj_needed), 0,,
|
||||||
[XORG_MACROS_version=1.1.6
|
[m4_fatal([xorg-macros major version ]maj_needed[ is required but ]vers_have[ found])])
|
||||||
XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
|
m4_if(m4_version_compare(vers_have, [$1]), -1,
|
||||||
XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`]
|
[m4_fatal([xorg-macros version $1 or higher is required but ]vers_have[ found])])
|
||||||
if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
|
m4_undefine([vers_have])
|
||||||
AC_MSG_ERROR([configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x])
|
m4_undefine([maj_have])
|
||||||
fi
|
m4_undefine([maj_needed])
|
||||||
if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then
|
|
||||||
AC_MSG_ERROR([configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer])
|
|
||||||
fi
|
|
||||||
AC_MSG_RESULT([yes, $XORG_MACROS_version])
|
|
||||||
]) # XORG_MACROS_VERSION
|
]) # XORG_MACROS_VERSION
|
||||||
|
|
||||||
# XORG_PROG_RAWCPP()
|
# XORG_PROG_RAWCPP()
|
||||||
@ -1076,6 +1074,10 @@ else
|
|||||||
if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
|
if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
|
||||||
RAWCPPFLAGS=-undef
|
RAWCPPFLAGS=-undef
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
|
# under Cygwin unix is still defined even with -undef
|
||||||
|
elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
|
||||||
|
RAWCPPFLAGS="-undef -ansi"
|
||||||
|
AC_MSG_RESULT([yes, with -ansi])
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([${RAWCPP} defines unix with or without -undef. I don't know what to do.])
|
AC_MSG_ERROR([${RAWCPP} defines unix with or without -undef. I don't know what to do.])
|
||||||
fi
|
fi
|
||||||
@ -1188,7 +1190,9 @@ AC_SUBST([ADMIN_MAN_DIR])
|
|||||||
# Whether or not the necessary tools and files are found can be checked
|
# Whether or not the necessary tools and files are found can be checked
|
||||||
# with the AM_CONDITIONAL "BUILD_LINUXDOC"
|
# with the AM_CONDITIONAL "BUILD_LINUXDOC"
|
||||||
AC_DEFUN([XORG_CHECK_LINUXDOC],[
|
AC_DEFUN([XORG_CHECK_LINUXDOC],[
|
||||||
XORG_SGML_PATH=$prefix/share/sgml
|
if test x$XORG_SGML_PATH = x ; then
|
||||||
|
XORG_SGML_PATH=$prefix/share/sgml
|
||||||
|
fi
|
||||||
HAVE_DEFS_ENT=
|
HAVE_DEFS_ENT=
|
||||||
|
|
||||||
if test x"$cross_compiling" = x"yes" ; then
|
if test x"$cross_compiling" = x"yes" ; then
|
||||||
@ -1244,7 +1248,9 @@ AC_SUBST(MAKE_HTML)
|
|||||||
# indicates whether the necessary tools and files are found and, if set,
|
# indicates whether the necessary tools and files are found and, if set,
|
||||||
# $(MAKE_XXX) blah.sgml will produce blah.xxx.
|
# $(MAKE_XXX) blah.sgml will produce blah.xxx.
|
||||||
AC_DEFUN([XORG_CHECK_DOCBOOK],[
|
AC_DEFUN([XORG_CHECK_DOCBOOK],[
|
||||||
XORG_SGML_PATH=$prefix/share/sgml
|
if test x$XORG_SGML_PATH = x ; then
|
||||||
|
XORG_SGML_PATH=$prefix/share/sgml
|
||||||
|
fi
|
||||||
HAVE_DEFS_ENT=
|
HAVE_DEFS_ENT=
|
||||||
BUILDTXTDOC=no
|
BUILDTXTDOC=no
|
||||||
BUILDPDFDOC=no
|
BUILDPDFDOC=no
|
||||||
@ -1310,7 +1316,7 @@ AC_SUBST(MAKE_HTML)
|
|||||||
# their AM_CFLAGS (or other appropriate *_CFLAGS) to use them.
|
# their AM_CFLAGS (or other appropriate *_CFLAGS) to use them.
|
||||||
AC_DEFUN([XORG_CHECK_MALLOC_ZERO],[
|
AC_DEFUN([XORG_CHECK_MALLOC_ZERO],[
|
||||||
AC_ARG_ENABLE(malloc0returnsnull,
|
AC_ARG_ENABLE(malloc0returnsnull,
|
||||||
AC_HELP_STRING([--enable-malloc0returnsnull],
|
AS_HELP_STRING([--enable-malloc0returnsnull],
|
||||||
[malloc(0) returns NULL (default: auto)]),
|
[malloc(0) returns NULL (default: auto)]),
|
||||||
[MALLOC_ZERO_RETURNS_NULL=$enableval],
|
[MALLOC_ZERO_RETURNS_NULL=$enableval],
|
||||||
[MALLOC_ZERO_RETURNS_NULL=auto])
|
[MALLOC_ZERO_RETURNS_NULL=auto])
|
||||||
@ -1362,7 +1368,7 @@ AC_SUBST([XTMALLOC_ZERO_CFLAGS])
|
|||||||
AC_DEFUN([XORG_WITH_LINT],[
|
AC_DEFUN([XORG_WITH_LINT],[
|
||||||
|
|
||||||
# Allow checking code with lint, sparse, etc.
|
# Allow checking code with lint, sparse, etc.
|
||||||
AC_ARG_WITH(lint, [AC_HELP_STRING([--with-lint],
|
AC_ARG_WITH(lint, [AS_HELP_STRING([--with-lint],
|
||||||
[Use a lint-style source code checker (default: disabled)])],
|
[Use a lint-style source code checker (default: disabled)])],
|
||||||
[use_lint=$withval], [use_lint=no])
|
[use_lint=$withval], [use_lint=no])
|
||||||
if test "x$use_lint" = "xyes" ; then
|
if test "x$use_lint" = "xyes" ; then
|
||||||
@ -1403,7 +1409,7 @@ AM_CONDITIONAL(LINT, [test x$LINT != xno])
|
|||||||
AC_DEFUN([XORG_LINT_LIBRARY],[
|
AC_DEFUN([XORG_LINT_LIBRARY],[
|
||||||
AC_REQUIRE([XORG_WITH_LINT])
|
AC_REQUIRE([XORG_WITH_LINT])
|
||||||
# Build lint "library" for more indepth checks of programs calling this library
|
# Build lint "library" for more indepth checks of programs calling this library
|
||||||
AC_ARG_ENABLE(lint-library, [AC_HELP_STRING([--enable-lint-library],
|
AC_ARG_ENABLE(lint-library, [AS_HELP_STRING([--enable-lint-library],
|
||||||
[Create lint library (default: disabled)])],
|
[Create lint library (default: disabled)])],
|
||||||
[make_lint_lib=$enableval], [make_lint_lib=no])
|
[make_lint_lib=$enableval], [make_lint_lib=no])
|
||||||
if test "x$make_lint_lib" != "xno" ; then
|
if test "x$make_lint_lib" != "xno" ; then
|
||||||
@ -1421,6 +1427,75 @@ AM_CONDITIONAL(MAKE_LINT_LIB, [test x$make_lint_lib != xno])
|
|||||||
|
|
||||||
]) # XORG_LINT_LIBRARY
|
]) # XORG_LINT_LIBRARY
|
||||||
|
|
||||||
|
# XORG_CWARNFLAGS
|
||||||
|
# ---------------
|
||||||
|
# Minimum version: 1.2.0
|
||||||
|
#
|
||||||
|
# Defines CWARNFLAGS to enable C compiler warnings.
|
||||||
|
#
|
||||||
|
AC_DEFUN([XORG_CWARNFLAGS], [
|
||||||
|
AC_REQUIRE([AC_PROG_CC])
|
||||||
|
if test "x$GCC" = xyes ; then
|
||||||
|
CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
|
||||||
|
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
|
||||||
|
-Wbad-function-cast"
|
||||||
|
case `$CC -dumpversion` in
|
||||||
|
3.4.* | 4.*)
|
||||||
|
CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
else
|
||||||
|
AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
|
||||||
|
if test "x$SUNCC" = "xyes"; then
|
||||||
|
CWARNFLAGS="-v"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
AC_SUBST(CWARNFLAGS)
|
||||||
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||||
|
]) # XORG_CWARNFLAGS
|
||||||
|
|
||||||
|
# XORG_STRICT_OPTION
|
||||||
|
# -----------------------
|
||||||
|
# Minimum version: 1.3.0
|
||||||
|
#
|
||||||
|
# Add configure option to enable strict compilation
|
||||||
|
AC_DEFUN([XORG_STRICT_OPTION], [
|
||||||
|
AC_REQUIRE([AC_PROG_CC])
|
||||||
|
AC_REQUIRE([AC_PROG_CC_C99])
|
||||||
|
AC_REQUIRE([XORG_CWARNFLAGS])
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(strict-compilation,
|
||||||
|
AS_HELP_STRING([--enable-strict-compilation],
|
||||||
|
[Enable all warnings from compiler and make them errors (default: disabled)]),
|
||||||
|
[STRICT_COMPILE=$enableval], [STRICT_COMPILE=no])
|
||||||
|
if test "x$STRICT_COMPILE" = "xyes"; then
|
||||||
|
AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
|
||||||
|
AC_CHECK_DECL([__INTEL_COMPILER], [INTELCC="yes"], [INTELCC="no"])
|
||||||
|
if test "x$GCC" = xyes ; then
|
||||||
|
STRICT_CFLAGS="-pedantic -Werror"
|
||||||
|
elif test "x$SUNCC" = "xyes"; then
|
||||||
|
STRICT_CFLAGS="-errwarn"
|
||||||
|
elif test "x$INTELCC" = "xyes"; then
|
||||||
|
STRICT_CFLAGS="-Werror"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
|
||||||
|
AC_SUBST([CWARNFLAGS])
|
||||||
|
]) # XORG_STRICT_OPTION
|
||||||
|
|
||||||
|
# XORG_DEFAULT_OPTIONS
|
||||||
|
# --------------------
|
||||||
|
# Minimum version: 1.3.0
|
||||||
|
#
|
||||||
|
# Defines default options for X.Org modules.
|
||||||
|
#
|
||||||
|
AC_DEFUN([XORG_DEFAULT_OPTIONS], [
|
||||||
|
XORG_CWARNFLAGS
|
||||||
|
XORG_STRICT_OPTION
|
||||||
|
XORG_RELEASE_VERSION
|
||||||
|
XORG_CHANGELOG
|
||||||
|
XORG_MANPAGE_SECTIONS
|
||||||
|
]) # XORG_DEFAULT_OPTIONS
|
||||||
dnl Copyright 2005 Red Hat, Inc
|
dnl Copyright 2005 Red Hat, Inc
|
||||||
dnl
|
dnl
|
||||||
dnl Permission to use, copy, modify, distribute, and sell this software and its
|
dnl Permission to use, copy, modify, distribute, and sell this software and its
|
||||||
@ -1455,7 +1530,7 @@ dnl
|
|||||||
|
|
||||||
AC_DEFUN([XORG_RELEASE_VERSION],[
|
AC_DEFUN([XORG_RELEASE_VERSION],[
|
||||||
AC_ARG_WITH(release-version,
|
AC_ARG_WITH(release-version,
|
||||||
AC_HELP_STRING([--with-release-version=STRING],
|
AS_HELP_STRING([--with-release-version=STRING],
|
||||||
[Use release version string in package name]),
|
[Use release version string in package name]),
|
||||||
[RELEASE_VERSION="$withval"],
|
[RELEASE_VERSION="$withval"],
|
||||||
[RELEASE_VERSION=""])
|
[RELEASE_VERSION=""])
|
||||||
@ -1483,3 +1558,20 @@ AC_DEFUN([XORG_RELEASE_VERSION],[
|
|||||||
[Patch version of this package])
|
[Patch version of this package])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# XORG_CHANGELOG()
|
||||||
|
# ----------------
|
||||||
|
# Minimum version: 1.2.0
|
||||||
|
#
|
||||||
|
# Defines the variable CHANGELOG_CMD as the command to generate
|
||||||
|
# ChangeLog from git.
|
||||||
|
#
|
||||||
|
# Arrange that distcleancheck ignores ChangeLog left over by distclean.
|
||||||
|
#
|
||||||
|
AC_DEFUN([XORG_CHANGELOG], [
|
||||||
|
CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
|
||||||
|
mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
|
||||||
|
echo 'git directory not found: installing possibly empty changelog.' >&2)"
|
||||||
|
AC_SUBST([CHANGELOG_CMD])
|
||||||
|
AC_SUBST([distcleancheck_listfiles], ['find . -type f ! -name ChangeLog -print'])
|
||||||
|
]) # XORG_CHANGELOG
|
||||||
|
|
||||||
|
@ -1,5 +1,32 @@
|
|||||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
|
#undef HAVE_INTTYPES_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <memory.h> header file. */
|
||||||
|
#undef HAVE_MEMORY_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
|
#undef HAVE_STDINT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
|
#undef HAVE_STDLIB_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <strings.h> header file. */
|
||||||
|
#undef HAVE_STRINGS_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <string.h> header file. */
|
||||||
|
#undef HAVE_STRING_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
|
#undef HAVE_SYS_STAT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||||
|
#undef HAVE_SYS_TYPES_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
|
#undef HAVE_UNISTD_H
|
||||||
|
|
||||||
/* Name of package */
|
/* Name of package */
|
||||||
#undef PACKAGE
|
#undef PACKAGE
|
||||||
|
|
||||||
@ -27,5 +54,8 @@
|
|||||||
/* Patch version of this package */
|
/* Patch version of this package */
|
||||||
#undef PACKAGE_VERSION_PATCHLEVEL
|
#undef PACKAGE_VERSION_PATCHLEVEL
|
||||||
|
|
||||||
|
/* Define to 1 if you have the ANSI C header files. */
|
||||||
|
#undef STDC_HEADERS
|
||||||
|
|
||||||
/* Version number of package */
|
/* Version number of package */
|
||||||
#undef VERSION
|
#undef VERSION
|
||||||
|
6247
app/xev/configure
vendored
6247
app/xev/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -21,21 +21,25 @@ dnl
|
|||||||
dnl Process this file with autoconf to create configure.
|
dnl Process this file with autoconf to create configure.
|
||||||
|
|
||||||
AC_PREREQ([2.57])
|
AC_PREREQ([2.57])
|
||||||
AC_INIT(xev,[1.0.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xev)
|
AC_INIT(xev, [1.0.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xev)
|
||||||
AM_INIT_AUTOMAKE([dist-bzip2])
|
AM_INIT_AUTOMAKE([dist-bzip2])
|
||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE
|
||||||
|
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
|
|
||||||
|
# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS
|
||||||
|
m4_ifndef([XORG_MACROS_VERSION],
|
||||||
|
[m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])])
|
||||||
|
XORG_MACROS_VERSION(1.3)
|
||||||
|
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
|
|
||||||
|
XORG_DEFAULT_OPTIONS
|
||||||
|
|
||||||
# Checks for pkg-config packages
|
# Checks for pkg-config packages
|
||||||
PKG_CHECK_MODULES(XEV, x11)
|
PKG_CHECK_MODULES(XEV, x11)
|
||||||
AC_SUBST(XEV_CFLAGS)
|
AC_SUBST(XEV_CFLAGS)
|
||||||
AC_SUBST(XEV_LIBS)
|
AC_SUBST(XEV_LIBS)
|
||||||
|
|
||||||
XORG_MANPAGE_SECTIONS
|
|
||||||
XORG_RELEASE_VERSION
|
|
||||||
|
|
||||||
AC_OUTPUT([Makefile])
|
AC_OUTPUT([Makefile])
|
||||||
|
@ -1065,6 +1065,7 @@ main (int argc, char **argv)
|
|||||||
printf ("Unknown event type %d\n", event.type);
|
printf ("Unknown event type %d\n", event.type);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
XCloseDisplay (dpy);
|
XCloseDisplay (dpy);
|
||||||
|
Loading…
Reference in New Issue
Block a user