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: ChangeLog bluez-4.64.ebuild
Date: Sat, 08 May 2010 11:04:43
Message-Id: 20100508110440.0893A2950A@corvid.gentoo.org
1 pacho 10/05/08 11:04:39
2
3 Modified: ChangeLog
4 Added: bluez-4.64.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.35 net-wireless/bluez/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.35&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.35&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/ChangeLog?r1=1.34&r2=1.35
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v
19 retrieving revision 1.34
20 retrieving revision 1.35
21 diff -u -r1.34 -r1.35
22 --- ChangeLog 8 May 2010 10:54:08 -0000 1.34
23 +++ ChangeLog 8 May 2010 11:04:39 -0000 1.35
24 @@ -1,6 +1,18 @@
25 # ChangeLog for net-wireless/bluez
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.34 2010/05/08 10:54:08 pacho Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.35 2010/05/08 11:04:39 pacho Exp $
29 +
30 +*bluez-4.64 (08 May 2010)
31 +
32 + 08 May 2010; Pacho Ramos <pacho@g.o> +bluez-4.64.ebuild:
33 + Version bump including the following fixes:
34 + * Fix invalid memory access in headset_get_nrec function.
35 + * Fix issue with disconnect event on higher protocol layers.
36 + * Fix issue with list parsing in sdp_set_supp_features function.
37 + * Fix device object reference counting for SDP browse requests.
38 + * Add missing memory checks whenever memory is allocated for SDP.
39 + * Add support for exporting local services via D-Bus.
40 + * Add more L2CAP Enhanced Retransmission test options.
41
42 08 May 2010; Pacho Ramos <pacho@g.o> -bluez-4.28.ebuild,
43 -bluez-4.38.ebuild, -bluez-4.39.ebuild, -bluez-4.39-r1.ebuild,
44
45
46
47 1.1 net-wireless/bluez/bluez-4.64.ebuild
48
49 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/bluez-4.64.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/bluez-4.64.ebuild?rev=1.1&content-type=text/plain
51
52 Index: bluez-4.64.ebuild
53 ===================================================================
54 # Copyright 1999-2010 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-4.64.ebuild,v 1.1 2010/05/08 11:04:39 pacho Exp $
57
58 EAPI="2"
59
60 inherit autotools multilib eutils
61
62 DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
63 HOMEPAGE="http://bluez.sourceforge.net/"
64 SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.gz"
65 LICENSE="GPL-2 LGPL-2.1"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68
69 IUSE="alsa caps +consolekit cups debug gstreamer old-daemons pcmcia test-programs usb"
70
71 CDEPEND="alsa? (
72 media-libs/alsa-lib[alsa_pcm_plugins_extplug,alsa_pcm_plugins_ioplug]
73 )
74 caps? ( >=sys-libs/libcap-ng-0.6.2 )
75 gstreamer? (
76 >=media-libs/gstreamer-0.10
77 >=media-libs/gst-plugins-base-0.10 )
78 usb? ( dev-libs/libusb )
79 cups? ( net-print/cups )
80 sys-fs/udev
81 >=dev-libs/glib-2.14
82 sys-apps/dbus
83 media-libs/libsndfile
84 >=dev-libs/libnl-1.1
85 !net-wireless/bluez-libs
86 !net-wireless/bluez-utils"
87 DEPEND="sys-devel/flex
88 >=dev-util/pkgconfig-0.20
89 ${CDEPEND}"
90 RDEPEND="${CDEPEND}
91 consolekit? ( sys-auth/pambase[consolekit] )
92 test-programs? (
93 dev-python/dbus-python
94 dev-python/pygobject )"
95
96 pkg_setup() {
97 if ! use consolekit; then
98 enewgroup plugdev
99 fi
100 }
101
102 src_prepare() {
103 if ! use consolekit; then
104 # No consolekit for at_console etc, so we grant plugdev the rights
105 epatch "${FILESDIR}/bluez-plugdev.patch"
106 fi
107
108 if use cups; then
109 epatch "${FILESDIR}/4.60/cups-location.patch"
110 fi
111
112 # Fix alsa files location
113 epatch "${FILESDIR}/${PN}-alsa_location.patch"
114
115 eautoreconf
116 }
117
118 src_configure() {
119 econf \
120 $(use_enable caps capng) \
121 --enable-network \
122 --enable-serial \
123 --enable-input \
124 --enable-audio \
125 --enable-service \
126 $(use_enable gstreamer) \
127 $(use_enable alsa) \
128 $(use_enable usb) \
129 --enable-netlink \
130 --enable-tools \
131 --enable-bccmd \
132 --enable-hid2hci \
133 --enable-dfutool \
134 $(use_enable old-daemons hidd) \
135 $(use_enable old-daemons pand) \
136 $(use_enable old-daemons dund) \
137 $(use_enable cups) \
138 $(use_enable test-programs test) \
139 --enable-udevrules \
140 --enable-configfiles \
141 $(use_enable pcmcia) \
142 $(use_enable debug) \
143 --localstatedir=/var
144 }
145
146 src_install() {
147 emake DESTDIR="${D}" install || die "make install failed"
148
149 dodoc AUTHORS ChangeLog README || die
150
151 if use test-programs ; then
152 cd "${S}/test"
153 dobin simple-agent simple-service monitor-bluetooth
154 newbin list-devices list-bluetooth-devices
155 for b in apitest hsmicro hsplay test-* ; do
156 newbin "${b}" "bluez-${b}"
157 done
158 insinto /usr/share/doc/${PF}/test-services
159 doins service-*
160
161 cd "${S}"
162 fi
163
164 if use old-daemons; then
165 newconfd "${FILESDIR}/4.18/conf.d-hidd" hidd || die
166 newinitd "${FILESDIR}/4.18/init.d-hidd" hidd || die
167 fi
168
169 insinto /etc/bluetooth
170 doins \
171 input/input.conf \
172 audio/audio.conf \
173 network/network.conf \
174 serial/serial.conf \
175 || die
176
177 insinto /etc/udev/rules.d/
178 newins "${FILESDIR}/${PN}-4.18-udev.rules" 70-bluetooth.rules || die
179 exeinto /$(get_libdir)/udev/
180 newexe "${FILESDIR}/${PN}-4.18-udev.script" bluetooth.sh || die
181
182 newinitd "${FILESDIR}/4.60/bluetooth-init.d" bluetooth || die
183 newconfd "${FILESDIR}/4.60/bluetooth-conf.d" bluetooth || die
184 }
185
186 pkg_postinst() {
187 udevadm control --reload-rules && udevadm trigger --subsystem-match=bluetooth
188
189 elog
190 elog "To use dial up networking you must install net-dialup/ppp."
191 elog
192 elog "For a password agent, there is for example net-wireless/bluez-gnome"
193 elog "for gnome and net-wireless/kdebluetooth for kde. You can also give a"
194 elog "try to net-wireless/blueman"
195 elog
196 elog "Use the old-daemons use flag to get the old daemons like hidd"
197 elog "installed. Please note that the init script doesn't stop the old"
198 elog "daemons after you update it so it's recommended to run:"
199 elog " /etc/init.d/bluetooth stop"
200 elog "before updating your configuration files or you can manually kill"
201 elog "the extra daemons you previously enabled in /etc/conf.d/bluetooth."
202
203 if use consolekit; then
204 elog ""
205 elog "If you want to use rfcomm as a normal user, you need to add the user"
206 elog "to the uucp group."
207 else
208 elog ""
209 elog "Since you have the consolekit use flag disabled, you will only be able to run"
210 elog "bluetooth clients as root. If you want to be able to run bluetooth clientes as "
211 elog "a regular user, you need to enable the consolekit use flag for this package."
212 fi
213
214 if use old-daemons; then
215 elog ""
216 elog "The hidd init script was installed because you have the old-daemons"
217 elog "use flag on. It is not started by default via udev so please add it"
218 elog "to the required runlevels using rc-update <runlevel> add hidd. If"
219 elog "you need init scripts for the other daemons, please file requests"
220 elog "to https://bugs.gentoo.org."
221 fi
222 }