Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/bluez: ChangeLog bluez-4.37.ebuild bluez-4.32.ebuild bluez-4.34.ebuild
Date: Fri, 24 Apr 2009 07:31:02
Message-Id: E1LxFsB-0001Lv-NF@stork.gentoo.org
1 dev-zero 09/04/24 07:30:59
2
3 Modified: ChangeLog
4 Added: bluez-4.37.ebuild
5 Removed: bluez-4.32.ebuild bluez-4.34.ebuild
6 Log:
7 Version bump. Dropped old.
8 (Portage version: 2.2_rc31/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.9 net-wireless/bluez/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/ChangeLog?r1=1.8&r2=1.9
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- ChangeLog 19 Apr 2009 08:31:17 -0000 1.8
24 +++ ChangeLog 24 Apr 2009 07:30:59 -0000 1.9
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-wireless/bluez
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.8 2009/04/19 08:31:17 dev-zero Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.9 2009/04/24 07:30:59 dev-zero Exp $
30 +
31 +*bluez-4.37 (24 Apr 2009)
32 +
33 + 24 Apr 2009; Tiziano Müller <dev-zero@g.o> -bluez-4.32.ebuild,
34 + -bluez-4.34.ebuild, +bluez-4.37.ebuild:
35 + Version bump. Dropped old.
36
37 *bluez-4.36 (19 Apr 2009)
38
39
40
41
42 1.1 net-wireless/bluez/bluez-4.37.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/bluez-4.37.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/bluez-4.37.ebuild?rev=1.1&content-type=text/plain
46
47 Index: bluez-4.37.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-4.37.ebuild,v 1.1 2009/04/24 07:30:59 dev-zero Exp $
52
53 EAPI="2"
54
55 inherit autotools multilib eutils
56
57 DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
58 HOMEPAGE="http://bluez.sourceforge.net/"
59 SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.gz"
60 LICENSE="GPL-2 LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~sparc ~x86"
63
64 IUSE="alsa cups debug doc gstreamer old-daemons test-programs usb"
65
66 CDEPEND="alsa? ( media-libs/alsa-lib )
67 gstreamer? (
68 >=media-libs/gstreamer-0.10
69 >=media-libs/gst-plugins-base-0.10 )
70 usb? ( dev-libs/libusb )
71 cups? ( net-print/cups )
72 sys-fs/udev
73 dev-libs/glib
74 sys-apps/dbus
75 media-libs/libsndfile
76 >=dev-libs/libnl-1.1
77 !net-wireless/bluez-libs
78 !net-wireless/bluez-utils"
79 DEPEND="sys-devel/flex
80 >=dev-util/pkgconfig-0.20
81 doc? ( dev-util/gtk-doc )
82 ${CDEPEND}"
83 RDEPEND="${CDEPEND}
84 sys-auth/pambase[consolekit]"
85
86 src_prepare() {
87 epatch \
88 "${FILESDIR}/4.31-as_needed.patch" \
89 "${FILESDIR}/4.34-conditional_libsbc.patch"
90
91 if use cups; then
92 epatch "${FILESDIR}/4.18/cups-location.patch"
93 fi
94
95 # needed for both patches
96 eautoreconf
97 }
98
99 src_configure() {
100 # the order is the same as ./configure --help
101
102 # we don't need the other daemons either with the new
103 # service architechture
104
105 econf \
106 $(use_enable doc gtk-doc) \
107 --enable-network \
108 --enable-serial \
109 --enable-input \
110 --enable-audio \
111 --enable-service \
112 $(use_enable gstreamer) \
113 $(use_enable alsa) \
114 $(use_enable usb) \
115 --enable-netlink \
116 --enable-tools \
117 --enable-bccmd \
118 --enable-hid2hci \
119 --enable-dfutool \
120 $(use_enable old-daemons hidd) \
121 $(use_enable old-daemons pand) \
122 $(use_enable old-daemons dund) \
123 $(use_enable cups) \
124 $(use_enable test-programs test) \
125 --enable-manpages \
126 --enable-configfiles \
127 --disable-initscripts \
128 --disable-pcmciarules \
129 $(use_enable debug) \
130 --localstatedir=/var
131 }
132
133 src_install() {
134 emake DESTDIR="${D}" install || die "make install failed"
135
136 dodoc AUTHORS ChangeLog README || die
137
138 if use test-programs ; then
139 cd "${S}/test"
140 dobin simple-agent simple-service monitor-bluetooth
141 newbin list-devices list-bluetooth-devices
142 for b in apitest hsmicro hsplay test-* ; do
143 newbin "${b}" "bluez-${b}"
144 done
145 insinto /usr/share/doc/${PF}/test-services
146 doins service-*
147
148 cd "${S}"
149 fi
150
151 newinitd "${FILESDIR}/4.18/bluetooth-init.d" bluetooth || die
152 newconfd "${FILESDIR}/4.18/bluetooth-conf.d" bluetooth || die
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 # bug #84431
160 insinto /etc/udev/rules.d/
161 newins "${FILESDIR}/${PN}-4.18-udev.rules" 70-bluetooth.rules || die
162 newins "${S}/scripts/bluetooth.rules" 70-bluetooth-pcmcia.rules || die
163
164 exeinto /$(get_libdir)/udev/
165 newexe "${FILESDIR}/${PN}-4.18-udev.script" bluetooth.sh || die
166 doexe "${S}/scripts/bluetooth_serial" || die
167
168 insinto /etc/bluetooth
169 doins \
170 input/input.conf \
171 audio/audio.conf \
172 network/network.conf
173 }
174
175 pkg_postinst() {
176 udevadm control --reload_rules && udevadm trigger
177
178 elog
179 elog "To use dial up networking you must install net-dialup/ppp."
180 elog ""
181 elog "Since 3.0 bluez has changed the passkey handling to use a dbus based"
182 elog "API so please remember to update your /etc/bluetooth/hcid.conf."
183 elog "For a password agent, there is for example net-wireless/bluez-gnome"
184 elog "for gnome and net-wireless/kdebluetooth for kde."
185 elog ""
186 elog "Since 3.10.1 we don't install the old style daemons any more but rely"
187 elog "on the new service architechture:"
188 elog " http://wiki.bluez.org/wiki/Services"
189 elog ""
190 elog "3.15 adds support for the audio service. See"
191 elog "http://wiki.bluez.org/wiki/HOWTO/AudioDevices for configuration help."
192 elog ""
193 elog "Use the old-daemons use flag to get the old daemons like hidd"
194 elog "installed. Please note that the init script doesn't stop the old"
195 elog "daemons after you update it so it's recommended to run:"
196 elog " /etc/init.d/bluetooth stop"
197 elog "before updating your configuration files or you can manually kill"
198 elog "the extra daemons you previously enabled in /etc/conf.d/bluetooth."
199 elog ""
200 elog "If you want to use rfcomm as a normal user, you need to add the user"
201 elog "to the uucp group."
202 elog ""
203 if use old-daemons; then
204 elog "The hidd init script was installed because you have the old-daemons"
205 elog "use flag on. It is not started by default via udev so please add it"
206 elog "to the required runleves using rc-update <runlevel> add hidd. If"
207 elog "you need init scripts for the other daemons, please file requests"
208 elog "to https://bugs.gentoo.org."
209 else
210 elog "The bluetooth service should be started automatically by udev"
211 elog "when the required hardware is inserted next time."
212 fi
213 elog
214 ewarn "On first install you need to run /etc/init.d/dbus reload or hcid"
215 ewarn "will fail to start."
216 }