From 7b7a37b77bb2d9e8d2cfe04ba50fda4268beff23 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sun, 3 May 2009 08:59:46 +0000 Subject: [PATCH] add new lirc with driver support for lirc_wpc8769l git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1194 6952d904-891a-0410-993b-d76249ca496b --- app-misc/lirc/ChangeLog | 850 ++++++++++++++++++ app-misc/lirc/Manifest | 16 + app-misc/lirc/files/irexec-confd | 9 + app-misc/lirc/files/irexec-initd | 28 + .../lirc-0.8.3_pre1-remotewonderplus.patch | 26 + .../lirc/files/lirc-0.8.4-imon-pad2keys.patch | 291 ++++++ .../files/lirc-0.8.4-portaudio_check.patch | 18 + app-misc/lirc/files/lircd | 16 + app-misc/lirc/files/lircd-0.8.3 | 23 + app-misc/lirc/files/lircd.conf.2 | 10 + app-misc/lirc/files/lircmd | 20 + app-misc/lirc/files/modprobed.lirc | 22 + app-misc/lirc/files/modulesd.lirc | 22 + app-misc/lirc/files/xbox-lircd.conf | 55 ++ app-misc/lirc/lirc-0.8.5_pre2.ebuild | 329 +++++++ app-misc/lirc/metadata.xml | 11 + 16 files changed, 1746 insertions(+) create mode 100644 app-misc/lirc/ChangeLog create mode 100644 app-misc/lirc/Manifest create mode 100644 app-misc/lirc/files/irexec-confd create mode 100755 app-misc/lirc/files/irexec-initd create mode 100644 app-misc/lirc/files/lirc-0.8.3_pre1-remotewonderplus.patch create mode 100644 app-misc/lirc/files/lirc-0.8.4-imon-pad2keys.patch create mode 100644 app-misc/lirc/files/lirc-0.8.4-portaudio_check.patch create mode 100755 app-misc/lirc/files/lircd create mode 100644 app-misc/lirc/files/lircd-0.8.3 create mode 100644 app-misc/lirc/files/lircd.conf.2 create mode 100755 app-misc/lirc/files/lircmd create mode 100644 app-misc/lirc/files/modprobed.lirc create mode 100644 app-misc/lirc/files/modulesd.lirc create mode 100755 app-misc/lirc/files/xbox-lircd.conf create mode 100644 app-misc/lirc/lirc-0.8.5_pre2.ebuild create mode 100644 app-misc/lirc/metadata.xml diff --git a/app-misc/lirc/ChangeLog b/app-misc/lirc/ChangeLog new file mode 100644 index 00000000..9ebadea3 --- /dev/null +++ b/app-misc/lirc/ChangeLog @@ -0,0 +1,850 @@ +# ChangeLog for app-misc/lirc +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.199 2009/03/18 07:18:10 josejx Exp $ + + 18 Mar 2009; Joseph Jezak lirc-0.8.4.ebuild: + Marked ppc stable for bug #253920. + + 13 Mar 2009; Christian Faulhammer + +files/lirc-0.8.4-portaudio_check.patch, lirc-0.8.4.ebuild, + lirc-0.8.4a.ebuild: + Only detect media-libs/portaudio if LIRC_DEVICES=audio is enabled, thus + preventing build failures, see bug 251703 and bug 251522 + + 10 Mar 2009; Steve Dibb lirc-0.8.4.ebuild, + lirc-0.8.4a.ebuild: + Fix amd64 keywords, bug 253920 + + 10 Mar 2009; Steve Dibb lirc-0.8.4a.ebuild: + amd64 stable, bug 253920 + + 07 Mar 2009; Christian Faulhammer lirc-0.8.4.ebuild: + stable x86, bug 253920 + + 28 Feb 2009; Christian Faulhammer + -files/lirc-0.8.0-conf-pixelview_bt878.diff, + -files/lirc-0.8.0-i2c-kernel-2.6.17.diff, + -files/lirc-0.8.0-imon-pad2keys.patch, + -files/lirc-0.8.0-kernel-2.6.16.diff, + -files/lirc-0.8.0-kernel-2.6.17.diff, + -files/lirc-0.8.0-kernel-2.6.18.diff, + -files/lirc-0.8.0-kernel-2.6.19.diff, -files/lirc-0.8.0-sandbox-fix.diff, + -files/lirc-0.8.0-too-many-connections-overflow.diff, + -files/lirc-0.8.0pre4-xbox-remote.diff, + -files/lirc-0.8.1-atiusb-xbox.diff, -files/lirc-0.8.1-imon-pad2keys.patch, + -files/lirc-0.8.1-kernel-2.6.20.diff, + -files/lirc-0.8.2-kernel-2.6.22.patch, + -files/lirc-0.8.2-kernel-2.6.23.patch, -files/lirc-udev-094.diff, + -files/lirc-remotewonderplus.patch, -files/lircd.conf, + -lirc-0.8.0-r8.ebuild, -lirc-0.8.1.ebuild, -lirc-0.8.2_pre2.ebuild, + -lirc-0.8.2.ebuild, -lirc-0.8.2-r1.ebuild, -lirc-0.8.2-r2.ebuild, + -lirc-0.8.3_pre3.ebuild, -lirc-0.8.3.ebuild, -lirc-0.8.3-r1.ebuild: + clean up, hopefully without breaking anything + +*lirc-0.8.4a (28 Feb 2009) + + 28 Feb 2009; Christian Faulhammer +lirc-0.8.4a.ebuild: + version bump for 251703 and fix for 251522 + + 10 Jan 2009; Steve Dibb lirc-0.8.3-r1.ebuild, + lirc-0.8.3-r2.ebuild, lirc-0.8.4.ebuild: + Remove MODULE_UNLOAD kernel check, add ewarn notice + + 25 Dec 2008; Thomas Anderson + +files/lirc-0.8.3-kernel-2.6.27.diff, lirc-0.8.3-r2.ebuild: + Add Kernel 2.6.27 compatibility to lirc-0.8.3-r2. Fixes bug #236713, thanks + to James for the patch. Committed with permission + of beandog + + 17 Nov 2008; Diego E. Pettenò + files/lirc-0.8.3_pre1-kernel-2.6.24.diff: + Fix patch with absolute paths. + +*lirc-0.8.4 (12 Oct 2008) + + 12 Oct 2008; Matthias Schwarzott + +files/lirc-0.8.4-imon-pad2keys.patch, lirc-0.8.0-r8.ebuild, + +lirc-0.8.4.ebuild: + Version bumped. This adds Kernel 2.6.27 compatibility. Added driver + options irlink, commandir, ite8709 and samsung, Bug #221727. Removed + portaudio patch. Shorten description of lirc-0.8.0-r8. + + 12 Oct 2008; Matthias Schwarzott files/lircd.conf.2: + Fix config example for devinput, Bug #235107 + + 08 Aug 2008; Steve Dibb lirc-0.8.3-r2.ebuild: + amd64 stable, bug 230792 + + 01 Aug 2008; nixnut lirc-0.8.3-r2.ebuild: + Stable on ppc wrt bug 230792 + + 31 Jul 2008; Ulrich Mueller metadata.xml: + Add USE flag description to metadata wrt GLEP 56. + + 28 Jul 2008; Matthias Schwarzott + files/lirc-0.8.3-kernel-2.6.26.diff: + Remove those annoying cvs-keywords from the patch, bug #233081 + + 26 Jul 2008; Matthias Schwarzott + +files/lirc-0.8.3-kernel-2.6.26.diff, lirc-0.8.3-r2.ebuild: + Make lirc compile against linux-2.6.26, thanks to enkil for + the patch, Bug #231867. + + 17 Jul 2008; Christian Faulhammer lirc-0.8.3-r2.ebuild: + stable x86, bug 230792 + + 16 Jun 2008; Samuli Suominen + +files/lirc-0.8.3-pa19.patch, lirc-0.8.3-r2.ebuild: + Portaudio v19 patch from bug 222841, Comment #8 by Thomas Beierlein. + + 06 Jun 2008; Matthias Schwarzott lirc-0.8.3-r2.ebuild: + Added imon_lcd to list of possible lirc_devices, thanks to Jan Paesmans + . + +*lirc-0.8.3-r2 (19 May 2008) + + 19 May 2008; Matthias Schwarzott +files/modprobed.lirc, + +lirc-0.8.3-r2.ebuild: + Removed old syntax from modprobe config file. + +*lirc-0.8.3-r1 (10 May 2008) + + 10 May 2008; Steve Dibb +lirc-0.8.3-r1.ebuild: + Check for MODULE_UNLOAD in kernel + + 05 May 2008; Matthias Schwarzott lirc-0.8.3.ebuild: + Adding hack to stop portage from deleting lircd.conf. + +*lirc-0.8.3 (05 May 2008) + + 05 May 2008; Matthias Schwarzott +files/lircd-0.8.3, + +files/lirc-0.8.3-imon-pad2keys.patch, +lirc-0.8.3.ebuild: + Version bumped. Init-script changes: Now provide lirc, Bug #190669. Use + pidfile to allow starting more than one lircd, Bug #212551. This may also + fix the Kernel Oops of Bug #218612. Fixed keys in imon-pad2keys config, + Bug #219101. Do install all avail remote config files to + /usr/share/lirc/remotes and skip the auto-preserving of the old conf-file, + Bug #219097. + + 04 May 2008; Matthias Schwarzott lirc-0.8.3_pre3.ebuild: + Added imon_knob to possible LIRC_DEVICES, Bug #208719. + +*lirc-0.8.3_pre3 (28 Apr 2008) + + 28 Apr 2008; Matthias Schwarzott + +files/lirc-0.8.3_pre3-imon-pad2keys.patch, +lirc-0.8.3_pre3.ebuild: + Version bumped. Create /etc/modprobe.d instead of /etc/modules.d, Bug + #214019. + + 16 Apr 2008; Markus Rothe lirc-0.8.3_pre1.ebuild: + Stable on ppc64; bug #208433 + + 28 Mar 2008; Markus Meier lirc-0.8.3_pre1.ebuild: + amd64 stable, bug #208433 + + 06 Feb 2008; nixnut lirc-0.8.3_pre1.ebuild: + stable on ppc wrt bug #208433 + + 01 Feb 2008; Christian Faulhammer + lirc-0.8.3_pre1.ebuild: + stable x86, bug 208433 + + 28 Dec 2007; Joerg Bornkessel + files/lirc-0.8.3_pre1-kernel-2.6.24.diff, lirc-0.8.3_pre1.ebuild: + rewrite patch; bug 200508 + + 27 Dec 2007; Joerg Bornkessel + lirc-0.8.3_pre1.ebuild: + removed workless kernel-2.6.24.diff, wont work with LIRC_DEVICES=serial; + reopend bug 200508 + + 26 Dec 2007; Joerg Bornkessel + lirc-0.8.3_pre1.ebuild: + fixed typo; patch/diff + + 26 Dec 2007; Joerg Bornkessel + +files/lirc-0.8.3_pre1-kernel-2.6.24.diff, lirc-0.8.3_pre1.ebuild: + bug 200508 fixed; thanks to A.Stirling M.Marte T.Kost + + 02 Dec 2007; Markus Rothe lirc-0.8.2-r2.ebuild: + Stable on ppc64; bug #197768 + + 16 Nov 2007; Steve Dibb lirc-0.8.2-r2.ebuild: + amd64 stable, bug 197768 + + 12 Nov 2007; Matthias Schwarzott lirc-0.8.2-r2.ebuild, + lirc-0.8.3_pre1.ebuild: + Fix libusb depend for atilibusb driver, Bug #196994. + + 12 Nov 2007; Matthias Schwarzott +files/lircd.conf.2, + lirc-0.8.2-r2.ebuild, lirc-0.8.3_pre1.ebuild: + Supply a good default conf-file. This fixes Bug 198482. + + 02 Nov 2007; Lars Weiler lirc-0.8.2-r2.ebuild: + stable ppc, bug #197768 + + 01 Nov 2007; Christian Faulhammer lirc-0.8.2-r2.ebuild: + stable x86, bug 197768 + + 18 Oct 2007; Matthias Schwarzott lirc-0.8.2-r1.ebuild, + lirc-0.8.2-r2.ebuild, lirc-0.8.3_pre1.ebuild: + Disabling lirc_gpio for Kernel 2.6.22+, as it did not work/failed to + compile, Bug #187418. + + 18 Oct 2007; Matthias Schwarzott lirc-0.8.3_pre1.ebuild: + Force non-parallel make. Bug #196134. + + 17 Oct 2007; Matthias Schwarzott + +files/lirc-0.8.3_pre1-imon-pad2keys.patch, lirc-0.8.3_pre1.ebuild: + Updated imon-pad2key patch. This makes the option switchable via + module-parameter instead of recompiling. Bug 196134 + + 14 Oct 2007; Matthias Schwarzott + +files/lirc-0.8.3_pre1-remotewonderplus.patch, lirc-0.8.3_pre1.ebuild: + Fixed some sed code, Bug 195786. Fixed remotewonderplus patch. + +*lirc-0.8.3_pre1 (13 Oct 2007) + + 13 Oct 2007; Matthias Schwarzott + +lirc-0.8.3_pre1.ebuild: + Added new pre-release ebuild. This improves gpio support with newer kernels. + + 13 Oct 2007; Matthias Schwarzott lirc-0.8.2-r2.ebuild: + Switch installing to emake. + + 13 Oct 2007; Matthias Schwarzott lirc-0.8.0-r8.ebuild, + lirc-0.8.1.ebuild, lirc-0.8.2_pre2.ebuild, lirc-0.8.2.ebuild, + lirc-0.8.2-r1.ebuild, lirc-0.8.2-r2.ebuild: + General cleanup, and quote fixing. + +*lirc-0.8.2-r2 (11 Oct 2007) + + 11 Oct 2007; Matthias Schwarzott + +files/lirc-0.8.2-kernel-2.6.23.patch, +lirc-0.8.2-r2.ebuild: + Fixed device-node to work with udev-115-r2+. Compiling fixed for Kernel + 2.6.23+, Bug 195432. + + 01 Sep 2007; Joseph Jezak lirc-0.8.2-r1.ebuild: + Marked ppc stable for bug #187822. + + 14 Aug 2007; Markus Rothe lirc-0.8.2-r1.ebuild: + Stable on ppc64; bug #187822 + + 14 Aug 2007; Christian Faulhammer lirc-0.8.2-r1.ebuild: + stable x86, bug 187822 + + 13 Aug 2007; Doug Goldstein lirc-0.8.2-r1.ebuild: + amd64 stable + +*lirc-0.8.2-r1 (12 Aug 2007) + + 12 Aug 2007; Steve Dibb + +files/lirc-0.8.2-kernel-2.6.22.patch, +lirc-0.8.2-r1.ebuild: + Fix compile under 2.6.22, bug 187822 + + 22 Jul 2007; David Shakaryan lirc-0.8.0-r8.ebuild: + Remove virtual/x11 from dependencies. + +*lirc-0.8.2 (04 Jul 2007) + + 04 Jul 2007; Matthias Schwarzott +lirc-0.8.2.ebuild: + Version bumped. Adds support for macmini and ttusbir. Removed special + settings com? and lpt?, use serial und parallel instead, and set io-ports + with module-parameters. + + 27 Jun 2007; Raúl Porcel lirc-0.8.0-r8.ebuild, + lirc-0.8.1.ebuild, lirc-0.8.2_pre2.ebuild: + Drop alpha/ia64 keyword as nobody has hardware to test + + 24 May 2007; Matthias Schwarzott files/irexec-initd: + Fixed irexec initscript to work with non-bash shells, Bug #179634. + + 18 May 2007; Matthias Schwarzott metadata.xml: + Assigned to herd media-tv. + +*lirc-0.8.2_pre2 (27 Apr 2007) + + 27 Apr 2007; Matthias Schwarzott + +lirc-0.8.2_pre2.ebuild: + Version bumped. + + 27 Apr 2007; Matthias Schwarzott -lirc-0.8.0-r5.ebuild: + Removed old ebuild. + + 21 Apr 2007; Matthias Schwarzott lirc-0.8.0-r5.ebuild, + lirc-0.8.0-r8.ebuild, lirc-0.8.1.ebuild: + Corrected --without-X to the correct lower case version --without-x, now it + has an effect, solving Bug #173174. + + 08 Apr 2007; Christian Faulhammer lirc-0.8.1.ebuild: + stable amd64, bug 166557 + + 07 Apr 2007; Joseph Jezak lirc-0.8.1.ebuild: + Marked ppc stable for bug #166557. + + 02 Apr 2007; Raúl Porcel lirc-0.8.1.ebuild: + ia64 stable wrt bug 166557 + + 27 Mar 2007; Christian Faulhammer lirc-0.8.1.ebuild: + stable x86, bug 166557 + + 15 Mar 2007; Matthias Schwarzott lirc-0.8.1.ebuild: + Added lirc device usb_uirt_raw, as requested by Robert Parenton + , Bug #170698. + + 27 Feb 2007; Matthias Schwarzott lirc-0.8.1.ebuild: + Fixed disabling lirc_parallel on SMP systems, thanks to Helau + . + + 22 Feb 2007; Matthias Schwarzott + +files/lirc-0.8.1-kernel-2.6.20.diff, lirc-0.8.1.ebuild: + Added patch to compile with kernel 2.6.20, Bug #166557. + + 14 Jan 2007; Joseph Jezak lirc-0.8.0-r8.ebuild: + Marked ppc stable for bug #159980. + + 09 Jan 2007; Markus Rothe lirc-0.8.0-r8.ebuild: + Stable on ppc64; bug #159980 + + 08 Jan 2007; Matthias Schwarzott -lirc-0.7.0-r1.ebuild, + -lirc-0.7.2.ebuild, -lirc-0.8.0-r1.ebuild, -lirc-0.8.1_pre5.ebuild: + Removed some old cruft, solving Bug #159983. + +*lirc-0.8.1 (07 Jan 2007) + + 07 Jan 2007; Matthias Schwarzott +lirc-0.8.1.ebuild: + Version bumped. + + 06 Jan 2007; Bryan Østergaard lirc-0.8.0-r8.ebuild, + lirc-0.8.1_pre5.ebuild: + Stable on Alpha. + + 06 Jan 2007; Matthias Schwarzott lirc-0.7.0-r1.ebuild, + lirc-0.7.2.ebuild, lirc-0.8.0-r1.ebuild, lirc-0.8.0-r5.ebuild, + lirc-0.8.0-r8.ebuild, lirc-0.8.1_pre5.ebuild: + Converted to elog. + + 04 Jan 2007; Peter Weller (welp) lirc-0.8.0-r8.ebuild: + Stable on amd64 wrt bug #159980 + + 04 Jan 2007; Bryan Østergaard lirc-0.8.0-r8.ebuild, + lirc-0.8.1_pre5.ebuild: + Stable on IA64. + + 04 Jan 2007; Christian Faulhammer lirc-0.8.0-r8.ebuild: + stable x86, bug #159980 + +*lirc-0.8.1_pre5 (03 Jan 2007) + + 03 Jan 2007; Matthias Schwarzott + +files/lirc-0.8.1-atiusb-xbox.diff, +files/lirc-0.8.1-imon-pad2keys.patch, + +lirc-0.8.1_pre5.ebuild: + Added a pre-release as it contains a lot of fixes, thanks to mcummings for + noticing. Use newer xbox-patch that can unconditionally be applied. + + 14 Dec 2006; Matthias Schwarzott lirc-0.7.2.ebuild, + lirc-0.8.0-r1.ebuild, lirc-0.8.0-r5.ebuild, lirc-0.8.0-r8.ebuild: + Unconditionally installing udev-rules due to Bug #158114. + +*lirc-0.8.0-r8 (02 Dec 2006) + + 02 Dec 2006; Matthias Schwarzott + +files/lirc-0.8.0-sandbox-fix.diff, files/irexec-confd, + files/irexec-initd, -lirc-0.8.0-r7.ebuild, +lirc-0.8.0-r8.ebuild: + Solve sandbox-violation, fix from dsd, Bug #156807. Starting irexec as user + is now possible, suggested by Sebastian Kemper . + +*lirc-0.8.0-r7 (01 Dec 2006) + + 01 Dec 2006; Matthias Schwarzott + +files/lirc-0.8.0-too-many-connections-overflow.diff, +files/irexec-confd, + +files/irexec-initd, +files/lirc-remotewonderplus.patch, + -lirc-0.8.0-r6.ebuild, +lirc-0.8.0-r7.ebuild: + Fixing overflow, Bug #123704. Allow building more than one driver (with big + warning), Bug #144951. Added irexec-initscript, Bug #124295. Added support + for remotewonderplus-device, Bug #149130. + +*lirc-0.8.0-r6 (30 Nov 2006) + + 30 Nov 2006; Matthias Schwarzott + +files/lirc-0.8.0-kernel-2.6.19.diff, +lirc-0.8.0-r6.ebuild: + Makes lirc compatible with kernel-2.6.19 + + 24 Nov 2006; Matthias Schwarzott lirc-0.8.0-r1.ebuild, + lirc-0.8.0-r5.ebuild: + Switched over to request latest autoconf/automake as that also works. + + 05 Oct 2006; Matthias Schwarzott lirc-0.8.0-r1.ebuild, + lirc-0.8.0-r5.ebuild: + Removed unused use-flags alsa and usb, due to Bug #150083. + + 24 Sep 2006; Michael Hanselmann lirc-0.8.0-r5.ebuild: + Stable on ppc. + + 19 Sep 2006; Matthias Schwarzott lirc-0.8.0-r1.ebuild, + lirc-0.8.0-r5.ebuild: + Now depend on the correct autotools versions, as no longer all versions are + automagically pulled in by system. + + 15 Sep 2006; Matthias Schwarzott -lirc-0.8.0.ebuild: + Removed older revision. + + 12 Sep 2006; lirc-0.8.0-r5.ebuild: + stable on amd64 + + 07 Sep 2006; Markus Rothe lirc-0.8.0-r5.ebuild: + Stable on ppc64; bug #146725 + + 07 Sep 2006; Matthias Schwarzott lirc-0.8.0-r5.ebuild: + Stable on x86. + + 07 Sep 2006; Matthias Schwarzott lirc-0.8.0-r5.ebuild: + Stable on x86. + + 04 Sep 2006; lirc-0.8.0-r1.ebuild: + stable on amd64 + + 03 Sep 2006; Matthias Schwarzott lirc-0.8.0-r5.ebuild: + Added conditional depend on inputlircd as it now has all necessary keywords. + + 03 Sep 2006; lirc-0.8.0-r5.ebuild: + added ~amd64 + + 04 Aug 2006; Matthias Schwarzott + +files/lirc-0.8.0-conf-pixelview_bt878.diff, -lirc-0.8.0-r3.ebuild, + -lirc-0.8.0-r4.ebuild, lirc-0.8.0-r5.ebuild: + Removed older ebuild-revisions. Added a patch to solve bug #142732, thanks + to Bartlomiej Celary for reporting. + +*lirc-0.8.0-r5 (31 Jul 2006) + + 31 Jul 2006; Matthias Schwarzott + +files/lirc-0.8.0-i2c-kernel-2.6.17.diff, +lirc-0.8.0-r5.ebuild: + Added Patch from lirc-cvs to solve issue with Kernel 2.6.17/ivtv driver, see + Bug #141841. + + 27 Jul 2006; Matthias Schwarzott lirc-0.8.0-r4.ebuild: + Bugfix, now also apply xbox-patch when xbox-driver was autoselected by + PROFILE_ARCH. + + 27 Jul 2006; Matthias Schwarzott + files/lirc-0.8.0-kernel-2.6.17.diff: + Small change to match the patch in lirc-cvs. + +*lirc-0.8.0-r4 (25 Jul 2006) + + 25 Jul 2006; Matthias Schwarzott + +files/lirc-0.8.0-kernel-2.6.18.diff, +files/modulesd.lirc, + +lirc-0.8.0-r4.ebuild: + Added patch for compatibility with kernel 2.6.18. Set compiled in default + device-node depending on activated driver (for e.g. usbirboy), removed older + hack for setting device-node. Without set driver use option userspace. Added + /etc/modules.d/lirc. + + 23 Jul 2006; Tobias Scherbaum + lirc-0.8.0-r1.ebuild, lirc-0.8.0-r3.ebuild: + 0.8.0-r1 ppc stable, 0.8.0-r3 added ~ppc, bug #138636 + + 12 Jul 2006; Aron Griffis lirc-0.8.0-r1.ebuild: + Mark 0.8.0-r1 stable on ia64 + + 06 Jul 2006; Markus Rothe lirc-0.8.0-r1.ebuild: + Stable on ppc64 + + 05 Jul 2006; Matthias Schwarzott lirc-0.8.0-r1.ebuild: + Marked stable on x86. + +*lirc-0.8.0-r3 (30 Jun 2006) + + 30 Jun 2006; Matthias Schwarzott + +files/lirc-udev-094.diff, lirc-0.8.0-r1.ebuild, -lirc-0.8.0-r2.ebuild, + +lirc-0.8.0-r3.ebuild: + Added patch to solve Bug #138532. Install udev-rules-file conditionally by + use-flag udev and not based on existance of sys-fs/udev. + + 30 Jun 2006; Matthias Schwarzott lirc-0.8.0.ebuild, + lirc-0.8.0-r1.ebuild, lirc-0.8.0-r2.ebuild: + Corrected missing function call in error-handling. + + 26 Jun 2006; Markus Rothe lirc-0.8.0-r2.ebuild: + Added ~ppc64; bug #138025 + + 26 Jun 2006; Simon Stelling lirc-0.8.0.ebuild: + stable on amd64 + +*lirc-0.8.0-r2 (26 Jun 2006) + + 26 Jun 2006; Matthias Schwarzott +lirc-0.8.0-r2.ebuild: + Added support for using external-driver-ebuild usbirboy. Degraded keywords + to only ~x86. + + 21 Jun 2006; Matthias Schwarzott + +files/lirc-0.8.0-kernel-2.6.17.diff, lirc-0.8.0.ebuild, + lirc-0.8.0-r1.ebuild: + Make it compile with Kernel 2.6.17, solving Bug #137409. + + 07 Jun 2006; Markus Rothe lirc-0.8.0-r1.ebuild: + Added ~ppc64; bug #131306 + +*lirc-0.8.0-r1 (05 Jun 2006) + + 05 Jun 2006; Matthias Schwarzott + +files/lirc-0.8.0-imon-pad2keys.patch, + +files/lirc-0.8.0pre4-xbox-remote.diff, +lirc-0.8.0-r1.ebuild: + Redesigned ebuild to use use-expanded variable LIRC_DEVICES instead of + LIRC_OPTS. Now uses /dev/lirc/0 per default as created by udev. Has proper + depends now (Bug #131306). Added support for xboxusb (Bug #135490). Added + imon_pad2keys driver. Removed ~ppc64 because of not keyworded + media-libs/libirman. + + 31 May 2006; Matthias Schwarzott lirc-0.8.0.ebuild: + Small corrections (sleep -> epause, added missing call to + linux-mod_pkg_preinst) + + 29 May 2006; Matthias Schwarzott lirc-0.8.0.ebuild: + DEPEND-Cosmetics. + + 21 May 2006; Markus Rothe lirc-0.8.0.ebuild: + Stable on ppc64 + + 03 May 2006; Matthias Schwarzott metadata.xml: + Set maintainer to myself + + 27 Apr 2006; Marien Zwart files/digest-lirc-0.7.2, + files/digest-lirc-0.8.0, Manifest: + Fixing SHA256 digest, pass four + + 16 Apr 2006; Michael Hanselmann lirc-0.8.0.ebuild: + Stable on ppc. + + 14 Apr 2006; Matthias Schwarzott lirc-0.8.0.ebuild: + Marked stable on x86 + + 14 Apr 2006; Matthias Schwarzott lirc-0.8.0.ebuild: + Moved WANT_AUTOCONF to pkg_setup - Thanks to Przemyslaw Maciag + for reporting - Bug #123727 + + 14 Apr 2006; Matthias Schwarzott + +files/lirc-0.8.0-kernel-2.6.16.diff, lirc-0.8.0.ebuild: + Added patch to compile against Kernel 2.6.16 - Thanks to Paul Marks + and Marc Rodarte - See Bug + #127122 + + 06 Mar 2006; Simon Stelling lirc-0.7.0-r1.ebuild: + somehow the files vanished from SRC_URI.. fixing that + + 20 Feb 2006; Gustavo Zacarias ChangeLog: + Fix lirc-0.8.0 digests + +*lirc-0.8.0 (20 Feb 2006) + + 20 Feb 2006; Heinrich Wendel + -files/lirc-0.6.6-gentoo.diff.bz2, -files/lirc-0.7.0-configure.in.patch, + -files/lirc-0.7.0_pre2-i2c.patch.gz, + -files/lirc-0.7.0_pre7-configure.patch, + -files/lirc-0.7.0_pre7-streamzap.patch.bz2, files/lircd.conf, + -lirc-0.8.0_pre1.ebuild, -lirc-0.8.0_pre3.ebuild, +lirc-0.8.0.ebuild: + version bump; cleanups; modular X port + +*lirc-0.8.0_pre3 (10 Jan 2006) + + 10 Jan 2006; Doug Goldstein +lirc-0.8.0_pre3.ebuild: + Reworked the ebuild a little bit and hopefully fixed the problems people are + having with it. + + 05 Jan 2006; Jeremy Huddleston + lirc-0.8.0_pre1.ebuild: + Fixed modular X dependency. + + 03 Jan 2006; Diego Pettenò lirc-0.8.0_pre1.ebuild: + Replace libtoolize with eautoreconf so that it does not break with + mis-versioning with portage sanity checks. + + 14 Dec 2005; Doug Goldstein lirc-0.7.2.ebuild: + Adding modular X depends + + 04 Dec 2005; Jeroen Roovers lirc-0.7.0-r1.ebuild: + Fixed sed script number two. + +*lirc-0.7.2 (23 Aug 2005) + + 23 Aug 2005; Heinrich Wendel lirc-0.7.1.ebuild, + +lirc-0.7.2.ebuild: + version bump; fix rules file + + 10 Jul 2005; Heinrich Wendel lirc-0.7.1.ebuild: + add udev rules file, bug #98171 + + 15 May 2005; Heinrich Wendel lirc-0.7.0-r1.ebuild, + lirc-0.7.1.ebuild: + add support for the X use flag, bug #91624 + + 14 May 2005; Heinrich Wendel lirc-0.7.0-r1.ebuild, + lirc-0.7.1.ebuild: + make xbox patch default in 0.7.0; uncomment it in 0.7.1, is doesn't work there + + 11 May 2005; Heinrich Wendel lirc-0.7.1.ebuild: + always apply the xbox patch, it still has to be enabled + +*lirc-0.7.1 (22 Apr 2005) + + 22 Apr 2005; Heinrich Wendel +lirc-0.7.1.ebuild: + version bump + + 13 Apr 2005; Heinrich Wendel -lirc-0.7.0_pre3.ebuild, + -lirc-0.7.0_pre6.ebuild, -lirc-0.7.0_pre7.ebuild, -lirc-0.7.0_pre8.ebuild, + -lirc-0.7.0.ebuild, lirc-0.7.0-r1.ebuild: + don't overwrite lircd.conf, bug #88199 + + 13 Apr 2005; Heinrich Wendel -lirc-0.7.0_pre3.ebuild, + -lirc-0.7.0_pre6.ebuild, -lirc-0.7.0_pre7.ebuild, -lirc-0.7.0_pre8.ebuild, + -lirc-0.7.0.ebuild, lirc-0.7.0-r1.ebuild: + cleanups + + 13 Apr 2005; Heinrich Wendel lirc-0.7.0-r1.ebuild: + fix bt878 compilation, bug #87505 + + 13 Apr 2005; Heinrich Wendel lirc-0.7.0-r1.ebuild: + update driver list; fix smp detection + + 31 Mar 2005; Aron Griffis lirc-0.7.0-r1.ebuild: + stable on ia64 + + 25 Mar 2005; Bryan Østergaard lirc-0.7.0-r1.ebuild: + Stable on alpha, bug 84888. + + 24 Mar 2005; Joseph Jezak lirc-0.7.0-r1.ebuild: + Marked ppc stable for bug #84888. + + 10 Mar 2005; Markus Rothe lirc-0.7.0-r1.ebuild: + Stable on ppc64 + + 26 Jan 2005; lanius@gentoo.org lirc-0.7.0-r1.ebuild: + filter some flags; stable on amd64 + + 20 Jan 2005; lanius@gentoo.org lirc-0.7.0-r1.ebuild: + stable on x86 + + 02 Jan 2005; Ciaran McCreesh : + Change encoding to UTF-8 for GLEP 31 compliance + + 25 Dec 2004; Doug Goldstein lirc-0.7.0-r1.ebuild: + compile fix, add libtoolize + + 09 Dec 2004; lanius@gentoo.org lirc-0.7.0-r1.ebuild: + fix dependencies; require autoconf 2.5 + +*lirc-0.7.0-r1 (03 Dec 2004) + + 03 Dec 2004; Chris Bainbridge + +files/lirc-0.7.0-xbox.patch.bz2, +lirc-0.7.0-r1.ebuild: + Added xbox driver. Only used when the xbox profile is selected. + Thanks to Tim Dodge for the patch. + +*lirc-0.7.0_pre8 (03 Dec 2004) + + 03 Dec 2004; Chris Bainbridge +lirc-0.7.0_pre8.ebuild: + Version bump, pre8 doesnt appear to need the patches that were applied to pre7 + + 30 Nov 2004; Brian Jackson metadata.xml, + lirc-0.7.0.ebuild: + update lirc-0.7.0 to use linux-mod, added lanius as maintainer + + 29 Nov 2004; lanius@gentoo.org files/lircd.conf: + fix default path of lirc device, bug #71618 + + 29 Nov 2004; lirc-0.7.0.ebuild: + remove bogus configure.in patch + + 22 Nov 2004; Daniel Black lirc-0.7.0.ebuild: + added debug support as per bug #71989. Thanks to Colin Macdonald + + 17 Nov 2004; Gustavo Zacarias lirc-0.7.0_pre7.ebuild: + Keyworded sparc + +*lirc-0.7.0 (17 Nov 2004) + + 17 Nov 2004; +files/lirc-0.7.0-configure.in.patch, + +files/lirc-0.7.0-streamzap.patch.bz2, -lirc-0.6.6-r1.ebuild, + +lirc-0.7.0.ebuild, -lirc-0.7.0_pre4.ebuild: + - version bump, bug #68613 + - move to kernel-mod eclass, bug #67431 + - fix undefined AC_MACROS, bug #67433 + + 19 Oct 2004; Dylan Carlson lirc-0.7.0_pre7.ebuild: + Stable on amd64. + + 05 Oct 2004; Pieter Van den Abeele + lirc-0.6.6-r1.ebuild, lirc-0.7.0_pre4.ebuild, lirc-0.7.0_pre7.ebuild: + Masked lirc-0.7.0_pre7.ebuild stable for ppc + + 05 Oct 2004; Pieter Van den Abeele + lirc-0.6.6-r1.ebuild, lirc-0.7.0_pre4.ebuild: + Masked lirc-0.7.0_pre4.ebuild stable for ppc + + 05 Oct 2004; Pieter Van den Abeele + lirc-0.6.6-r1.ebuild: + Masked lirc-0.6.6-r1.ebuild stable for ppc + + 02 Oct 2004; Bryan Østergaard lirc-0.7.0_pre7.ebuild: + Stable on alpha. + + 28 Sep 2004; Sven Wegener files/lircmd: + Gentoo Technologies, Inc. -> Gentoo Foundation + + 26 Sep 2004; Heinrich Wendel files/lircd: + remove need net from init script + + 26 Sep 2004; Heinrich Wendel lirc-0.7.0_pre7-r1.ebuild: + make streamzap driver depend on a use flag, because it can break other things, + bug #64557 + + 25 Sep 2004; Heinrich Wendel + +files/lirc-0.7.0_pre7-configure.patch, lirc-0.7.0_pre7-r1.ebuild, + lirc-0.7.0_pre7.ebuild: + fix typo in configure that leads to a compile error, bug #64356 + +*lirc-0.7.0_pre7-r1 (16 Sep 2004) + + 16 Sep 2004; Heinrich Wendel + +files/lirc-0.7.0_pre7-streamzap.patch.bz2, +lirc-0.7.0_pre7-r1.ebuild: + add streamcap pc remote support, bug #60110, mark pre7 x86 + + 08 Sep 2004; Heinrich Wendel lirc-0.7.0_pre7.ebuild: + fix pid file, bug #62838 + + 03 Aug 2004; Michael Sterrett lirc-0.7.0_pre7.ebuild: + fix use invocation + + 03 Aug 2004; Heinrich Wendel lirc-0.7.0_pre7.ebuild: + don't use kmod if no modules are build, bug #59250 + + 03 Aug 2004; Heinrich Wendel lirc-0.7.0_pre7.ebuild: + check if is_koutput, bug #59159 + + 02 Aug 2004; Heinrich Wendel lirc-0.7.0_pre7.ebuild: + add lircmd init script, bug #17167 + +*lirc-0.7.0_pre7 (02 Aug 2004) + + 02 Aug 2004; Heinrich Wendel lirc-0.7.0_pre7.ebuild: + version bump, make it work with 2.6 kernels, install graphics + + 28 Jul 2004; Tom Gall lirc-0.7.0_pre6.ebuild: + stable on ppc64, bug #55076 + + 03 Jul 2004; Bryan Østergaard lirc-0.7.0_pre4.ebuild: + Stable on alpha. + +*lirc-0.7.0_pre6 (30 Jun 2004) + + 30 Jun 2004; Chris Bainbridge +lirc-0.7.0_pre6.ebuild: + Version bump, fix ARCH and xbox config support + + 26 Jun 2004; Danny van Dyk lirc-0.7.0_pre4.ebuild: + Marked stable on amd64. + + 07 Jun 2004; Daniel Black +metadata.xml, + lirc-0.6.6-r1.ebuild, lirc-0.7.0_pre3.ebuild, lirc-0.7.0_pre4.ebuild: + x86 stable.QA fixes. Use LIRC_OPTS to set options. + + 24 May 2004; Heinrich Wendel lirc-0.6.6-r1.ebuild, + lirc-0.7.0_pre2.ebuild, lirc-0.7.0_pre3.ebuild, lirc-0.7.0_pre4.ebuild: + fix GREP in global scope, bug #48382 + + 22 Apr 2004; Danny van Dyk lirc-0.7.0_pre4.ebuild: + marked ~amd64. Someone forgot to mark ~amd64 on a version bump. + +*lirc-0.7.0_pre4 (09 Apr 2004) + + 09 Apr 2004; Heinrich Wendel lirc-0.7.0_pre4.ebuild: + version bump, enable syslog logging, bug #47311 + + 14 Mar 2004; Heinrich Wendel lirc-0.7.0_pre3.ebuild: + fix url to kernel 2.6 patch, remove irda warning, it's obsolete, bug #44395 + +*lirc-0.7.0_pre3 (08 Mar 2004) + + 08 Mar 2004; Heinrich Wendel lirc-0.7.0_pre3.ebuild: + version bump + + 24 Feb 2004; Heinrich Wendel lirc-0.7.0_pre2.ebuild: + stable on x86 + + 17 Feb 2004; Aron Griffis lirc-0.7.0_pre2.ebuild: + stable on alpha and ia64 + + 05 Feb 2004; Heinrich Wendel lirc-0.7.0_pre2.ebuild, + files/lircd.conf: + added /etc/conf.d/lircd + + 19 Jan 2004; Heinrich Wendel lirc-0.7.0_pre2.ebuild, + files/lirc-0.7.0_pre2-i2c.patch.gz: + added patch to compile with i2c 2.8 + + 17 Jan 2004; Bartosch Pixa lirc-0.7.0_pre2.ebuild: + set ppc in keywords + + 14 Jan 2004; Brian Jackson lirc-0.6.6-r1.ebuild, + lirc-0.7.0_pre2.ebuild, files/lircd: + updated dates in ebuilds, added ${LIRCD_OPTS} to the start cmd line to + pass extra options to the daemon + + 29 Dec 2003; Sven Blumenstein lirc-0.6.6-r1.ebuild: + Marked sparc to fix gxine depend. + + 29 Dec 2003; Heinrich Wendel lirc-0.7.0_pre2.ebuild: + finally fix kernel 2.6 support + + 29 Nov 2003; Heinrich Wendel lirc-0.7.0_pre2.ebuild: + fixed typo in LIRC_OPTS + + 26 Nov 2003; Heinrich Wendel lirc-0.7.0_pre2.ebuild: + added check for 2.6 kernel which removes all drivers from build + + 25 Nov 2003; Heinrich Wendel lirc-0.7.0_pre2.ebuild: + added warning about 2.6 kernel + + 16 Nov 2003; Brad House lirc-0.6.6-r1.ebuild: + mark stable on amd64 + + 23 Oct 2003; Martin Holzer lirc-0.7.0_pre2.ebuild: + added warning about irda and kernel. Closes #30847. + + 13 Oct 2003; Martin Holzer : + fixing sandbox issue. closes #30982 + +*lirc-0.7.0_pre2 (11 Oct 2003) + + 11 Oct 2003; Heinrich Wendel lirc-0.6.5.ebuild, + lirc-0.7.0_pre2.ebuild, files/lirc-0.6.5-gentoo.diff.bz2: + cleanups + +*lirc-0.7.0_pre2 (11 Oct 2003) + + 11 Oct 2003; Heinrich Wendel lirc-0.7.0_pre2.ebuild: + version bump + +*lirc-0.6.6-r2 (09 Sep 2003) + + 09 Sep 2003; Martin Holzer lirc-0.6.6-r2.ebuild, + files/lirc-0.6.6-r2-gentoo.diff.bz2: + Adding 2003-08-01 patch from rivatv.sf.net for asus support + +*lirc-0.6.6-r1 (27 Feb 2003) + + 27 Feb 2003; Mark Guertin lirc-0.6.6-r1.ebuild : + set ~ppc in keywords + +*lirc-0.6.6 (04 Feb 2003) + + 04 Feb 2003; Nick Hadaway lirc-0.6.6.ebuild, + files/digest-lirc-0.6.6, files/lirc-0.6.6-gentoo.diff.bz2 : + Migrated previous patch's mknod and depmod related fixes. Added to the + patch removing references to a seemingly missing hw_udp.c. Added + an SMP workaround started on bug #13241. Version bump. + +*lirc-0.6.5 (11 Jul 2002) + + 09 JuL 2002; Georg Sauthoff lirc-0.6.5.ebuild, files/lircd, + files/lirc-0.6.5-gentoo.diff: Initial ebuild. diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest new file mode 100644 index 00000000..2098b445 --- /dev/null +++ b/app-misc/lirc/Manifest @@ -0,0 +1,16 @@ +AUX irexec-confd 280 RMD160 f669c7c98b9d7cac2010284ab6068d29d47ec811 SHA1 c6decc19a273d98d451de137a2ffbe16d5df28ae SHA256 c404ad3b624004cab25bd3a89593cdeb0abbc25771d6e52caf2f37cb4f7b2b79 +AUX irexec-initd 808 RMD160 06b02232f892ab032e2bf8b35bb2945a623a2610 SHA1 5c5630e5434c2430b9a74b725fc5350e29adaede SHA256 9325419aa45d80c205bc1cd47fe839b178da74bca5dd928cbe3ae17423b92493 +AUX lirc-0.8.3_pre1-remotewonderplus.patch 943 RMD160 05a0696d51ff01c7d9644ad3ff4d56fef20be439 SHA1 971ad8b27d57c31439a1f7fb87dac2dc39d6c1e8 SHA256 547efbfa30f282ba9100495044e3b720c8f74c44f9a4e34db934d2ac7976fe29 +AUX lirc-0.8.4-imon-pad2keys.patch 11556 RMD160 89a050f7099593000a40b15c46de6137f3b10dfa SHA1 019b1aa3d72df9e4b28796c173fb4fa1fc3e457d SHA256 347c6195d971f8d1a3f4c29a1ff4750d04cea297d16679aeda7529ac1720d42e +AUX lirc-0.8.4-portaudio_check.patch 769 RMD160 d83b1a167da5b0c4e09ef716a4fc80f7261f7665 SHA1 81537dc12f897756d24fcf2cf4d178dc8169e360 SHA256 01e2034aaa6a7eb039e5c0e6c3b4a6ed38860614d3d0b0005d99a4aac2b3827e +AUX lircd 450 RMD160 73cf3057f420632e90e80eeb30e79cdbb3390b5d SHA1 e43d500a672bf89b7dc5e6bdedc9ed8e90dac3b3 SHA256 a9d6d2cc0abd0efe3267c1477fac012378e63e26aa021cfce7a0e25b27f196df +AUX lircd-0.8.3 581 RMD160 162a54bb19df7b97aa982355a6d009ddc82580eb SHA1 c0f7a0a65169d02bdc7003d574d8610694241a5d SHA256 9ba3c5a8c0ca5966729dc5e2c7a5960bbf12b443d91e9e319a0277f153df1b1f +AUX lircd.conf.2 314 RMD160 895fd43ce98f478e6ef8d3375c2be86f7b22f0dd SHA1 4edb23d7f14c8d92bc19d59734f8f3ebe9f30e75 SHA256 bf62f0985e97b4bd8828d609bb0daa543b7c158f457d597712752d50e2265adb +AUX lircmd 466 RMD160 32f2b2411afc60522944f5c3dff9f53aac242a9c SHA1 79939de790d20704009643bd810e3186090d0e36 SHA256 d47f22a33a83c14a4a0c333d6a445c40e550c491899fb0c6d323e23fe1eac7b7 +AUX modprobed.lirc 549 RMD160 89edfd587932959df9e521d146cef7c67cf97b18 SHA1 f59d8f031859eb6b6dccd1faf15d7ed2251288b1 SHA256 b4951252321ea326d3ec401e5ff1112716c5aaf5b2ca94d9f5e187e22ad35c44 +AUX modulesd.lirc 482 RMD160 0c7ec9881b337529acaf15eb4bf7a66a8623fc6c SHA1 8415e466cad31278496bafa817ccabbb72c56ce4 SHA256 3906b61951e1245cb3c9b16e81255a735f7bcdbbfcbedcdf44cd53236e2a3f28 +AUX xbox-lircd.conf 784 RMD160 844b08d504f5afb996f900d3d225cc855fbf4884 SHA1 65c3b9c295bc8ab8f80077dd3a40b599d1a60ce3 SHA256 03979bd658ed4a5705c358a1278b1565dd10463ab6eb14fa8d25b3d98e645008 +DIST lirc-0.8.5pre2.tar.bz2 717971 RMD160 fda4560607876ae9c362077bf97239883ddfc9fa SHA1 886a835199b8e3307f7833543a65dd3eeaf165b0 SHA256 3dcf1b55dae9ced2b722ccfb2d46c96c529ef92b74ef3160ed252b7d5a4b54c6 +EBUILD lirc-0.8.5_pre2.ebuild 9015 RMD160 de8c7f03157abe0eb985e1d32c610eb4f1fa21ce SHA1 4a176ac570c73a1afd4e02b14f1c948d975f1df0 SHA256 d3f8878096779490836e0f2577e63828f37312edacc6e3176a3f2a2ccb863810 +MISC ChangeLog 31952 RMD160 180d0fa68781e5e49ece98cb267c8079b2e75cbc SHA1 8c067fb2def678ef07ad258bf18c3c36bdcedc79 SHA256 faeea8f15fd7892a976cfbed3ec358e6c107f96021202de470e3f0528c2d7d81 +MISC metadata.xml 376 RMD160 7b854dad1999c38592eabe928aab80615ba1f1e5 SHA1 17dc9c9591c77aa4ec2d98b9bc1f34ff68da31ad SHA256 e3b4637a67a93eb4b9457fa5941e8a6a891adca11a1ebc80c21a59650eac93aa diff --git a/app-misc/lirc/files/irexec-confd b/app-misc/lirc/files/irexec-confd new file mode 100644 index 00000000..48eb8dd4 --- /dev/null +++ b/app-misc/lirc/files/irexec-confd @@ -0,0 +1,9 @@ +# Options to pass to the irexec process +IREXEC_OPTS="/etc/lircrc" + +# User to execute irexec as. +# Warning: Running irexec as root can open security holes +#IREXEC_USER="root" + +# Use this to disable the warning printed when starting irexec as root +# IREXEC_DISABLE_ROOT_WARNING=yes diff --git a/app-misc/lirc/files/irexec-initd b/app-misc/lirc/files/irexec-initd new file mode 100755 index 00000000..e1defeea --- /dev/null +++ b/app-misc/lirc/files/irexec-initd @@ -0,0 +1,28 @@ +#!/sbin/runscript +# Copyright 2003 Martin Hierling +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/irexec-initd,v 1.3 2007/05/24 20:12:16 zzam Exp $ + +: ${IREXEC_USER:=root} + +depend() { + need lircd +} + +start() { + if [ "x${IREXEC_USER}" = "xroot" -a "x${IREXEC_DISABLE_ROOT_WARNING}" != "xyes" ]; then + ewarn "Warning: Running irexec as root can open security holes" + fi + + ebegin "Starting irexec" + start-stop-daemon --start --chuid ${IREXEC_USER} --user ${IREXEC_USER} --chdir / \ + --exec /usr/bin/irexec -- --daemon ${IREXEC_OPTS} + eend $? "Failed to start irexec." +} + +stop() { + ebegin "Stopping irexec" + start-stop-daemon --stop --exec /usr/bin/irexec --user ${IREXEC_USER} + eend $? "Failed to stop irexec." +} + diff --git a/app-misc/lirc/files/lirc-0.8.3_pre1-remotewonderplus.patch b/app-misc/lirc/files/lirc-0.8.3_pre1-remotewonderplus.patch new file mode 100644 index 00000000..66527bcc --- /dev/null +++ b/app-misc/lirc/files/lirc-0.8.3_pre1-remotewonderplus.patch @@ -0,0 +1,26 @@ +--- lirc-0.8.0/drivers/lirc_atiusb/lirc_atiusb.c.orig 2005-10-29 08:18:53.000000000 -0600 ++++ lirc-0.8.0/drivers/lirc_atiusb/lirc_atiusb.c 2006-04-01 14:31:05.000000000 -0700 +@@ -147,8 +147,9 @@ + /* init strings */ + #define USB_OUTLEN 7 + +-static char init1[] = {0x01, 0x00, 0x20, 0x14}; +-static char init2[] = {0x01, 0x00, 0x20, 0x14, 0x20, 0x20, 0x20}; ++static char init1[] = {0x80, 0x05, 0x1b, 0x15, 0x14, 0x20, 0x24, 0x15}; ++static char init2[] = {0x83, 0x03}; ++static char init3[] = {0x84, 0xd7, 0x020}; + + struct in_endpt { + /* inner link in list of endpoints for the remote specified by ir */ +@@ -1034,8 +1034,9 @@ + usb_sndintpipe(ir->usbdev, oep->ep->bEndpointAddress), oep->buf, + USB_OUTLEN, usb_remote_send, oep, oep->ep->bInterval); + +- send_packet(oep, 0x8004, init1); +- send_packet(oep, 0x8007, init2); ++ send_packet(oep, 0x8007, init1); ++ send_packet(oep, 0x8002, init2); ++ send_packet(oep, 0x8003, init3); + } + } + diff --git a/app-misc/lirc/files/lirc-0.8.4-imon-pad2keys.patch b/app-misc/lirc/files/lirc-0.8.4-imon-pad2keys.patch new file mode 100644 index 00000000..578489db --- /dev/null +++ b/app-misc/lirc/files/lirc-0.8.4-imon-pad2keys.patch @@ -0,0 +1,291 @@ +diff -ruN lirc-0.8.3pre3-orig/drivers/lirc_imon/lirc_imon.c lirc-0.8.3pre3/drivers/lirc_imon/lirc_imon.c +--- lirc-0.8.3pre3-orig/drivers/lirc_imon/lirc_imon.c 2008-04-28 22:15:54.281654857 +0200 ++++ lirc-0.8.3pre3/drivers/lirc_imon/lirc_imon.c 2008-04-28 22:16:51.381649620 +0200 +@@ -73,9 +73,9 @@ + + + #define MOD_AUTHOR "Venky Raju " +-#define MOD_DESC "Driver for Soundgraph iMON MultiMedia IR/VFD" ++#define MOD_DESC "Driver for Soundgraph iMON MultiMedia IR/VFD w/imon pad2keys patch" + #define MOD_NAME "lirc_imon" +-#define MOD_VERSION "0.3" ++#define MOD_VERSION "0.3p2k" + + #define VFD_MINOR_BASE 144 /* Same as LCD */ + #define DEVFS_MODE (S_IFCHR | S_IRUSR | S_IWUSR | \ +@@ -91,6 +91,7 @@ + #define TRUE 1 + #define FALSE 0 + ++#define CURSOR_LIMIT 16 + + /* ------------------------------------------------------------ + * P R O T O T Y P E S +@@ -177,6 +178,10 @@ + atomic_t busy; /* write in progress */ + int status; /* status of tx completion */ + } tx; ++ ++ int key_x; ++ int key_y; ++ int last_count; /* number of times pressed */ + }; + + #define LOCK_CONTEXT down(&context->sem) +@@ -248,6 +253,9 @@ + static int is_lcd; /* If LIRC_IMON_LCD not defined, default to non-LCD */ + #endif + ++/* pad2keys module parameter. pad2keys patch active? */ ++static int pad2keys_active = 0; ++ + #if !defined(KERNEL_2_5) + + #define MAX_DEVICES 4 /* In case there's more than one iMON device */ +@@ -271,6 +279,7 @@ + + MODULE_AUTHOR(MOD_AUTHOR); + MODULE_DESCRIPTION(MOD_DESC); ++MODULE_VERSION(MOD_VERSION); /* MBr: was missing */ + MODULE_LICENSE("GPL"); + MODULE_DEVICE_TABLE(usb, imon_usb_id_table); + +@@ -287,6 +296,9 @@ + "1=yes (default:no)"); + #endif + ++module_param (pad2keys_active, int, 0); ++MODULE_PARM_DESC (pad2keys_active, "pad2keys patch active: 0=no, 1=yes (default: no)"); ++ + static inline void delete_context(struct imon_context *context) + { + if (context->vfd_supported) +@@ -766,6 +778,11 @@ + context->rx.initial_space = 1; + context->rx.prev_bit = 0; + ++ /* init pad context for pad2keys */ ++ context ->key_x = 0; ++ context ->key_y = 0; ++ context ->last_count = 0; ++ + usb_fill_int_urb(context->rx_urb, context->dev, + usb_rcvintpipe(context->dev, + context->rx_endpoint->bEndpointAddress), +@@ -915,6 +932,94 @@ + + if (context->ir_onboard_decode) { + /* The signals have been decoded onboard the iMON controller */ ++ ++ if (pad2keys_active) ++ { ++ /* imon pad2keys patch ++ * ++ * make PAD and mouse buttons available for use with VDR, ++ * based on pad-mouse-emu patch from venky's forum ++ * ++ * last change: M.Brakemeier 2007-10-14 ++ * ++ * generated PAD key codes: ++ * Mouse_N 0x690281B7 ++ * Mouse_S 0x688291B7 ++ * Mouse_W 0x6A8281B7 ++ * Mouse_E 0x688A81B7 ++ * ++ * mouse buttons (non-synthetic): ++ * MouseRightClick 0x688481B7 ++ * MouseLeftClick 0x688301B7 ++ */ ++ if((buf[0] & 0x40) && ++ !(buf[1] & 0x01 || buf[1] >> 2 & 0x01)) ++ { ++ int rel_x = (buf[1] & 0x08) | (buf[1] & 0x10) >> 2 | (buf[1] & 0x20) >> 4 | (buf[1] & 0x40) >> 6; ++ int rel_y = (buf[2] & 0x08) | (buf[2] & 0x10) >> 2 | (buf[2] & 0x20) >> 4 | (buf[2] & 0x40) >> 6; ++ ++ if(buf[0] & 0x02) ++ rel_x |= ~0x10+1; ++ if(buf[0] & 0x01) ++ rel_y |= ~0x10+1; ++ ++ /* keyboard direction key emulation */ ++ if( context->last_count > 32 ) ++ { /* Hopefully eliminate drift*/ ++ context->last_count=0; ++ context->key_y=0; ++ context->key_x=0; ++ } ++ context->last_count++; ++ ++ /* limit decoded events */ ++ if(abs(context->key_x) > CURSOR_LIMIT || abs(context->key_y) > CURSOR_LIMIT ) ++ { ++ if(abs(context->key_y ) > abs(context->key_x)) ++ { /* mouse s/n */ ++ if(context->key_y > 0 && rel_y > 0) ++ { /* mouse s */ ++ buf[0] = 0x68; ++ buf[1] = 0x82; ++ buf[2] = 0x91; ++ } ++ else if(context->key_y < 0 && rel_y < 0) ++ { /* mouse n */ ++ buf[0] = 0x69; ++ buf[1] = 0x02; ++ buf[2] = 0x81; ++ } ++ } ++ else ++ { /* mouse e/w*/ ++ if(context->key_x > 0 && rel_x > 0 ) ++ { /* mouse e */ ++ buf[0] = 0x68; ++ buf[1] = 0x8A; ++ buf[2] = 0x81; ++ } ++ else if(context->key_x < 0 && rel_x < 0 ) ++ { /* mouse w */ ++ buf[0] = 0x6A; ++ buf[1] = 0x82; ++ buf[2] = 0x81; ++ } ++ } ++ } ++ else ++ { ++ context->key_x += rel_x; ++ context->key_y += rel_y; ++ ++ return; /* discard those key codes */ ++ } ++ } ++ /* a key was pressed, reset count */ ++ context->key_x = 0; ++ context->key_y = 0; ++ context->last_count = 0; ++ } ++ + lirc_buffer_write_1(context->plugin->rbuf, buf); + wake_up(&context->plugin->rbuf->wait_poll); + return; +diff -ruN lirc-0.8.3pre3-orig/drivers/lirc_imon/lirc_imon.c.rej lirc-0.8.3pre3/drivers/lirc_imon/lirc_imon.c.rej +--- lirc-0.8.3pre3-orig/drivers/lirc_imon/lirc_imon.c.rej 1970-01-01 01:00:00.000000000 +0100 ++++ lirc-0.8.3pre3/drivers/lirc_imon/lirc_imon.c.rej 2008-04-28 22:16:02.941653915 +0200 +@@ -0,0 +1,26 @@ ++*************** ++*** 271,280 **** ++ ++ MODULE_AUTHOR(MOD_AUTHOR); ++ MODULE_DESCRIPTION(MOD_DESC); ++ MODULE_LICENSE("GPL"); ++ MODULE_DEVICE_TABLE(usb, imon_usb_id_table); ++ module_param(debug, int, 0); ++ MODULE_PARM_DESC(debug, "Debug messages: 0=no, 1=yes(default: no)"); ++ ++ static inline void delete_context(struct imon_context *context) ++ { ++--- 279,291 ---- ++ ++ MODULE_AUTHOR(MOD_AUTHOR); ++ MODULE_DESCRIPTION(MOD_DESC); +++ MODULE_VERSION(MOD_VERSION); /* MBr: was missing */ ++ MODULE_LICENSE("GPL"); ++ MODULE_DEVICE_TABLE(usb, imon_usb_id_table); ++ module_param(debug, int, 0); ++ MODULE_PARM_DESC(debug, "Debug messages: 0=no, 1=yes(default: no)"); +++ module_param (pad2keys_active, int, 0); +++ MODULE_PARM_DESC (pad2keys_active, "pad2keys patch active: 0=no, 1=yes (default: no)"); ++ ++ static inline void delete_context(struct imon_context *context) ++ { +diff -ruN lirc-0.8.3pre3-orig/remotes/imon/lircd.conf.imon-pad2keys lirc-0.8.3pre3/remotes/imon/lircd.conf.imon-pad2keys +--- lirc-0.8.3pre3-orig/remotes/imon/lircd.conf.imon-pad2keys 1970-01-01 01:00:00.000000000 +0100 ++++ lirc-0.8.3pre3/remotes/imon/lircd.conf.imon-pad2keys 2008-04-28 22:16:02.941653915 +0200 +@@ -0,0 +1,88 @@ ++# Please make this file available to others ++# by sending it to ++# ++# this config file was generated ++# using lirc-0.8.3pre1 (imon w/pad2keys patch) ++# ++# contributed by M.Brakemeier ++# ++# brand: SoundGraph ++# model no. of remote control: iMON-PAD ++# devices being controlled by this remote: ++# ++ ++begin remote ++ ++ name iMON-PAD ++ bits 32 ++ eps 30 ++ aeps 100 ++ ++ one 0 0 ++ zero 0 0 ++ gap 235965 ++ min_repeat 1 ++ toggle_bit 0 ++ ++ begin codes ++ AppExit 0x288195B7 ++ Power 0x289115B7 ++ Record 0x298115B7 ++ Play 0x2A8115B7 ++ Open 0x29B1D5B7 ++ Rewind 0x2A8195B7 ++ Pause 0x2A9115B7 ++ FastForward 0x2B8115B7 ++ PrevChapter 0x2B9115B7 ++ Stop 0x2B9715B7 ++ NextChapter 0x298195B7 ++ Esc 0x2BB715B7 ++ Eject 0x299395B7 ++ AppLauncher 0x29B715B7 ++ MultiMon 0x2AB195B7 ++ TaskSwitcher 0x2A9395B7 ++ Mute 0x2B9595B7 ++ Vol+ 0x28A395B7 ++ Vol- 0x28A595B7 ++ Ch+ 0x289395B7 ++ Ch- 0x288795B7 ++ Timer 0x2B8395B7 ++ 1 0x28B595B7 ++ 2 0x2BB195B7 ++ 3 0x28B195B7 ++ 4 0x2A8595B7 ++ 5 0x299595B7 ++ 6 0x2AA595B7 ++ 7 0x2B9395B7 ++ 8 0x2A8515B7 ++ 9 0x2AA115B7 ++ 0 0x2BA595B7 ++ ShiftTab 0x28B515B7 ++ Tab 0x29A115B7 ++ Red 0x2B8515B7 # MyMovie ++ Green 0x299195B7 # MyMusic ++ Blue 0x2BA115B7 # MyPhoto ++ Yellow 0x28A515B7 # MyTV ++ Bookmark 0x288515B7 ++ Thumbnail 0x2AB715B7 ++ AspectRatio 0x29A595B7 ++ FullScreen 0x2AA395B7 ++ Purple 0x29A395B7 # MyDVD ++ Menu 0x2BA395B7 ++ Caption 0x298595B7 ++ Language 0x2B8595B7 ++ MouseKeyboard 0x299115B7 ++ SelectSpace 0x2A9315B7 ++ MouseMenu 0x28B715B7 ++ MouseRightClick 0x688481B7 ++ Enter 0x28A195B7 ++ MouseLeftClick 0x688301B7 ++ WindowsKey 0x2B8195B7 ++ Backspace 0x28A115B7 ++ Mouse_N 0x690281B7 ++ Mouse_S 0x688291B7 ++ Mouse_W 0x6A8281B7 ++ Mouse_E 0x688A81B7 ++ end codes ++ ++end remote diff --git a/app-misc/lirc/files/lirc-0.8.4-portaudio_check.patch b/app-misc/lirc/files/lirc-0.8.4-portaudio_check.patch new file mode 100644 index 00000000..36f5f360 --- /dev/null +++ b/app-misc/lirc/files/lirc-0.8.4-portaudio_check.patch @@ -0,0 +1,18 @@ +Portaudio is only needed for LIRC_DEVICES=audio, so not checking for Portaudio when the device is disabled will prevent automagic dependencies. +--- configure.ac.orig 2009-03-13 10:02:50.000000000 +0100 ++++ configure.ac 2009-03-13 10:04:00.000000000 +0100 +@@ -336,14 +336,6 @@ + AC_DEFINE(HAVE_LIBIRMAN_SW) + possible_drivers="${possible_drivers} (irman_sw)" + ) +-dnl audio driver requires PortAudio library installed and some linker flags +-AC_CHECK_HEADERS(portaudio.h,[ +- AC_CHECK_LIB(portaudio, Pa_Initialize,[ +- AC_DEFINE(HAVE_LIBPORTAUDIO) +- possible_drivers="${possible_drivers} (audio)" +- ],,${portaudio_lib_other} +- )] +-) + dnl audio_alsa driver requires ALSA library installed and some linker flags + have_alsa=no + AC_CHECK_HEADERS(alsa/asoundlib.h,[ diff --git a/app-misc/lirc/files/lircd b/app-misc/lirc/files/lircd new file mode 100755 index 00000000..370b61ab --- /dev/null +++ b/app-misc/lirc/files/lircd @@ -0,0 +1,16 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/lircd,v 1.6 2004/09/26 21:27:07 lanius Exp $ + +start() { + ebegin "Starting lircd" + start-stop-daemon --start --quiet --exec /usr/sbin/lircd -- ${LIRCD_OPTS} + eend $? +} + +stop() { + ebegin "Stopping lircd" + start-stop-daemon --stop --quiet --exec /usr/sbin/lircd + eend $? +} diff --git a/app-misc/lirc/files/lircd-0.8.3 b/app-misc/lirc/files/lircd-0.8.3 new file mode 100644 index 00000000..8cd7a0a7 --- /dev/null +++ b/app-misc/lirc/files/lircd-0.8.3 @@ -0,0 +1,23 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/lircd-0.8.3,v 1.1 2008/05/05 09:53:19 zzam Exp $ + +PIDFILE=/var/run/${SVCNAME}.pid + +depend() { + provide lirc +} + +start() { + ebegin "Starting lircd" + start-stop-daemon --start --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/lircd -- \ + -P "${PIDFILE}" ${LIRCD_OPTS} + eend $? +} + +stop() { + ebegin "Stopping lircd" + start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/lircd + eend $? +} diff --git a/app-misc/lirc/files/lircd.conf.2 b/app-misc/lirc/files/lircd.conf.2 new file mode 100644 index 00000000..191db37c --- /dev/null +++ b/app-misc/lirc/files/lircd.conf.2 @@ -0,0 +1,10 @@ +# Options to pass to the lircd process + +# for devices with lirc-kernel-module +#LIRCD_OPTS="-d /dev/lirc0" +#LIRCD_OPTS="-d /dev/lirc" + +# for devices using the input-layer +#LIRCD_OPTS="-H devinput -d /dev/input/by-path/pci-0000:00:0a.0--event-ir" +# This should work, Bug #235107 +#LIRCD_OPTS="-H devinput name=*DVB*" diff --git a/app-misc/lirc/files/lircmd b/app-misc/lirc/files/lircmd new file mode 100755 index 00000000..d3837781 --- /dev/null +++ b/app-misc/lirc/files/lircmd @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/lircmd,v 1.2 2004/09/28 00:22:15 swegener Exp $ + +depend() { + need lircd +} + +start() { + ebegin "Starting lircmd" + start-stop-daemon --start --quiet --exec /usr/sbin/lircmd + eend $? +} + +stop() { + ebegin "Stopping lircmd" + start-stop-daemon --stop --quiet --exec /usr/sbin/lircmd + eend $? +} diff --git a/app-misc/lirc/files/modprobed.lirc b/app-misc/lirc/files/modprobed.lirc new file mode 100644 index 00000000..2ed95589 --- /dev/null +++ b/app-misc/lirc/files/modprobed.lirc @@ -0,0 +1,22 @@ +# +# For first serial receivers: +# +#options lirc_serial irq=4 io=0x3f8 +#options lirc_sir irq=4 io=0x3f8 + +# +# Detach first serial port from serial-driver. +# Use this when you have your serial-port-driver statically +# compiled into your kernel, or as a module but loaded before +# the lirc-module. +# +#install lirc_serial setserial /dev/ttyS0 uart none; modprobe --ignore-install lirc_serial +# +#install lirc_sir setserial /dev/ttyS0 uart none; modprobe --ignore-install lirc_sir + + +# +# For parallel receivers: +# +#options lirc_parallel irq=7 io=0x3bc + diff --git a/app-misc/lirc/files/modulesd.lirc b/app-misc/lirc/files/modulesd.lirc new file mode 100644 index 00000000..d1838c53 --- /dev/null +++ b/app-misc/lirc/files/modulesd.lirc @@ -0,0 +1,22 @@ +# +# For first serial receivers: +# +#options lirc_serial irq=4 io=0x3f8 +#options lirc_sir irq=4 io=0x3f8 + +# +# Detach first serial port from serial-driver. +# Use this when you have your serial-port-driver statically +# compiled into your kernel, or as a module but loaded before +# the lirc-module. +# +#pre-install lirc_serial setserial /dev/ttyS0 uart none +# +#pre-install lirc_sir setserial /dev/ttyS0 uart none + + +# +# For parallel receivers: +# +#options lirc_parallel irq=7 io=0x3bc + diff --git a/app-misc/lirc/files/xbox-lircd.conf b/app-misc/lirc/files/xbox-lircd.conf new file mode 100755 index 00000000..d16e9931 --- /dev/null +++ b/app-misc/lirc/files/xbox-lircd.conf @@ -0,0 +1,55 @@ +# +# LIRCD configuration file for Xbox DVD Kit +# +# Marko Friedemann +# +# +# brand: Microsoft +# model: Xbox DVD Remote +# supported devices: Xbox DVD Remote via xpad-ir driver +# +# comment: EXPERIMENTAL +# + +begin remote + + name XboxDVDDongle + bits 8 + + begin codes + + SELECT 0x0b + UP 0xa6 + DOWN 0xa7 + RIGHT 0xa8 + LEFT 0xa9 + INFO 0xc3 + + 9 0xc6 + 8 0xc7 + 7 0xc8 + 6 0xc9 + 5 0xca + 4 0xcb + 3 0xcc + 2 0xcd + 1 0xce + 0 0xcf + + DISPLAY 0xd5 + BACK 0xd8 + SKIP+ 0xdd + SKIP- 0xdf + STOP 0xe0 + REVERSE 0xe2 + FORWARD 0xe3 + TITLE 0xe5 + PAUSE 0xe6 + PLAY 0xea + MENU 0xf7 + + end codes + +end remote + + diff --git a/app-misc/lirc/lirc-0.8.5_pre2.ebuild b/app-misc/lirc/lirc-0.8.5_pre2.ebuild new file mode 100644 index 00000000..2bd8e771 --- /dev/null +++ b/app-misc/lirc/lirc-0.8.5_pre2.ebuild @@ -0,0 +1,329 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.4a.ebuild,v 1.4 2009/03/13 09:17:24 fauli Exp $ + +inherit eutils linux-mod flag-o-matic autotools + +DESCRIPTION="decode and send infra-red signals of many commonly used remote controls" +HOMEPAGE="http://www.lirc.org/" + +MY_P=${PN}-${PV/_/} + +if [[ "${PV/_pre/}" = "${PV}" ]]; then + SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2" +else + SRC_URI="http://lirc.sourceforge.net/software/snapshots/${MY_P}.tar.bz2" +fi + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="debug doc X hardware-carrier transmitter" + +S="${WORKDIR}/${MY_P}" + +RDEPEND=" + X? ( + x11-libs/libX11 + x11-libs/libSM + x11-libs/libICE + ) + lirc_devices_alsa_usb? ( media-libs/alsa-lib ) + lirc_devices_audio? ( >media-libs/portaudio-18 ) + lirc_devices_irman? ( media-libs/libirman )" + +# This are drivers with names matching the +# parameter --with-driver=NAME +IUSE_LIRC_DEVICES_DIRECT=" + all none userspace accent act200l + act220l adaptec alsa_usb animax asusdh + atilibusb atiusb audio audio_alsa + avermedia avermedia_vdomate avermedia98 + awlibusb bestbuy bestbuy2 breakoutbox + bte bw6130 caraca chronos commandir + comX cph06x creative creative_infracd + devinput digimatrix dsp dvico ea65 + exaudio flyvideo ftdi gvbctv5pci + hauppauge hauppauge_dvb + hercules_smarttv_stereo i2cuser + igorplugusb iguanaIR imon imon_24g + imon_knob imon_lcd imon_pad imon_rsc + irdeo irdeo_remote irlink irman irreal + it87 ite8709 knc_one kworld + leadtek_0007 leadtek_0010 leadtek_pvr2000 + livedrive_midi livedrive_seq logitech + lptX macmini mceusb mceusb2 mediafocusI + mouseremote mouseremote_ps2 mp3anywhere + mplay nslu2packard_bell parallel pcmak + pcmak_usb pctv pixelview_bt878 + pixelview_pak pixelview_pro provideo + realmagic remotemaster sa1100 samsung + sasem sb0540 serial silitek sir slinke + streamzap tekram tekram_bt829 tira + ttusbir tuxbox tvbox udp uirt2 + uirt2_raw usb_uirt_raw usbx wpc8769l" + +# drivers that need special handling and +# must have another name specified for +# parameter --with-driver=NAME +IUSE_LIRC_DEVICES_SPECIAL=" + imon_pad2keys serial_igor_cesko + remote_wonder_plus xboxusb usbirboy inputlirc" + +IUSE_LIRC_DEVICES="${IUSE_LIRC_DEVICES_DIRECT} ${IUSE_LIRC_DEVICES_SPECIAL}" + +#device-driver which use libusb +LIBUSB_USED_BY_DEV=" + all atilibusb sasem igorplugusb imon imon_lcd imon_pad imon_pad2keys + imon_rsc streamzap mceusb mceusb2 xboxusb irlink commandir" + +for dev in ${LIBUSB_USED_BY_DEV}; do + RDEPEND="${RDEPEND} lirc_devices_${dev}? ( dev-libs/libusb )" +done + +# adding only compile-time depends +DEPEND="${RDEPEND} + virtual/linux-sources" + +# adding only run-time depends +RDEPEND="${RDEPEND} + lirc_devices_usbirboy? ( app-misc/usbirboy ) + lirc_devices_inputlirc? ( app-misc/inputlircd )" + +# add all devices to IUSE +for dev in ${IUSE_LIRC_DEVICES}; do + IUSE="${IUSE} lirc_devices_${dev}" +done + +add_device() { + : ${lirc_device_count:=0} + ((lirc_device_count++)) + + if [[ ${lirc_device_count} -eq 2 ]]; then + ewarn + ewarn "When selecting multiple devices for lirc to be supported," + ewarn "it can not be garanteed that the drivers play nice together." + ewarn + ewarn "If this is not intended, then abort emerge now with Ctrl-C," + ewarn "Set LIRC_DEVICES and restart emerge." + ewarn + epause + fi + + local dev="${1}" + local desc="device ${dev}" + if [[ -n "${2}" ]]; then + desc="${2}" + fi + + elog "Compiling support for ${desc}" + MY_OPTS="${MY_OPTS} --with-driver=${dev}" +} + +pkg_setup() { + + ewarn "If your LIRC device requires modules, you'll need MODULE_UNLOAD" + ewarn "support in your kernel." + + linux-mod_pkg_setup + + # set default configure options + MY_OPTS="" + LIRC_DRIVER_DEVICE="/dev/lirc0" + + if use lirc_devices_all; then + # compile in drivers for a lot of devices + add_device all "a lot of devices" + else + # compile in only requested drivers + local dev + for dev in ${IUSE_LIRC_DEVICES_DIRECT}; do + if use lirc_devices_${dev}; then + add_device ${dev} + fi + done + + if use lirc_devices_remote_wonder_plus; then + add_device atiusb "device Remote Wonder Plus (atiusb-based)" + fi + + if use lirc_devices_serial_igor_cesko; then + add_device serial "serial with Igor Cesko design" + MY_OPTS="${MY_OPTS} --with-igor" + fi + + if use lirc_devices_imon_pad2keys; then + add_device imon_pad "device imon_pad (with converting pad input to keyspresses)" + ewarn "You need to set the option pad2keys_active=1" + ewarn "when loading the module lirc_imon" + fi + + if use lirc_devices_xboxusb; then + add_device atiusb "device xboxusb" + fi + + if use lirc_devices_usbirboy; then + add_device userspace "device usbirboy" + LIRC_DRIVER_DEVICE="/dev/usbirboy" + fi + + if [[ "${MY_OPTS}" == "" ]]; then + if [[ "${PROFILE_ARCH}" == "xbox" ]]; then + # on xbox: use special driver + add_device atiusb "device xboxusb" + else + # no driver requested + elog + elog "Compiling only the lirc-applications, but no drivers." + elog "Enable drivers with LIRC_DEVICES if you need them." + MY_OPTS="--with-driver=userspace" + fi + fi + fi + + use hardware-carrier && MY_OPTS="${MY_OPTS} --without-soft-carrier" + use transmitter && MY_OPTS="${MY_OPTS} --with-transmitter" + + if [[ -n "${LIRC_OPTS}" ]] ; then + ewarn + ewarn "LIRC_OPTS is deprecated from lirc-0.8.0-r1 on." + ewarn + ewarn "Please use LIRC_DEVICES from now on." + ewarn "e.g. LIRC_DEVICES=\"serial sir\"" + ewarn + ewarn "Flags are now set per use-flags." + ewarn "e.g. transmitter, hardware-carrier" + + local opt + local unsupported_opts="" + + # test for allowed options for LIRC_OPTS + for opt in ${LIRC_OPTS}; do + case ${opt} in + --with-port=*|--with-irq=*|--with-timer=*|--with-tty=*) + MY_OPTS="${MY_OPTS} ${opt}" + ;; + *) + unsupported_opts="${unsupported_opts} ${opt}" + ;; + esac + done + if [[ -n ${unsupported_opts} ]]; then + ewarn "These options are no longer allowed to be set" + ewarn "with LIRC_OPTS: ${unsupported_opts}" + die "LIRC_OPTS is no longer recommended." + fi + fi + + # Setup parameter for linux-mod.eclass + MODULE_NAMES="lirc(misc:${S})" + BUILD_TARGETS="all" + + ECONF_PARAMS=" --localstatedir=/var + --with-syslog=LOG_DAEMON + --enable-sandboxed + --with-kerneldir=${KV_DIR} + --with-moduledir=/lib/modules/${KV_FULL}/misc + $(use_enable debug) + $(use_with X x) + ${MY_OPTS}" + + einfo + einfo "lirc-configure-opts: ${MY_OPTS}" + elog "Setting default lirc-device to ${LIRC_DRIVER_DEVICE}" + + filter-flags -Wl,-O1 + + # force non-parallel make, Bug 196134 + MAKEOPTS="${MAKEOPTS} -j1" +} + +src_unpack() { + unpack ${A} + cd "${S}" + + # Rip out dos CRLF + edos2unix contrib/lirc.rules + + # Apply patches needed for some special device-types +# epatch "${FILESDIR}"/${PN}-0.8.4-imon-pad2keys.patch +# use lirc_devices_audio || epatch "${FILESDIR}"/lirc-0.8.4-portaudio_check.patch +# use lirc_devices_remote_wonder_plus && epatch "${FILESDIR}"/lirc-0.8.3_pre1-remotewonderplus.patch + + # remove parallel driver on SMP systems + if linux_chkconfig_present SMP ; then + sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am + fi + + # Bug #187418 + if kernel_is ge 2 6 22 ; then + ewarn "Disabling lirc_gpio driver as it does no longer work Kernel 2.6.22+" + sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am + fi + + # respect CFLAGS + sed -i -e 's:CFLAGS="-O2:CFLAGS=""\n#CFLAGS="-O2:' configure.ac + + # setting default device-node + local f + for f in configure.ac acconfig.h; do + [[ -f "$f" ]] && sed -i -e '/#define LIRC_DRIVER_DEVICE/d' "$f" + done + echo "#define LIRC_DRIVER_DEVICE \"${LIRC_DRIVER_DEVICE}\"" >> acconfig.h + + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + newinitd "${FILESDIR}"/lircd-0.8.3 lircd + newinitd "${FILESDIR}"/lircmd lircmd + newconfd "${FILESDIR}"/lircd.conf.2 lircd + + insinto /etc/modprobe.d/ + newins "${FILESDIR}"/modprobed.lirc lirc + + newinitd "${FILESDIR}"/irexec-initd irexec + newconfd "${FILESDIR}"/irexec-confd irexec + + if use doc ; then + dohtml doc/html/*.html + insinto /usr/share/doc/${PF}/images + doins doc/images/* + fi + + insinto /usr/share/lirc/remotes + doins -r remotes/* +} + +pkg_preinst() { + linux-mod_pkg_preinst + + # stop portage from deleting this file + if [[ -f ${ROOT}/etc/lircd.conf && ! -f ${D}/etc/lircd.conf ]]; then + cp "${ROOT}"/etc/lircd.conf "${D}"/etc/lircd.conf + fi +} + +pkg_postinst() { + linux-mod_pkg_postinst + echo + elog "The lirc Linux Infrared Remote Control Package has been" + elog "merged, please read the documentation at http://www.lirc.org" + echo + + if kernel_is ge 2 6 22 ; then + # Bug #187418 + ewarn + ewarn "The lirc_gpio driver will not work with Kernels 2.6.22+" + ewarn "You need to switch over to /dev/input/event? if you need gpio" + ewarn "This device can than then be used via lirc's dev/input driver." + ewarn + fi + + elog + elog "lirc now uses normal config-protection for lircd.conf." + elog "If you need any other lircd.conf you may have a look at" + elog "the directory /usr/share/lirc/remotes" +} diff --git a/app-misc/lirc/metadata.xml b/app-misc/lirc/metadata.xml new file mode 100644 index 00000000..ea955a2e --- /dev/null +++ b/app-misc/lirc/metadata.xml @@ -0,0 +1,11 @@ + + + +media-tv + + The transmitter device generates its clock + signal in hardware + Add transmitter support to some lirc-drivers + (e.g. serial) + +