commit:     1abaa6b42ce8926c0901058affe6952ac3493bdc
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 18 09:19:16 2020 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Sep 18 09:20:43 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1abaa6b4

dev-libs/libhid: drop old version

Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-libs/libhid/Manifest                         |  1 -
 dev-libs/libhid/files/libhid-0.2.16-gentoo.patch | 21 ---------
 dev-libs/libhid/files/libhid-0.2.16-libusb.patch | 25 ----------
 dev-libs/libhid/files/libhid-0.2.16-swig.patch   | 45 ------------------
 dev-libs/libhid/libhid-0.2.16-r4.ebuild          | 58 ------------------------
 5 files changed, 150 deletions(-)

diff --git a/dev-libs/libhid/Manifest b/dev-libs/libhid/Manifest
index 74d879346aa..2b87fe1a61f 100644
--- a/dev-libs/libhid/Manifest
+++ b/dev-libs/libhid/Manifest
@@ -1,2 +1 @@
-DIST libhid-0.2.16.tar.gz 435245 BLAKE2B 
9bd06b226e42ed0dbbf4395824636dbfaa796ce9c0170ad7af561741ec3f494b92ec09c548f3bc7c698a32aa78d82d4da4094231fbb810de5a67d3066947fd97
 SHA512 
3c9348f9d63e0e1577e983c65ff8e6acbaee0d5f43ecb29b7004654a7e9d14a94176aa029f259e0b8576fc30e8a9af6d1df34912dd582bfadc2b29f9b87eb52b
 DIST libhid-0.2.17.tar.gz 218501 BLAKE2B 
d7110dc1854829023531f1fd58fd6668f5d15dc3b98f9a6c799b3bc4725ded907de645921d17161a37cde8d9759ec371f96caf4fbb8d6f7bd480dfe2a352b399
 SHA512 
d82ef95871460e22e26f4fddb88edb83c262a8d0cd70beb7e65cacb443bfc21e12f868d50b8b4ea0ee00acce7c2d0f5bd06437b69cf89ef39dd118c21c73b977

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 b5960af5d7d..00000000000
--- 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 aa49205ec75..00000000000
--- 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 ce5dae7481b..00000000000
--- 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 4f67990368a..00000000000
--- a/dev-libs/libhid/libhid-0.2.16-r4.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-inherit autotools eutils ltprune python-single-r1
-
-DESCRIPTION="Provides a generic and flexible way to access and interact with 
USB HID devices"
-HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage";
-SRC_URI="https://alioth-archive.debian.org/releases/${PN}/${PN}/${PV}/${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
-}

Reply via email to