1 |
pacho 15/07/08 19:01:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bluez-5.32.ebuild |
5 |
Removed: bluez-5.28.ebuild bluez-5.30.ebuild |
6 |
Log: |
7 |
Version bump, drop old |
8 |
|
9 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
10 |
|
11 |
Revision Changes Path |
12 |
1.241 net-wireless/bluez/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.241&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.241&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?r1=1.240&r2=1.241 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v |
21 |
retrieving revision 1.240 |
22 |
retrieving revision 1.241 |
23 |
diff -u -r1.240 -r1.241 |
24 |
--- ChangeLog 19 Jun 2015 17:26:56 -0000 1.240 |
25 |
+++ ChangeLog 8 Jul 2015 19:01:36 -0000 1.241 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for net-wireless/bluez |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.240 2015/06/19 17:26:56 pacho Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.241 2015/07/08 19:01:36 pacho Exp $ |
31 |
+ |
32 |
+*bluez-5.32 (08 Jul 2015) |
33 |
+ |
34 |
+ 08 Jul 2015; Pacho Ramos <pacho@g.o> +bluez-5.32.ebuild, |
35 |
+ -bluez-5.28.ebuild, -bluez-5.30.ebuild: |
36 |
+ Version bump, drop old |
37 |
|
38 |
*bluez-5.31 (19 Jun 2015) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 net-wireless/bluez/bluez-5.32.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-5.32.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-5.32.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: bluez-5.32.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2015 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-5.32.ebuild,v 1.1 2015/07/08 19:01:36 pacho Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
56 |
|
57 |
inherit autotools eutils multilib python-any-r1 readme.gentoo systemd udev user multilib-minimal |
58 |
|
59 |
DESCRIPTION="Bluetooth Tools and System Daemons for Linux" |
60 |
HOMEPAGE="http://www.bluez.org" |
61 |
SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz" |
62 |
|
63 |
LICENSE="GPL-2+ LGPL-2.1+" |
64 |
SLOT="0/3" |
65 |
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86" |
66 |
IUSE="cups debug +obex +readline selinux systemd test +udev" |
67 |
|
68 |
CDEPEND=" |
69 |
>=dev-libs/glib-2.28:2 |
70 |
>=sys-apps/dbus-1.6:= |
71 |
>=sys-apps/hwids-20121202.2 |
72 |
cups? ( net-print/cups:= ) |
73 |
obex? ( dev-libs/libical:= ) |
74 |
readline? ( sys-libs/readline:= ) |
75 |
systemd? ( sys-apps/systemd ) |
76 |
udev? ( >=virtual/udev-172 ) |
77 |
abi_x86_32? ( |
78 |
!<app-emulation/emul-linux-x86-soundlibs-20140406-r1 |
79 |
!app-emulation/emul-linux-x86-soundlibs[-abi_x86_32] |
80 |
) |
81 |
" |
82 |
DEPEND="${CDEPEND} |
83 |
app-arch/xz-utils |
84 |
virtual/pkgconfig |
85 |
test? ( |
86 |
$(python_gen_any_dep ' |
87 |
>=dev-python/dbus-python-1[${PYTHON_USEDEP}] |
88 |
|| ( |
89 |
dev-python/pygobject:3[${PYTHON_USEDEP}] |
90 |
dev-python/pygobject:2[${PYTHON_USEDEP}] |
91 |
) |
92 |
') |
93 |
) |
94 |
" |
95 |
RDEPEND="${CDEPEND} |
96 |
selinux? ( sec-policy/selinux-bluetooth ) |
97 |
" |
98 |
DOC_CONTENTS=" |
99 |
If you want to use rfcomm as a normal user, you need to add the user |
100 |
to the uucp group. |
101 |
" |
102 |
|
103 |
pkg_setup() { |
104 |
enewgroup plugdev |
105 |
use test && python-any-r1_pkg_setup |
106 |
|
107 |
if ! use udev; then |
108 |
ewarn |
109 |
ewarn "You are installing ${PN} with USE=-udev. This means various bluetooth" |
110 |
ewarn "devices and adapters from Apple, Dell, Logitech etc. will not work," |
111 |
ewarn "and hid2hci will not be available." |
112 |
ewarn |
113 |
fi |
114 |
} |
115 |
|
116 |
src_prepare() { |
117 |
# Use static group "plugdev" if there is no ConsoleKit (or systemd logind) |
118 |
epatch "${FILESDIR}"/bluez-plugdev.patch |
119 |
|
120 |
# Try both udevadm paths to cover udev/systemd vs. eudev locations (#539844) |
121 |
# http://www.spinics.net/lists/linux-bluetooth/msg58739.html |
122 |
epatch "${FILESDIR}"/bluez-udevadm-path.patch |
123 |
|
124 |
# Fedora patches |
125 |
# http://www.spinics.net/lists/linux-bluetooth/msg38490.html |
126 |
epatch "${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch |
127 |
|
128 |
# http://www.spinics.net/lists/linux-bluetooth/msg40136.html |
129 |
epatch "${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch |
130 |
|
131 |
# http://www.spinics.net/lists/linux-bluetooth/msg41264.html |
132 |
epatch "${FILESDIR}"/0002-autopair-Don-t-handle-the-iCade.patch |
133 |
|
134 |
# ??? |
135 |
epatch "${FILESDIR}"/0004-agent-Assert-possible-infinite-loop.patch |
136 |
|
137 |
# Ubuntu workaround for bug #501120 |
138 |
epatch "${FILESDIR}"/0001-work-around-Logitech-diNovo-Edge-keyboard-firmware-i.patch |
139 |
|
140 |
if use cups; then |
141 |
sed -i \ |
142 |
-e "s:cupsdir = \$(libdir)/cups:cupsdir = $(cups-config --serverbin):" \ |
143 |
Makefile.{in,tools} || die |
144 |
fi |
145 |
|
146 |
eautoreconf |
147 |
|
148 |
multilib_copy_sources |
149 |
} |
150 |
|
151 |
multilib_src_configure() { |
152 |
local myconf=( |
153 |
# readline is automagic when client is enabled |
154 |
# --enable-client always needs readline, bug #504038 |
155 |
ac_cv_header_readline_readline_h=$(multilib_native_usex readline) |
156 |
) |
157 |
|
158 |
if ! multilib_is_native_abi; then |
159 |
myconf+=( |
160 |
# deps not used for the library |
161 |
{DBUS,GLIB}_{CFLAGS,LIBS}=' ' |
162 |
) |
163 |
fi |
164 |
|
165 |
econf \ |
166 |
--localstatedir=/var \ |
167 |
--disable-android \ |
168 |
--enable-datafiles \ |
169 |
--enable-experimental \ |
170 |
--enable-optimization \ |
171 |
$(use_enable debug) \ |
172 |
--enable-pie \ |
173 |
--enable-threads \ |
174 |
--enable-library \ |
175 |
$(multilib_native_use_enable test) \ |
176 |
--enable-tools \ |
177 |
--enable-manpages \ |
178 |
--enable-monitor \ |
179 |
$(multilib_native_use_enable cups) \ |
180 |
$(multilib_native_use_enable obex) \ |
181 |
$(multilib_native_use_enable readline client) \ |
182 |
$(multilib_native_use_enable systemd) \ |
183 |
$(systemd_with_unitdir) \ |
184 |
$(multilib_native_use_enable udev) \ |
185 |
$(multilib_native_use_enable udev sixaxis) |
186 |
} |
187 |
|
188 |
multilib_src_compile() { |
189 |
if multilib_is_native_abi; then |
190 |
default |
191 |
else |
192 |
emake -f Makefile -f - libs \ |
193 |
<<<'libs: $(lib_LTLIBRARIES)' |
194 |
fi |
195 |
} |
196 |
|
197 |
multilib_src_test() { |
198 |
multilib_is_native_abi && default |
199 |
} |
200 |
|
201 |
multilib_src_install() { |
202 |
if multilib_is_native_abi; then |
203 |
emake DESTDIR="${D}" install |
204 |
|
205 |
# Upstream doesn't install this, bug #524640 |
206 |
# http://permalink.gmane.org/gmane.linux.bluez.kernel/53115 |
207 |
# http://comments.gmane.org/gmane.linux.bluez.kernel/54564 |
208 |
# gatttool is only built with readline, bug #530776 |
209 |
use readline && dobin attrib/gatttool |
210 |
dobin tools/hex2hcd |
211 |
|
212 |
# Unittests are not that useful once installed |
213 |
if use test ; then |
214 |
rm -r "${ED}"/usr/$(get_libdir)/bluez/test || die |
215 |
fi |
216 |
else |
217 |
emake DESTDIR="${D}" \ |
218 |
install-includeHEADERS \ |
219 |
install-libLTLIBRARIES \ |
220 |
install-pkgconfigDATA |
221 |
fi |
222 |
} |
223 |
|
224 |
multilib_src_install_all() { |
225 |
prune_libtool_files --modules |
226 |
|
227 |
keepdir /var/lib/bluetooth |
228 |
|
229 |
# Upstream don't want people to play with them |
230 |
# But we keep installing them due to 'historical' reasons |
231 |
insinto /etc/bluetooth |
232 |
local d |
233 |
for d in input network proximity; do |
234 |
doins profiles/${d}/${d}.conf |
235 |
done |
236 |
doins src/main.conf |
237 |
doins src/bluetooth.conf |
238 |
|
239 |
newinitd "${FILESDIR}"/bluetooth-init.d-r3 bluetooth |
240 |
newinitd "${FILESDIR}"/rfcomm-init.d-r2 rfcomm |
241 |
|
242 |
einstalldocs |
243 |
|
244 |
readme.gentoo_create_doc |
245 |
} |
246 |
|
247 |
pkg_postinst() { |
248 |
readme.gentoo_print_elog |
249 |
|
250 |
use udev && udev_reload |
251 |
|
252 |
has_version net-dialup/ppp || elog "To use dial up networking you must install net-dialup/ppp." |
253 |
|
254 |
if ! has_version sys-auth/consolekit && ! has_version sys-apps/systemd; then |
255 |
elog "Since you don't have sys-auth/consolekit neither sys-apps/systemd, you will" |
256 |
elog "need to add the user to the plugdev group." |
257 |
fi |
258 |
} |