aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore11
-rw-r--r--COPYING29
-rw-r--r--Makefile.am6
-rwxr-xr-xautogen.sh9
-rw-r--r--configure.ac34
-rw-r--r--wayland-protocols.pc.in7
6 files changed, 96 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e6f85d0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,11 @@
+Makefile
+Makefile.in
+configure
+config.log
+config.status
+compile
+install-sh
+missing
+*.pc
+autom4te.cache
+aclocal.m4
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..eb25a4e
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,29 @@
+Copyright © 2008-2012 Kristian Høgsberg
+Copyright © 2010-2012 Intel Corporation
+Copyright © 2011 Benjamin Franzke
+Copyright © 2012 Collabora, Ltd.
+
+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 (including the next
+paragraph) 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 AUTHORS OR COPYRIGHT HOLDERS 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.
+
+---
+
+The above is the version of the MIT "Expat" License used by X.org:
+
+ http://cgit.freedesktop.org/xorg/xserver/tree/COPYING
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..630ba3c
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,6 @@
+nobase_dist_pkgdata_DATA = \
+ unstable/pointer-gestures/pointer-gestures-unstable-v1.xml \
+ $(NULL)
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = wayland-protocols.pc
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..b08bc83
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+test -n "$srcdir" || srcdir=`dirname "$0"`
+test -n "$srcdir" || srcdir=.
+(
+ cd "$srcdir" &&
+ autoreconf --force -v --install
+) || exit
+test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..b97f411
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,34 @@
+AC_PREREQ([2.64])
+
+m4_define([wayland_protocols_major_version], [0])
+m4_define([wayland_protocols_minor_version], [1])
+m4_define([wayland_protocols_micro_version], [0])
+m4_define([wayland_protocols_version],
+ [wayland_protocols_major_version.wayland_protocols_minor_version.wayland_protocols_micro_version])
+
+AC_INIT([wayland-protocols],
+ [wayland_protocols_version],
+ [https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=protocols&version=wayland-protocols_version],
+ [wayland-protocols],
+ [http://wayland.freedesktop.org/])
+
+AC_SUBST([WAYLAND_PROTOCOLS_VERSION_MAJOR], [wayland_protocols_major_version])
+AC_SUBST([WAYLAND_PROTOCOLS_VERSION_MINOR], [wayland_protocols_minor_version])
+AC_SUBST([WAYLAND_PROTOCOLS_VERSION_MICRO], [wayland_protocols_micro_version])
+AC_SUBST([WAYLAND_PROTOCOLS_VERSION], [wayland_protocols_version])
+
+AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
+
+AM_SILENT_RULES([yes])
+
+PKG_PROG_PKG_CONFIG()
+
+AC_CONFIG_FILES([
+ Makefile
+ wayland-protocols.pc
+ ])
+AC_OUTPUT
+
+AC_MSG_RESULT([
+ Prefix ${prefix}
+ ])
diff --git a/wayland-protocols.pc.in b/wayland-protocols.pc.in
new file mode 100644
index 0000000..a26744c
--- /dev/null
+++ b/wayland-protocols.pc.in
@@ -0,0 +1,7 @@
+prefix=@prefix@
+datarootdir=@datarootdir@
+pkgdatadir=@datadir@/@PACKAGE@
+
+Name: Wayland Protocols
+Description: Wayland protocol files
+Version: @WAYLAND_PROTOCOLS_VERSION@