Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 57252 Details for
Bug 90466
libticables: unable to use it without the use of external modules (tipar, tiser) or libusb for usb cables
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libticables-3.8.6-3.8.7.diff
libticables-3.8.6-3.8.7.diff (text/plain), 4.39 KB, created by
Octavio Ruiz (Ta^3)
on 2005-04-26 01:17:59 UTC
(
hide
)
Description:
libticables-3.8.6-3.8.7.diff
Filename:
MIME Type:
Creator:
Octavio Ruiz (Ta^3)
Created:
2005-04-26 01:17:59 UTC
Size:
4.39 KB
patch
obsolete
>--- /usr/portage/sci-libs/libticables/libticables-3.8.6.ebuild 2005-03-11 06:05:51.000000000 -0600 >+++ /usr/local/portage/sci-libs/libticables/libticables-3.8.7.ebuild 2005-04-26 02:55:12.000000000 -0500 >@@ -1,42 +1,110 @@ > # Copyright 1999-2005 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/sci-libs/libticables/libticables-3.8.6.ebuild,v 1.3 2005/03/11 11:46:10 sekretarz Exp $ >+# $Header: $ >+ >+inherit eutils linux-info > > DESCRIPTION="Link cables support for the TiLP calculator linking program" > HOMEPAGE="http://tilp.info/" >-SRC_URI="mirror://gentoo/${P}-gentoo.tar.bz2" >+SRC_URI="mirror://sourceforge/tilp/${P}.tar.gz" > LICENSE="GPL-2" > > SLOT="0" >-KEYWORDS="x86 ppc ~amd64" >-IUSE="debug nls" >+KEYWORDS="x86 ~ppc ~amd64" >+IUSE="debug nls usb serial parallel" > > RDEPEND="virtual/libc >- nls? ( sys-devel/gettext )" >+ nls? ( sys-devel/gettext ) >+ usb? ( dev-libs/libusb )" >+# serial? ( ) > > DEPEND="${RDEPEND} > sys-devel/bison" > >-S=${WORKDIR}/${P}-gentoo >+pkg_setup() { >+ if ! use usb && ! use serial && ! use parallel ; then >+ eerror "You have not selected any link cable support" >+ eerror "(usb, serial or paralell)" >+ eerror "You are going to be unable to use \"${PN}\" properly!" >+ ebeep >+ fi >+ >+ if use parallel && ! linux_chkconfig_present TIPAR ; then >+ eerror "You have chosen by selecting 'USE=parallel' to have" >+ eerror "parallel cable support but you dont have CONFIG_TIPAR" >+ eerror "inside your kernel configuration. Please enable parallel" >+ eerror "link cable support inside your kernel config, found at:" >+ echo >+ eerror " Device Drivers" >+ eerror " Character devices" >+ eerror " <*> Texas Instruments parallel link cable support" >+ echo >+ eerror "and then recompile your kernel ..." >+ die "parallel link cable support not detected" >+ fi >+ >+# This condition should be made by the tiser module ebuild >+# >+# if use serial && ! linux_chkconfig_present SERIAL_8250 ; then >+# eerror "You have chosen by selecting 'USE=serial' to have" >+# eerror "parallel cable support but you dont have CONFIG_SERIAL_8250" >+# eerror "inside your kernel configuration. Please enable serial ports" >+# eerror "support inside your kernel config, found at:" >+# echo >+# eerror " Device Drivers" >+# eerror " Character devices" >+# eerror " Serial drivers" >+# eerror " <*> 8250/16550 and compatible serial support" >+# echo >+# eerror "and then recompile your kernel ..." >+# die "serial ports support not detected" >+# fi >+} > > src_compile() { >- local myconf="$(use_enable nls) $(use_enable debug logging)" >- econf ${myconf} || die >- emake || die >+ local myconf >+ >+ myconf="${myconf} $(use_enable nls)" >+ myconf="${myconf} $(use_enable debug logging)" >+ # Make sure that usb kernel module support is not >+ # used, its deprecated, not supported and Portage >+ # Tree do not provide the external module. >+ # Use libusb instead (USE=usb) >+ myconf="${myconf} --disable-direct-usb" >+ >+ econf ${myconf} || die "econf died" >+ emake || die "emake died" > } > > src_install() { > make install DESTDIR=${D} >- dobin ticables-config > dodoc AUTHORS ChangeLog LOGO README >- doman ticables-config.1 > } > > pkg_postinst() { >- einfo "To use \"${PN}\", you might need one of the following" >- einfo "kernel modules: \"tipar\", \"tiser\" or \"tiusb\". If you install" >- einfo "one of these modules, you might have to reinstall" >- einfo "\"${PN}\". Please read the file:" >- einfo "\"/usr/share/doc/${PF}/README.gz\" for more" >- einfo "details." >+ if ! use usb ; then >+ ewarn "In order to use \"${PN}\" with an USB/SilverLink cable, you" >+ ewarn "need to compile it with USE=usb and then rebuild \"${PN}\"" >+ ewarn "Note that the use of direct-usb (tiusb) is depecrated" >+ ewarn "Please read the file: \"/usr/share/doc/${PF}/README.gz\"" >+ ewarn "for more details." >+ echo "" >+ fi >+ >+ if ! use serial ; then >+ ewarn "In order to use \"${PN}\" with a serial/BlackLink cable," >+ ewarn "you need to compile it with USE=serial and then rebuild" >+ ewarn "\"${PN}\"" >+ ewarn "Please read the file: \"/usr/share/doc/${PF}/README.gz\"" >+ ewarn "for more details." >+ echo "" >+ fi >+ >+ if ! use parallel; then >+ ewarn "In order to use \"${PN}\" with a parallel link cable you need to" >+ ewarn "have CONFIG_TIPAR in your kernel config and select" >+ ewarn "'USE=parallel' then rebuild \"${PN}\"" >+ ewarn "Please read the file: \"/usr/share/doc/${PF}/README.gz\"" >+ ewarn "for more details." >+ fi > }
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 90466
:
57246
|
57252