Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/
Date: Sun, 09 Oct 2016 19:07:41
Message-Id: 1476040038.78f57d922006acb60bb622a0e7cc50db187d7830.pacho@gentoo
1 commit: 78f57d922006acb60bb622a0e7cc50db187d7830
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 9 19:06:03 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 9 19:07:18 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78f57d92
7
8 net-wireless/bluez: Drop old
9
10 Package-Manager: portage-2.3.1
11
12 net-wireless/bluez/Manifest | 2 -
13 net-wireless/bluez/bluez-5.35.ebuild | 205 ------------------------------
14 net-wireless/bluez/bluez-5.37.ebuild | 234 -----------------------------------
15 3 files changed, 441 deletions(-)
16
17 diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
18 index aa2352c..0336182 100644
19 --- a/net-wireless/bluez/Manifest
20 +++ b/net-wireless/bluez/Manifest
21 @@ -1,7 +1,5 @@
22 DIST bluez-4.101-patches.tar.xz 12380 SHA256 ea4b837245080ebe904fe4f338cd3c8c1370e197cdfbcd42bd55430c940b5e13 SHA512 0ef3219ed923a0880b2fe7008c36c185ff631a8fe1b357cc3612888817d9a7eaa6624bd31ed00a8bbbb6739528cb777a0b9900a7db4930482d1cbc38417b89aa WHIRLPOOL b89729b2cb1ecd6c816210682605b275af396af056e85d9a8671192ede0470002c1f61931781f27ad988ce8bc137f69a6725008a5ea9fe743ae41bc2f5edc7e8
23 DIST bluez-4.101.tar.xz 887236 SHA256 41f9578bef39b8c94a2d6ddeaa556afd22d136936d0f03100e422fe970a45a7d SHA512 c8a88fa6948e43c81687047856806c9dc576d3223371947b496f228dec2b2614d1c5a8ff587e9f26eec44843a50503c55861f9fa736fdba43b2364f663f0cb0d WHIRLPOOL 0c4f163e4f4d0ba8f7928f5330ac3fd5f204c299346c59e73b64ebb331b0887a2b01e8ed6f4e6ae91f826a0431df4f97fe3a0900fa6013ae66fd755aaa136196
24 -DIST bluez-5.35.tar.xz 1643068 SHA256 1afee054644a8b1753ac98d7ad5cd95681a38f5c4cbb1b4bb3ceaa078bf8f0e2 SHA512 33850a01e135f14015295f0eb9b578c515d180d24441b89dff545ec7c0ce8dad5fa321e20918ed6285edaa386375b4ed5688cb17bbfaf4db0742f6d6a72eec6d WHIRLPOOL e334e0e9b37f823eb348cf1679e010567893a73941533a5dc12b598f3b3c845d82f15b3b79e106a7fc4c4344a204a2205fa96509e61d7e61b6ec9f413d650356
25 -DIST bluez-5.37.tar.xz 1657760 SHA256 c14ba9ddcb0055522073477b8fd8bf1ddf5d219e75fdfd4699b7e0ce5350d6b0 SHA512 e9af3b1dd079185425db10630fefbb66c26f398f21edb0c213baba9599f73715ca36f405a3f9d9572e6c55b7d3d25a4cdc18668c6eb439422f637e64798a28e9 WHIRLPOOL 1697a379d944978193db51a50c19a10fb27aa4e57ee9793563ba59b25de6388dfb4847c1a851fe1467d2521f14b2b9655208b8cef0cd5e44604bc0b26beb0c2b
26 DIST bluez-5.39.tar.xz 1659576 SHA256 21d1bc9150d3576296595217efb98a746b592389d25d5637e8bee5da7272593b SHA512 a0c43d0de4dcbfa20bbfe34e805a60703f4b94d0aa6c1d128a0917dfaa490593b26eb555b0a343ff44d1f94349b61776189438039e489ddcf8fe107354740230 WHIRLPOOL da299f8556418cf38d5a05b91079fdb6ff85761127d4708783bcd97fa4502e208187c013b1d8622688b438308506fbb06732426c35f6fedc2fe25cfd68a93486
27 DIST bluez-5.41.tar.xz 1665948 SHA256 df7dc4462494dad4e60a2943240d584f6e760235dca64f5f10eba46dbab7f5f0 SHA512 0cf96514362573a3c2cd500d427ea58373de0d1348ac43d61fff295ca5df8305668ef2f82913681779aa3506917aabf47983e07f47b4586573c8ad567a9863af WHIRLPOOL aa48649a0b0b79aeea1c2703cd98f13f69c8efe8a187f094bae8e059452c2cc1a862a8113cd6f3e141c684ad2158eaba43cdd908bbc1aa7dbee67ca578d80869
28 DIST bluez-5.42.tar.xz 1678324 SHA256 4f166fed80fc017396d6f2b3cae5185520875ab456d1c74d6b4eaa4da0e16109 SHA512 aec0433d3dd7d0be243ebddd5685eee2b40511bab90a9c1da50cb237ca485651325b8b91c4d38546a17ca861e9b8b24d7e3f50545cc8b5276735557e7189f457 WHIRLPOOL 5014a619d168ddce17b77d5a467f99780f080fb5fd84e7927e87098d8bfe7a70896336ed56f9f7e9650faaeaa97aedae456cc01158d6798491a30c8db3f376d4
29
30 diff --git a/net-wireless/bluez/bluez-5.35.ebuild b/net-wireless/bluez/bluez-5.35.ebuild
31 deleted file mode 100644
32 index 5a96fd4..00000000
33 --- a/net-wireless/bluez/bluez-5.35.ebuild
34 +++ /dev/null
35 @@ -1,205 +0,0 @@
36 -# Copyright 1999-2015 Gentoo Foundation
37 -# Distributed under the terms of the GNU General Public License v2
38 -# $Id$
39 -
40 -EAPI=5
41 -PYTHON_COMPAT=( python{2_7,3_3,3_4} )
42 -
43 -inherit autotools eutils multilib python-any-r1 readme.gentoo systemd udev user multilib-minimal
44 -
45 -DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
46 -HOMEPAGE="http://www.bluez.org"
47 -SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz"
48 -
49 -LICENSE="GPL-2+ LGPL-2.1+"
50 -SLOT="0/3"
51 -KEYWORDS="amd64 arm hppa ~mips ppc ppc64 x86"
52 -IUSE="cups debug +obex +readline selinux systemd test +udev"
53 -
54 -CDEPEND="
55 - >=dev-libs/glib-2.28:2
56 - >=sys-apps/dbus-1.6:=
57 - >=sys-apps/hwids-20121202.2
58 - cups? ( net-print/cups:= )
59 - obex? ( dev-libs/libical:= )
60 - readline? ( sys-libs/readline:= )
61 - systemd? ( sys-apps/systemd )
62 - udev? ( >=virtual/udev-172 )
63 - abi_x86_32? (
64 - !<app-emulation/emul-linux-x86-soundlibs-20140406-r1
65 - !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32]
66 - )
67 -"
68 -DEPEND="${CDEPEND}
69 - app-arch/xz-utils
70 - virtual/pkgconfig
71 - test? (
72 - $(python_gen_any_dep '
73 - >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
74 - || (
75 - dev-python/pygobject:3[${PYTHON_USEDEP}]
76 - dev-python/pygobject:2[${PYTHON_USEDEP}]
77 - )
78 - ')
79 - )
80 -"
81 -RDEPEND="${CDEPEND}
82 - selinux? ( sec-policy/selinux-bluetooth )
83 -"
84 -DOC_CONTENTS="
85 - If you want to use rfcomm as a normal user, you need to add the user
86 - to the uucp group.
87 -"
88 -
89 -pkg_setup() {
90 - enewgroup plugdev
91 - use test && python-any-r1_pkg_setup
92 -
93 - if ! use udev; then
94 - ewarn
95 - ewarn "You are installing ${PN} with USE=-udev. This means various bluetooth"
96 - ewarn "devices and adapters from Apple, Dell, Logitech etc. will not work,"
97 - ewarn "and hid2hci will not be available."
98 - ewarn
99 - fi
100 -}
101 -
102 -src_prepare() {
103 - # Use static group "plugdev" if there is no ConsoleKit (or systemd logind)
104 - epatch "${FILESDIR}"/bluez-plugdev.patch
105 -
106 - # Try both udevadm paths to cover udev/systemd vs. eudev locations (#539844)
107 - # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
108 - epatch "${FILESDIR}"/bluez-udevadm-path.patch
109 -
110 - # Fedora patches
111 - # http://www.spinics.net/lists/linux-bluetooth/msg38490.html
112 - epatch "${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
113 -
114 - # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
115 - epatch "${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
116 -
117 - # http://www.spinics.net/lists/linux-bluetooth/msg41264.html
118 - epatch "${FILESDIR}"/0002-autopair-Don-t-handle-the-iCade.patch
119 -
120 - # ???
121 - epatch "${FILESDIR}"/0004-agent-Assert-possible-infinite-loop.patch
122 -
123 - if use cups; then
124 - sed -i \
125 - -e "s:cupsdir = \$(libdir)/cups:cupsdir = $(cups-config --serverbin):" \
126 - Makefile.{in,tools} || die
127 - fi
128 -
129 - eautoreconf
130 -
131 - multilib_copy_sources
132 -}
133 -
134 -multilib_src_configure() {
135 - local myconf=(
136 - # readline is automagic when client is enabled
137 - # --enable-client always needs readline, bug #504038
138 - ac_cv_header_readline_readline_h=$(multilib_native_usex readline)
139 - )
140 -
141 - if ! multilib_is_native_abi; then
142 - myconf+=(
143 - # deps not used for the library
144 - {DBUS,GLIB}_{CFLAGS,LIBS}=' '
145 - )
146 - fi
147 -
148 - econf \
149 - --localstatedir=/var \
150 - --disable-android \
151 - --enable-datafiles \
152 - --enable-experimental \
153 - --enable-optimization \
154 - $(use_enable debug) \
155 - --enable-pie \
156 - --enable-threads \
157 - --enable-library \
158 - $(multilib_native_use_enable test) \
159 - --enable-tools \
160 - --enable-manpages \
161 - --enable-monitor \
162 - $(multilib_native_use_enable cups) \
163 - $(multilib_native_use_enable obex) \
164 - $(multilib_native_use_enable readline client) \
165 - $(multilib_native_use_enable systemd) \
166 - $(systemd_with_unitdir) \
167 - $(multilib_native_use_enable udev) \
168 - $(multilib_native_use_enable udev sixaxis)
169 -}
170 -
171 -multilib_src_compile() {
172 - if multilib_is_native_abi; then
173 - default
174 - else
175 - emake -f Makefile -f - libs \
176 - <<<'libs: $(lib_LTLIBRARIES)'
177 - fi
178 -}
179 -
180 -multilib_src_test() {
181 - multilib_is_native_abi && default
182 -}
183 -
184 -multilib_src_install() {
185 - if multilib_is_native_abi; then
186 - emake DESTDIR="${D}" install
187 -
188 - # Upstream doesn't install this, bug #524640
189 - # http://permalink.gmane.org/gmane.linux.bluez.kernel/53115
190 - # http://comments.gmane.org/gmane.linux.bluez.kernel/54564
191 - # gatttool is only built with readline, bug #530776
192 - use readline && dobin attrib/gatttool
193 - dobin tools/hex2hcd
194 -
195 - # Unittests are not that useful once installed
196 - if use test ; then
197 - rm -r "${ED}"/usr/$(get_libdir)/bluez/test || die
198 - fi
199 - else
200 - emake DESTDIR="${D}" \
201 - install-includeHEADERS \
202 - install-libLTLIBRARIES \
203 - install-pkgconfigDATA
204 - fi
205 -}
206 -
207 -multilib_src_install_all() {
208 - prune_libtool_files --modules
209 -
210 - keepdir /var/lib/bluetooth
211 -
212 - # Upstream don't want people to play with them
213 - # But we keep installing them due to 'historical' reasons
214 - insinto /etc/bluetooth
215 - local d
216 - for d in input network proximity; do
217 - doins profiles/${d}/${d}.conf
218 - done
219 - doins src/main.conf
220 -
221 - newinitd "${FILESDIR}"/bluetooth-init.d-r3 bluetooth
222 - newinitd "${FILESDIR}"/rfcomm-init.d-r2 rfcomm
223 -
224 - einstalldocs
225 -
226 - readme.gentoo_create_doc
227 -}
228 -
229 -pkg_postinst() {
230 - readme.gentoo_print_elog
231 -
232 - use udev && udev_reload
233 -
234 - has_version net-dialup/ppp || elog "To use dial up networking you must install net-dialup/ppp."
235 -
236 - if ! has_version sys-auth/consolekit && ! has_version sys-apps/systemd; then
237 - elog "Since you don't have sys-auth/consolekit neither sys-apps/systemd, you will"
238 - elog "need to add the user to the plugdev group."
239 - fi
240 -}
241
242 diff --git a/net-wireless/bluez/bluez-5.37.ebuild b/net-wireless/bluez/bluez-5.37.ebuild
243 deleted file mode 100644
244 index a9ef0b5..00000000
245 --- a/net-wireless/bluez/bluez-5.37.ebuild
246 +++ /dev/null
247 @@ -1,234 +0,0 @@
248 -# Copyright 1999-2016 Gentoo Foundation
249 -# Distributed under the terms of the GNU General Public License v2
250 -# $Id$
251 -
252 -EAPI=5
253 -PYTHON_COMPAT=( python2_7 )
254 -
255 -inherit autotools eutils multilib python-single-r1 readme.gentoo systemd udev user multilib-minimal
256 -
257 -DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
258 -HOMEPAGE="http://www.bluez.org"
259 -SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz"
260 -
261 -LICENSE="GPL-2+ LGPL-2.1+"
262 -SLOT="0/3"
263 -KEYWORDS="amd64 arm ~arm64 hppa ~mips ~ppc ppc64 x86"
264 -IUSE="cups doc debug extra-tools +obex +readline selinux systemd test test-programs +udev"
265 -REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} ) test-programs? ( ${PYTHON_REQUIRED_USE} )"
266 -
267 -CDEPEND="
268 - >=dev-libs/glib-2.28:2
269 - >=sys-apps/dbus-1.6:=
270 - >=sys-apps/hwids-20121202.2
271 - cups? ( net-print/cups:= )
272 - obex? ( dev-libs/libical:= )
273 - readline? ( sys-libs/readline:= )
274 - systemd? ( sys-apps/systemd )
275 - udev? ( >=virtual/udev-172 )
276 - abi_x86_32? (
277 - !<app-emulation/emul-linux-x86-soundlibs-20140406-r1
278 - !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32]
279 - )
280 -"
281 -TEST_DEPS="${PYTHON_DEPS}
282 - >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
283 - || (
284 - dev-python/pygobject:3[${PYTHON_USEDEP}]
285 - dev-python/pygobject:2[${PYTHON_USEDEP}]
286 - )
287 -"
288 -
289 -DEPEND="${CDEPEND}
290 - app-arch/xz-utils
291 - virtual/pkgconfig
292 - test? (
293 - ${TEST_DEPS}
294 - )
295 -"
296 -RDEPEND="${CDEPEND}
297 - selinux? ( sec-policy/selinux-bluetooth )
298 - test-programs? ( ${TEST_DEPS} )
299 -"
300 -DOC_CONTENTS="
301 - If you want to use rfcomm as a normal user, you need to add the user
302 - to the uucp group.
303 -"
304 -
305 -pkg_setup() {
306 - enewgroup plugdev
307 -
308 - if use test || use test-programs; then
309 - python-single-r1_pkg_setup
310 - fi
311 -
312 - if ! use udev; then
313 - ewarn
314 - ewarn "You are installing ${PN} with USE=-udev. This means various bluetooth"
315 - ewarn "devices and adapters from Apple, Dell, Logitech etc. will not work,"
316 - ewarn "and hid2hci will not be available."
317 - ewarn
318 - fi
319 -}
320 -
321 -src_prepare() {
322 - # Use static group "plugdev" if there is no ConsoleKit (or systemd logind)
323 - epatch "${FILESDIR}"/bluez-plugdev.patch
324 -
325 - # Try both udevadm paths to cover udev/systemd vs. eudev locations (#539844)
326 - # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
327 - epatch "${FILESDIR}"/bluez-udevadm-path.patch
328 -
329 - # Fedora patches
330 - # http://www.spinics.net/lists/linux-bluetooth/msg38490.html
331 - epatch "${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
332 -
333 - # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
334 - epatch "${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
335 -
336 - # http://www.spinics.net/lists/linux-bluetooth/msg41264.html
337 - epatch "${FILESDIR}"/0002-autopair-Don-t-handle-the-iCade.patch
338 -
339 - # ???
340 - epatch "${FILESDIR}"/0004-agent-Assert-possible-infinite-loop.patch
341 -
342 - # bug 574092
343 - epatch "${FILESDIR}"/${PN}-5.37-endian.patch
344 -
345 - if use cups; then
346 - sed -i \
347 - -e "s:cupsdir = \$(libdir)/cups:cupsdir = $(cups-config --serverbin):" \
348 - Makefile.{in,tools} || die
349 - fi
350 -
351 - eautoreconf
352 -
353 - multilib_copy_sources
354 -}
355 -
356 -multilib_src_configure() {
357 - local myconf=(
358 - # readline is automagic when client is enabled
359 - # --enable-client always needs readline, bug #504038
360 - ac_cv_header_readline_readline_h=$(multilib_native_usex readline)
361 - )
362 -
363 - if ! multilib_is_native_abi; then
364 - myconf+=(
365 - # deps not used for the library
366 - {DBUS,GLIB}_{CFLAGS,LIBS}=' '
367 - )
368 - fi
369 -
370 - econf \
371 - --localstatedir=/var \
372 - --disable-android \
373 - --enable-datafiles \
374 - --enable-experimental \
375 - --enable-optimization \
376 - $(use_enable debug) \
377 - --enable-pie \
378 - --enable-threads \
379 - --enable-library \
380 - --enable-tools \
381 - --enable-manpages \
382 - --enable-monitor \
383 - $(multilib_native_use_enable cups) \
384 - $(multilib_native_use_enable obex) \
385 - $(multilib_native_use_enable readline client) \
386 - $(multilib_native_use_enable systemd) \
387 - $(multilib_native_use_enable test-programs test) \
388 - $(systemd_with_unitdir) \
389 - $(multilib_native_use_enable udev) \
390 - $(multilib_native_use_enable udev sixaxis)
391 -}
392 -
393 -multilib_src_compile() {
394 - if multilib_is_native_abi; then
395 - default
396 - else
397 - emake -f Makefile -f - libs \
398 - <<<'libs: $(lib_LTLIBRARIES)'
399 - fi
400 -}
401 -
402 -multilib_src_test() {
403 - multilib_is_native_abi && default
404 -}
405 -
406 -multilib_src_install() {
407 - if multilib_is_native_abi; then
408 - emake DESTDIR="${D}" install
409 -
410 - # Only install extra-tools when relevant USE flag is enabled
411 - if use extra-tools; then
412 - ewarn "Upstream doesn't support using this tools and their bugs are"
413 - ewarn "likely to be ignored forever, also that tools can break"
414 - ewarn "without previous announcement."
415 - ewarn "Upstream also states all this tools are not really needed,"
416 - ewarn "then, if you still need to rely on them, you must ask them"
417 - ewarn "to either install that tool by default or add the needed"
418 - ewarn "functionality to the existing 'official' tools."
419 - ewarn "Please report this issues to:"
420 - ewarn "http://www.bluez.org/development/lists/"
421 -
422 - # Upstream doesn't install this, bug #524640
423 - # http://permalink.gmane.org/gmane.linux.bluez.kernel/53115
424 - # http://comments.gmane.org/gmane.linux.bluez.kernel/54564
425 - # gatttool is only built with readline, bug #530776
426 - if use readline; then
427 - dobin attrib/gatttool
428 - dobin tools/btmgmt
429 - fi
430 - dobin tools/hex2hcd
431 - fi
432 -
433 - # Unittests are not that useful once installed, so make them optional
434 - if use test-programs; then
435 - python_fix_shebang "${ED}"/usr/$(get_libdir)/bluez/test
436 - for i in $(find "${ED}"/usr/$(get_libdir)/bluez/test -maxdepth 1 -type f ! -name "*.*"); do
437 - dosym "${i}" /usr/bin/bluez-"${i##*/}"
438 - done
439 - fi
440 - else
441 - emake DESTDIR="${D}" \
442 - install-includeHEADERS \
443 - install-libLTLIBRARIES \
444 - install-pkgconfigDATA
445 - fi
446 -}
447 -
448 -multilib_src_install_all() {
449 - prune_libtool_files --modules
450 -
451 - keepdir /var/lib/bluetooth
452 -
453 - # Upstream don't want people to play with them
454 - # But we keep installing them due to 'historical' reasons
455 - insinto /etc/bluetooth
456 - local d
457 - for d in input network proximity; do
458 - doins profiles/${d}/${d}.conf
459 - done
460 - doins src/main.conf
461 -
462 - newinitd "${FILESDIR}"/bluetooth-init.d-r3 bluetooth
463 - newinitd "${FILESDIR}"/rfcomm-init.d-r2 rfcomm
464 -
465 - einstalldocs
466 - use doc && dodoc doc/*.txt
467 - readme.gentoo_create_doc
468 -}
469 -
470 -pkg_postinst() {
471 - readme.gentoo_print_elog
472 -
473 - use udev && udev_reload
474 -
475 - has_version net-dialup/ppp || elog "To use dial up networking you must install net-dialup/ppp."
476 -
477 - if ! has_version sys-auth/consolekit && ! has_version sys-apps/systemd; then
478 - elog "Since you don't have sys-auth/consolekit neither sys-apps/systemd, you will"
479 - elog "need to add the user to the plugdev group."
480 - fi
481 -}