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