Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 73117 Details for
Bug 111820
lirc 0.7.2 fails to compile against kernels 2.6.14 and greater
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
lirc-0.7.3_pre1.ebuild.patch
lirc-0.7.3_pre1.ebuild.patch (text/plain), 7.24 KB, created by
Doug Goldstein (RETIRED)
on 2005-11-17 23:29:24 UTC
(
hide
)
Description:
lirc-0.7.3_pre1.ebuild.patch
Filename:
MIME Type:
Creator:
Doug Goldstein (RETIRED)
Created:
2005-11-17 23:29:24 UTC
Size:
7.24 KB
patch
obsolete
>--- /usr/portage/app-misc/lirc/lirc-0.7.2.ebuild 2005-08-23 06:43:47.000000000 -0400 >+++ lirc-0.7.3_pre1.ebuild 2005-11-18 02:20:03.000000000 -0500 >@@ -2,66 +2,81 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.7.2.ebuild,v 1.1 2005/08/23 10:43:47 lanius Exp $ > >-inherit eutils linux-mod flag-o-matic >+inherit eutils linux-mod flag-o-matic autotools > > DESCRIPTION="LIRC is a package that allows you to decode and send infra-red \ > signals of many (but not all) commonly used remote controls." > HOMEPAGE="http://www.lirc.org" > >-# LIRC_OPTS = ???? v >-# This are the defaults. With this support for all supported remotes >-# will be build. >-# If you want other options then set the Environment variable to your needs. >- >-# Note: If you don't specify the driver configure becomes interactiv. >- >-# You have to know, which driver you want; >-# --with-driver=X >- >-# where X is one of: >-# none, any, act200l, animax, atilibusb, >-# atiusb, audio, avermedia, avermedia_vdomate, >-# avermedia98, bestbuy, bestbuy2, breakoutbox, >-# bte, caraca, chronos, comX, >-# creative_infracd, dsp, cph03x, cph06x, >-# creative, devinput, exaudio, flyvideo, >-# gvbctv5pci, hauppauge, hauppauge_dvb, >-# hercules_smarttv_stereo, igorplugusb, irdeo, >-# irdeo_remote, irman, irreal, it87, knc_one, >-# kworld, leadtek_0007, leadtek_0010, >-# livedrive_midi, livedrive_seq, logitech, >-# lptX, mceusb, mediafocusI, mp3anywhere, >-# packard_bell, parallel, pcmak, pcmak_usb, >-# pctv, pixelview_bt878, pixelview_pak, >-# pixelview_pro, provideo, realmagic, >-# remotemaster, sa1100, sasem, serial, >-# silitek, sir, slinke, tekram, tekram_bt829, >-# tira, tvbox, udp, uirt2, uirt2_raw" >-# winfast_tv2000 is now leadtek_0010 >-# streamzap >- >-# This could be usefull too >- >-# --with-port=port # port number for the lirc device. >-# --with-irq=irq # irq line for the lirc device. >-# --with-timer=value # timer value for the parallel driver >-# --with-tty=file # tty to use (Irman, RemoteMaster, etc.) >-# --without-soft-carrier # if your serial hw generates carrier >-# --with-transmitter # if you use a transmitter diode >- > SLOT="0" > LICENSE="GPL-2" >-IUSE="debug doc X" >+IUSE="alsa debug doc X usb" > KEYWORDS="~x86 ~ppc ~alpha ~ia64 ~amd64 ~ppc64" > > RDEPEND="virtual/libc >+ virtual/modutils >+ sys-apps/coreutils >+ alsa? ( media-libs/alsa-lib ) >+ usb? ( dev-libs/libusb ) > X? ( virtual/x11 )" > > DEPEND="virtual/linux-sources > sys-devel/autoconf >+ sys-devel/libtool > ${RDEPEND}" > >-SRC_URI="mirror://sourceforge/lirc/${P}.tar.bz2" >+#SRC_URI="mirror://sourceforge/lirc/${P/_pre/pre}.tar.bz2" >+SRC_URI="http://lirc.sourceforge.net/software/snapshots/lirc-0.7.3pre1.tar.bz2" >+ >+S=${WORKDIR}/${P/_pre/pre} >+ >+pkg_setup() { >+ linux-mod_pkg_setup >+ >+ if [ "x${LIRC_OPTS}" = x ] ; then >+ echo >+ ewarn "By default this package will not compile a driver for your hardware" >+ ewarn "unless you specify LIRC_OPTS. The best place to save this is in" >+ ewarn "/etc/make.conf" >+ ewarn "For example, PVR-x50 users should add the following to /etc/make.conf" >+ ewarn "LIRC_OPTS=\"--with-driver=hauppauge\"" >+ echo >+ ewarn "Possible options are listed below:" >+ echo >+ cat <<-EOF >+# You have to know, which driver you want; >+# --with-driver=X >+ >+# where X is one of: >+# none, any, act200l, animax, atilibusb, atiusb, audio, avermedia, avermedia_vdomate, >+# avermedia98, bestbuy, bestbuy2, breakoutbox, bte, caraca, chronos, comX, >+# creative_infracd, dsp, cph03x, cph06x, creative, devinput, exaudio, flyvideo, >+# gvbctv5pci, hauppauge, hauppauge_dvb, hercules_smarttv_stereo, igorplugusb, irdeo, >+# irdeo_remote, irman, irreal, it87, knc_one, kworld, leadtek_0007, leadtek_0010, >+# livedrive_midi, livedrive_seq, logitech, lptX, mceusb, mediafocusI, mp3anywhere, >+# packard_bell, parallel, pcmak, pcmak_usb, pctv, pixelview_bt878, pixelview_pak, >+# pixelview_pro, provideo, realmagic, remotemaster, sa1100, sasem, serial, >+# silitek, sir, slinke, tekram, tekram_bt829, tira, tvbox, udp, uirt2, uirt2_raw >+# winfast_tv2000 is now leadtek_0010, streamzap >+ >+# This could be useful too >+ >+# --with-port=port # port number for the lirc device. >+# --with-irq=irq # irq line for the lirc device. >+# --with-timer=value # timer value for the parallel driver >+# --with-tty=file # tty to use (Irman, RemoteMaster, etc.) >+# --without-soft-carrier # if your serial hw generates carrier >+ >+# --with-port=port # port number for the lirc device. >+# --with-irq=irq # irq line for the lirc device. >+# --with-timer=value # timer value for the parallel driver >+# --with-tty=file # tty to use (Irman, RemoteMaster, etc.) >+# --without-soft-carrier # if your serial hw generates carrier >+# --with-transmitter # if you use a transmitter diode >+ EOF >+ sleep 5 >+ fi >+} > > src_unpack() { > unpack ${A} >@@ -69,46 +84,45 @@ > #epatch ${FILESDIR}/lirc-0.7.0-xbox.patch.bz2 > > filter-flags -Wl,-O1 >- sed -i -e "s:-O2 -g:${CFLAGS}:" configure configure.in >+ sed -i -e 's:CFLAGS="-O2:CFLAGS=""\n#CFLAGS="-O2:' configure.in > > # fix bz878 compilation, bug #87505 >- sed -i -e "s:lircd.conf.pixelview_bt878:lircd.conf.playtv_bt878:" configure configure.in >+# sed -i -e "s:lircd.conf.pixelview_bt878:lircd.conf.playtv_bt878:" configure configure.in >+ >+ # Patch bad configure for /usr/src/linux >+ sed -si "s|/usr/src/kernel\-source\-\`uname \-r\` /usr/src/linux\-\`uname \-r\` ||" \ >+ acinclude.m4 || die "/usr/src/linux sed failed" >+ >+ eautoreconf || "autoreconf failed" > } > >+ > src_compile() { >+ get_version >+ > # set default configure options > [ "x${LIRC_OPTS}" = x ] && [ "${PROFILE_ARCH}" == "xbox" ] && \ > LIRC_OPTS="--with-driver=xboxusb" >- [ "x${LIRC_OPTS}" = x ] && LIRC_OPTS="--with-driver=serial \ >- --with-port=0x3f8 --with-irq=4" >+ [ "x${LIRC_OPTS}" = x ] && LIRC_OPTS="--with-driver=none" > > # remove parallel driver on SMP systems > if linux_chkconfig_present SMP ; then >- sed -i -e "s:lirc_parallel::" drivers/Makefile >+ sed -i -e "s:lirc_parallel::" drivers/Makefile.in > fi > >- # Patch bad configure for /usr/src/linux >- libtoolize --copy --force || die "libtoolize failed" >- sed -si "s|/usr/src/kernel\-source\-\`uname \-r\` /usr/src/linux\-\`uname \-r\` ||" \ >- acinclude.m4 aclocal.m4 configure || die "/usr/src/linux sed failed" >- >- get_version >- sed -si "s|\`uname \-r\`|${KV_FULL}|" configure configure.in setup.sh || \ >- die "/lib/modules sed failed" >- > unset ARCH > export WANT_AUTOCONF=2.5 > > econf \ >- --disable-manage-devices \ > --localstatedir=/var \ > --with-syslog=LOG_DAEMON \ > --enable-sandboxed \ >+ --with-moduledir=${ROOT}/lib/modules/${KV_FULL}/misc \ > `use_enable debug` \ > `use_with X` \ > ${LIRC_OPTS} || die "./configure failed" > >- convert_to_m ${S}/Makefile >+# convert_to_m ${S}/Makefile > emake || die > > } >@@ -139,15 +153,14 @@ > } > > pkg_postinst() { >+ linux-mod_pkg_postinst > einfo > einfo "The lirc Linux Infrared Remote Control Package has been" > einfo "merged, please read the documentation, and if necessary" >- einfo "add what is needed to /etc/modules.autoload or" >+ einfo "add what is needed to /etc/modules.autoload.d/kernel-2.x or" > einfo "/etc/modules.d. If you need special compile options" > einfo "then read the comments at the begin of this" > einfo "ebuild (source) and set the LIRC_OPTS environment" > einfo "variable to your needs." > einfo >- >- update_depmod > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 111820
:
72828
|
73116
|
73117
|
73118
|
73119