summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-misc/iguanaIR/files
downloadgentoo-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/files')
-rw-r--r--app-misc/iguanaIR/files/40-iguanaIR.rules5
-rw-r--r--app-misc/iguanaIR/files/iguanaIR-0.93-asneeded.patch29
-rw-r--r--app-misc/iguanaIR/files/iguanaIR-0.93-gentoo.diff34
3 files changed, 68 insertions, 0 deletions
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