diff options
Diffstat (limited to 'dev-libs/libhid')
-rw-r--r-- | dev-libs/libhid/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/libhid/files/libhid-0.2.16-gentoo.patch | 21 | ||||
-rw-r--r-- | dev-libs/libhid/files/libhid-0.2.16-libusb.patch | 25 | ||||
-rw-r--r-- | dev-libs/libhid/files/libhid-0.2.16-swig.patch | 45 | ||||
-rw-r--r-- | dev-libs/libhid/libhid-0.2.16-r4.ebuild | 56 | ||||
-rw-r--r-- | dev-libs/libhid/metadata.xml | 11 |
6 files changed, 0 insertions, 164 deletions
diff --git a/dev-libs/libhid/Manifest b/dev-libs/libhid/Manifest deleted file mode 100644 index 6fde832c9ac7..000000000000 --- a/dev-libs/libhid/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX libhid-0.2.16-gentoo.patch 628 BLAKE2B 6c2a25cb230a50c5eceff0229d9d6bf3860c5ff4c4c5075d6dd062cdb600dd2dda70979303ef62422fb65e3a441fa4e1487ee173c78343d4bcca4b061f5bd0b0 SHA512 a756d99b115e1903ff633e511c8b9c2de1743b9d8c5050ba422281aea6c4d330b70632e45f688177d8d06ba4077574193e7e378f0e0a79924d2463f5e1584d40 -AUX libhid-0.2.16-libusb.patch 421 BLAKE2B 8b3283ddf9ca120bb77af75fb5aae88ca6d45904a425fdc90f4ca7fda8bd111f37deea5454d692499156337f473bdbd3731d7bf45ea7b80af5c359478cb96c69 SHA512 0fa3be119d1ab3efa428c81b96709a0cee4fd40fa4515d255a64be095a4e26f68a2c8175beda6615c720aaa593edc5aaaa2909bfc5ab9e7f9b818d8c507b9fde -AUX libhid-0.2.16-swig.patch 1424 BLAKE2B afc3bbaedcd83c87b3186742872681a7a74780873d7aea8fe5fb1df9c69aa66e8265af58200476a2c85f7c0f7abc8036cd569e8827cfb239cb60262758618784 SHA512 62ff58921aa99947f8b33b0d1c02cf30f19fd3f75393cbb681846266b67af49bf6a2e70a995c9a7252b27c67e573e2c198b366830c15ca3c5e87a93325a849cb -DIST libhid-0.2.16.tar.gz 435245 BLAKE2B 9bd06b226e42ed0dbbf4395824636dbfaa796ce9c0170ad7af561741ec3f494b92ec09c548f3bc7c698a32aa78d82d4da4094231fbb810de5a67d3066947fd97 SHA512 3c9348f9d63e0e1577e983c65ff8e6acbaee0d5f43ecb29b7004654a7e9d14a94176aa029f259e0b8576fc30e8a9af6d1df34912dd582bfadc2b29f9b87eb52b -EBUILD libhid-0.2.16-r4.ebuild 1209 BLAKE2B d47429e294999d1516580ce4045da49d23973f01a0bfc3fa38b96583b846b757827e0fe443adac1263a275e35954c96fdaccb0d891e01582853627ef380332a3 SHA512 d16cfc49ff2239d253c801e51043a1c5600779cf8c534e736b3c367ffcb114f6a92663ab067043eb47cde2479cd487b084c8f6d4c405a703fc95b0ea6e8b3e9d -MISC metadata.xml 495 BLAKE2B 1cf63c758e96eaeb6195814d8f568f80016982d94561737c3077637165c4fe5f791ca88d45374f95e0208aaca523f77e887e5c99b5839c8c8ce34573febe5987 SHA512 e465b7596e61565aa21ce9c32d7d76b099ee21c471c341677604f5816f2b7547c57f8a065f2bb9df2356c3e6d5fd26efb303884117096e8178127490a14ca268 diff --git a/dev-libs/libhid/files/libhid-0.2.16-gentoo.patch b/dev-libs/libhid/files/libhid-0.2.16-gentoo.patch deleted file mode 100644 index b5960af5d7d6..000000000000 --- a/dev-libs/libhid/files/libhid-0.2.16-gentoo.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -78,7 +78,6 @@ - AC_C_BIGENDIAN - AC_C_STRINGIZE - --MD_CONF_DEBUGGING - MD_CONF_COMPILER - AM_CONDITIONAL(OS_LINUX, test "$MD_OS" = "linux") - AM_CONDITIONAL(OS_BSD, test "$MD_OS" = "bsd") ---- a/m4/md_check_gcc3.m4 -+++ b/m4/md_check_gcc3.m4 -@@ -1,7 +1,7 @@ - AC_DEFUN([MD_CHECK_GCC3], - [ - if [[ "$GCC" = "yes" ]]; then -- ver=$(gcc -dD -E - < /dev/null | sed -ne 's,.*__GNUC__ ,,p') -+ ver=$(${CC} -dD -E - < /dev/null | sed -ne 's,.*__GNUC__ ,,p') - case $ver in - *[[^[:digit:]]]*) - AC_MSG_WARN([Could not determine compiler version. Trying our luck...]) diff --git a/dev-libs/libhid/files/libhid-0.2.16-libusb.patch b/dev-libs/libhid/files/libhid-0.2.16-libusb.patch deleted file mode 100644 index aa49205ec75d..000000000000 --- a/dev-libs/libhid/files/libhid-0.2.16-libusb.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -59,6 +59,8 @@ - MD_CHECK_OS - - MD_CHECK_LIBUSB018B -+LIBS="$LIBS $LIBUSB_LIBS" -+INCLUDES="$INCLUDES $LIBUSB_CFLAGS" - - AC_PROG_CC - MD_CHECK_GCC3 -@@ -97,13 +99,6 @@ - - MD_CHECK_DOXYGEN - --MD_CONF_FLAGS( -- [], -- [$OS_CFLAGS $LIBUSB_CFLAGS], -- [], -- [$OS_LDFLAGS $LIBUSB_LIBS] --) -- - MD_CONF_DB2MAN - - ##### OUTPUT ################################################################# diff --git a/dev-libs/libhid/files/libhid-0.2.16-swig.patch b/dev-libs/libhid/files/libhid-0.2.16-swig.patch deleted file mode 100644 index ce5dae7481b9..000000000000 --- a/dev-libs/libhid/files/libhid-0.2.16-swig.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -88,8 +87,8 @@ - if test "${ac_cv_enable_swig}" = "no" ; then - AM_CONDITIONAL(HAVE_SWIG, false) - else -- AC_PROG_SWIG(1.3) -- AM_CONDITIONAL(HAVE_SWIG, "$SWIG" -version) -+ AC_CHECK_PROG(SWIG,swig,swig,false) -+ AM_CONDITIONAL(HAVE_SWIG, "$ac_cv_prog_SWIG" -version) - if test -z "${HAVE_SWIG_TRUE}" ; then - AM_PATH_PYTHON - SWIG_PYTHON ---- a/swig/Makefile.am -+++ b/swig/Makefile.am -@@ -1,7 +1,7 @@ - # AM_MAKEFLAGS = @MAKEFLAGS@ - ACLOCAL_AMFLAGS = -I m4 - --AM_CPPFLAGS = $(SWIG_PYTHON_CPPFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)/hidparser -DHID_INTERNAL -DSWIG -+AM_CPPFLAGS = $(SWIG_PYTHON_CPPFLAGS) -iquote$(top_srcdir)/include -I$(top_srcdir)/hidparser -DHID_INTERNAL -DSWIG - AM_CFLAGS = -fPIC -fno-strict-aliasing - AM_LDFLAGS = -shared ../src/libhid.la -lusb - -@@ -29,7 +29,7 @@ __init__.py: hid.py - - %_wrap.c %.py: %.i $(top_srcdir)/include/hid.h - $(SWIG) $(SWIG_PYTHON_OPT) $(SWIG_INC) -o $@ $< -- echo '#include <compiler.h>' > tmp.c -+ echo '#include "compiler.h"' > tmp.c - sed -e 's/PyObject \*self/& UNUSED/' \ - -e 's/int flags)/int flags UNUSED)/' < $@ >> tmp.c \ - && mv tmp.c $@ ---- a/swig/hid.i -+++ b/swig/hid.i -@@ -1,7 +1,7 @@ - %module(docstring="libhid is a user-space USB HID access library built on libusb.", "threads"=1) hid - %{ --#include <compiler.h> --#include <hid.h> -+#include "compiler.h" -+#include "hid.h" - %} - - %feature("autodoc","0"); diff --git a/dev-libs/libhid/libhid-0.2.16-r4.ebuild b/dev-libs/libhid/libhid-0.2.16-r4.ebuild deleted file mode 100644 index d082da46f04a..000000000000 --- a/dev-libs/libhid/libhid-0.2.16-r4.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) -inherit autotools eutils python-single-r1 - -DESCRIPTION="Provides a generic and flexible way to access and interact with USB HID devices" -HOMEPAGE="http://libhid.alioth.debian.org/" -SRC_URI="http://beta.magicaltux.net/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="doc python static-libs" - -RDEPEND=" - python? ( ${PYTHON_DEPS} ) - virtual/libusb:0 -" -DEPEND=" - ${RDEPEND} - doc? ( app-doc/doxygen ) - python? ( dev-lang/swig ) -" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -src_prepare() { - epatch "${FILESDIR}"/${P}-gentoo.patch - epatch "${FILESDIR}"/${P}-swig.patch - epatch "${FILESDIR}"/${P}-libusb.patch - - eautoreconf -} - -src_configure() { - export OS_LDFLAGS="${LDFLAGS}" - use python && export PYTHON_LDFLAGS=$(${EPYTHON}-config --ldflags) - - econf \ - $(use_enable python swig) \ - $(use_enable static-libs static) \ - $(use_with doc doxygen) \ - --disable-debug \ - --disable-werror -} - -DOCS=( AUTHORS ChangeLog NEWS README README.licence TODO ) - -src_install() { - default - - use doc && dohtml -r doc/html/* - - prune_libtool_files -} diff --git a/dev-libs/libhid/metadata.xml b/dev-libs/libhid/metadata.xml deleted file mode 100644 index 8ab798976991..000000000000 --- a/dev-libs/libhid/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<!-- maintainer-needed --> -<longdescription lang="en"> -libhid provides a generic and flexible way to access and interact with USB -HID devices, much like libusb does for plain USB devices. It is based on -libusb, thus it requires no HID support in the kernel and provides means to -take control over a device even if the kernel governs it. -</longdescription> -</pkgmetadata> |