summaryrefslogtreecommitdiff
path: root/app-misc/evtest
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/evtest
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/evtest')
-rw-r--r--app-misc/evtest/Manifest9
-rw-r--r--app-misc/evtest/evtest-1.30.ebuild39
-rw-r--r--app-misc/evtest/evtest-1.31.ebuild37
-rw-r--r--app-misc/evtest/files/evtest-1.30-autoconf.patch33
-rw-r--r--app-misc/evtest/files/evtest-1.30-xml.patch40
-rw-r--r--app-misc/evtest/metadata.xml5
6 files changed, 163 insertions, 0 deletions
diff --git a/app-misc/evtest/Manifest b/app-misc/evtest/Manifest
new file mode 100644
index 000000000000..7ed40985aab4
--- /dev/null
+++ b/app-misc/evtest/Manifest
@@ -0,0 +1,9 @@
+AUX evtest-1.30-autoconf.patch 974 BLAKE2B 704e0b7114651ec950ccabf34206c10c6d6fc93e494b30dd1db2edc3cbcea4f8fa6cd601c5f61f9936927a98e1c915a53b5d463f6f0d03c2a71f04ed04ea9eae SHA512 7b4fc165bd5d9dccd34ad47bcab017da08e4efb47783925c75a68de4dde32a873018a19089b01e845ea55769d943b3eaddb962a2bd99fb1e62d4444c28c3630e
+AUX evtest-1.30-xml.patch 1362 BLAKE2B ac7f9c1e190b6292d2282ebea9f88ad5b6c5354b6d422a3f07e24d19b98229cf39a3f0f612c1f8e626551b4947bb334f82553f6e473d86a6f71b8e38a3a79959 SHA512 b558f97af8f14e7d316990f7657a7429b26b0df2d54a5adf849ee3237d1613e0d629f36f72963b31baa7fdf78db8bda0e687ff5925cb86a8afd0dbc4058b3c30
+DIST evtest-1.30-mans.tar.gz 2112 BLAKE2B 63981baf8c69993850d974f9bc94a9b96a45c3bb51379a6788e18715785475d8f3324134d5906b7188c950bf0d05fb138f4680e3a191cdfe6f13143eab44bd13 SHA512 470ac504091f9826023dd2cc62a1c0169f98bf2d6e9c4c3986e3719d67d02bb587023aa347a3fb26b0d06efae8eccdd05d88ae74556f3819416a6f6c905c4618
+DIST evtest-1.30.tar.gz 25556 BLAKE2B c396940af72faeb27143472cd62c3ada3016fea67184bdac2708a6d6347b07e4cc5a994b5c585263faa00d82003ed4f4859f51ed53a374e985389dc8102f8dff SHA512 ea995c37c0cf8dd8a4c493895bd039e4adac5056a06e9e0275e879ca1e774e98b5cf42bc77f1ad34225b15282cc4edb6dc088cb6fb16f82250bc35fb3975c4bf
+DIST evtest-1.31-mans.tar.gz 1661 BLAKE2B fc7763703299a7129e7332378df6190d42089776e9b2f88d1e9bd42592e2945313046e798862590869f7eb76e56136cec6d575ec9301d5cd9af44b810e13c676 SHA512 b3cd5cc8aaf6620a3243318ae42e807a8819a25082606707787ab8b1ac75f1f6dfc8b544d38a74b489d348981489153c33841ba0b0466ace3e3a83b031754321
+DIST evtest-1.31.tar.gz 17968 BLAKE2B 09ca1cfbac40f84d6715625a932839d8095caeae26b2dcfab73f66651d7d315381ccb92c50aa5b9b68f9495a4e48f2ce6d0fe2b7243b7ec91e4e4acee530e49b SHA512 1657d880c531c6c8407bf7a66ab159a5992c9ab70b840e600e91ad3a7429a07ec2c2f3bca6848614ebbad01a4a5993e43e4388705455f9d31f8b60b06c04a7c4
+EBUILD evtest-1.30.ebuild 1137 BLAKE2B e0dc80254b8be13b6cb5ac242b32f411ee34800119ccfc0df13f35b1ce24d7274fa372f646bcd7b62632bc617602069f9b754705a64da84e0f2c62da2f3474ab SHA512 43300763245c9d70a104185f20f38b70390d2a978d6fc9dfd7f5c10309c4869d61abc04b15c9452fd8281f612e0892262b767e335b61e4ecec672d270b791877
+EBUILD evtest-1.31.ebuild 1014 BLAKE2B 67bce706b3636e29a64a35901a11ec505a0f863cf07bea3d78aed0ace27b422b8c12de9532d4c9c3828e673224c3c8121646e36743b0313119bcbca7414159b7 SHA512 e6e3ae4b6cb3a246ca0c8953ddec187907b3300e535dce3255f1abbbcb9eaf965761cf11886e2acb5846d390073fe0661bd4af610f1ccec3d2be574335a027a8
+MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
diff --git a/app-misc/evtest/evtest-1.30.ebuild b/app-misc/evtest/evtest-1.30.ebuild
new file mode 100644
index 000000000000..cbc2f0a66a97
--- /dev/null
+++ b/app-misc/evtest/evtest-1.30.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit autotools eutils
+
+DESCRIPTION="test program for capturing input device events"
+HOMEPAGE="https://cgit.freedesktop.org/evtest/"
+SRC_URI="https://cgit.freedesktop.org/evtest/snapshot/${PN}-${P}.tar.gz -> ${P}.tar.gz
+ mirror://gentoo/${P}-mans.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86"
+IUSE="+xml"
+
+# We bundled the man pages ourselves to avoid xmlto/asciidoc.
+# We need libxml2 for the capture tool. While at runtime,
+# we have a file that can be used with xsltproc, we don't
+# directly need it ourselves, so don't depend on libxslt.
+# tar zcf ${P}-mans.tar.gz *.1 --transform=s:^:evtest-${P}/:
+RDEPEND="xml? ( dev-libs/libxml2 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${PN}-${P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.30-autoconf.patch
+ epatch "${FILESDIR}"/${PN}-1.30-xml.patch
+ eautoreconf
+}
+
+src_configure() {
+ # We pre-compile the man pages.
+ XMLTO=/bin/true ASCIIDOC=/bin/true \
+ econf $(use_enable xml)
+}
diff --git a/app-misc/evtest/evtest-1.31.ebuild b/app-misc/evtest/evtest-1.31.ebuild
new file mode 100644
index 000000000000..74195303d4bd
--- /dev/null
+++ b/app-misc/evtest/evtest-1.31.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit autotools eutils
+
+DESCRIPTION="test program for capturing input device events"
+HOMEPAGE="https://cgit.freedesktop.org/evtest/"
+SRC_URI="https://cgit.freedesktop.org/evtest/snapshot/${PN}-${P}.tar.gz -> ${P}.tar.gz
+ mirror://gentoo/${P}-mans.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+# We bundled the man pages ourselves to avoid xmlto/asciidoc.
+# We need libxml2 for the capture tool. While at runtime,
+# we have a file that can be used with xsltproc, we don't
+# directly need it ourselves, so don't depend on libxslt.
+# tar zcf ${P}-mans.tar.gz *.1 --transform=s:^:evtest-${P}/:
+RDEPEND=""
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${PN}-${P}
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ # We pre-compile the man pages.
+ XMLTO=$(type -P true) ASCIIDOC=$(type -P true) \
+ econf
+}
diff --git a/app-misc/evtest/files/evtest-1.30-autoconf.patch b/app-misc/evtest/files/evtest-1.30-autoconf.patch
new file mode 100644
index 000000000000..940c1316fd6f
--- /dev/null
+++ b/app-misc/evtest/files/evtest-1.30-autoconf.patch
@@ -0,0 +1,33 @@
+From d3864018ef09ef38e1733110e2643735067bc02f Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Sun, 6 Jan 2013 14:49:40 -0500
+Subject: [PATCH] use newer config headers macro
+
+With newer automake, it throws an error:
+configure.ac:5: error: 'AM_CONFIG_HEADER': this macro is obsolete.
+ You should use the 'AC_CONFIG_HEADERS' macro instead.
+
+The newer macro has been around a long time, so there's no need to
+worry about backwards compat here.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index ebf657f..9980c5a 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -2,7 +2,7 @@ AC_PREREQ([2.57])
+ AC_INIT(evtest,[1.30], [https://bugzilla.freedesktop.org/enter_bug.cgi?product=evtest], evtest)
+ AM_INIT_AUTOMAKE([foreign dist-bzip2])
+
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+ AC_PROG_CC
+ AC_PROG_INSTALL
+
+--
+1.8.0.2
+
diff --git a/app-misc/evtest/files/evtest-1.30-xml.patch b/app-misc/evtest/files/evtest-1.30-xml.patch
new file mode 100644
index 000000000000..1fe3e6c7c34b
--- /dev/null
+++ b/app-misc/evtest/files/evtest-1.30-xml.patch
@@ -0,0 +1,40 @@
+From 92ecfec7b0a9c1f8d952d20e8a0cde5930f9264f Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Sun, 6 Jan 2013 15:09:26 -0500
+Subject: [PATCH] add a configure flag to control xml behavior
+
+The default behavior (autodetection) is unchanged.
+This adds a knob for distros to control directly.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ configure.ac | 12 ++++++++----
+ 1 file changed, 8 insertions(+), 4 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 9980c5a..e973733 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -5,11 +5,15 @@ AM_INIT_AUTOMAKE([foreign dist-bzip2])
+ AC_CONFIG_HEADERS(config.h)
+ AC_PROG_CC
+ AC_PROG_INSTALL
++PKG_PROG_PKG_CONFIG
+
+-PKG_CHECK_MODULES(XML, libxml-2.0, [HAVE_LIBXML=yes], [HAVE_LIBXML=no])
+-if test x$HAVE_LIBXML = "xno"; then
+- AC_MSG_WARN([libxml headers not available. Cannot build evtest-capture.])
+-fi
++AC_ARG_ENABLE([xml], [AS_HELP_STRING([--disable-xml], [Disable support for xml (evtest-capture)])])
++AS_IF([test "x$enable_xml" != "xno"], [
++ PKG_CHECK_MODULES(XML, libxml-2.0, [HAVE_LIBXML=yes], [HAVE_LIBXML=no])
++ AS_IF([test "x$enable_xml$HAVE_LIBXML" = "xyesno"], [
++ AC_MSG_ERROR([libxml headers not available. Cannot build evtest-capture.])
++ ])
++])
+ AM_CONDITIONAL(HAVE_LIBXML, [test "x$HAVE_LIBXML" = "xyes"])
+
+ AC_PATH_PROG(XSLTPROC, [xsltproc])
+--
+1.8.0.2
+
diff --git a/app-misc/evtest/metadata.xml b/app-misc/evtest/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/evtest/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>