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: metadata.xml bluez-4.101-r8.ebuild ChangeLog bluez-4.101-r5.ebuild
Date: Sun, 01 Dec 2013 21:22:02
Message-Id: 20131201212157.527552004B@flycatcher.gentoo.org
1 pacho 13/12/01 21:21:57
2
3 Modified: metadata.xml ChangeLog
4 Added: bluez-4.101-r8.ebuild
5 Removed: bluez-4.101-r5.ebuild
6 Log:
7 Make hid2hci optional and disabled by default (#405903#c2 by Alexander Holler)
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
10
11 Revision Changes Path
12 1.18 net-wireless/bluez/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/metadata.xml?rev=1.18&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/metadata.xml?rev=1.18&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/metadata.xml?r1=1.17&r2=1.18
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-wireless/bluez/metadata.xml,v
21 retrieving revision 1.17
22 retrieving revision 1.18
23 diff -u -r1.17 -r1.18
24 --- metadata.xml 30 Jul 2013 03:17:03 -0000 1.17
25 +++ metadata.xml 1 Dec 2013 21:21:57 -0000 1.18
26 @@ -6,11 +6,12 @@
27 <name>Pacho Ramos</name>
28 </maintainer>
29 <use>
30 - <flag name="consolekit">Use <pkg>sys-auth/pambase[consolekit]</pkg> to
31 - determine access to bluetooth devices based on whether a user is
32 - logged in locally or remotely</flag>
33 <flag name="test-programs">Install tools for testing of
34 various Bluetooth functions</flag>
35 + <flag name="hid2hci">The HID proxying makes the keyboard / mouse show up
36 + as regular USB HID devices, but needs them to be
37 + paired before enabling this, otherwise they won't be
38 + detected</flag>
39 </use>
40 <upstream>
41 <remote-id type="cpe">cpe:/a:bluez:bluez</remote-id>
42
43
44
45 1.174 net-wireless/bluez/ChangeLog
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.174&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.174&content-type=text/plain
49 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?r1=1.173&r2=1.174
50
51 Index: ChangeLog
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v
54 retrieving revision 1.173
55 retrieving revision 1.174
56 diff -u -r1.173 -r1.174
57 --- ChangeLog 27 Nov 2013 19:16:02 -0000 1.173
58 +++ ChangeLog 1 Dec 2013 21:21:57 -0000 1.174
59 @@ -1,6 +1,12 @@
60 # ChangeLog for net-wireless/bluez
61 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
62 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.173 2013/11/27 19:16:02 maekke Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.174 2013/12/01 21:21:57 pacho Exp $
64 +
65 +*bluez-4.101-r8 (01 Dec 2013)
66 +
67 + 01 Dec 2013; Pacho Ramos <pacho@g.o> +bluez-4.101-r8.ebuild,
68 + -bluez-4.101-r5.ebuild, metadata.xml:
69 + Make hid2hci optional and disabled by default (#405903#c2 by Alexander Holler)
70
71 27 Nov 2013; Markus Meier <maekke@g.o> bluez-4.101-r7.ebuild:
72 arm stable, bug #487748
73
74
75
76 1.1 net-wireless/bluez/bluez-4.101-r8.ebuild
77
78 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-4.101-r8.ebuild?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-4.101-r8.ebuild?rev=1.1&content-type=text/plain
80
81 Index: bluez-4.101-r8.ebuild
82 ===================================================================
83 # Copyright 1999-2013 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85 # $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-4.101-r8.ebuild,v 1.1 2013/12/01 21:21:57 pacho Exp $
86
87 EAPI=5
88 PYTHON_COMPAT=( python{2_6,2_7} )
89 inherit autotools eutils multilib python-single-r1 readme.gentoo systemd user
90
91 DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
92 HOMEPAGE="http://www.bluez.org/"
93 SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz
94 http://dev.gentoo.org/~pacho/bluez/${P}-patches.tar.xz"
95
96 LICENSE="GPL-2 LGPL-2.1"
97 SLOT="0"
98 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
99 IUSE="alsa cups debug gstreamer hid2hci pcmcia readline selinux test-programs usb"
100
101 REQUIRED_USE="test-programs? ( ${PYTHON_REQUIRED_USE} )"
102
103 CDEPEND="
104 >=dev-libs/glib-2.28:2
105 >=sys-apps/dbus-1.6:=
106 >=sys-apps/hwids-20121202.2
107 >=virtual/udev-171
108 alsa? (
109 media-libs/alsa-lib:=[alsa_pcm_plugins_extplug(+),alsa_pcm_plugins_ioplug(+)]
110 media-libs/libsndfile:=
111 )
112 cups? ( net-print/cups:= )
113 gstreamer? (
114 >=media-libs/gstreamer-0.10:0.10
115 >=media-libs/gst-plugins-base-0.10:0.10
116 )
117 readline? ( sys-libs/readline:= )
118 selinux? ( sec-policy/selinux-bluetooth )
119 usb? ( virtual/libusb:0 )
120 "
121 DEPEND="${CDEPEND}
122 sys-devel/flex
123 virtual/pkgconfig
124 test-programs? ( >=dev-libs/check-0.9.6 )
125 "
126 RDEPEND="${CDEPEND}
127 test-programs? (
128 >=dev-python/dbus-python-1
129 dev-python/pygobject:2
130 dev-python/pygobject:3
131 ${PYTHON_DEPS}
132 )
133 "
134
135 DOCS=( AUTHORS ChangeLog README )
136
137 DOC_CONTENTS="
138 If you want to use rfcomm as a normal user, you need to add the user
139 to the uucp group.
140 "
141
142 pkg_setup() {
143 enewgroup plugdev
144 use test-programs && python-single-r1_pkg_setup
145 }
146
147 src_prepare() {
148 # Fedora patches
149 epatch "${WORKDIR}/${P}-patches"/*.patch
150
151 # Use static group "plugdev" if there is no ConsoleKit (or systemd logind)
152 epatch "${FILESDIR}"/bluez-plugdev.patch
153
154 sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
155
156 eautoreconf
157
158 if use cups; then
159 sed -i \
160 -e "s:cupsdir = \$(libdir)/cups:cupsdir = `cups-config --serverbin`:" \
161 Makefile.{in,tools} || die
162 fi
163 }
164
165 src_configure() {
166 export ac_cv_header_readline_readline_h=$(usex readline)
167
168 # Missing flags: --enable-{sap,hidd,pand,dund,dbusoob,gatt}
169 # Keep this in ./configure --help order!
170 econf \
171 --localstatedir=/var \
172 --enable-network \
173 --enable-serial \
174 --enable-input \
175 --enable-audio \
176 --enable-service \
177 --enable-health \
178 --enable-pnat \
179 $(use_enable gstreamer) \
180 $(use_enable alsa) \
181 $(use_enable usb) \
182 $(use_enable usb cable) \
183 --enable-tools \
184 --enable-bccmd \
185 $(use_enable pcmcia) \
186 $(use_enable hid2hci) \
187 --enable-dfutool \
188 $(use_enable cups) \
189 $(use_enable test-programs test) \
190 --enable-datafiles \
191 $(use_enable debug) \
192 --enable-maemo6 \
193 --enable-wiimote \
194 --disable-hal \
195 --with-ouifile=/usr/share/misc/oui.txt \
196 --with-systemdunitdir="$(systemd_get_unitdir)"
197 }
198
199 src_install() {
200 default
201
202 if use test-programs; then
203 pushd test >/dev/null
204 dobin simple-agent simple-service monitor-bluetooth
205 newbin list-devices list-bluetooth-devices
206 rm test-textfile.{c,o} || die #356529
207 local b
208 for b in hsmicro hsplay test-*; do
209 newbin "${b}" bluez-"${b}"
210 done
211 insinto /usr/share/doc/${PF}/test-services
212 doins service-*
213 python_fix_shebang "${ED}"
214 popd >/dev/null
215 fi
216
217 insinto /etc/bluetooth
218 local d
219 for d in input audio network serial; do
220 doins ${d}/${d}.conf
221 done
222
223 newinitd "${FILESDIR}"/bluetooth-init.d-r2 bluetooth
224 newinitd "${FILESDIR}"/rfcomm-init.d rfcomm
225 newconfd "${FILESDIR}"/rfcomm-conf.d rfcomm
226
227 readme.gentoo_create_doc
228
229 prune_libtool_files --modules
230 }
231
232 pkg_postinst() {
233 readme.gentoo_print_elog
234
235 udevadm control --reload-rules
236
237 has_version net-dialup/ppp || elog "To use dial up networking you must install net-dialup/ppp."
238
239 if ! has_version sys-auth/consolekit && ! has_version sys-apps/systemd; then
240 elog "Since you don't have sys-auth/consolekit neither sys-apps/systemd, you will only"
241 elog "be able to run bluetooth clients as root. If you want to be able to run bluetooth clientes as"
242 elog "a regular user, you need to enable the consolekit use flag for this package or"
243 elog "to add the user to the plugdev group."
244 fi
245 }