1 |
commit: 129d1f67f7d6f6c0e5f5f93885ca0359e98876e1 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 5 20:07:59 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 5 20:07:59 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=129d1f67 |
7 |
|
8 |
sys-apps/usbutils: Drop old |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
12 |
|
13 |
sys-apps/usbutils/Manifest | 1 - |
14 |
sys-apps/usbutils/files/usbutils-006-stdint.patch | 32 --------------- |
15 |
sys-apps/usbutils/usbutils-008-r1.ebuild | 50 ----------------------- |
16 |
3 files changed, 83 deletions(-) |
17 |
|
18 |
diff --git a/sys-apps/usbutils/Manifest b/sys-apps/usbutils/Manifest |
19 |
index 56036a34bf8..69beede11ee 100644 |
20 |
--- a/sys-apps/usbutils/Manifest |
21 |
+++ b/sys-apps/usbutils/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
-DIST usbutils-008.tar.xz 287052 BLAKE2B eb9b998adb69938d004828585f782840e34f453327de54a32c563268db22a870fd7298cf839692e58ae42148e63037260e09bc2f1d5700ff96bcc451aff626ba SHA512 ab1ad36467ff79ff5ab0b924620001612cae44def58c05ade01a4e58d8a4d48df61c09faba49a20497b7d6314045bbaf137b51a9f4e6b65ed0ea3bb339bf1c45 |
24 |
DIST usbutils-009.tar.xz 309608 BLAKE2B bb5d7f756241377e81aa8f5b074bb0ba36bc778698afaebf7054cdb153149e4f3808a7b172019434756cae8b33410643cd6a03a36277f80ead9b0f4446385fd9 SHA512 e5936a42615690c13e618655fc5eb4f414d9a84f85b860eaeb3bcf737258e05d299b09d1c5388d50c718626036ec8cac5d670ad567ceadfaab85f401f0744a8a |
25 |
DIST usbutils-010.tar.xz 308344 BLAKE2B 5f0ba85564acaf60faad0e187e7ed5c870056cf80a1e1ae888fa498429a7a9e28eaced49047f8f793bad3c59f3b515557054860286b17d9f89f915d0db5943cc SHA512 8bc197307bc34b38c406c58c939be32f0b20ce9d3e7c977472fe4c3d47e791765432e381fd8d7393df621bbd4bf159ca24a08b22441770e7ae464e767f99a2e3 |
26 |
|
27 |
diff --git a/sys-apps/usbutils/files/usbutils-006-stdint.patch b/sys-apps/usbutils/files/usbutils-006-stdint.patch |
28 |
deleted file mode 100644 |
29 |
index 3aecbdfec04..00000000000 |
30 |
--- a/sys-apps/usbutils/files/usbutils-006-stdint.patch |
31 |
+++ /dev/null |
32 |
@@ -1,32 +0,0 @@ |
33 |
-https://sourceforge.net/p/digimend/bugs/41/ |
34 |
- |
35 |
---- a/usbhid-dump/lib/iface.c |
36 |
-+++ b/usbhid-dump/lib/iface.c |
37 |
-@@ -30,6 +30,7 @@ |
38 |
- #include <assert.h> |
39 |
- #include <stdlib.h> |
40 |
- #include <stdio.h> |
41 |
-+#include <stdint.h> |
42 |
- #include <string.h> |
43 |
- |
44 |
- bool |
45 |
---- a/usbhid-dump/lib/iface_list.c |
46 |
-+++ b/usbhid-dump/lib/iface_list.c |
47 |
-@@ -30,6 +30,7 @@ |
48 |
- #include <assert.h> |
49 |
- #include <stdlib.h> |
50 |
- #include <stdio.h> |
51 |
-+#include <stdint.h> |
52 |
- |
53 |
- bool |
54 |
- uhd_iface_list_valid(const uhd_iface *list) |
55 |
---- a/usbhid-dump/src/usbhid-dump.c |
56 |
-+++ b/usbhid-dump/src/usbhid-dump.c |
57 |
-@@ -40,6 +40,7 @@ |
58 |
- #include <unistd.h> |
59 |
- #include <getopt.h> |
60 |
- #include <stdio.h> |
61 |
-+#include <stdint.h> |
62 |
- |
63 |
- /* Define LIBUSB_CALL for libusb <= 1.0.8 */ |
64 |
- #ifndef LIBUSB_CALL |
65 |
|
66 |
diff --git a/sys-apps/usbutils/usbutils-008-r1.ebuild b/sys-apps/usbutils/usbutils-008-r1.ebuild |
67 |
deleted file mode 100644 |
68 |
index b4a75cd8ce3..00000000000 |
69 |
--- a/sys-apps/usbutils/usbutils-008-r1.ebuild |
70 |
+++ /dev/null |
71 |
@@ -1,50 +0,0 @@ |
72 |
-# Copyright 1999-2015 Gentoo Foundation |
73 |
-# Distributed under the terms of the GNU General Public License v2 |
74 |
- |
75 |
-EAPI=5 |
76 |
-PYTHON_COMPAT=( python2_7 ) |
77 |
- |
78 |
-inherit python-single-r1 |
79 |
- |
80 |
-DESCRIPTION="USB enumeration utilities" |
81 |
-HOMEPAGE="https://www.kernel.org/pub/linux/utils/usb/usbutils/ |
82 |
- https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git/" |
83 |
-SRC_URI="mirror://kernel/linux/utils/usb/${PN}/${P}.tar.xz" |
84 |
- |
85 |
-LICENSE="GPL-2" |
86 |
-SLOT="0" |
87 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux" |
88 |
-IUSE="python" |
89 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
90 |
- |
91 |
-CDEPEND="virtual/libusb:1= |
92 |
- virtual/libudev:=" |
93 |
-DEPEND="${CDEPEND} |
94 |
- app-arch/xz-utils |
95 |
- virtual/pkgconfig" |
96 |
-RDEPEND="${CDEPEND} |
97 |
- sys-apps/hwids |
98 |
- python? ( ${PYTHON_DEPS} )" |
99 |
- |
100 |
-pkg_setup() { |
101 |
- use python && python-single-r1_pkg_setup |
102 |
-} |
103 |
- |
104 |
-src_prepare() { |
105 |
- epatch "${FILESDIR}"/${PN}-006-stdint.patch |
106 |
- sed -i -e '/^usbids/s:/usr/share:/usr/share/misc:' lsusb.py || die |
107 |
- use python && python_fix_shebang lsusb.py |
108 |
-} |
109 |
- |
110 |
-src_configure() { |
111 |
- econf \ |
112 |
- --datarootdir="${EPREFIX}/usr/share" \ |
113 |
- --datadir="${EPREFIX}/usr/share/misc" |
114 |
-} |
115 |
- |
116 |
-src_install() { |
117 |
- default |
118 |
- newdoc usbhid-dump/NEWS NEWS.usbhid-dump |
119 |
- |
120 |
- use python || rm -f "${ED}"/usr/bin/lsusb.py |
121 |
-} |