1 |
dev-zero 09/04/07 09:03:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bluez-4.34.ebuild |
5 |
Log: |
6 |
Version bump, fixed build problems with --disable{alsa,gstreamer}. Bug #260374 has already been solved in an earlier bump. |
7 |
(Portage version: 2.1.6.11/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.7 net-wireless/bluez/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.7&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.7&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/ChangeLog?r1=1.6&r2=1.7 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v |
19 |
retrieving revision 1.6 |
20 |
retrieving revision 1.7 |
21 |
diff -u -r1.6 -r1.7 |
22 |
--- ChangeLog 10 Mar 2009 21:17:26 -0000 1.6 |
23 |
+++ ChangeLog 7 Apr 2009 09:03:39 -0000 1.7 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for net-wireless/bluez |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.6 2009/03/10 21:17:26 dev-zero Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.7 2009/04/07 09:03:39 dev-zero Exp $ |
29 |
+ |
30 |
+*bluez-4.34 (07 Apr 2009) |
31 |
+ |
32 |
+ 07 Apr 2009; Tiziano Müller <dev-zero@g.o> |
33 |
+ +files/4.34-conditional_libsbc.patch, +bluez-4.34.ebuild: |
34 |
+ Version bump, fixed build problems with --disable{alsa,gstreamer}. Bug |
35 |
+ #260374 has already been solved in an earlier bump. |
36 |
|
37 |
10 Mar 2009; Tiziano Müller <dev-zero@g.o> bluez-4.32.ebuild: |
38 |
Added pambase[consolekit] to RDEPEND to get at least the basics ready |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-wireless/bluez/bluez-4.34.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/bluez-4.34.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/bluez-4.34.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: bluez-4.34.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.34.ebuild,v 1.1 2009/04/07 09:03:39 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}/${PV}-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 |
} |