1 |
pacho 11/12/31 21:09:18 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bluez-4.97.ebuild bluez-4.97-r1.ebuild |
5 |
Removed: bluez-4.96-r2.ebuild |
6 |
Log: |
7 |
Version bump, remove old. |
8 |
|
9 |
(Portage version: 2.1.10.44/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.110 net-wireless/bluez/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.110&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.110&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?r1=1.109&r2=1.110 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v |
21 |
retrieving revision 1.109 |
22 |
retrieving revision 1.110 |
23 |
diff -u -r1.109 -r1.110 |
24 |
--- ChangeLog 24 Dec 2011 15:46:40 -0000 1.109 |
25 |
+++ ChangeLog 31 Dec 2011 21:09:18 -0000 1.110 |
26 |
@@ -1,6 +1,38 @@ |
27 |
# ChangeLog for net-wireless/bluez |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.109 2011/12/24 15:46:40 maksbotan Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.110 2011/12/31 21:09:18 pacho Exp $ |
31 |
+ |
32 |
+*bluez-4.97-r1 (31 Dec 2011) |
33 |
+*bluez-4.97 (31 Dec 2011) |
34 |
+ |
35 |
+ 31 Dec 2011; Pacho Ramos <pacho@g.o> +files/bluez-4.67-udev.script, |
36 |
+ -bluez-4.96-r2.ebuild, +bluez-4.97.ebuild, +bluez-4.97-r1.ebuild, |
37 |
+ +files/rfcomm-conf.d, +files/rfcomm-init.d: |
38 |
+ Version bump that also includes IMPORTANT changes: |
39 |
+ - old-daemons were dropped because they are poorly maintained and I am unable |
40 |
+ to test them. Also have some problems and look to not work at all in default |
41 |
+ setups (bug #381355 by Agostino Sarubbo and Rafał Mużyło). If you think you |
42 |
+ still need some of them, please open a new bug report explaining your needs |
43 |
+ to let us find a replacement or, if none is available, readd only needed old |
44 |
+ daemons. |
45 |
+ - 'bluetooth' init.d script has been completely removed as it was only |
46 |
+ calling "udevadm trigger --subsystem-match=bluetooth --action=add" at startup. |
47 |
+ This instruction is now called directly by /lib/udev/bluetooth.sh (the one that |
48 |
+ was previously calling init.d script and causing problems on systemd setups as |
49 |
+ reported by mgorny and others (bug #396403), this should also solve bug #389531. |
50 |
+ Due this change, it's possible that you will start to see how your bluetooth |
51 |
+ device is not properly detected just after booting if not manually running |
52 |
+ "udevadm trigger --subsystem-match=bluetooth --action=add", if this is your case, |
53 |
+ please report a bug to readd a bluetooth init.d script for that (even without |
54 |
+ getting it automatically started by udev to not hurt systemd users). |
55 |
+ - Because of previous change, 'rfcomm' part of old bluetooth init.d script has been |
56 |
+ moved to its own script under /etc/init.d and conf.d. |
57 |
+ - Due bug 392879 (by Otamay) I have rethink the way some plugins were being |
58 |
+ installed or not to simply always build and install them. This adds no additional |
59 |
+ dependencies, also simplifies ebuild preventing it from growing forever with a |
60 |
+ lot of USE flags and, probably the most important one, makes bluez to simply |
61 |
+ support and work with more devices. |
62 |
+ Also remove old. |
63 |
|
64 |
24 Dec 2011; Maxim Koltsov <maksbotan@g.o> bluez-4.96-r2.ebuild: |
65 |
Make bluez depend on python only when USE=test-programs |
66 |
|
67 |
|
68 |
|
69 |
1.1 net-wireless/bluez/bluez-4.97.ebuild |
70 |
|
71 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-4.97.ebuild?rev=1.1&view=markup |
72 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-4.97.ebuild?rev=1.1&content-type=text/plain |
73 |
|
74 |
Index: bluez-4.97.ebuild |
75 |
=================================================================== |
76 |
# Copyright 1999-2011 Gentoo Foundation |
77 |
# Distributed under the terms of the GNU General Public License v2 |
78 |
# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-4.97.ebuild,v 1.1 2011/12/31 21:09:18 pacho Exp $ |
79 |
|
80 |
EAPI="4" |
81 |
PYTHON_DEPEND="test-programs? 2" |
82 |
|
83 |
inherit multilib eutils systemd python |
84 |
|
85 |
DESCRIPTION="Bluetooth Tools and System Daemons for Linux" |
86 |
HOMEPAGE="http://www.bluez.org/" |
87 |
|
88 |
# Because of oui.txt changing from time to time without noticement, we need to supply it |
89 |
# ourselves instead of using http://standards.ieee.org/regauth/oui/oui.txt directly. |
90 |
# See bugs #345263 and #349473 for reference. |
91 |
OUIDATE="20111231" |
92 |
SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz |
93 |
http://dev.gentoo.org/~pacho/bluez/oui-${OUIDATE}.txt.xz" |
94 |
|
95 |
LICENSE="GPL-2 LGPL-2.1" |
96 |
SLOT="0" |
97 |
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
98 |
IUSE="alsa caps +consolekit cups debug gstreamer pcmcia test-programs usb" |
99 |
|
100 |
CDEPEND=" |
101 |
>=dev-libs/glib-2.14:2 |
102 |
sys-apps/dbus |
103 |
>=sys-fs/udev-146[extras] |
104 |
alsa? ( |
105 |
media-libs/alsa-lib[alsa_pcm_plugins_extplug,alsa_pcm_plugins_ioplug] |
106 |
media-libs/libsndfile |
107 |
) |
108 |
caps? ( >=sys-libs/libcap-ng-0.6.2 ) |
109 |
cups? ( net-print/cups ) |
110 |
gstreamer? ( |
111 |
>=media-libs/gstreamer-0.10:0.10 |
112 |
>=media-libs/gst-plugins-base-0.10:0.10 |
113 |
) |
114 |
usb? ( dev-libs/libusb:1 ) |
115 |
" |
116 |
DEPEND="${CDEPEND} |
117 |
>=dev-util/pkgconfig-0.20 |
118 |
>=dev-libs/check-0.9.4 |
119 |
sys-devel/flex |
120 |
" |
121 |
RDEPEND="${CDEPEND} |
122 |
!net-wireless/bluez-libs |
123 |
!net-wireless/bluez-utils |
124 |
consolekit? ( |
125 |
|| ( sys-auth/consolekit |
126 |
>=sys-apps/systemd-37 ) |
127 |
) |
128 |
test-programs? ( |
129 |
dev-python/dbus-python |
130 |
dev-python/pygobject:2 |
131 |
) |
132 |
" |
133 |
|
134 |
DOCS=( AUTHORS ChangeLog README ) |
135 |
|
136 |
pkg_setup() { |
137 |
if ! use consolekit; then |
138 |
enewgroup plugdev |
139 |
fi |
140 |
|
141 |
if use test-programs; then |
142 |
python_pkg_setup |
143 |
fi |
144 |
} |
145 |
|
146 |
src_prepare() { |
147 |
if ! use consolekit; then |
148 |
# No consolekit for at_console etc, so we grant plugdev the rights |
149 |
epatch "${FILESDIR}/bluez-plugdev.patch" |
150 |
fi |
151 |
|
152 |
if use cups; then |
153 |
sed -i \ |
154 |
-e "s:cupsdir = \$(libdir)/cups:cupsdir = `cups-config --serverbin`:" \ |
155 |
Makefile.tools Makefile.in || die |
156 |
fi |
157 |
} |
158 |
|
159 |
src_configure() { |
160 |
econf \ |
161 |
--enable-audio \ |
162 |
--enable-bccmd \ |
163 |
--enable-datafiles \ |
164 |
--enable-dfutool \ |
165 |
--enable-input \ |
166 |
--enable-network \ |
167 |
--enable-serial \ |
168 |
--enable-service \ |
169 |
--enable-tools \ |
170 |
--disable-hal \ |
171 |
--localstatedir=/var \ |
172 |
--with-systemdunitdir="$(systemd_get_unitdir)" \ |
173 |
$(use_enable alsa) \ |
174 |
$(use_enable caps capng) \ |
175 |
$(use_enable cups) \ |
176 |
$(use_enable debug) \ |
177 |
$(use_enable gstreamer) \ |
178 |
$(use_enable pcmcia) \ |
179 |
$(use_enable test-programs test) \ |
180 |
$(use_enable usb) \ |
181 |
--enable-health \ |
182 |
--enable-maemo6 \ |
183 |
--enable-pnat \ |
184 |
--enable-wiimote |
185 |
} |
186 |
|
187 |
src_install() { |
188 |
default |
189 |
|
190 |
if use test-programs ; then |
191 |
cd "${S}/test" |
192 |
dobin simple-agent simple-service monitor-bluetooth |
193 |
newbin list-devices list-bluetooth-devices |
194 |
rm test-textfile.{c,o} || die # bug #356529 |
195 |
for b in apitest hsmicro hsplay test-* ; do |
196 |
newbin "${b}" "bluez-${b}" |
197 |
done |
198 |
insinto /usr/share/doc/${PF}/test-services |
199 |
doins service-* |
200 |
|
201 |
python_convert_shebangs -r 2 "${ED}" |
202 |
cd "${S}" |
203 |
fi |
204 |
|
205 |
insinto /etc/bluetooth |
206 |
doins \ |
207 |
input/input.conf \ |
208 |
audio/audio.conf \ |
209 |
network/network.conf \ |
210 |
serial/serial.conf |
211 |
|
212 |
insinto /lib/udev/rules.d/ |
213 |
newins "${FILESDIR}/${PN}-4.18-udev.rules" 70-bluetooth.rules |
214 |
exeinto /lib/udev/ |
215 |
newexe "${FILESDIR}/${PN}-4.67-udev.script" bluetooth.sh |
216 |
|
217 |
newinitd "${FILESDIR}/rfcomm-init.d" rfcomm |
218 |
newconfd "${FILESDIR}/rfcomm-conf.d" rfcomm |
219 |
|
220 |
# Install oui.txt as requested in bug #283791 and approved by upstream |
221 |
insinto /var/lib/misc |
222 |
newins "${WORKDIR}/oui-${OUIDATE}.txt" oui.txt |
223 |
|
224 |
find "${D}" -name "*.la" -delete |
225 |
} |
226 |
|
227 |
pkg_postinst() { |
228 |
udevadm control --reload-rules && udevadm trigger --subsystem-match=bluetooth |
229 |
|
230 |
if ! has_version "net-dialup/ppp"; then |
231 |
elog "To use dial up networking you must install net-dialup/ppp." |
232 |
fi |
233 |
|
234 |
if use consolekit; then |
235 |
elog "If you want to use rfcomm as a normal user, you need to add the user" |
236 |
elog "to the uucp group." |
237 |
else |
238 |
elog "Since you have the consolekit use flag disabled, you will only be able to run" |
239 |
elog "bluetooth clients as root. If you want to be able to run bluetooth clientes as " |
240 |
elog "a regular user, you need to enable the consolekit use flag for this package or" |
241 |
elog "to add the user to the plugdev group." |
242 |
fi |
243 |
} |
244 |
|
245 |
|
246 |
|
247 |
1.1 net-wireless/bluez/bluez-4.97-r1.ebuild |
248 |
|
249 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-4.97-r1.ebuild?rev=1.1&view=markup |
250 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-4.97-r1.ebuild?rev=1.1&content-type=text/plain |
251 |
|
252 |
Index: bluez-4.97-r1.ebuild |
253 |
=================================================================== |
254 |
# Copyright 1999-2011 Gentoo Foundation |
255 |
# Distributed under the terms of the GNU General Public License v2 |
256 |
# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-4.97-r1.ebuild,v 1.1 2011/12/31 21:09:18 pacho Exp $ |
257 |
|
258 |
EAPI="4" |
259 |
PYTHON_DEPEND="test-programs? 2" |
260 |
|
261 |
inherit multilib eutils systemd python |
262 |
|
263 |
DESCRIPTION="Bluetooth Tools and System Daemons for Linux" |
264 |
HOMEPAGE="http://www.bluez.org/" |
265 |
|
266 |
# Because of oui.txt changing from time to time without noticement, we need to supply it |
267 |
# ourselves instead of using http://standards.ieee.org/regauth/oui/oui.txt directly. |
268 |
# See bugs #345263 and #349473 for reference. |
269 |
OUIDATE="20111231" |
270 |
SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz |
271 |
http://dev.gentoo.org/~pacho/bluez/oui-${OUIDATE}.txt.xz" |
272 |
|
273 |
LICENSE="GPL-2 LGPL-2.1" |
274 |
SLOT="0" |
275 |
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
276 |
IUSE="alsa caps +consolekit cups debug gstreamer pcmcia test-programs usb" |
277 |
|
278 |
CDEPEND=" |
279 |
>=dev-libs/glib-2.14:2 |
280 |
sys-apps/dbus |
281 |
>=sys-fs/udev-169 |
282 |
alsa? ( |
283 |
media-libs/alsa-lib[alsa_pcm_plugins_extplug,alsa_pcm_plugins_ioplug] |
284 |
media-libs/libsndfile |
285 |
) |
286 |
caps? ( >=sys-libs/libcap-ng-0.6.2 ) |
287 |
cups? ( net-print/cups ) |
288 |
gstreamer? ( |
289 |
>=media-libs/gstreamer-0.10:0.10 |
290 |
>=media-libs/gst-plugins-base-0.10:0.10 |
291 |
) |
292 |
usb? ( dev-libs/libusb:1 ) |
293 |
" |
294 |
DEPEND="${CDEPEND} |
295 |
>=dev-util/pkgconfig-0.20 |
296 |
>=dev-libs/check-0.9.4 |
297 |
sys-devel/flex |
298 |
" |
299 |
RDEPEND="${CDEPEND} |
300 |
!net-wireless/bluez-libs |
301 |
!net-wireless/bluez-utils |
302 |
consolekit? ( |
303 |
|| ( sys-auth/consolekit |
304 |
>=sys-apps/systemd-37 ) |
305 |
) |
306 |
test-programs? ( |
307 |
dev-python/dbus-python |
308 |
dev-python/pygobject:2 |
309 |
) |
310 |
" |
311 |
|
312 |
DOCS=( AUTHORS ChangeLog README ) |
313 |
|
314 |
pkg_setup() { |
315 |
if ! use consolekit; then |
316 |
enewgroup plugdev |
317 |
fi |
318 |
|
319 |
if use test-programs; then |
320 |
python_pkg_setup |
321 |
fi |
322 |
} |
323 |
|
324 |
src_prepare() { |
325 |
if ! use consolekit; then |
326 |
# No consolekit for at_console etc, so we grant plugdev the rights |
327 |
epatch "${FILESDIR}/bluez-plugdev.patch" |
328 |
fi |
329 |
|
330 |
if use cups; then |
331 |
sed -i \ |
332 |
-e "s:cupsdir = \$(libdir)/cups:cupsdir = `cups-config --serverbin`:" \ |
333 |
Makefile.tools Makefile.in || die |
334 |
fi |
335 |
} |
336 |
|
337 |
src_configure() { |
338 |
econf \ |
339 |
--enable-hid2hci \ |
340 |
--enable-audio \ |
341 |
--enable-bccmd \ |
342 |
--enable-datafiles \ |
343 |
--enable-dfutool \ |
344 |
--enable-input \ |
345 |
--enable-network \ |
346 |
--enable-serial \ |
347 |
--enable-service \ |
348 |
--enable-tools \ |
349 |
--disable-hal \ |
350 |
--localstatedir=/var \ |
351 |
--with-systemdunitdir="$(systemd_get_unitdir)" \ |
352 |
$(use_enable alsa) \ |
353 |
$(use_enable caps capng) \ |
354 |
$(use_enable cups) \ |
355 |
$(use_enable debug) \ |
356 |
$(use_enable gstreamer) \ |
357 |
$(use_enable pcmcia) \ |
358 |
$(use_enable test-programs test) \ |
359 |
$(use_enable usb) \ |
360 |
--enable-health \ |
361 |
--enable-maemo6 \ |
362 |
--enable-pnat \ |
363 |
--enable-wiimote |
364 |
} |
365 |
|
366 |
src_install() { |
367 |
default |
368 |
|
369 |
if use test-programs ; then |
370 |
cd "${S}/test" |
371 |
dobin simple-agent simple-service monitor-bluetooth |
372 |
newbin list-devices list-bluetooth-devices |
373 |
rm test-textfile.{c,o} || die # bug #356529 |
374 |
for b in apitest hsmicro hsplay test-* ; do |
375 |
newbin "${b}" "bluez-${b}" |
376 |
done |
377 |
insinto /usr/share/doc/${PF}/test-services |
378 |
doins service-* |
379 |
|
380 |
python_convert_shebangs -r 2 "${ED}" |
381 |
cd "${S}" |
382 |
fi |
383 |
|
384 |
insinto /etc/bluetooth |
385 |
doins \ |
386 |
input/input.conf \ |
387 |
audio/audio.conf \ |
388 |
network/network.conf \ |
389 |
serial/serial.conf |
390 |
|
391 |
insinto /lib/udev/rules.d/ |
392 |
newins "${FILESDIR}/${PN}-4.18-udev.rules" 70-bluetooth.rules |
393 |
exeinto /lib/udev/ |
394 |
newexe "${FILESDIR}/${PN}-4.67-udev.script" bluetooth.sh |
395 |
|
396 |
newinitd "${FILESDIR}/rfcomm-init.d" rfcomm |
397 |
newconfd "${FILESDIR}/rfcomm-conf.d" rfcomm |
398 |
|
399 |
# Install oui.txt as requested in bug #283791 and approved by upstream |
400 |
insinto /var/lib/misc |
401 |
newins "${WORKDIR}/oui-${OUIDATE}.txt" oui.txt |
402 |
|
403 |
find "${D}" -name "*.la" -delete |
404 |
} |
405 |
|
406 |
pkg_postinst() { |
407 |
udevadm control --reload-rules && udevadm trigger --subsystem-match=bluetooth |
408 |
|
409 |
if ! has_version "net-dialup/ppp"; then |
410 |
elog "To use dial up networking you must install net-dialup/ppp." |
411 |
fi |
412 |
|
413 |
if use consolekit; then |
414 |
elog "If you want to use rfcomm as a normal user, you need to add the user" |
415 |
elog "to the uucp group." |
416 |
else |
417 |
elog "Since you have the consolekit use flag disabled, you will only be able to run" |
418 |
elog "bluetooth clients as root. If you want to be able to run bluetooth clientes as " |
419 |
elog "a regular user, you need to enable the consolekit use flag for this package or" |
420 |
elog "to add the user to the plugdev group." |
421 |
fi |
422 |
} |