diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-misc/iguanaIR | |
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 'app-misc/iguanaIR')
-rw-r--r-- | app-misc/iguanaIR/Manifest | 2 | ||||
-rw-r--r-- | app-misc/iguanaIR/files/40-iguanaIR.rules | 5 | ||||
-rw-r--r-- | app-misc/iguanaIR/files/iguanaIR-0.93-asneeded.patch | 29 | ||||
-rw-r--r-- | app-misc/iguanaIR/files/iguanaIR-0.93-gentoo.diff | 34 | ||||
-rw-r--r-- | app-misc/iguanaIR/iguanaIR-0.93.ebuild | 42 | ||||
-rw-r--r-- | app-misc/iguanaIR/iguanaIR-1.0.1.ebuild | 45 | ||||
-rw-r--r-- | app-misc/iguanaIR/metadata.xml | 10 |
7 files changed, 167 insertions, 0 deletions
diff --git a/app-misc/iguanaIR/Manifest b/app-misc/iguanaIR/Manifest new file mode 100644 index 000000000000..4311df55f5d9 --- /dev/null +++ b/app-misc/iguanaIR/Manifest @@ -0,0 +1,2 @@ +DIST iguanaIR-0.93.tar.bz2 1006655 SHA256 4a2f546eb0f99a3617efe20676633f06e2b74f8b352be939acff30d226cabca8 SHA512 c955c366aba87f58638ed187657ff4c73e03dc3a8f0295ea740ce612bb38f639fa48c56735156268712a6fd00c85b132e14819fb7cf21988dbb18cc0cc4fce9d WHIRLPOOL d051fa30aaa70e2e53b4f7ec7aac28d30126e57d92ffac4e6bfa5aa7a749b66cb54ba4d82f288770d90a05e136c596503f2079be262afd06aabf1b9d9de4ef34 +DIST iguanaIR-1.0.1.tar.bz2 287572 SHA256 1ba324667671892b2a36aee0089d0afafd266f8b255b073b113eb5ab71f38fcc SHA512 d70e792d6d51b99d9d82e4411bb16de24846d87b5066592734b614a866cdfb317f3aafbab6ef478552b57c4077776daa6db89b44201103ecaec8fd44df041e0e WHIRLPOOL 5b04d462c30b8e141b95614de8e08a951792d3f0e0bf71f535ba84c15f0b445ac136f296d7be5f829cf9f0aec37267af4ca6f9b9ad5d8a7936003bfa94c0023a diff --git a/app-misc/iguanaIR/files/40-iguanaIR.rules b/app-misc/iguanaIR/files/40-iguanaIR.rules new file mode 100644 index 000000000000..6cccbc9757e7 --- /dev/null +++ b/app-misc/iguanaIR/files/40-iguanaIR.rules @@ -0,0 +1,5 @@ + +ACTION=="add", ATTRS{manufacturer}=="IguanaWorks", MODE="0660", RUN+="/etc/init.d/iguanaIR rescan" + +# DEBUGGING ADDITION: +#RUN += "/bin/bash -c 'echo $major $minor r=$result i=$id n=$number k=$kernel p=$parent r=$root >> /tmp/udev.txt'" diff --git a/app-misc/iguanaIR/files/iguanaIR-0.93-asneeded.patch b/app-misc/iguanaIR/files/iguanaIR-0.93-asneeded.patch new file mode 100644 index 000000000000..099b1a4ee4f0 --- /dev/null +++ b/app-misc/iguanaIR/files/iguanaIR-0.93-asneeded.patch @@ -0,0 +1,29 @@ +--- iguanaIR-0.93.orig/Makefile.in 2009-12-13 15:27:50.942734390 +0100 ++++ iguanaIR-0.93/Makefile.in 2009-12-13 15:29:58.580486676 +0100 +@@ -48,14 +48,14 @@ + igclient igdaemon: libiguanaIR.so + + libiguanaIR.so: iguanaIR.o support.o dataPackets.o pipes.o base.o +- $(CC) -shared $(CPPFLAGS) $^ -lpopt -lrt -o $@ ++ $(CC) -shared $(CPPFLAGS) $^ -o $@ -lpopt -lrt + + igdaemon: daemon.o client-interface.o device-interface.o usbclient.o \ + list.o compatibility.o +- $(CC) $(CPPFLAGS) $(CFLAGS) $^ $(LIBS) -lusb -L. -liguanaIR -o $@ ++ $(CC) $(CPPFLAGS) $(CFLAGS) $^ -o $@ -L. -liguanaIR -lusb -lpopt + + igclient: client.o list.o +- $(CC) $(CPPFLAGS) $^ -lpopt -L. -liguanaIR -o $@ ++ $(CC) $(CPPFLAGS) $^ -o $@ -L. -liguanaIR -lpopt + + %.o: %.c Makefile iguanaIR.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@ +@@ -71,7 +71,7 @@ + swig $(CPPFLAGS) -python $< + + _iguanaIR.so: iguanaIR_wrap.c +- $(CC) $(CPPFLAGS) -shared $(CFLAGS) -Wno-strict-aliasing -Wno-unused -Wno-implicit-function-declaration -Wno-long-long @PYTHON_CPPFLAGS@ $^ -L. -liguanaIR -o $@ ++ $(CC) $(CPPFLAGS) -shared $(CFLAGS) -Wno-strict-aliasing -Wno-unused -Wno-implicit-function-declaration -Wno-long-long @PYTHON_CPPFLAGS@ $^ -o $@ -L. -liguanaIR + endif + + .PHONY: install diff --git a/app-misc/iguanaIR/files/iguanaIR-0.93-gentoo.diff b/app-misc/iguanaIR/files/iguanaIR-0.93-gentoo.diff new file mode 100644 index 000000000000..96793837ae30 --- /dev/null +++ b/app-misc/iguanaIR/files/iguanaIR-0.93-gentoo.diff @@ -0,0 +1,34 @@ +diff -Naur iguanaIR-0.93.orig/iguanaIR.gentoo.init iguanaIR-0.93/iguanaIR.gentoo.init +--- iguanaIR-0.93.orig/iguanaIR.gentoo.init 2008-03-20 15:34:46.000000000 +0100 ++++ iguanaIR-0.93/iguanaIR.gentoo.init 2008-03-20 15:38:06.000000000 +0100 +@@ -1,7 +1,7 @@ + #!/sbin/runscript + + # load the settings +-[ -f /etc/default/iguanaIR ] && . /etc/default/iguanaIR ++[ -f /etc/iguanaIR/iguanaIR ] && . /etc/iguanaIR/iguanaIR + + # common defaults + IGPATH=/usr/bin/igdaemon +diff -Naur iguanaIR-0.93.orig/Makefile.in iguanaIR-0.93/Makefile.in +--- iguanaIR-0.93.orig/Makefile.in 2008-03-20 15:34:46.000000000 +0100 ++++ iguanaIR-0.93/Makefile.in 2008-03-20 15:36:49.000000000 +0100 +@@ -79,12 +79,12 @@ + install -D igclient $(DESTDIR)/usr/bin/igclient + install -D igdaemon $(DESTDIR)/usr/bin/igdaemon + install -D libiguanaIR.so $(DESTDIR)/usr/$(LIBDIR)/libiguanaIR.so +- install -D iguanaIR.init $(DESTDIR)/etc/rc.d/init.d/iguanaIR +- install -D --mode=0644 iguanaIR.options $(DESTDIR)/etc/default/iguanaIR +- install -D iguanaIR.h $(DESTDIR)/usr/include/iguanaIR.h +- install -D --mode 644 plug-trigger/udev/iguanaIR.rules \ +- $(DESTDIR)/etc/udev/rules.d/iguanaIR.rules +- install --mode 755 -d $(DESTDIR)/etc/udev/devices/iguanaIR ++ install -D iguanaIR.gentoo.init $(DESTDIR)/etc/init.d/iguanaIR ++ install -D --mode=0644 iguanaIR.options $(DESTDIR)/etc/iguanaIR/iguanaIR ++ install -D --mode=0644 iguanaIR.h $(DESTDIR)/usr/include/iguanaIR.h ++# install -D --mode=644 plug-trigger/udev/iguanaIR.rules \ ++# $(DESTDIR)/etc/udev/rules.d/iguanaIR.rules ++# install --mode 755 -d $(DESTDIR)/etc/udev/devices/iguanaIR + # This is for fairly old versions of Fedora.... + # install -D --mode 644 plug-trigger/hotplug/iguanaIR.usermap \ + # $(DESTDIR)/etc/hotplug/usb/iguanaIR.usermap diff --git a/app-misc/iguanaIR/iguanaIR-0.93.ebuild b/app-misc/iguanaIR/iguanaIR-0.93.ebuild new file mode 100644 index 000000000000..974ff8be4315 --- /dev/null +++ b/app-misc/iguanaIR/iguanaIR-0.93.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils flag-o-matic python + +DESCRIPTION="library for Irman control of Unix software" +HOMEPAGE="http://iguanaworks.net/index.php" +SRC_URI="http://iguanaworks.net/downloads/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND="dev-libs/popt + virtual/libusb:0" +DEPEND="${RDEPEND} + || ( dev-lang/python:2.7 dev-lang/python:2.6 )" + +pkg_setup() { + append-flags -fPIC + + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + sed -i -e 's:CFLAGS =:CFLAGS ?=:' Makefile.in || die + + epatch \ + "${FILESDIR}"/${P}-gentoo.diff \ + "${FILESDIR}"/${P}-asneeded.patch +} + +src_install() { + emake DESTDIR="${D}" install + + insinto /lib/udev/rules.d + doins "${FILESDIR}"/40-iguanaIR.rules +} diff --git a/app-misc/iguanaIR/iguanaIR-1.0.1.ebuild b/app-misc/iguanaIR/iguanaIR-1.0.1.ebuild new file mode 100644 index 000000000000..55c7e58b5ecd --- /dev/null +++ b/app-misc/iguanaIR/iguanaIR-1.0.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit python user + +DESCRIPTION="library for Irman control of Unix software" +HOMEPAGE="http://iguanaworks.net/index.php" +SRC_URI="http://iguanaworks.net/downloads/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +# sys-apps/lsb-release is used by the init script for detecting Gentoo +RDEPEND="dev-libs/popt + sys-apps/lsb-release + virtual/libusb:0" +DEPEND="${RDEPEND} + || ( dev-lang/python:2.7 dev-lang/python:2.6 ) + >=dev-lang/swig-2.0.0" + +pkg_setup() { + enewgroup iguanair + enewuser iguanair -1 -1 -1 'iguanair,usb' + + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + # Working around bug in SWIG version checking + sed -i -e 's:1.3.31:2.0.0:g' configure || die +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS README.txt WHY notes.txt protocols.txt + + rm -f docs/{Makefile,pullDocs} + dodoc -r docs +} diff --git a/app-misc/iguanaIR/metadata.xml b/app-misc/iguanaIR/metadata.xml new file mode 100644 index 000000000000..32917ab8cd32 --- /dev/null +++ b/app-misc/iguanaIR/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-tv</herd> +<maintainer> +<email>hd_brummy@gentoo.org</email> +<name>Joerg Bornkessel</name> +</maintainer> +</pkgmetadata> + |