1 |
flameeyes 08/03/31 14:54:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pulseaudio-0.9.10.ebuild |
5 |
pulseaudio-0.9.10-r50.ebuild |
6 |
Removed: pulseaudio-0.9.9-r3.ebuild |
7 |
pulseaudio-0.9.9-r2.ebuild |
8 |
pulseaudio-0.9.9-r53.ebuild |
9 |
pulseaudio-0.9.9-r1.ebuild |
10 |
Log: |
11 |
Bump to latest version, remove old versions and unneeded patches. |
12 |
(Portage version: 2.1.4.4) |
13 |
|
14 |
Revision Changes Path |
15 |
1.103 media-sound/pulseaudio/ChangeLog |
16 |
|
17 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/ChangeLog?rev=1.103&view=markup |
18 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/ChangeLog?rev=1.103&content-type=text/plain |
19 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/ChangeLog?r1=1.102&r2=1.103 |
20 |
|
21 |
Index: ChangeLog |
22 |
=================================================================== |
23 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v |
24 |
retrieving revision 1.102 |
25 |
retrieving revision 1.103 |
26 |
diff -u -r1.102 -r1.103 |
27 |
--- ChangeLog 9 Mar 2008 12:57:23 -0000 1.102 |
28 |
+++ ChangeLog 31 Mar 2008 14:53:59 -0000 1.103 |
29 |
@@ -1,6 +1,16 @@ |
30 |
# ChangeLog for media-sound/pulseaudio |
31 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
32 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v 1.102 2008/03/09 12:57:23 flameeyes Exp $ |
33 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v 1.103 2008/03/31 14:53:59 flameeyes Exp $ |
34 |
+ |
35 |
+*pulseaudio-0.9.10-r50 (31 Mar 2008) |
36 |
+*pulseaudio-0.9.10 (31 Mar 2008) |
37 |
+ |
38 |
+ 31 Mar 2008; Diego Pettenò <flameeyes@g.o> |
39 |
+ -files/pulseaudio-0.9.9+ltdl-2.2.patch, -pulseaudio-0.9.9-r1.ebuild, |
40 |
+ -pulseaudio-0.9.9-r2.ebuild, -pulseaudio-0.9.9-r3.ebuild, |
41 |
+ -pulseaudio-0.9.9-r53.ebuild, +pulseaudio-0.9.10.ebuild, |
42 |
+ +pulseaudio-0.9.10-r50.ebuild: |
43 |
+ Bump to latest version, remove old versions and unneeded patches. |
44 |
|
45 |
09 Mar 2008; Diego Pettenò <flameeyes@g.o> |
46 |
files/pulseaudio-0.9.9+ltdl-2.2.patch: |
47 |
|
48 |
|
49 |
|
50 |
1.1 media-sound/pulseaudio/pulseaudio-0.9.10.ebuild |
51 |
|
52 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.10.ebuild?rev=1.1&view=markup |
53 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.10.ebuild?rev=1.1&content-type=text/plain |
54 |
|
55 |
Index: pulseaudio-0.9.10.ebuild |
56 |
=================================================================== |
57 |
# Copyright 1999-2008 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.10.ebuild,v 1.1 2008/03/31 14:53:59 flameeyes Exp $ |
60 |
|
61 |
EAPI=1 |
62 |
|
63 |
inherit eutils libtool autotools flag-o-matic |
64 |
|
65 |
DESCRIPTION="A networked sound server with an advanced plugin system" |
66 |
HOMEPAGE="http://0pointer.de/lennart/projects/pulseaudio/" |
67 |
SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" |
68 |
|
69 |
LICENSE="LGPL-2 GPL-2" |
70 |
SLOT="0" |
71 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc64 ~sparc ~x86" |
72 |
IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns +glib" |
73 |
|
74 |
RDEPEND="X? ( x11-libs/libX11 ) |
75 |
caps? ( sys-libs/libcap ) |
76 |
>=media-libs/audiofile-0.2.6-r1 |
77 |
libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) |
78 |
>=media-libs/libsndfile-1.0.10 |
79 |
>=dev-libs/liboil-0.3.6 |
80 |
alsa? ( >=media-libs/alsa-lib-1.0.10 ) |
81 |
glib? ( >=dev-libs/glib-2.4.0 ) |
82 |
avahi? ( >=net-dns/avahi-0.6.12 ) |
83 |
>=dev-libs/liboil-0.3.0 |
84 |
jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) |
85 |
tcpd? ( sys-apps/tcp-wrappers ) |
86 |
lirc? ( app-misc/lirc ) |
87 |
dbus? ( >=sys-apps/dbus-1.0.0 ) |
88 |
gnome? ( >=gnome-base/gconf-2.4.0 ) |
89 |
hal? ( |
90 |
>=sys-apps/hal-0.5.7 |
91 |
>=sys-apps/dbus-1.0.0 |
92 |
) |
93 |
app-admin/eselect-esd |
94 |
bluetooth? ( |
95 |
>=net-wireless/bluez-libs-3 |
96 |
>=sys-apps/dbus-1.0.0 |
97 |
) |
98 |
policykit? ( sys-auth/policykit ) |
99 |
asyncns? ( net-libs/libasyncns ) |
100 |
>=sys-devel/libtool-1.5.24" # it's a valid RDEPEND, libltdl.so is used |
101 |
DEPEND="${RDEPEND} |
102 |
dev-libs/libatomic_ops |
103 |
dev-util/pkgconfig" |
104 |
|
105 |
# alsa-utils dep is for the alsasound init.d script (see bug #155707) |
106 |
# bluez-utils dep is for the bluetooth init.d script |
107 |
RDEPEND="${RDEPEND} |
108 |
gnome-extra/gnome-audio |
109 |
alsa? ( media-sound/alsa-utils ) |
110 |
bluetooth? ( >=net-wireless/bluez-utils-3 )" |
111 |
|
112 |
pkg_setup() { |
113 |
if use avahi && ! built_with_use net-dns/avahi dbus ; then |
114 |
echo |
115 |
eerror "In order to compile pulseaudio with avahi support, you need to have" |
116 |
eerror "net-dns/avahi emerged with 'dbus' in your USE flag. Please add that" |
117 |
eerror "flag, re-emerge avahi, and then emerge pulseaudio again." |
118 |
die "net-dns/avahi is missing the D-Bus bindings." |
119 |
fi |
120 |
|
121 |
enewgroup audio 18 # Just make sure it exists |
122 |
enewgroup realtime |
123 |
enewgroup pulse-access |
124 |
enewgroup pulse |
125 |
enewuser pulse -1 -1 /var/run/pulse pulse,audio |
126 |
} |
127 |
|
128 |
src_unpack() { |
129 |
unpack ${A} |
130 |
cd "${S}" |
131 |
|
132 |
# eautoreconf |
133 |
elibtoolize |
134 |
} |
135 |
|
136 |
src_compile() { |
137 |
# To properly fix CVE-2008-0008 |
138 |
append-flags -UNDEBUG |
139 |
|
140 |
econf \ |
141 |
--enable-largefile \ |
142 |
$(use_enable glib) \ |
143 |
--disable-solaris \ |
144 |
$(use_enable asyncns) \ |
145 |
$(use_enable oss) \ |
146 |
$(use_enable alsa) \ |
147 |
$(use_enable lirc) \ |
148 |
$(use_enable tcpd tcpwrap) \ |
149 |
$(use_enable jack) \ |
150 |
$(use_enable lirc) \ |
151 |
$(use_enable avahi) \ |
152 |
$(use_enable hal) \ |
153 |
$(use_enable dbus) \ |
154 |
$(use_enable gnome gconf) \ |
155 |
$(use_enable libsamplerate samplerate) \ |
156 |
$(use_enable bluetooth bluez) \ |
157 |
$(use_enable policykit polkit) \ |
158 |
$(use_with caps) \ |
159 |
$(use_with X x) \ |
160 |
--disable-ltdl-install \ |
161 |
--localstatedir=/var \ |
162 |
--with-realtime-group=realtime \ |
163 |
--disable-per-user-esound-socket \ |
164 |
|| die "econf failed" |
165 |
emake || die "emake failed" |
166 |
} |
167 |
|
168 |
src_install() { |
169 |
emake -j1 DESTDIR="${D}" install || die "make install failed" |
170 |
|
171 |
newconfd "${FILESDIR}/pulseaudio.conf.d" pulseaudio |
172 |
|
173 |
local neededservices |
174 |
use alsa && neededservices="$neededservices alsasound" |
175 |
use avahi && neededservices="$neededservices avahi-daemon" |
176 |
use hal && neededservices="$neededservices hald" |
177 |
use bluetooth && neededservices="$neededservices bluetooth" |
178 |
[[ -n ${neededservices} ]] && sed -e "s/@neededservices@/need $neededservices/" "${FILESDIR}/pulseaudio.init.d-2" > "${T}/pulseaudio" |
179 |
doinitd "${T}/pulseaudio" |
180 |
|
181 |
use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" |
182 |
|
183 |
dohtml -r doc |
184 |
dodoc README |
185 |
|
186 |
# Create the state directory |
187 |
diropts -o pulse -g pulse -m0755 |
188 |
keepdir /var/run/pulse |
189 |
} |
190 |
|
191 |
pkg_postinst() { |
192 |
elog "PulseAudio in Gentoo can use a system-wide pulseaudio daemon." |
193 |
elog "This support is enabled by starting the pulseaudio init.d ." |
194 |
elog "To be able to access that you need to be in the group pulse-access." |
195 |
elog "For more information about system-wide support, please refer to" |
196 |
elog " http://pulseaudio.org/wiki/SystemWideInstance" |
197 |
if use gnome; then |
198 |
elog |
199 |
elog "By enabling gnome USE flag, you enabled gconf support. Pleaes note" |
200 |
elog "that you might need to remove the gnome USE flag or disable the" |
201 |
elog "gconf module on /etc/pulse/default.pa to be able to use PulseAudio" |
202 |
elog "with a system-wide instance." |
203 |
fi |
204 |
elog |
205 |
elog "To use the ESounD wrapper while using a system-wide daemon, you also" |
206 |
elog "need to enable auth-anonymous for the esound-unix module, or to copy" |
207 |
elog "/var/run/pulse/.esd_auth into each home directory." |
208 |
elog |
209 |
elog "If you want to make use of realtime capabilities of PulseAudio" |
210 |
elog "you should follow the realtime guide to create and set up a realtime" |
211 |
elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" |
212 |
elog "Make sure you also have baselayout installed with pam USE flag" |
213 |
elog "enabled, if you're using the rlimit method." |
214 |
if use bluetooth; then |
215 |
elog |
216 |
elog "The BlueTooth proximity module is not enabled in the default" |
217 |
elog "configuration file. If you do enable it, you'll have to have" |
218 |
elog "your BlueTooth controller enabled and inserted at bootup or" |
219 |
elog "PulseAudio will refuse to start." |
220 |
elog |
221 |
elog "Please note that the BlueTooth proximity module seems itself" |
222 |
elog "still experimental, so please report to upstream if you have" |
223 |
elog "problems with it." |
224 |
fi |
225 |
|
226 |
eselect esd update --if-unset |
227 |
} |
228 |
|
229 |
|
230 |
|
231 |
1.1 media-sound/pulseaudio/pulseaudio-0.9.10-r50.ebuild |
232 |
|
233 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.10-r50.ebuild?rev=1.1&view=markup |
234 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.10-r50.ebuild?rev=1.1&content-type=text/plain |
235 |
|
236 |
Index: pulseaudio-0.9.10-r50.ebuild |
237 |
=================================================================== |
238 |
# Copyright 1999-2008 Gentoo Foundation |
239 |
# Distributed under the terms of the GNU General Public License v2 |
240 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.10-r50.ebuild,v 1.1 2008/03/31 14:53:59 flameeyes Exp $ |
241 |
|
242 |
EAPI=1 |
243 |
|
244 |
inherit eutils libtool autotools flag-o-matic |
245 |
|
246 |
DESCRIPTION="A networked sound server with an advanced plugin system" |
247 |
HOMEPAGE="http://0pointer.de/lennart/projects/pulseaudio/" |
248 |
SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" |
249 |
|
250 |
LICENSE="LGPL-2 GPL-2" |
251 |
SLOT="0" |
252 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc64 ~sparc ~x86" |
253 |
IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns +glib" |
254 |
|
255 |
RDEPEND="X? ( x11-libs/libX11 ) |
256 |
caps? ( sys-libs/libcap ) |
257 |
>=media-libs/audiofile-0.2.6-r1 |
258 |
libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) |
259 |
>=media-libs/libsndfile-1.0.10 |
260 |
>=dev-libs/liboil-0.3.6 |
261 |
alsa? ( >=media-libs/alsa-lib-1.0.10 ) |
262 |
glib? ( >=dev-libs/glib-2.4.0 ) |
263 |
avahi? ( >=net-dns/avahi-0.6.12 ) |
264 |
>=dev-libs/liboil-0.3.0 |
265 |
jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) |
266 |
tcpd? ( sys-apps/tcp-wrappers ) |
267 |
lirc? ( app-misc/lirc ) |
268 |
dbus? ( >=sys-apps/dbus-1.0.0 ) |
269 |
gnome? ( >=gnome-base/gconf-2.4.0 ) |
270 |
hal? ( |
271 |
>=sys-apps/hal-0.5.7 |
272 |
>=sys-apps/dbus-1.0.0 |
273 |
) |
274 |
app-admin/eselect-esd |
275 |
bluetooth? ( |
276 |
>=net-wireless/bluez-libs-3 |
277 |
>=sys-apps/dbus-1.0.0 |
278 |
) |
279 |
policykit? ( sys-auth/policykit ) |
280 |
asyncns? ( net-libs/libasyncns ) |
281 |
>=sys-apps/baselayout-2.0_rc5 |
282 |
>=sys-devel/libtool-1.5.24" # it's a valid RDEPEND, libltdl.so is used |
283 |
DEPEND="${RDEPEND} |
284 |
dev-libs/libatomic_ops |
285 |
dev-util/pkgconfig |
286 |
dev-util/unifdef" |
287 |
|
288 |
# alsa-utils dep is for the alsasound init.d script (see bug #155707) |
289 |
# bluez-utils dep is for the bluetooth init.d script |
290 |
RDEPEND="${RDEPEND} |
291 |
gnome-extra/gnome-audio |
292 |
alsa? ( media-sound/alsa-utils ) |
293 |
bluetooth? ( >=net-wireless/bluez-utils-3 )" |
294 |
|
295 |
pkg_setup() { |
296 |
if use avahi && ! built_with_use net-dns/avahi dbus ; then |
297 |
echo |
298 |
eerror "In order to compile pulseaudio with avahi support, you need to have" |
299 |
eerror "net-dns/avahi emerged with 'dbus' in your USE flag. Please add that" |
300 |
eerror "flag, re-emerge avahi, and then emerge pulseaudio again." |
301 |
die "net-dns/avahi is missing the D-Bus bindings." |
302 |
fi |
303 |
|
304 |
enewgroup audio 18 # Just make sure it exists |
305 |
enewgroup realtime |
306 |
enewgroup pulse-access |
307 |
enewgroup pulse |
308 |
enewuser pulse -1 -1 /var/run/pulse pulse,audio |
309 |
} |
310 |
|
311 |
src_unpack() { |
312 |
unpack ${A} |
313 |
cd "${S}" |
314 |
|
315 |
# eautoreconf |
316 |
elibtoolize |
317 |
} |
318 |
|
319 |
src_compile() { |
320 |
# To properly fix CVE-2008-0008 |
321 |
append-flags -UNDEBUG |
322 |
|
323 |
econf \ |
324 |
--enable-largefile \ |
325 |
$(use_enable glib) \ |
326 |
--disable-solaris \ |
327 |
$(use_enable asyncns) \ |
328 |
$(use_enable oss) \ |
329 |
$(use_enable alsa) \ |
330 |
$(use_enable lirc) \ |
331 |
$(use_enable tcpd tcpwrap) \ |
332 |
$(use_enable jack) \ |
333 |
$(use_enable lirc) \ |
334 |
$(use_enable avahi) \ |
335 |
$(use_enable hal) \ |
336 |
$(use_enable dbus) \ |
337 |
$(use_enable gnome gconf) \ |
338 |
$(use_enable libsamplerate samplerate) \ |
339 |
$(use_enable bluetooth bluez) \ |
340 |
$(use_enable policykit polkit) \ |
341 |
$(use_with caps) \ |
342 |
$(use_with X x) \ |
343 |
--disable-ltdl-install \ |
344 |
--localstatedir=/var \ |
345 |
--with-realtime-group=realtime \ |
346 |
--disable-per-user-esound-socket \ |
347 |
|| die "econf failed" |
348 |
emake || die "emake failed" |
349 |
} |
350 |
|
351 |
src_install() { |
352 |
emake -j1 DESTDIR="${D}" install || die "make install failed" |
353 |
|
354 |
newconfd "${FILESDIR}/pulseaudio.conf.d" pulseaudio |
355 |
|
356 |
use_define() { |
357 |
local define=${2:-$(echo $1 | tr '[:lower:]' '[:upper:]')} |
358 |
|
359 |
use "$1" && echo "-D$define" || echo "-U$define" |
360 |
} |
361 |
|
362 |
unifdef "${FILESDIR}/pulseaudio.init.d-3" \ |
363 |
$(use_define hal) \ |
364 |
$(use_define avahi) \ |
365 |
$(use_define alsa) \ |
366 |
$(use_define bluetooth) \ |
367 |
> "${T}/pulseaudio" |
368 |
doinitd "${T}/pulseaudio" |
369 |
|
370 |
use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" |
371 |
|
372 |
dohtml -r doc |
373 |
dodoc README |
374 |
|
375 |
# Create the state directory |
376 |
diropts -o pulse -g pulse -m0755 |
377 |
keepdir /var/run/pulse |
378 |
} |
379 |
|
380 |
pkg_postinst() { |
381 |
elog "PulseAudio in Gentoo can use a system-wide pulseaudio daemon." |
382 |
elog "This support is enabled by starting the pulseaudio init.d ." |
383 |
elog "To be able to access that you need to be in the group pulse-access." |
384 |
elog "For more information about system-wide support, please refer to" |
385 |
elog " http://pulseaudio.org/wiki/SystemWideInstance" |
386 |
if use gnome; then |
387 |
elog |
388 |
elog "By enabling gnome USE flag, you enabled gconf support. Pleaes note" |
389 |
elog "that you might need to remove the gnome USE flag or disable the" |
390 |
elog "gconf module on /etc/pulse/default.pa to be able to use PulseAudio" |
391 |
elog "with a system-wide instance." |
392 |
fi |
393 |
elog |
394 |
elog "To use the ESounD wrapper while using a system-wide daemon, you also" |
395 |
elog "need to enable auth-anonymous for the esound-unix module, or to copy" |
396 |
elog "/var/run/pulse/.esd_auth into each home directory." |
397 |
elog |
398 |
elog "If you want to make use of realtime capabilities of PulseAudio" |
399 |
elog "you should follow the realtime guide to create and set up a realtime" |
400 |
elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" |
401 |
elog "Make sure you also have baselayout installed with pam USE flag" |
402 |
elog "enabled, if you're using the rlimit method." |
403 |
if use bluetooth; then |
404 |
elog |
405 |
elog "The BlueTooth proximity module is not enabled in the default" |
406 |
elog "configuration file. If you do enable it, you'll have to have" |
407 |
elog "your BlueTooth controller enabled and inserted at bootup or" |
408 |
elog "PulseAudio will refuse to start." |
409 |
elog |
410 |
elog "Please note that the BlueTooth proximity module seems itself" |
411 |
elog "still experimental, so please report to upstream if you have" |
412 |
elog "problems with it." |
413 |
fi |
414 |
|
415 |
eselect esd update --if-unset |
416 |
} |
417 |
|
418 |
|
419 |
|
420 |
-- |
421 |
gentoo-commits@l.g.o mailing list |