1 |
pacho 11/01/28 10:30:30 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bluez-4.87.ebuild |
5 |
Removed: bluez-4.75.ebuild bluez-4.77.ebuild |
6 |
bluez-4.81.ebuild |
7 |
Log: |
8 |
Version bump fixing lots of bugs and trying to behave better with oui.txt (thanks to Thomas Kahle and Zac Medico for their help with this). Remove old. |
9 |
|
10 |
(Portage version: 2.1.9.35/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.69 net-wireless/bluez/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.69&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.69&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?r1=1.68&r2=1.69 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v |
22 |
retrieving revision 1.68 |
23 |
retrieving revision 1.69 |
24 |
diff -u -r1.68 -r1.69 |
25 |
--- ChangeLog 23 Jan 2011 09:14:34 -0000 1.68 |
26 |
+++ ChangeLog 28 Jan 2011 10:30:30 -0000 1.69 |
27 |
@@ -1,6 +1,13 @@ |
28 |
# ChangeLog for net-wireless/bluez |
29 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.68 2011/01/23 09:14:34 tomka Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.69 2011/01/28 10:30:30 pacho Exp $ |
32 |
+ |
33 |
+*bluez-4.87 (28 Jan 2011) |
34 |
+ |
35 |
+ 28 Jan 2011; Pacho Ramos <pacho@g.o> -bluez-4.75.ebuild, |
36 |
+ -bluez-4.77.ebuild, -bluez-4.81.ebuild, +bluez-4.87.ebuild: |
37 |
+ Version bump fixing lots of bugs and trying to behave better with oui.txt |
38 |
+ (thanks to Thomas Kahle and Zac Medico for their help with this). Remove old. |
39 |
|
40 |
23 Jan 2011; Thomas Kahle <tomka@g.o> bluez-4.80.ebuild: |
41 |
x86 stable per bug 349473 |
42 |
|
43 |
|
44 |
|
45 |
1.1 net-wireless/bluez/bluez-4.87.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-4.87.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-4.87.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: bluez-4.87.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2011 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-4.87.ebuild,v 1.1 2011/01/28 10:30:30 pacho Exp $ |
55 |
|
56 |
EAPI="3" |
57 |
|
58 |
inherit multilib eutils |
59 |
|
60 |
DESCRIPTION="Bluetooth Tools and System Daemons for Linux" |
61 |
HOMEPAGE="http://www.bluez.org/" |
62 |
|
63 |
# Because of oui.txt changing from time to time without noticement, we need to supply it |
64 |
# ourselves instead of using http://standards.ieee.org/regauth/oui/oui.txt directly. |
65 |
# See bugs #345263 and #349473 for reference. |
66 |
OUIDATE="20110128" # Needed because of bug #345263 |
67 |
SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.gz |
68 |
http://dev.gentoo.org/~pacho/bluez/oui-${OUIDATE}.txt" |
69 |
LICENSE="GPL-2 LGPL-2.1" |
70 |
SLOT="0" |
71 |
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
72 |
|
73 |
IUSE="alsa attrib caps +consolekit cups debug gstreamer maemo6 health old-daemons pcmcia pnat test-programs usb" |
74 |
|
75 |
CDEPEND="alsa? ( |
76 |
media-libs/alsa-lib[alsa_pcm_plugins_extplug,alsa_pcm_plugins_ioplug] |
77 |
) |
78 |
caps? ( >=sys-libs/libcap-ng-0.6.2 ) |
79 |
gstreamer? ( |
80 |
>=media-libs/gstreamer-0.10 |
81 |
>=media-libs/gst-plugins-base-0.10 ) |
82 |
usb? ( dev-libs/libusb ) |
83 |
cups? ( net-print/cups ) |
84 |
>=sys-fs/udev-146[extras] |
85 |
>=dev-libs/glib-2.14 |
86 |
sys-apps/dbus |
87 |
media-libs/libsndfile |
88 |
>=dev-libs/libnl-1.1 |
89 |
!net-wireless/bluez-libs |
90 |
!net-wireless/bluez-utils" |
91 |
DEPEND="sys-devel/flex |
92 |
>=dev-util/pkgconfig-0.20 |
93 |
${CDEPEND}" |
94 |
RDEPEND="${CDEPEND} |
95 |
consolekit? ( sys-auth/pambase[consolekit] ) |
96 |
test-programs? ( |
97 |
dev-python/dbus-python |
98 |
dev-python/pygobject )" |
99 |
|
100 |
pkg_setup() { |
101 |
if ! use consolekit; then |
102 |
enewgroup plugdev |
103 |
fi |
104 |
} |
105 |
|
106 |
src_prepare() { |
107 |
if ! use consolekit; then |
108 |
# No consolekit for at_console etc, so we grant plugdev the rights |
109 |
epatch "${FILESDIR}/bluez-plugdev.patch" |
110 |
fi |
111 |
|
112 |
if use cups; then |
113 |
sed -i -e "s:cupsdir = \$(libdir)/cups:cupsdir = `cups-config --serverbin`:" \ |
114 |
Makefile.tools Makefile.in || die |
115 |
fi |
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-tools \ |
130 |
--enable-bccmd \ |
131 |
--enable-dfutool \ |
132 |
$(use_enable old-daemons hidd) \ |
133 |
$(use_enable old-daemons pand) \ |
134 |
$(use_enable old-daemons dund) \ |
135 |
$(use_enable attrib) \ |
136 |
$(use_enable health) \ |
137 |
$(use_enable pnat) \ |
138 |
$(use_enable maemo6) \ |
139 |
$(use_enable cups) \ |
140 |
$(use_enable test-programs test) \ |
141 |
--enable-udevrules \ |
142 |
--enable-configfiles \ |
143 |
$(use_enable pcmcia) \ |
144 |
$(use_enable debug) \ |
145 |
--localstatedir=/var \ |
146 |
--disable-hal |
147 |
} |
148 |
|
149 |
src_install() { |
150 |
emake DESTDIR="${D}" install || die "make install failed" |
151 |
|
152 |
dodoc AUTHORS ChangeLog README || die |
153 |
|
154 |
if use test-programs ; then |
155 |
cd "${S}/test" |
156 |
dobin simple-agent simple-service monitor-bluetooth || die |
157 |
newbin list-devices list-bluetooth-devices || die |
158 |
for b in apitest hsmicro hsplay test-* ; do |
159 |
newbin "${b}" "bluez-${b}" || die |
160 |
done |
161 |
insinto /usr/share/doc/${PF}/test-services |
162 |
doins service-* || die |
163 |
|
164 |
cd "${S}" |
165 |
fi |
166 |
|
167 |
if use old-daemons; then |
168 |
newconfd "${FILESDIR}/4.18/conf.d-hidd" hidd || die |
169 |
newinitd "${FILESDIR}/init.d-hidd" hidd || die |
170 |
newconfd "${FILESDIR}/conf.d-dund" dund || die |
171 |
newinitd "${FILESDIR}/init.d-dund" dund || die |
172 |
fi |
173 |
|
174 |
insinto /etc/bluetooth |
175 |
doins \ |
176 |
input/input.conf \ |
177 |
audio/audio.conf \ |
178 |
network/network.conf \ |
179 |
serial/serial.conf \ |
180 |
|| die |
181 |
|
182 |
insinto /$(get_libdir)/udev/rules.d/ |
183 |
newins "${FILESDIR}/${PN}-4.18-udev.rules" 70-bluetooth.rules || die |
184 |
exeinto /$(get_libdir)/udev/ |
185 |
newexe "${FILESDIR}/${PN}-4.18-udev.script" bluetooth.sh || die |
186 |
|
187 |
newinitd "${FILESDIR}/bluetooth-init.d" bluetooth || die |
188 |
newconfd "${FILESDIR}/4.60/bluetooth-conf.d" bluetooth || die |
189 |
|
190 |
# Install oui.txt as requested in bug #283791 and approved by upstream |
191 |
insinto /var/lib/misc |
192 |
newins "${DISTDIR}/oui-${OUIDATE}.txt" oui.txt || die |
193 |
|
194 |
find "${ED}" -name "*.la" -delete || die "remove of la files failed" |
195 |
} |
196 |
|
197 |
pkg_postinst() { |
198 |
udevadm control --reload-rules && udevadm trigger --subsystem-match=bluetooth |
199 |
|
200 |
if ! has_version "net-dialup/ppp"; then |
201 |
elog |
202 |
elog "To use dial up networking you must install net-dialup/ppp." |
203 |
fi |
204 |
|
205 |
if ! has_version "net-wireless/gnome-bluetooth" && ! has_version "net-wireless/kbluetooth"; then |
206 |
elog |
207 |
elog "For desktop integration you can try net-wireless/gnome-bluetooth" |
208 |
elog "for gnome and net-wireless/kbluetooth for kde." |
209 |
fi |
210 |
|
211 |
if ! use old-daemons; then |
212 |
elog |
213 |
elog "Use the old-daemons use flag to get the old daemons like hidd or pand" |
214 |
elog "installed. Please note that 'bluetooth' init script doesn't stop the old" |
215 |
elog "daemons after you update it, so it's recommended to stop all of them using" |
216 |
elog "their own init scripts or manually killing them." |
217 |
fi |
218 |
|
219 |
if use consolekit; then |
220 |
elog |
221 |
elog "If you want to use rfcomm as a normal user, you need to add the user" |
222 |
elog "to the uucp group." |
223 |
else |
224 |
elog |
225 |
elog "Since you have the consolekit use flag disabled, you will only be able to run" |
226 |
elog "bluetooth clients as root. If you want to be able to run bluetooth clientes as " |
227 |
elog "a regular user, you need to enable the consolekit use flag for this package or" |
228 |
elog "to add the user to the plugdev group." |
229 |
fi |
230 |
|
231 |
if use old-daemons; then |
232 |
elog |
233 |
elog "dund and hidd init scripts were installed because you have the old-daemons" |
234 |
elog "use flag on. They are not started by default via udev so please add them" |
235 |
elog "to the required runlevels using rc-update <runlevel> add <dund/hidd>. If" |
236 |
elog "you need init scripts for the other daemons, please file requests" |
237 |
elog "to https://bugs.gentoo.org." |
238 |
fi |
239 |
} |