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