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