Gentoo Archives: gentoo-commits

From: "Petteri Raty (betelgeuse)" <betelgeuse@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/bluez-utils: ChangeLog bluez-utils-3.19.ebuild
Date: Sun, 16 Sep 2007 20:16:18
Message-Id: E1IX0Q5-0002Q0-1Q@stork.gentoo.org
1 betelgeuse 07/09/16 20:08:41
2
3 Modified: ChangeLog
4 Added: bluez-utils-3.19.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.3.7)
8
9 Revision Changes Path
10 1.107 net-wireless/bluez-utils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez-utils/ChangeLog?rev=1.107&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez-utils/ChangeLog?rev=1.107&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez-utils/ChangeLog?r1=1.106&r2=1.107
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/ChangeLog,v
19 retrieving revision 1.106
20 retrieving revision 1.107
21 diff -u -r1.106 -r1.107
22 --- ChangeLog 3 Sep 2007 14:28:16 -0000 1.106
23 +++ ChangeLog 16 Sep 2007 20:08:40 -0000 1.107
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-wireless/bluez-utils
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/ChangeLog,v 1.106 2007/09/03 14:28:16 betelgeuse Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/ChangeLog,v 1.107 2007/09/16 20:08:40 betelgeuse Exp $
29 +
30 +*bluez-utils-3.19 (16 Sep 2007)
31 +
32 + 16 Sep 2007; Petteri Räty <betelgeuse@g.o>
33 + +bluez-utils-3.19.ebuild:
34 + Version bump.
35
36 *bluez-utils-3.18 (03 Sep 2007)
37
38
39
40
41 1.1 net-wireless/bluez-utils/bluez-utils-3.19.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez-utils/bluez-utils-3.19.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez-utils/bluez-utils-3.19.ebuild?rev=1.1&content-type=text/plain
45
46 Index: bluez-utils-3.19.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/bluez-utils-3.19.ebuild,v 1.1 2007/09/16 20:08:40 betelgeuse Exp $
51
52 inherit autotools eutils
53
54 DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
55 HOMEPAGE="http://bluez.sourceforge.net/"
56 SRC_URI="http://bluez.sourceforge.net/download/${P}.tar.gz"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sh ~sparc ~x86"
61
62 IUSE="alsa cups debug examples hal old-daemons test-programs usb"
63
64 DEPEND="
65 >=net-wireless/bluez-libs-${PV}
66 alsa? ( media-libs/alsa-lib )
67 hal? ( sys-apps/hal )
68 usb? ( dev-libs/libusb )
69 cups? ( net-print/cups )
70 sys-fs/udev
71 dev-libs/glib
72 sys-apps/dbus"
73
74 src_unpack() {
75 unpack ${A}
76 # bundled glib
77 cd "${S}"
78 rm -r eglib/{*.c,*.h} || die
79 if use cups; then
80 epatch "${FILESDIR}/3.11/cups-location.patch"
81 eautoreconf
82 fi
83 }
84
85 src_compile() {
86 # the order is the same as ./configure --help
87
88 # we don't need the other daemons either with the new
89 # service architechture
90 # hcid has in integrated sdpd now that we use
91
92 # These are currently under work and don't work properly:
93 # --enable-sync
94 # --enable-obex
95
96 econf \
97 $(use_enable debug) \
98 --enable-inotify \
99 $(use_enable hal) \
100 $(use_enable usb) \
101 $(use_enable alsa) \
102 --enable-glib \
103 --disable-obex \
104 --enable-network \
105 --enable-serial \
106 --enable-input \
107 --enable-audio \
108 --disable-sync \
109 $(use_enable examples echo) \
110 --enable-hcid \
111 $(use_enable test-programs test) \
112 $(use_enable old-daemons sdpd) \
113 $(use_enable old-daemons hidd) \
114 $(use_enable old-daemons pand) \
115 $(use_enable cups) \
116 --enable-configfiles \
117 --disable-initscripts \
118 --disable-pcmciarules \
119 --enable-bccmd \
120 --enable-avctrl \
121 --enable-hid2hci \
122 --enable-dfutool \
123 --localstatedir=/var \
124 || die "econf failed"
125
126 emake || die "emake failed"
127 }
128
129 src_install() {
130 make DESTDIR="${D}" install || die "make install failed"
131
132 dodoc AUTHORS ChangeLog README || die
133
134 # a very simple example daemon
135 dobin daemon/passkey-agent || die
136
137 newinitd "${FILESDIR}/3.11/bluetooth-init.d" bluetooth || die
138 newconfd "${FILESDIR}/3.11/bluetooth-conf.d" bluetooth || die
139
140 if use old-daemons; then
141 sed -re 's/^(Autostart=)true/\1false/' \
142 -i "${D}/etc/bluetooth/input.service" || die
143 newconfd "${FILESDIR}/3.11/conf.d-hidd" hidd || die
144 newinitd "${FILESDIR}/3.11/init.d-hidd" hidd || die
145 fi
146
147 # bug #84431
148 insinto /etc/udev/rules.d/
149 newins "${FILESDIR}/${PN}-3.10.1-udev.rules" 70-bluetooth.rules || die
150 newins "${S}/scripts/bluetooth.rules" 70-bluetooth-pcmcia.rules || die
151
152 exeinto /lib/udev/
153 newexe "${FILESDIR}/${PN}-3.10.1-udev.script" bluetooth.sh || die
154 doexe "${S}/scripts/bluetooth_serial" || die
155 }
156
157 pkg_postinst() {
158 udevcontrol reload_rules && udevtrigger
159
160 elog
161 elog "To use dial up networking you must install net-dialup/ppp."
162 elog ""
163 elog "Since 3.0 bluez has changed the passkey handling to use a dbus based"
164 elog "API so please remember to update your /etc/bluetooth/hcid.conf."
165 elog "For a password agent, there is for example net-wireless/bluez-gnome"
166 elog "for gnome and net-wireless/kdebluetooth for kde."
167 elog ""
168 elog "Since 3.10.1 we don't install the old style daemons any more but rely"
169 elog "on the new service architechture:"
170 elog " http://wiki.bluez.org/wiki/Services"
171 elog ""
172 elog "3.15 adds support for the audio service. See"
173 elog "http://wiki.bluez.org/wiki/HOWTO/AudioDevices for configuration help."
174 elog ""
175 elog "Edit /etc/bluetooth/*.service to enable the services."
176 elog "Use the old-daemons use flag to get the old daemons like hidd"
177 elog "installed. Please note that the init script doesn't stop the old"
178 elog "daemons after you update it so it's recommended to run:"
179 elog " /etc/init.d/bluetooth stop"
180 elog "before updating your configuration files or you can manually kill"
181 elog "the extra daemons you previously enabled in /etc/conf.d/bluetooth."
182 elog ""
183 elog "If you want to use rfcomm as a normal user, you need to add the user"
184 elog "to the uucp group."
185 elog ""
186 if use old-daemons; then
187 elog "The hidd init script was installed because you have the old-daemons"
188 elog "use flag on. It is not started by default via udev so please add it"
189 elog "to the required runleves using rc-update <runlevel> add hidd. If"
190 elog "you need init scripts for the other daemons, please file requests"
191 elog "to https://bugs.gentoo.org."
192 else
193 elog "The bluetooth service should be started automatically by udev"
194 elog "when the required hardware is inserted next time."
195 fi
196 }
197
198
199
200 --
201 gentoo-commits@g.o mailing list