summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2015-09-16 18:28:50 +0200
committerChristoph Mende <angelos@gentoo.org>2015-09-16 18:29:24 +0200
commitaaa4bac1496c4beb7e05d5a970ae1e6439959bf5 (patch)
treea340db1b866d34674f58fa2de9ec95cf8ad8b5a5 /media-sound/mpd/files
parentmedia-sound/mpd: Version bump to 0.19.10 (diff)
downloadgentoo-aaa4bac1496c4beb7e05d5a970ae1e6439959bf5.tar.gz
gentoo-aaa4bac1496c4beb7e05d5a970ae1e6439959bf5.tar.bz2
gentoo-aaa4bac1496c4beb7e05d5a970ae1e6439959bf5.zip
media-sound/mpd: remove old versions
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'media-sound/mpd/files')
-rw-r--r--media-sound/mpd/files/mpd-0.16.conf.patch70
-rw-r--r--media-sound/mpd/files/mpd-0.17.4-ffmpeg2.patch19
-rw-r--r--media-sound/mpd/files/mpd-0.17.6-opus-linking.patch15
-rw-r--r--media-sound/mpd/files/mpd.init32
4 files changed, 0 insertions, 136 deletions
diff --git a/media-sound/mpd/files/mpd-0.16.conf.patch b/media-sound/mpd/files/mpd-0.16.conf.patch
deleted file mode 100644
index 8f193c82df00..000000000000
--- a/media-sound/mpd/files/mpd-0.16.conf.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-Index: mpd-0.16/doc/mpdconf.dist
-===================================================================
---- mpd-0.16.orig/doc/mpdconf.dist
-+++ mpd-0.16/doc/mpdconf.dist
-@@ -10,14 +10,14 @@
- # be disabled and audio files will only be accepted over ipc socket (using
- # file:// protocol) or streaming files over an accepted protocol.
- #
--#music_directory "~/music"
-+music_directory "/var/lib/mpd/music"
- #
- # This setting sets the MPD internal playlist directory. The purpose of this
- # directory is storage for playlists created by MPD. The server will use
- # playlist files not created by the server but only if they are in the MPD
- # format. This setting defaults to playlist saving being disabled.
- #
--#playlist_directory "~/.mpd/playlists"
-+playlist_directory "/var/lib/mpd/playlists"
- #
- # This setting sets the location of the MPD database. This file is used to
- # load the database at server start up and store the database while the
-@@ -25,7 +25,7 @@
- # MPD to accept files over ipc socket (using file:// protocol) or streaming
- # files over an accepted protocol.
- #
--#db_file "~/.mpd/database"
-+db_file "/var/lib/mpd/database"
- #
- # These settings are the locations for the daemon log files for the daemon.
- # These logs are great for troubleshooting, depending on your log_level
-@@ -34,7 +34,7 @@
- # The special value "syslog" makes MPD use the local syslog daemon. This
- # setting defaults to logging to syslog, otherwise logging is disabled.
- #
--#log_file "~/.mpd/log"
-+log_file "/var/lib/mpd/log"
- #
- # This setting sets the location of the file which stores the process ID
- # for use of mpd --kill and some init scripts. This setting is disabled by
-@@ -47,7 +47,7 @@
- # it was brought down. This setting is disabled by default and the server
- # state will be reset on server start up.
- #
--#state_file "~/.mpd/state"
-+state_file "/var/lib/mpd/state"
- #
- # The location of the sticker database. This is a database which
- # manages dynamic information attached to songs.
-@@ -64,7 +64,7 @@
- # initialization. This setting is disabled by default and MPD is run as the
- # current user.
- #
--#user "nobody"
-+user "mpd"
- #
- # This setting specifies the group that MPD will run as. If not specified
- # primary group of user specified with "user" setting will be used (if set).
-@@ -78,10 +78,10 @@
- # This setting can deny access to control of the daemon.
- #
- # For network
--#bind_to_address "any"
-+bind_to_address "localhost"
- #
- # And for Unix Socket
--#bind_to_address "~/.mpd/socket"
-+bind_to_address "/var/lib/mpd/socket"
- #
- # This setting is the TCP port that is desired for the daemon to get assigned
- # to.
diff --git a/media-sound/mpd/files/mpd-0.17.4-ffmpeg2.patch b/media-sound/mpd/files/mpd-0.17.4-ffmpeg2.patch
deleted file mode 100644
index 07c3e48eb1b8..000000000000
--- a/media-sound/mpd/files/mpd-0.17.4-ffmpeg2.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Fix build with FFmpeg 2.0.
-
-Upstream status: Better patch sent and merged upstream.
-
-Index: mpd-0.17.4/src/decoder/ffmpeg_decoder_plugin.c
-===================================================================
---- mpd-0.17.4.orig/src/decoder/ffmpeg_decoder_plugin.c
-+++ mpd-0.17.4/src/decoder/ffmpeg_decoder_plugin.c
-@@ -47,6 +47,10 @@
- #undef G_LOG_DOMAIN
- #define G_LOG_DOMAIN "ffmpeg"
-
-+#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE
-+#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000 // 1 second of 48khz 32bit audio
-+#endif
-+
- static GLogLevelFlags
- level_ffmpeg_to_glib(int level)
- {
diff --git a/media-sound/mpd/files/mpd-0.17.6-opus-linking.patch b/media-sound/mpd/files/mpd-0.17.6-opus-linking.patch
deleted file mode 100644
index fa3250ce0149..000000000000
--- a/media-sound/mpd/files/mpd-0.17.6-opus-linking.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-From: Julian Ospald <hasufell@gentoo.org>
-Date: Sun May 4 11:59:48 UTC 2014
-Subject: fix linking
-
---- mpd-0.17.6/configure.ac
-+++ mpd-0.17.6/configure.ac
-@@ -1149,7 +1149,7 @@
- AM_CONDITIONAL(ENABLE_FLAC_ENCODER, test x$enable_flac_encoder = xyes)
-
- dnl ---------------------------- Ogg Vorbis Encoder ---------------------------
--MPD_AUTO_PKG(vorbis_encoder, VORBISENC, [vorbisenc],
-+MPD_AUTO_PKG(vorbis_encoder, VORBISENC, [vorbisenc vorbis ogg],
- [Ogg Vorbis encoder], [libvorbisenc not found])
-
- if test x$enable_vorbis_encoder = xyes; then
diff --git a/media-sound/mpd/files/mpd.init b/media-sound/mpd/files/mpd.init
deleted file mode 100644
index f9934fcf99cd..000000000000
--- a/media-sound/mpd/files/mpd.init
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- need localmount
- use net netmount nfsmount alsasound esound pulseaudio
-}
-
-checkconfig() {
- if ! [ -f /etc/mpd.conf ]; then
- eerror "Configuration file /etc/mpd.conf does not exist."
- return 1
- fi
-
- return 0
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting Music Player Daemon"
- start-stop-daemon --start --quiet --background --wait 50 --exec /usr/bin/mpd --pidfile /var/run/mpd.pid --make-pidfile -- --no-daemon /etc/mpd.conf 2>/dev/null
- eend $?
-}
-
-stop() {
- ebegin "Stopping Music Player Daemon"
- start-stop-daemon --stop --exec /usr/bin/mpd --pidfile /var/run/mpd.pid
- eend $?
-}