Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 43713 Details for
Bug 70765
bluez-utils does not allow enabling of cups or dbus support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
bluez-utils-2.10-r1.ebuild
bluez-utils-2.10-r1.ebuild (text/plain), 2.81 KB, created by
Scott McKenzie
on 2004-11-11 03:12:37 UTC
(
hide
)
Description:
bluez-utils-2.10-r1.ebuild
Filename:
MIME Type:
Creator:
Scott McKenzie
Created:
2004-11-11 03:12:37 UTC
Size:
2.81 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/bluez-utils-2.10-r1.ebuild,v 1.3 2004/10/16 17:26:22 liquidx Exp $ > >inherit eutils > >DESCRIPTION="bluetooth utilities" >HOMEPAGE="http://bluez.sourceforge.net/" >SRC_URI="http://bluez.sourceforge.net/download/${P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="x86 ~sparc ~ppc ~amd64" >IUSE="gtk cups dbus" >RDEPEND=">=net-wireless/bluez-libs-2.10 > !net-wireless/bluez-pan > gtk? ( >=dev-python/pygtk-2.2 ) > dev-libs/libusb > cups ( >=net-print/cups-1.1.20-r5 ) > dbus? ( >=sys-apps/dbus-0.22-r1 )" > >DEPEND="sys-devel/bison > sys-devel/flex > >=sys-apps/sed-4 > ${RDEPEND}" > >src_unpack() { > unpack ${A} > cd ${S}; > > # Fix some installation locations > for dir in rfcomm sdpd pand hcid dund tools; do > mv -f $dir/Makefile.in ${T}/Makefile.in > sed -e "s:\$(prefix)/usr/share/man:\@mandir\@:" \ > ${T}/Makefile.in > $dir/Makefile.in; > done > > mv -f hcid/Makefile.in ${T}/Makefile.in > sed -e "s:\$(prefix)/etc/bluetooth:/etc/bluetooth:" \ > ${T}/Makefile.in > hcid/Makefile.in > > epatch ${FILESDIR}/${P}-handsfree.patch > > if ! use gtk; then > mv -f scripts/Makefile.in ${T}/Makefile.in > sed -e "s:= bluepin:= :" \ > ${T}/Makefile.in > scripts/Makefile.in > fi >} > >src_compile() { > local myconf > > use cups \ > && myconf="${myconf} --with-cups" \ > || myconf="${myconf} --without-cups" > > use dbus \ > && myconf="${myconf} --with-dbus" \ > || myconf="${myconf} --without-dbus" > > econf ${myconf} || die "econf failed" > emake || die >} > >src_install() { > make DESTDIR=${D} install || die > dodoc README > > sed -e "s:security auto;:security user;:" \ > -i ${D}/etc/bluetooth/hcid.conf > > if use gtk; then > sed -e "s:\(pin_helper \).*:\1/usr/bin/bluepin;:" \ > -i ${D}/etc/bluetooth/hcid.conf > else > sed -e "s:\(pin_helper \).*:\1/etc/bluetooth/pin-helper;:" \ > -i ${D}/etc/bluetooth/hcid.conf > fi > > exeinto /etc/init.d > newexe ${FILESDIR}/2.10-r1/bluetooth.rc bluetooth > > exeinto /etc/bluetooth > newexe ${FILESDIR}/2.10-r1/pin-helper.sh pin-helper > insinto /etc/bluetooth > newins ${FILESDIR}/2.10-r1/pin pin > fperms 0600 /etc/bluetooth/pin > > insinto /etc/conf.d > newins ${S}/scripts/bluetooth.default bluetooth > sed -i -e 's/^HIDD_ENABLE=.*/HIDD_ENABLE=false/' \ > -e 's/^HID2HCI_ENABLE=.*/HID2HCI_ENABLE=false/' \ > ${D}/etc/conf.d/bluetooth >} > >pkg_postinst() { > einfo "" > einfo "A startup script has been installed in /etc/init.d/bluetooth." > einfo "RFComm devices are found in /dev/bluetooth/rfcomm/* instead of /dev/rfcomm*" > einfo "If you need to set a default PIN, edit /etc/bluetooth/pin, and change" > einfo "/etc/bluetooth/hcid.conf option 'pin_helper' to /etc/bluetooth/pin-helper." > > if use gtk; then > einfo "By default, /usr/bin/bluepin will be launched on the desktop display" > einfo "for pin number input." > fi > einfo "" >}
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 Raw
Actions:
View
Attachments on
bug 70765
:
43713
|
43714
|
54432