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 ChangeLog bluez-4.70.ebuild bluez-4.63.ebuild bluez-4.67.ebuild bluez-4.64.ebuild
Date: Tue, 07 Sep 2010 11:00:33
Message-Id: 20100907110027.4DBE42003C@flycatcher.gentoo.org
1 pacho 10/09/07 11:00:27
2
3 Modified: metadata.xml ChangeLog
4 Added: bluez-4.70.ebuild
5 Removed: bluez-4.63.ebuild bluez-4.67.ebuild
6 bluez-4.64.ebuild
7 Log:
8 Version bump and fix bug #283057
9 (Portage version: 2.1.8.3/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.7 net-wireless/bluez/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/metadata.xml?rev=1.7&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/metadata.xml?rev=1.7&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/metadata.xml?r1=1.6&r2=1.7
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-wireless/bluez/metadata.xml,v
21 retrieving revision 1.6
22 retrieving revision 1.7
23 diff -u -r1.6 -r1.7
24 --- metadata.xml 16 Jul 2010 09:37:31 -0000 1.6
25 +++ metadata.xml 7 Sep 2010 11:00:27 -0000 1.7
26 @@ -14,12 +14,14 @@
27 </description>
28 </maintainer>
29 <use>
30 + <flag name='attrib'>Enable attrib plugin</flag>
31 <flag name='consolekit'>Use <pkg>sys-auth/pambase[consolekit]</pkg> to
32 determine access to bluetooth devices based on whether a user is
33 logged in locally or remotely</flag>
34 <flag name='maemo6'>Compile with maemo6 plugin</flag>
35 <flag name='old-daemons'>Install old daemons like hidd and sdpd that are
36 deprecated by the new Service framework</flag>
37 + <flag name='pnat'>Enable pnat plugin</flag>
38 <flag name='test-programs'>Install tools for testing of
39 various Bluetooth functions</flag>
40 </use>
41
42
43
44 1.49 net-wireless/bluez/ChangeLog
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.49&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.49&content-type=text/plain
48 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?r1=1.48&r2=1.49
49
50 Index: ChangeLog
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v
53 retrieving revision 1.48
54 retrieving revision 1.49
55 diff -u -r1.48 -r1.49
56 --- ChangeLog 6 Sep 2010 14:04:14 -0000 1.48
57 +++ ChangeLog 7 Sep 2010 11:00:27 -0000 1.49
58 @@ -1,6 +1,16 @@
59 # ChangeLog for net-wireless/bluez
60 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
61 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.48 2010/09/06 14:04:14 fauli Exp $
62 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.49 2010/09/07 11:00:27 pacho Exp $
63 +
64 +*bluez-4.70 (07 Sep 2010)
65 +
66 + 07 Sep 2010; Pacho Ramos <pacho@g.o> -bluez-4.63.ebuild,
67 + -bluez-4.64.ebuild, -bluez-4.67.ebuild, +bluez-4.70.ebuild,
68 + +files/bluetooth-init.d, +files/init.d-hidd, metadata.xml:
69 + Version bump with updated init.d scripts to make them POSIX compliant
70 + (following Michał Górny suggestions in bug #283057), two new USE flags
71 + for compiling plugins and some upstream bugfixes that allow us to drop old
72 + alsa location patch. Remove old.
73
74 06 Sep 2010; Christian Faulhammer <fauli@g.o> bluez-4.69.ebuild:
75 stable x86, bug 335317
76
77
78
79 1.1 net-wireless/bluez/bluez-4.70.ebuild
80
81 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-4.70.ebuild?rev=1.1&view=markup
82 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-4.70.ebuild?rev=1.1&content-type=text/plain
83
84 Index: bluez-4.70.ebuild
85 ===================================================================
86 # Copyright 1999-2010 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 # $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-4.70.ebuild,v 1.1 2010/09/07 11:00:27 pacho Exp $
89
90 EAPI="2"
91
92 inherit multilib eutils
93
94 DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
95 HOMEPAGE="http://bluez.sourceforge.net/"
96 SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.gz"
97 LICENSE="GPL-2 LGPL-2.1"
98 SLOT="0"
99 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
100
101 IUSE="alsa attrib caps +consolekit cups debug gstreamer maemo6 old-daemons pcmcia pnat test-programs usb"
102
103 CDEPEND="alsa? (
104 media-libs/alsa-lib[alsa_pcm_plugins_extplug,alsa_pcm_plugins_ioplug]
105 )
106 caps? ( >=sys-libs/libcap-ng-0.6.2 )
107 gstreamer? (
108 >=media-libs/gstreamer-0.10
109 >=media-libs/gst-plugins-base-0.10 )
110 usb? ( dev-libs/libusb )
111 cups? ( net-print/cups )
112 >=sys-fs/udev-146[extras]
113 >=dev-libs/glib-2.14
114 sys-apps/dbus
115 media-libs/libsndfile
116 >=dev-libs/libnl-1.1
117 !net-wireless/bluez-libs
118 !net-wireless/bluez-utils"
119 DEPEND="sys-devel/flex
120 >=dev-util/pkgconfig-0.20
121 ${CDEPEND}"
122 RDEPEND="${CDEPEND}
123 consolekit? ( sys-auth/pambase[consolekit] )
124 test-programs? (
125 dev-python/dbus-python
126 dev-python/pygobject )"
127
128 pkg_setup() {
129 if ! use consolekit; then
130 enewgroup plugdev
131 fi
132 }
133
134 src_prepare() {
135 if ! use consolekit; then
136 # No consolekit for at_console etc, so we grant plugdev the rights
137 epatch "${FILESDIR}/bluez-plugdev.patch"
138 fi
139
140 if use cups; then
141 epatch "${FILESDIR}/4.60/cups-location.patch"
142 fi
143 }
144
145 src_configure() {
146 econf \
147 $(use_enable caps capng) \
148 --enable-network \
149 --enable-serial \
150 --enable-input \
151 --enable-audio \
152 --enable-service \
153 $(use_enable gstreamer) \
154 $(use_enable alsa) \
155 $(use_enable usb) \
156 --enable-netlink \
157 --enable-tools \
158 --enable-bccmd \
159 --enable-dfutool \
160 $(use_enable old-daemons hidd) \
161 $(use_enable old-daemons pand) \
162 $(use_enable old-daemons dund) \
163 $(use_enable attrib) \
164 $(use_enable pnat) \
165 $(use_enable maemo6) \
166 $(use_enable cups) \
167 $(use_enable test-programs test) \
168 --enable-udevrules \
169 --enable-configfiles \
170 $(use_enable pcmcia) \
171 $(use_enable debug) \
172 --localstatedir=/var
173 }
174
175 src_install() {
176 emake DESTDIR="${D}" install || die "make install failed"
177
178 dodoc AUTHORS ChangeLog README || die
179
180 if use test-programs ; then
181 cd "${S}/test"
182 dobin simple-agent simple-service monitor-bluetooth
183 newbin list-devices list-bluetooth-devices
184 for b in apitest hsmicro hsplay test-* ; do
185 newbin "${b}" "bluez-${b}"
186 done
187 insinto /usr/share/doc/${PF}/test-services
188 doins service-*
189
190 cd "${S}"
191 fi
192
193 if use old-daemons; then
194 newconfd "${FILESDIR}/4.18/conf.d-hidd" hidd || die
195 newinitd "${FILESDIR}/init.d-hidd" hidd || die
196 fi
197
198 insinto /etc/bluetooth
199 doins \
200 input/input.conf \
201 audio/audio.conf \
202 network/network.conf \
203 serial/serial.conf \
204 || die
205
206 insinto /etc/udev/rules.d/
207 newins "${FILESDIR}/${PN}-4.18-udev.rules" 70-bluetooth.rules || die
208 exeinto /$(get_libdir)/udev/
209 newexe "${FILESDIR}/${PN}-4.18-udev.script" bluetooth.sh || die
210
211 newinitd "${FILESDIR}/bluetooth-init.d" bluetooth || die
212 newconfd "${FILESDIR}/4.60/bluetooth-conf.d" bluetooth || die
213 }
214
215 pkg_postinst() {
216 udevadm control --reload-rules && udevadm trigger --subsystem-match=bluetooth
217
218 elog
219 elog "To use dial up networking you must install net-dialup/ppp."
220 elog
221 elog "For a password agent, there is for example net-wireless/bluez-gnome"
222 elog "for gnome and net-wireless/kdebluetooth for kde. You can also give a"
223 elog "try to net-wireless/blueman"
224 elog
225 elog "Use the old-daemons use flag to get the old daemons like hidd"
226 elog "installed. Please note that the init script doesn't stop the old"
227 elog "daemons after you update it so it's recommended to run:"
228 elog " /etc/init.d/bluetooth stop"
229 elog "before updating your configuration files or you can manually kill"
230 elog "the extra daemons you previously enabled in /etc/conf.d/bluetooth."
231
232 if use consolekit; then
233 elog ""
234 elog "If you want to use rfcomm as a normal user, you need to add the user"
235 elog "to the uucp group."
236 else
237 elog ""
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 if use old-daemons; then
245 elog ""
246 elog "The hidd init script was installed because you have the old-daemons"
247 elog "use flag on. It is not started by default via udev so please add it"
248 elog "to the required runlevels using rc-update <runlevel> add hidd. If"
249 elog "you need init scripts for the other daemons, please file requests"
250 elog "to https://bugs.gentoo.org."
251 fi
252 }