summaryrefslogtreecommitdiff
path: root/trapproto
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-12-13 15:12:27 -0800
committerKeith Packard <keithp@keithp.com>2017-12-13 15:12:27 -0800
commit14922765a8d2f19cd8b38be786f6528ec7eefdd8 (patch)
tree437b3a0df167f1627b73325c84b5cb7eddd5422c /trapproto
parent541bc680957b3b4a6657dbf470a7ff9ace98e960 (diff)
Move common trapproto files out of the way
Diffstat (limited to 'trapproto')
-rw-r--r--trapproto/.gitignore14
-rw-r--r--trapproto/COPYING18
-rw-r--r--trapproto/Makefile.am24
-rw-r--r--trapproto/README6
-rwxr-xr-xtrapproto/autogen.sh12
-rw-r--r--trapproto/configure.ac12
6 files changed, 86 insertions, 0 deletions
diff --git a/trapproto/.gitignore b/trapproto/.gitignore
new file mode 100644
index 0000000..5335631
--- /dev/null
+++ b/trapproto/.gitignore
@@ -0,0 +1,14 @@
+Makefile
+Makefile.in
+aclocal.m4
+autom4te.cache
+config.log
+config.status
+configure
+install-sh
+missing
+trapproto.pc
+*~
+trapproto-*.tar.*
+ChangeLog
+tags
diff --git a/trapproto/COPYING b/trapproto/COPYING
new file mode 100644
index 0000000..3ebeac6
--- /dev/null
+++ b/trapproto/COPYING
@@ -0,0 +1,18 @@
+Copyright 1987, 1988, 1989, 1990, 1994 by Digital Equipment Corporation,
+Maynard, MA
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
+provided that the above copyright notice appear in all copies and that
+both that copyright notice and this permission notice appear in
+supporting documentation, and that the name of Digital not be
+used in advertising or publicity pertaining to distribution of the
+software without specific, written prior permission.
+
+DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
+ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
+DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
+ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
+SOFTWARE.
diff --git a/trapproto/Makefile.am b/trapproto/Makefile.am
new file mode 100644
index 0000000..dbd2c38
--- /dev/null
+++ b/trapproto/Makefile.am
@@ -0,0 +1,24 @@
+trapdir = $(includedir)/X11/extensions
+trap_HEADERS = \
+ xtrapbits.h \
+ xtrapddmi.h \
+ xtrapdi.h \
+ xtrapemacros.h \
+ xtraplib.h \
+ xtraplibp.h \
+ xtrapproto.h
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = trapproto.pc
+
+EXTRA_DIST = trapproto.pc.in
+
+EXTRA_DIST += ChangeLog
+MAINTAINERCLEANFILES = ChangeLog
+
+.PHONY: ChangeLog
+
+ChangeLog:
+ $(CHANGELOG_CMD)
+
+dist-hook: ChangeLog
diff --git a/trapproto/README b/trapproto/README
new file mode 100644
index 0000000..73cf134
--- /dev/null
+++ b/trapproto/README
@@ -0,0 +1,6 @@
+This extension is considered obsolete and is no longer being maintained,
+supported, or updated.
+
+Equivalent functionality is provided in the XTest & RECORD extensions,
+as noted in:
+http://lists.freedesktop.org/archives/xorg/2008-June/036131.html
diff --git a/trapproto/autogen.sh b/trapproto/autogen.sh
new file mode 100755
index 0000000..904cd67
--- /dev/null
+++ b/trapproto/autogen.sh
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf -v --install || exit 1
+cd $ORIGDIR || exit $?
+
+$srcdir/configure --enable-maintainer-mode "$@"
diff --git a/trapproto/configure.ac b/trapproto/configure.ac
new file mode 100644
index 0000000..6b9b582
--- /dev/null
+++ b/trapproto/configure.ac
@@ -0,0 +1,12 @@
+AC_PREREQ([2.57])
+AC_INIT([TrapProto], [3.4.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
+AM_INIT_AUTOMAKE([foreign dist-bzip2])
+
+# Require xorg-macros: XORG_CHANGELOG
+m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.2 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.2)
+XORG_RELEASE_VERSION
+XORG_CHANGELOG
+
+AC_OUTPUT([Makefile
+ trapproto.pc])