diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-apps/usbutils | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-apps/usbutils')
-rw-r--r-- | sys-apps/usbutils/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/usbutils/files/usbutils-006-stdint.patch | 32 | ||||
-rw-r--r-- | sys-apps/usbutils/metadata.xml | 5 | ||||
-rw-r--r-- | sys-apps/usbutils/usbutils-007.ebuild | 55 | ||||
-rw-r--r-- | sys-apps/usbutils/usbutils-008-r1.ebuild | 50 | ||||
-rw-r--r-- | sys-apps/usbutils/usbutils-008.ebuild | 52 |
6 files changed, 196 insertions, 0 deletions
diff --git a/sys-apps/usbutils/Manifest b/sys-apps/usbutils/Manifest new file mode 100644 index 000000000000..19bf2928615e --- /dev/null +++ b/sys-apps/usbutils/Manifest @@ -0,0 +1,2 @@ +DIST usbutils-007.tar.xz 418264 SHA256 7593a01724bbc0fd9fe48e62bc721ceb61c76654f1d7b231b3c65f6dfbbaefa4 SHA512 ee5c9ae4b39747139dbf2c0295d0556c2087002a99c1a1c6de9b87714c0ed37c277471794f0c53b15f4f9e4323527eb5d15d7e1197f73e04f2de6978d3d85987 WHIRLPOOL 4374ba416f2bd8678ebfed25e7d5f2fccc5e49abf80716b3b96915601e801ab07686905d5c45e9ae7e7bb40c16084e97a24afc9c35d0ca743e877eea320ab9af +DIST usbutils-008.tar.xz 287052 SHA256 44741af0bae9d402a0ef160a29b2fa700bb656ab5e0a4b3343d51249c2a44c8c SHA512 ab1ad36467ff79ff5ab0b924620001612cae44def58c05ade01a4e58d8a4d48df61c09faba49a20497b7d6314045bbaf137b51a9f4e6b65ed0ea3bb339bf1c45 WHIRLPOOL 47898f8f0c8a93a200777e5006ec36c2bc805e126974ba415edc21983db9d35d3b8ec4a6be28359a36e5adda95cc4c8bc37ba4b651a9065e249b8ffe4c6b70aa diff --git a/sys-apps/usbutils/files/usbutils-006-stdint.patch b/sys-apps/usbutils/files/usbutils-006-stdint.patch new file mode 100644 index 000000000000..3aecbdfec04c --- /dev/null +++ b/sys-apps/usbutils/files/usbutils-006-stdint.patch @@ -0,0 +1,32 @@ +https://sourceforge.net/p/digimend/bugs/41/ + +--- a/usbhid-dump/lib/iface.c ++++ b/usbhid-dump/lib/iface.c +@@ -30,6 +30,7 @@ + #include <assert.h> + #include <stdlib.h> + #include <stdio.h> ++#include <stdint.h> + #include <string.h> + + bool +--- a/usbhid-dump/lib/iface_list.c ++++ b/usbhid-dump/lib/iface_list.c +@@ -30,6 +30,7 @@ + #include <assert.h> + #include <stdlib.h> + #include <stdio.h> ++#include <stdint.h> + + bool + uhd_iface_list_valid(const uhd_iface *list) +--- a/usbhid-dump/src/usbhid-dump.c ++++ b/usbhid-dump/src/usbhid-dump.c +@@ -40,6 +40,7 @@ + #include <unistd.h> + #include <getopt.h> + #include <stdio.h> ++#include <stdint.h> + + /* Define LIBUSB_CALL for libusb <= 1.0.8 */ + #ifndef LIBUSB_CALL diff --git a/sys-apps/usbutils/metadata.xml b/sys-apps/usbutils/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/sys-apps/usbutils/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +</pkgmetadata> diff --git a/sys-apps/usbutils/usbutils-007.ebuild b/sys-apps/usbutils/usbutils-007.ebuild new file mode 100644 index 000000000000..b4cd87bf5fc4 --- /dev/null +++ b/sys-apps/usbutils/usbutils-007.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit base python-single-r1 + +DESCRIPTION="USB enumeration utilities" +HOMEPAGE="http://linux-usb.sourceforge.net/" +SRC_URI="mirror://kernel/linux/utils/usb/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="python zlib" + +RDEPEND="virtual/libusb:1= + zlib? ( sys-libs/zlib:= )" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/pkgconfig" +RDEPEND="${RDEPEND} + sys-apps/hwids + python? ( ${PYTHON_DEPS} )" +PATCHES=( "${FILESDIR}"/${PN}-006-stdint.patch ) + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + base_src_prepare + sed -i -e '/^usbids/s:/usr/share:/usr/share/misc:' lsusb.py || die + use python && python_fix_shebang lsusb.py +} + +src_configure() { + econf \ + --datarootdir="${EPREFIX}/usr/share" \ + --datadir="${EPREFIX}/usr/share/misc" \ + --disable-usbids \ + $(use_enable zlib) +} + +src_install() { + default + newdoc usbhid-dump/NEWS NEWS.usbhid-dump + + use python || rm -f "${ED}"/usr/bin/lsusb.py +} diff --git a/sys-apps/usbutils/usbutils-008-r1.ebuild b/sys-apps/usbutils/usbutils-008-r1.ebuild new file mode 100644 index 000000000000..d76c85534866 --- /dev/null +++ b/sys-apps/usbutils/usbutils-008-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + +DESCRIPTION="USB enumeration utilities" +HOMEPAGE="http://linux-usb.sourceforge.net/" +SRC_URI="mirror://kernel/linux/utils/usb/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +CDEPEND="virtual/libusb:1= + virtual/libudev:=" +DEPEND="${CDEPEND} + app-arch/xz-utils + virtual/pkgconfig" +RDEPEND="${CDEPEND} + sys-apps/hwids + python? ( ${PYTHON_DEPS} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-006-stdint.patch + sed -i -e '/^usbids/s:/usr/share:/usr/share/misc:' lsusb.py || die + use python && python_fix_shebang lsusb.py +} + +src_configure() { + econf \ + --datarootdir="${EPREFIX}/usr/share" \ + --datadir="${EPREFIX}/usr/share/misc" +} + +src_install() { + default + newdoc usbhid-dump/NEWS NEWS.usbhid-dump + + use python || rm -f "${ED}"/usr/bin/lsusb.py +} diff --git a/sys-apps/usbutils/usbutils-008.ebuild b/sys-apps/usbutils/usbutils-008.ebuild new file mode 100644 index 000000000000..71328fd75882 --- /dev/null +++ b/sys-apps/usbutils/usbutils-008.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + +DESCRIPTION="USB enumeration utilities" +HOMEPAGE="http://linux-usb.sourceforge.net/" +SRC_URI="mirror://kernel/linux/utils/usb/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="python zlib" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="virtual/libusb:1= + zlib? ( sys-libs/zlib:= )" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/pkgconfig" +RDEPEND="${RDEPEND} + sys-apps/hwids + python? ( ${PYTHON_DEPS} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-006-stdint.patch + sed -i -e '/^usbids/s:/usr/share:/usr/share/misc:' lsusb.py || die + use python && python_fix_shebang lsusb.py +} + +src_configure() { + econf \ + --datarootdir="${EPREFIX}/usr/share" \ + --datadir="${EPREFIX}/usr/share/misc" \ + --disable-usbids \ + $(use_enable zlib) +} + +src_install() { + default + newdoc usbhid-dump/NEWS NEWS.usbhid-dump + + use python || rm -f "${ED}"/usr/bin/lsusb.py +} |