From 334bc3bdc4075fe99b741a99646b9dc03e2d2992 Mon Sep 17 00:00:00 2001 From: Matthias Schwarzott Date: Thu, 18 Oct 2007 16:05:52 +0000 Subject: Disabling lirc_gpio for Kernel 2.6.22+, as it did not work/failed to compile, Bug #187418. (Portage version: 2.1.3.14) --- app-misc/lirc/ChangeLog | 7 ++++++- app-misc/lirc/lirc-0.8.2-r1.ebuild | 17 ++++++++++++++++- app-misc/lirc/lirc-0.8.2-r2.ebuild | 17 ++++++++++++++++- app-misc/lirc/lirc-0.8.3_pre1.ebuild | 17 ++++++++++++++++- 4 files changed, 54 insertions(+), 4 deletions(-) (limited to 'app-misc') diff --git a/app-misc/lirc/ChangeLog b/app-misc/lirc/ChangeLog index be18509ed2e8..756b6c1bfe2b 100644 --- a/app-misc/lirc/ChangeLog +++ b/app-misc/lirc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-misc/lirc # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.158 2007/10/18 15:04:55 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.159 2007/10/18 16:05:52 zzam Exp $ + + 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. diff --git a/app-misc/lirc/lirc-0.8.2-r1.ebuild b/app-misc/lirc/lirc-0.8.2-r1.ebuild index 343e9a130a78..dc809d06d10f 100644 --- a/app-misc/lirc/lirc-0.8.2-r1.ebuild +++ b/app-misc/lirc/lirc-0.8.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.2-r1.ebuild,v 1.6 2007/10/13 09:20:15 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.2-r1.ebuild,v 1.7 2007/10/18 16:05:52 zzam Exp $ inherit eutils linux-mod flag-o-matic autotools @@ -242,6 +242,12 @@ src_unpack() { 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.in @@ -286,4 +292,13 @@ pkg_postinst() { 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 } diff --git a/app-misc/lirc/lirc-0.8.2-r2.ebuild b/app-misc/lirc/lirc-0.8.2-r2.ebuild index 91707d9f1c19..57fc0235ad3f 100644 --- a/app-misc/lirc/lirc-0.8.2-r2.ebuild +++ b/app-misc/lirc/lirc-0.8.2-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.2-r2.ebuild,v 1.4 2007/10/13 09:30:06 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.2-r2.ebuild,v 1.5 2007/10/18 16:05:52 zzam Exp $ inherit eutils linux-mod flag-o-matic autotools @@ -245,6 +245,12 @@ src_unpack() { 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.in @@ -286,4 +292,13 @@ pkg_postinst() { 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 } diff --git a/app-misc/lirc/lirc-0.8.3_pre1.ebuild b/app-misc/lirc/lirc-0.8.3_pre1.ebuild index 73509e84c4e6..df409547d5d3 100644 --- a/app-misc/lirc/lirc-0.8.3_pre1.ebuild +++ b/app-misc/lirc/lirc-0.8.3_pre1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.3_pre1.ebuild,v 1.4 2007/10/18 15:04:55 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.3_pre1.ebuild,v 1.5 2007/10/18 16:05:52 zzam Exp $ inherit eutils linux-mod flag-o-matic autotools @@ -246,6 +246,12 @@ src_unpack() { 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 @@ -287,4 +293,13 @@ pkg_postinst() { 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 } -- cgit v1.2.3-65-gdbad