diff options
author | Keith Packard <keithp@keithp.com> | 2017-12-13 15:12:26 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-12-13 15:12:26 -0800 |
commit | 0ac79a7327c0ce49511add539e520177751e0228 (patch) | |
tree | 59272db25cfd3b8eb79170972c642db9e7f9c8d0 /resourceproto | |
parent | ba30d84d2f012665547f0b8d46bd52304c12eb2d (diff) |
Move common resourceproto files out of the way
Diffstat (limited to 'resourceproto')
-rw-r--r-- | resourceproto/.gitignore | 78 | ||||
-rw-r--r-- | resourceproto/COPYING | 22 | ||||
-rw-r--r-- | resourceproto/Makefile.am | 20 | ||||
-rw-r--r-- | resourceproto/README | 30 | ||||
-rwxr-xr-x | resourceproto/autogen.sh | 17 | ||||
-rw-r--r-- | resourceproto/configure.ac | 21 |
6 files changed, 188 insertions, 0 deletions
diff --git a/resourceproto/.gitignore b/resourceproto/.gitignore new file mode 100644 index 0000000..adb2610 --- /dev/null +++ b/resourceproto/.gitignore @@ -0,0 +1,78 @@ +# +# X.Org module default exclusion patterns +# The next section if for module specific patterns +# +# Do not edit the following section +# GNU Build System (Autotools) +aclocal.m4 +autom4te.cache/ +autoscan.log +ChangeLog +compile +config.guess +config.h +config.h.in +config.log +config-ml.in +config.py +config.status +config.status.lineno +config.sub +configure +configure.scan +depcomp +.deps/ +INSTALL +install-sh +.libs/ +libtool +libtool.m4 +ltmain.sh +lt~obsolete.m4 +ltoptions.m4 +ltsugar.m4 +ltversion.m4 +Makefile +Makefile.in +mdate-sh +missing +mkinstalldirs +*.pc +py-compile +stamp-h? +symlink-tree +texinfo.tex +ylwrap + +# Do not edit the following section +# Edit Compile Debug Document Distribute +*~ +*.[0-9] +*.[0-9]x +*.bak +*.bin +core +*.dll +*.exe +*-ISO*.bdf +*-JIS*.bdf +*-KOI8*.bdf +*.kld +*.ko +*.ko.cmd +*.lai +*.l[oa] +*.[oa] +*.obj +*.patch +*.so +*.pcf.gz +*.pdb +*.tar.bz2 +*.tar.gz +# +# Add & Override patterns for resourceproto +# +# Edit the following section as needed +# For example, !report.pc overrides *.pc. See 'man gitignore' +# diff --git a/resourceproto/COPYING b/resourceproto/COPYING new file mode 100644 index 0000000..d878fd6 --- /dev/null +++ b/resourceproto/COPYING @@ -0,0 +1,22 @@ +Copyright (c) 2002 XFree86 Inc + +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: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +XFREE86 PROJECT 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. + +Except as contained in this notice, the name of the XFree86 Project 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 XFree86 Project. diff --git a/resourceproto/Makefile.am b/resourceproto/Makefile.am new file mode 100644 index 0000000..d5d496f --- /dev/null +++ b/resourceproto/Makefile.am @@ -0,0 +1,20 @@ +resourcedir = $(includedir)/X11/extensions +resource_HEADERS = \ + XResproto.h + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = resourceproto.pc + +dist_doc_DATA = resproto.txt + +MAINTAINERCLEANFILES = ChangeLog INSTALL + +.PHONY: ChangeLog INSTALL + +INSTALL: + $(INSTALL_CMD) + +ChangeLog: + $(CHANGELOG_CMD) + +dist-hook: ChangeLog INSTALL diff --git a/resourceproto/README b/resourceproto/README new file mode 100644 index 0000000..e4c5d5d --- /dev/null +++ b/resourceproto/README @@ -0,0 +1,30 @@ + X Resource Extension + +This extension defines a protocol that allows a client to query the X server +about its usage of various resources. + +Extension : X-Resource + +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/proto/resourceproto + + http://cgit.freedesktop.org/xorg/proto/resourceproto + +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 + diff --git a/resourceproto/autogen.sh b/resourceproto/autogen.sh new file mode 100755 index 0000000..b27e42f --- /dev/null +++ b/resourceproto/autogen.sh @@ -0,0 +1,17 @@ +#! /bin/sh + +srcdir=`dirname "$0"` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd "$srcdir" + +autoreconf -v --install || exit 1 +cd "$ORIGDIR" || exit $? + +git config --local --get format.subjectPrefix >/dev/null 2>&1 || + git config --local format.subjectPrefix "PATCH resourceproto" + +if test -z "$NOCONFIGURE"; then + exec "$srcdir"/configure "$@" +fi diff --git a/resourceproto/configure.ac b/resourceproto/configure.ac new file mode 100644 index 0000000..26536a9 --- /dev/null +++ b/resourceproto/configure.ac @@ -0,0 +1,21 @@ +dnl +dnl Process this file with autoconf to create configure. + +# Initialize Autoconf +AC_PREREQ([2.60]) +AC_INIT([ResourceProto],[1.2.0], + [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) +AC_CONFIG_SRCDIR([Makefile.am]) + +# Initialize Automake +AM_INIT_AUTOMAKE([foreign dist-bzip2]) + +# Require xorg-macros: 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) +XORG_DEFAULT_OPTIONS + +AC_CONFIG_FILES([Makefile + resourceproto.pc]) +AC_OUTPUT |