Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/bluez: bluez-4.77.ebuild metadata.xml ChangeLog bluez-4.71.ebuild bluez-4.72.ebuild bluez-4.66-r1.ebuild
Date: Sun, 31 Oct 2010 11:23:44
Message-Id: 20101031112338.CC8EC20051@flycatcher.gentoo.org
1 pacho 10/10/31 11:23:38
2
3 Modified: metadata.xml ChangeLog
4 Added: bluez-4.77.ebuild
5 Removed: bluez-4.71.ebuild bluez-4.72.ebuild
6 bluez-4.66-r1.ebuild
7 Log:
8 Version bump and remove old.
9
10 (Portage version: 2.1.9.23/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.10 net-wireless/bluez/metadata.xml
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/metadata.xml?rev=1.10&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/metadata.xml?rev=1.10&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/metadata.xml?r1=1.9&r2=1.10
18
19 Index: metadata.xml
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/net-wireless/bluez/metadata.xml,v
22 retrieving revision 1.9
23 retrieving revision 1.10
24 diff -u -r1.9 -r1.10
25 --- metadata.xml 24 Sep 2010 21:32:51 -0000 1.9
26 +++ metadata.xml 31 Oct 2010 11:23:38 -0000 1.10
27 @@ -18,7 +18,6 @@
28 <flag name='consolekit'>Use <pkg>sys-auth/pambase[consolekit]</pkg> to
29 determine access to bluetooth devices based on whether a user is
30 logged in locally or remotely</flag>
31 - <flag name='mcap'>Compile with initial support for MCAP</flag>
32 <flag name='health'>Compile with initial support for HDP</flag>
33 <flag name='maemo6'>Compile with maemo6 plugin</flag>
34 <flag name='old-daemons'>Install old daemons like hidd and sdpd that are
35
36
37
38 1.56 net-wireless/bluez/ChangeLog
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.56&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.56&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?r1=1.55&r2=1.56
43
44 Index: ChangeLog
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v
47 retrieving revision 1.55
48 retrieving revision 1.56
49 diff -u -r1.55 -r1.56
50 --- ChangeLog 7 Oct 2010 20:52:25 -0000 1.55
51 +++ ChangeLog 31 Oct 2010 11:23:38 -0000 1.56
52 @@ -1,6 +1,28 @@
53 # ChangeLog for net-wireless/bluez
54 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
55 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.55 2010/10/07 20:52:25 pacho Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.56 2010/10/31 11:23:38 pacho Exp $
57 +
58 +*bluez-4.77 (31 Oct 2010)
59 +
60 + 31 Oct 2010; Pacho Ramos <pacho@g.o> -bluez-4.66-r1.ebuild,
61 + -bluez-4.71.ebuild, -bluez-4.72.ebuild, +bluez-4.77.ebuild:
62 + Remove old and version bump:
63 + Fix issue with device name and accessing already freed memory.
64 + Fix issue with handling CHLD=0 command for handsfree.
65 + Fix issue with manager properties and no adapters.
66 + Fix issue with properties and broken service records.
67 + Fix issue with A2DP playback and sample rate changes.
68 + Update MCAP and HDP support.
69 + Fix issue in telephony driver with hanging up held call.
70 + Fix issue in telephony driver with notifications when on hold.
71 + Fix issue with blocking on setconf confirmation callback.
72 + Fix issue with not always signaling new streams as sinks.
73 + Fix issue with errors in case of endpoint request timeout.
74 + Fix issue with HFP/HSP microphone and speaker gain values.
75 + Add source if the device attempt to configure local sink stream.
76 + Add PSM option for GATT/ATT over BR/EDR on gatttool.
77 + Add support for GATT/ATT Attribute Write Request.
78 + Update MCAP and HDP support.
79
80 *bluez-4.75 (07 Oct 2010)
81
82
83
84
85 1.1 net-wireless/bluez/bluez-4.77.ebuild
86
87 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-4.77.ebuild?rev=1.1&view=markup
88 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-4.77.ebuild?rev=1.1&content-type=text/plain
89
90 Index: bluez-4.77.ebuild
91 ===================================================================
92 # Copyright 1999-2010 Gentoo Foundation
93 # Distributed under the terms of the GNU General Public License v2
94 # $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-4.77.ebuild,v 1.1 2010/10/31 11:23:38 pacho Exp $
95
96 EAPI="3"
97
98 inherit multilib eutils
99
100 DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
101 HOMEPAGE="http://bluez.sourceforge.net/"
102 SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.gz
103 http://standards.ieee.org/regauth/oui/oui.txt"
104 LICENSE="GPL-2 LGPL-2.1"
105 SLOT="0"
106 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
107
108 IUSE="alsa attrib caps +consolekit cups debug gstreamer maemo6 health old-daemons pcmcia pnat test-programs usb"
109
110 CDEPEND="alsa? (
111 media-libs/alsa-lib[alsa_pcm_plugins_extplug,alsa_pcm_plugins_ioplug]
112 )
113 caps? ( >=sys-libs/libcap-ng-0.6.2 )
114 gstreamer? (
115 >=media-libs/gstreamer-0.10
116 >=media-libs/gst-plugins-base-0.10 )
117 usb? ( dev-libs/libusb )
118 cups? ( net-print/cups )
119 >=sys-fs/udev-146[extras]
120 >=dev-libs/glib-2.14
121 sys-apps/dbus
122 media-libs/libsndfile
123 >=dev-libs/libnl-1.1
124 !net-wireless/bluez-libs
125 !net-wireless/bluez-utils"
126 DEPEND="sys-devel/flex
127 >=dev-util/pkgconfig-0.20
128 ${CDEPEND}"
129 RDEPEND="${CDEPEND}
130 consolekit? ( sys-auth/pambase[consolekit] )
131 test-programs? (
132 dev-python/dbus-python
133 dev-python/pygobject )"
134
135 pkg_setup() {
136 if ! use consolekit; then
137 enewgroup plugdev
138 fi
139 }
140
141 src_prepare() {
142 if ! use consolekit; then
143 # No consolekit for at_console etc, so we grant plugdev the rights
144 epatch "${FILESDIR}/bluez-plugdev.patch"
145 fi
146
147 if use cups; then
148 epatch "${FILESDIR}/4.60/cups-location.patch"
149 fi
150 }
151
152 src_configure() {
153 econf \
154 $(use_enable caps capng) \
155 --enable-network \
156 --enable-serial \
157 --enable-input \
158 --enable-audio \
159 --enable-service \
160 $(use_enable gstreamer) \
161 $(use_enable alsa) \
162 $(use_enable usb) \
163 --enable-tools \
164 --enable-bccmd \
165 --enable-dfutool \
166 $(use_enable old-daemons hidd) \
167 $(use_enable old-daemons pand) \
168 $(use_enable old-daemons dund) \
169 $(use_enable attrib) \
170 $(use_enable health) \
171 $(use_enable pnat) \
172 $(use_enable maemo6) \
173 $(use_enable cups) \
174 $(use_enable test-programs test) \
175 --enable-udevrules \
176 --enable-configfiles \
177 $(use_enable pcmcia) \
178 $(use_enable debug) \
179 --localstatedir=/var \
180 --disable-hal
181 }
182
183 src_install() {
184 emake DESTDIR="${ED}" install || die "make install failed"
185
186 dodoc AUTHORS ChangeLog README || die
187
188 if use test-programs ; then
189 cd "${S}/test"
190 dobin simple-agent simple-service monitor-bluetooth || die
191 newbin list-devices list-bluetooth-devices || die
192 for b in apitest hsmicro hsplay test-* ; do
193 newbin "${b}" "bluez-${b}" || die
194 done
195 insinto /usr/share/doc/${PF}/test-services
196 doins service-* || die
197
198 cd "${S}"
199 fi
200
201 if use old-daemons; then
202 newconfd "${FILESDIR}/4.18/conf.d-hidd" hidd || die
203 newinitd "${FILESDIR}/init.d-hidd" hidd || die
204 newconfd "${FILESDIR}/conf.d-dund" dund || die
205 newinitd "${FILESDIR}/init.d-dund" dund || die
206 fi
207
208 insinto /etc/bluetooth
209 doins \
210 input/input.conf \
211 audio/audio.conf \
212 network/network.conf \
213 serial/serial.conf \
214 || die
215
216 insinto /etc/udev/rules.d/
217 newins "${FILESDIR}/${PN}-4.18-udev.rules" 70-bluetooth.rules || die
218 exeinto /$(get_libdir)/udev/
219 newexe "${FILESDIR}/${PN}-4.18-udev.script" bluetooth.sh || die
220
221 newinitd "${FILESDIR}/bluetooth-init.d" bluetooth || die
222 newconfd "${FILESDIR}/4.60/bluetooth-conf.d" bluetooth || die
223
224 # Install oui.txt as requested in bug #283791 and approved by upstream
225 insinto /var/lib/misc
226 doins "${DISTDIR}/oui.txt" || die
227 }
228
229 pkg_postinst() {
230 udevadm control --reload-rules && udevadm trigger --subsystem-match=bluetooth
231
232 if ! has_version "net-dialup/ppp"; then
233 elog
234 elog "To use dial up networking you must install net-dialup/ppp."
235 fi
236
237 if ! has_version "net-wireless/gnome-bluetooth" && ! has_version "net-wireless/kbluetooth"; then
238 elog
239 elog "For desktop integration you can try net-wireless/gnome-bluetooth"
240 elog "for gnome and net-wireless/kbluetooth for kde."
241 fi
242
243 if ! use old-daemons; then
244 elog
245 elog "Use the old-daemons use flag to get the old daemons like hidd or pand"
246 elog "installed. Please note that 'bluetooth' init script doesn't stop the old"
247 elog "daemons after you update it, so it's recommended to stop all of them using"
248 elog "their own init scripts or manually killing them."
249 fi
250
251 if use consolekit; then
252 elog
253 elog "If you want to use rfcomm as a normal user, you need to add the user"
254 elog "to the uucp group."
255 else
256 elog
257 elog "Since you have the consolekit use flag disabled, you will only be able to run"
258 elog "bluetooth clients as root. If you want to be able to run bluetooth clientes as "
259 elog "a regular user, you need to enable the consolekit use flag for this package or"
260 elog "to add the user to the plugdev group."
261 fi
262
263 if use old-daemons; then
264 elog
265 elog "dund and hidd init scripts were installed because you have the old-daemons"
266 elog "use flag on. They are not started by default via udev so please add them"
267 elog "to the required runlevels using rc-update <runlevel> add <dund/hidd>. If"
268 elog "you need init scripts for the other daemons, please file requests"
269 elog "to https://bugs.gentoo.org."
270 fi
271 }