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