1 |
pacho 11/08/01 09:49:03 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: bluez-4.96-r1.ebuild bluez-4.96.ebuild |
5 |
Removed: bluez-4.95.ebuild bluez-4.94.ebuild |
6 |
bluez-4.95-r3.ebuild bluez-4.95-r2.ebuild |
7 |
bluez-4.95-r1.ebuild bluez-4.87.ebuild |
8 |
Log: |
9 |
Version bump and remove old (4.96 will be the next stable candidate if possible). |
10 |
|
11 |
(Portage version: 2.1.10.7/cvs/Linux x86_64) |
12 |
|
13 |
Revision Changes Path |
14 |
1.11 net-wireless/bluez/metadata.xml |
15 |
|
16 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/metadata.xml?rev=1.11&view=markup |
17 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/metadata.xml?rev=1.11&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/metadata.xml?r1=1.10&r2=1.11 |
19 |
|
20 |
Index: metadata.xml |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/net-wireless/bluez/metadata.xml,v |
23 |
retrieving revision 1.10 |
24 |
retrieving revision 1.11 |
25 |
diff -u -r1.10 -r1.11 |
26 |
--- metadata.xml 31 Oct 2010 11:23:38 -0000 1.10 |
27 |
+++ metadata.xml 1 Aug 2011 09:49:02 -0000 1.11 |
28 |
@@ -14,7 +14,6 @@ |
29 |
</description> |
30 |
</maintainer> |
31 |
<use> |
32 |
- <flag name='attrib'>Enable attrib plugin</flag> |
33 |
<flag name='consolekit'>Use <pkg>sys-auth/pambase[consolekit]</pkg> to |
34 |
determine access to bluetooth devices based on whether a user is |
35 |
logged in locally or remotely</flag> |
36 |
|
37 |
|
38 |
|
39 |
1.100 net-wireless/bluez/ChangeLog |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.100&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.100&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?r1=1.99&r2=1.100 |
44 |
|
45 |
Index: ChangeLog |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v |
48 |
retrieving revision 1.99 |
49 |
retrieving revision 1.100 |
50 |
diff -u -r1.99 -r1.100 |
51 |
--- ChangeLog 28 Jul 2011 15:33:24 -0000 1.99 |
52 |
+++ ChangeLog 1 Aug 2011 09:49:02 -0000 1.100 |
53 |
@@ -1,6 +1,20 @@ |
54 |
# ChangeLog for net-wireless/bluez |
55 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.99 2011/07/28 15:33:24 pva Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.100 2011/08/01 09:49:02 pacho Exp $ |
58 |
+ |
59 |
+*bluez-4.96-r1 (01 Aug 2011) |
60 |
+*bluez-4.96 (01 Aug 2011) |
61 |
+ |
62 |
+ 01 Aug 2011; Pacho Ramos <pacho@g.o> -bluez-4.94.ebuild, |
63 |
+ -files/4.18/bluetooth-conf.d, -files/4.18/conf.d-hidd, -bluez-4.95.ebuild, |
64 |
+ -files/4.18/bluetooth-init.d, -files/4.18/cups-location.patch, |
65 |
+ -bluez-4.95-r1.ebuild, -files/4.18/init.d-hidd, -bluez-4.95-r2.ebuild, |
66 |
+ -files/4.60/bluetooth-conf.d, -bluez-4.95-r3.ebuild, |
67 |
+ -files/4.60/bluetooth-init.d, -bluez-4.87.ebuild, |
68 |
+ -files/bluez-4.95-high-cpu-usage.patch, +bluez-4.96.ebuild, |
69 |
+ -files/4.60/cups-location.patch, +bluez-4.96-r1.ebuild: |
70 |
+ Version bump and remove old (4.96 will be the next stable candidate if |
71 |
+ possible). |
72 |
|
73 |
*bluez-4.95-r3 (28 Jul 2011) |
74 |
*bluez-4.95-r2 (28 Jul 2011) |
75 |
|
76 |
|
77 |
|
78 |
1.1 net-wireless/bluez/bluez-4.96-r1.ebuild |
79 |
|
80 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-4.96-r1.ebuild?rev=1.1&view=markup |
81 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-4.96-r1.ebuild?rev=1.1&content-type=text/plain |
82 |
|
83 |
Index: bluez-4.96-r1.ebuild |
84 |
=================================================================== |
85 |
# Copyright 1999-2011 Gentoo Foundation |
86 |
# Distributed under the terms of the GNU General Public License v2 |
87 |
# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-4.96-r1.ebuild,v 1.1 2011/08/01 09:49:02 pacho Exp $ |
88 |
|
89 |
EAPI="4" |
90 |
|
91 |
inherit multilib eutils systemd |
92 |
|
93 |
DESCRIPTION="Bluetooth Tools and System Daemons for Linux" |
94 |
HOMEPAGE="http://www.bluez.org/" |
95 |
|
96 |
# Because of oui.txt changing from time to time without noticement, we need to supply it |
97 |
# ourselves instead of using http://standards.ieee.org/regauth/oui/oui.txt directly. |
98 |
# See bugs #345263 and #349473 for reference. |
99 |
OUIDATE="20110801" |
100 |
SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.gz |
101 |
http://dev.gentoo.org/~pacho/bluez/oui-${OUIDATE}.txt.xz" |
102 |
LICENSE="GPL-2 LGPL-2.1" |
103 |
SLOT="0" |
104 |
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
105 |
|
106 |
IUSE="alsa caps +consolekit cups debug gstreamer maemo6 health old-daemons pcmcia pnat test-programs usb" |
107 |
|
108 |
CDEPEND=" |
109 |
>=dev-libs/glib-2.14:2 |
110 |
sys-apps/dbus |
111 |
>=sys-fs/udev-169 |
112 |
alsa? ( |
113 |
media-libs/alsa-lib[alsa_pcm_plugins_extplug,alsa_pcm_plugins_ioplug] |
114 |
media-libs/libsndfile |
115 |
) |
116 |
caps? ( >=sys-libs/libcap-ng-0.6.2 ) |
117 |
cups? ( net-print/cups ) |
118 |
gstreamer? ( |
119 |
>=media-libs/gstreamer-0.10:0.10 |
120 |
>=media-libs/gst-plugins-base-0.10:0.10 |
121 |
) |
122 |
usb? ( dev-libs/libusb:1 ) |
123 |
" |
124 |
DEPEND="${CDEPEND} |
125 |
>=dev-util/pkgconfig-0.20 |
126 |
sys-devel/flex |
127 |
" |
128 |
RDEPEND="${CDEPEND} |
129 |
!net-wireless/bluez-libs |
130 |
!net-wireless/bluez-utils |
131 |
consolekit? ( sys-auth/consolekit ) |
132 |
test-programs? ( |
133 |
dev-python/dbus-python |
134 |
dev-python/pygobject:2 |
135 |
) |
136 |
" |
137 |
|
138 |
DOCS=( AUTHORS ChangeLog README ) |
139 |
|
140 |
pkg_setup() { |
141 |
if ! use consolekit; then |
142 |
enewgroup plugdev |
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-hid2hci \ |
166 |
--enable-input \ |
167 |
--enable-network \ |
168 |
--enable-serial \ |
169 |
--enable-service \ |
170 |
--enable-tools \ |
171 |
--disable-hal \ |
172 |
--localstatedir=/var \ |
173 |
--with-systemdunitdir="$(systemd_get_unitdir)" \ |
174 |
$(use_enable alsa) \ |
175 |
$(use_enable caps capng) \ |
176 |
$(use_enable cups) \ |
177 |
$(use_enable debug) \ |
178 |
$(use_enable gstreamer) \ |
179 |
$(use_enable health) \ |
180 |
$(use_enable maemo6) \ |
181 |
$(use_enable old-daemons dund) \ |
182 |
$(use_enable old-daemons hidd) \ |
183 |
$(use_enable old-daemons pand) \ |
184 |
$(use_enable pcmcia) \ |
185 |
$(use_enable pnat) \ |
186 |
$(use_enable test-programs test) \ |
187 |
$(use_enable usb) |
188 |
} |
189 |
|
190 |
src_install() { |
191 |
default |
192 |
|
193 |
if use test-programs ; then |
194 |
cd "${S}/test" |
195 |
dobin simple-agent simple-service monitor-bluetooth |
196 |
newbin list-devices list-bluetooth-devices |
197 |
rm test-textfile.{c,o} || die # bug #356529 |
198 |
for b in apitest hsmicro hsplay test-* ; do |
199 |
newbin "${b}" "bluez-${b}" |
200 |
done |
201 |
insinto /usr/share/doc/${PF}/test-services |
202 |
doins service-* |
203 |
|
204 |
cd "${S}" |
205 |
fi |
206 |
|
207 |
if use old-daemons; then |
208 |
newconfd "${FILESDIR}/conf.d-hidd" hidd |
209 |
newinitd "${FILESDIR}/init.d-hidd" hidd |
210 |
newconfd "${FILESDIR}/conf.d-dund" dund |
211 |
newinitd "${FILESDIR}/init.d-dund" dund |
212 |
fi |
213 |
|
214 |
insinto /etc/bluetooth |
215 |
doins \ |
216 |
input/input.conf \ |
217 |
audio/audio.conf \ |
218 |
network/network.conf \ |
219 |
serial/serial.conf |
220 |
|
221 |
insinto /lib/udev/rules.d/ |
222 |
newins "${FILESDIR}/${PN}-4.18-udev.rules" 70-bluetooth.rules |
223 |
exeinto /lib/udev/ |
224 |
newexe "${FILESDIR}/${PN}-4.18-udev.script" bluetooth.sh |
225 |
|
226 |
newinitd "${FILESDIR}/bluetooth-init.d" bluetooth |
227 |
newconfd "${FILESDIR}/bluetooth-conf.d" bluetooth |
228 |
|
229 |
# Install oui.txt as requested in bug #283791 and approved by upstream |
230 |
insinto /var/lib/misc |
231 |
newins "${WORKDIR}/oui-${OUIDATE}.txt" oui.txt |
232 |
|
233 |
find "${ED}" -name "*.la" -delete |
234 |
} |
235 |
|
236 |
pkg_postinst() { |
237 |
udevadm control --reload-rules && udevadm trigger --subsystem-match=bluetooth |
238 |
|
239 |
if ! has_version "net-dialup/ppp"; then |
240 |
elog "To use dial up networking you must install net-dialup/ppp." |
241 |
fi |
242 |
|
243 |
if use old-daemons; then |
244 |
elog "dund and hidd init scripts were installed because you have the old-daemons" |
245 |
elog "use flag on. They are not started by default via udev so please add them" |
246 |
elog "to the required runlevels using rc-update <runlevel> add <dund/hidd>. If" |
247 |
elog "you need init scripts for the other daemons, please file requests" |
248 |
elog "to https://bugs.gentoo.org." |
249 |
fi |
250 |
|
251 |
if use consolekit; then |
252 |
elog "If you want to use rfcomm as a normal user, you need to add the user" |
253 |
elog "to the uucp group." |
254 |
else |
255 |
elog "Since you have the consolekit use flag disabled, you will only be able to run" |
256 |
elog "bluetooth clients as root. If you want to be able to run bluetooth clientes as " |
257 |
elog "a regular user, you need to enable the consolekit use flag for this package or" |
258 |
elog "to add the user to the plugdev group." |
259 |
fi |
260 |
} |
261 |
|
262 |
|
263 |
|
264 |
1.1 net-wireless/bluez/bluez-4.96.ebuild |
265 |
|
266 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-4.96.ebuild?rev=1.1&view=markup |
267 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-4.96.ebuild?rev=1.1&content-type=text/plain |
268 |
|
269 |
Index: bluez-4.96.ebuild |
270 |
=================================================================== |
271 |
# Copyright 1999-2011 Gentoo Foundation |
272 |
# Distributed under the terms of the GNU General Public License v2 |
273 |
# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-4.96.ebuild,v 1.1 2011/08/01 09:49:02 pacho Exp $ |
274 |
|
275 |
EAPI="4" |
276 |
|
277 |
inherit multilib eutils systemd |
278 |
|
279 |
DESCRIPTION="Bluetooth Tools and System Daemons for Linux" |
280 |
HOMEPAGE="http://www.bluez.org/" |
281 |
|
282 |
# Because of oui.txt changing from time to time without noticement, we need to supply it |
283 |
# ourselves instead of using http://standards.ieee.org/regauth/oui/oui.txt directly. |
284 |
# See bugs #345263 and #349473 for reference. |
285 |
OUIDATE="20110801" |
286 |
SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.gz |
287 |
http://dev.gentoo.org/~pacho/bluez/oui-${OUIDATE}.txt.xz" |
288 |
LICENSE="GPL-2 LGPL-2.1" |
289 |
SLOT="0" |
290 |
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
291 |
|
292 |
IUSE="alsa caps +consolekit cups debug gstreamer maemo6 health old-daemons pcmcia pnat test-programs usb" |
293 |
|
294 |
CDEPEND=" |
295 |
>=dev-libs/glib-2.14:2 |
296 |
sys-apps/dbus |
297 |
>=sys-fs/udev-146[extras] |
298 |
alsa? ( |
299 |
media-libs/alsa-lib[alsa_pcm_plugins_extplug,alsa_pcm_plugins_ioplug] |
300 |
media-libs/libsndfile |
301 |
) |
302 |
caps? ( >=sys-libs/libcap-ng-0.6.2 ) |
303 |
cups? ( net-print/cups ) |
304 |
gstreamer? ( |
305 |
>=media-libs/gstreamer-0.10:0.10 |
306 |
>=media-libs/gst-plugins-base-0.10:0.10 |
307 |
) |
308 |
usb? ( dev-libs/libusb:1 ) |
309 |
" |
310 |
DEPEND="${CDEPEND} |
311 |
>=dev-util/pkgconfig-0.20 |
312 |
sys-devel/flex |
313 |
" |
314 |
RDEPEND="${CDEPEND} |
315 |
!net-wireless/bluez-libs |
316 |
!net-wireless/bluez-utils |
317 |
consolekit? ( sys-auth/consolekit ) |
318 |
test-programs? ( |
319 |
dev-python/dbus-python |
320 |
dev-python/pygobject:2 |
321 |
) |
322 |
" |
323 |
|
324 |
DOCS=( AUTHORS ChangeLog README ) |
325 |
|
326 |
pkg_setup() { |
327 |
if ! use consolekit; then |
328 |
enewgroup plugdev |
329 |
fi |
330 |
} |
331 |
|
332 |
src_prepare() { |
333 |
if ! use consolekit; then |
334 |
# No consolekit for at_console etc, so we grant plugdev the rights |
335 |
epatch "${FILESDIR}/bluez-plugdev.patch" |
336 |
fi |
337 |
|
338 |
if use cups; then |
339 |
sed -i \ |
340 |
-e "s:cupsdir = \$(libdir)/cups:cupsdir = `cups-config --serverbin`:" \ |
341 |
Makefile.tools Makefile.in || die |
342 |
fi |
343 |
} |
344 |
|
345 |
src_configure() { |
346 |
econf \ |
347 |
--enable-audio \ |
348 |
--enable-bccmd \ |
349 |
--enable-datafiles \ |
350 |
--enable-dfutool \ |
351 |
--enable-input \ |
352 |
--enable-network \ |
353 |
--enable-serial \ |
354 |
--enable-service \ |
355 |
--enable-tools \ |
356 |
--disable-hal \ |
357 |
--localstatedir=/var \ |
358 |
--with-systemdunitdir="$(systemd_get_unitdir)" \ |
359 |
$(use_enable alsa) \ |
360 |
$(use_enable caps capng) \ |
361 |
$(use_enable cups) \ |
362 |
$(use_enable debug) \ |
363 |
$(use_enable gstreamer) \ |
364 |
$(use_enable health) \ |
365 |
$(use_enable maemo6) \ |
366 |
$(use_enable old-daemons dund) \ |
367 |
$(use_enable old-daemons hidd) \ |
368 |
$(use_enable old-daemons pand) \ |
369 |
$(use_enable pcmcia) \ |
370 |
$(use_enable pnat) \ |
371 |
$(use_enable test-programs test) \ |
372 |
$(use_enable usb) |
373 |
} |
374 |
|
375 |
src_install() { |
376 |
default |
377 |
|
378 |
if use test-programs ; then |
379 |
cd "${S}/test" |
380 |
dobin simple-agent simple-service monitor-bluetooth |
381 |
newbin list-devices list-bluetooth-devices |
382 |
rm test-textfile.{c,o} || die # bug #356529 |
383 |
for b in apitest hsmicro hsplay test-* ; do |
384 |
newbin "${b}" "bluez-${b}" |
385 |
done |
386 |
insinto /usr/share/doc/${PF}/test-services |
387 |
doins service-* |
388 |
|
389 |
cd "${S}" |
390 |
fi |
391 |
|
392 |
if use old-daemons; then |
393 |
newconfd "${FILESDIR}/conf.d-hidd" hidd |
394 |
newinitd "${FILESDIR}/init.d-hidd" hidd |
395 |
newconfd "${FILESDIR}/conf.d-dund" dund |
396 |
newinitd "${FILESDIR}/init.d-dund" dund |
397 |
fi |
398 |
|
399 |
insinto /etc/bluetooth |
400 |
doins \ |
401 |
input/input.conf \ |
402 |
audio/audio.conf \ |
403 |
network/network.conf \ |
404 |
serial/serial.conf |
405 |
|
406 |
insinto /lib/udev/rules.d/ |
407 |
newins "${FILESDIR}/${PN}-4.18-udev.rules" 70-bluetooth.rules |
408 |
exeinto /lib/udev/ |
409 |
newexe "${FILESDIR}/${PN}-4.18-udev.script" bluetooth.sh |
410 |
|
411 |
newinitd "${FILESDIR}/bluetooth-init.d" bluetooth |
412 |
newconfd "${FILESDIR}/bluetooth-conf.d" bluetooth |
413 |
|
414 |
# Install oui.txt as requested in bug #283791 and approved by upstream |
415 |
insinto /var/lib/misc |
416 |
newins "${WORKDIR}/oui-${OUIDATE}.txt" oui.txt |
417 |
|
418 |
find "${ED}" -name "*.la" -delete |
419 |
} |
420 |
|
421 |
pkg_postinst() { |
422 |
udevadm control --reload-rules && udevadm trigger --subsystem-match=bluetooth |
423 |
|
424 |
if ! has_version "net-dialup/ppp"; then |
425 |
elog "To use dial up networking you must install net-dialup/ppp." |
426 |
fi |
427 |
|
428 |
if use old-daemons; then |
429 |
elog "dund and hidd init scripts were installed because you have the old-daemons" |
430 |
elog "use flag on. They are not started by default via udev so please add them" |
431 |
elog "to the required runlevels using rc-update <runlevel> add <dund/hidd>. If" |
432 |
elog "you need init scripts for the other daemons, please file requests" |
433 |
elog "to https://bugs.gentoo.org." |
434 |
fi |
435 |
|
436 |
if use consolekit; then |
437 |
elog "If you want to use rfcomm as a normal user, you need to add the user" |
438 |
elog "to the uucp group." |
439 |
else |
440 |
elog "Since you have the consolekit use flag disabled, you will only be able to run" |
441 |
elog "bluetooth clients as root. If you want to be able to run bluetooth clientes as " |
442 |
elog "a regular user, you need to enable the consolekit use flag for this package or" |
443 |
elog "to add the user to the plugdev group." |
444 |
fi |
445 |
} |