summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-06-15 15:15:17 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-06-15 15:15:17 +0000
commitfa47840a8047f99154c6e4b0b9af1efeb8bc8350 (patch)
tree4b1c37b5f568d76695e0fd44c8f37b703f8a9346 /media-sound/pulseaudio/files
parentAdd a default-off killswitch for systemwide mode in the init script. (diff)
downloadgentoo-2-fa47840a8047f99154c6e4b0b9af1efeb8bc8350.tar.gz
gentoo-2-fa47840a8047f99154c6e4b0b9af1efeb8bc8350.tar.bz2
gentoo-2-fa47840a8047f99154c6e4b0b9af1efeb8bc8350.zip
Clean up old ebuilds. Would be time to ask a new stable I guess.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/pulseaudio/files')
-rw-r--r--media-sound/pulseaudio/files/pulseaudio-0.9.10-caps.patch15
-rw-r--r--media-sound/pulseaudio/files/pulseaudio-0.9.7-module-loading.patch21
-rw-r--r--media-sound/pulseaudio/files/pulseaudio.init.d-368
3 files changed, 0 insertions, 104 deletions
diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.10-caps.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.10-caps.patch
deleted file mode 100644
index 7502ad257576..000000000000
--- a/media-sound/pulseaudio/files/pulseaudio-0.9.10-caps.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Index: pulseaudio-0.9.10/src/daemon/caps.c
-===================================================================
---- pulseaudio-0.9.10.orig/src/daemon/caps.c
-+++ pulseaudio-0.9.10/src/daemon/caps.c
-@@ -131,9 +131,8 @@ int pa_limit_caps(void) {
- return 0;
- }
-
--int pa_drop_caps(void) {
-+void pa_drop_caps(void) {
- pa_drop_root();
-- return 0;
- }
-
- #endif
diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.7-module-loading.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.7-module-loading.patch
deleted file mode 100644
index f9fa1189942e..000000000000
--- a/media-sound/pulseaudio/files/pulseaudio-0.9.7-module-loading.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Index: pulseaudio-0.9.7/src/daemon/main.c
-===================================================================
---- pulseaudio-0.9.7.orig/src/daemon/main.c
-+++ pulseaudio-0.9.7/src/daemon/main.c
-@@ -634,7 +634,6 @@ int main(int argc, char *argv[]) {
- c->default_sample_spec = conf->default_sample_spec;
- c->default_n_fragments = conf->default_n_fragments;
- c->default_fragment_size_msec = conf->default_fragment_size_msec;
-- c->disallow_module_loading = conf->disallow_module_loading;
- c->exit_idle_time = conf->exit_idle_time;
- c->module_idle_time = conf->module_idle_time;
- c->scache_idle_time = conf->scache_idle_time;
-@@ -675,6 +674,8 @@ int main(int argc, char *argv[]) {
- pa_log_error("%s", s = pa_strbuf_tostring_free(buf));
- pa_xfree(s);
-
-+ c->disallow_module_loading = conf->disallow_module_loading;
-+
- if (r < 0 && conf->fail) {
- pa_log("failed to initialize daemon.");
- #ifdef HAVE_FORK
diff --git a/media-sound/pulseaudio/files/pulseaudio.init.d-3 b/media-sound/pulseaudio/files/pulseaudio.init.d-3
deleted file mode 100644
index c15c8e160a40..000000000000
--- a/media-sound/pulseaudio/files/pulseaudio.init.d-3
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/files/pulseaudio.init.d-3,v 1.3 2007/11/23 13:09:31 flameeyes Exp $
-
-depend() {
- need localmount
- use net
-
- local script="/etc/pulse/default.pa"
-
- for opt in ${PA_OPTS}; do
- case "$opt" in
- --file=*) script="${opt#*=}" ;;
- -F*) script="${opt#-F}" ;;
- esac
- done
-
- config "$script"
-
- local needs="$(get_options need)"
- if [ -n "${needs}" ]; then
- need ${needs}
- return
- fi
-
-#ifdef HAL
- if egrep -q '^[[:space:]]*load-module[[:space:]]+module-hal-detect' "$script"; then
- needs="${needs} hald"
- fi
-#endif
-
-#ifdef AVAHI
- if egrep -q '[[:space:]]*load-module[[:space:]]+module-zeroconf-publish' "$script"; then
- needs="${needs} avahi-daemon"
- fi
-#endif
-
-#ifdef BLUETOOTH
- if egrep -q '[[:space:]]*load-module[[:space:]]+module-bt-proximity' "$script"; then
- needs="${needs} bluetooth"
- fi
-#endif
-
-#ifdef ALSA
- if egrep -q '[[:space:]]*load-module[[:space:]]+module-alsa-(sink|source)' "$script" ||
- egrep -q '[[:space:]]*load-module[[:space:]]+module-(hal-)?detect' "$script" ||
- egrep -q '[[:space:]]*add-autoload-source[[:space:]]+(input|output)[[:space:]]+module-alsa-(sink|source)' "$script"; then
- needs="${needs} alsasound"
- fi
-#endif
-
- need "${needs}"
- save_options need "${needs}"
-}
-
-start() {
- ebegin "Starting pulseaudio"
- PA_ALL_OPTS="${PA_OPTS} --fail=1 --daemonize=1 --system"
- start-stop-daemon --start --exec /usr/bin/pulseaudio -- ${PA_ALL_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping pulseaudio"
- start-stop-daemon --stop --quiet --exec /usr/bin/pulseaudio --pidfile /var/run/pulse/pid
- eend $?
-}