summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-01-04 14:27:09 +0000
committerSamuli Suominen <drac@gentoo.org>2008-01-04 14:27:09 +0000
commit0e16946e5a83a3c872caac635dcd19ba2d0365c4 (patch)
tree3b33a4595b16343e941714627d9d1eb0a5e2f082 /media-sound/mt-daapd
parentRemoved obsolete versions (diff)
downloadgentoo-2-0e16946e5a83a3c872caac635dcd19ba2d0365c4.tar.gz
gentoo-2-0e16946e5a83a3c872caac635dcd19ba2d0365c4.tar.bz2
gentoo-2-0e16946e5a83a3c872caac635dcd19ba2d0365c4.zip
Remove last version depending on howl.
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'media-sound/mt-daapd')
-rw-r--r--media-sound/mt-daapd/ChangeLog11
-rw-r--r--media-sound/mt-daapd/files/digest-mt-daapd-0.2.43
-rw-r--r--media-sound/mt-daapd/files/mt-daapd-0.2.3-libsorder.patch134
-rw-r--r--media-sound/mt-daapd/files/mt-daapd-0.2.3-persist-fix.patch28
-rw-r--r--media-sound/mt-daapd/files/mt-daapd-0.2.3-pidfile.patch51
-rw-r--r--media-sound/mt-daapd/files/mt-daapd.conf.example305
-rw-r--r--media-sound/mt-daapd/files/mt-daapd.init23
-rw-r--r--media-sound/mt-daapd/mt-daapd-0.2.4.ebuild136
8 files changed, 9 insertions, 682 deletions
diff --git a/media-sound/mt-daapd/ChangeLog b/media-sound/mt-daapd/ChangeLog
index 1a31563f5738..49e2c0c47671 100644
--- a/media-sound/mt-daapd/ChangeLog
+++ b/media-sound/mt-daapd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/mt-daapd
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/ChangeLog,v 1.57 2007/11/29 18:00:34 armin76 Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/ChangeLog,v 1.58 2008/01/04 14:27:08 drac Exp $
+
+ 04 Jan 2008; Samuli Suominen <drac@gentoo.org>
+ -files/mt-daapd-0.2.3-libsorder.patch,
+ -files/mt-daapd-0.2.3-persist-fix.patch,
+ -files/mt-daapd-0.2.3-pidfile.patch, -files/mt-daapd.conf.example,
+ -files/mt-daapd.init, -mt-daapd-0.2.4.ebuild:
+ Remove last version depending on howl.
29 Nov 2007; Raúl Porcel <armin76@gentoo.org> mt-daapd-0.2.4.1.ebuild:
sparc stable wrt #200110
diff --git a/media-sound/mt-daapd/files/digest-mt-daapd-0.2.4 b/media-sound/mt-daapd/files/digest-mt-daapd-0.2.4
deleted file mode 100644
index 945b60242508..000000000000
--- a/media-sound/mt-daapd/files/digest-mt-daapd-0.2.4
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 2e1cdbe6b94ef153e915806f80a28dca mt-daapd-0.2.4.tar.gz 405168
-RMD160 babb3f98a254aa4a014b5e7adb96276fafc84fac mt-daapd-0.2.4.tar.gz 405168
-SHA256 8239ebbba5b815e5668aa235be52f2ea66f1a81bb80f4f6ddda2cc3e69f7b7ef mt-daapd-0.2.4.tar.gz 405168
diff --git a/media-sound/mt-daapd/files/mt-daapd-0.2.3-libsorder.patch b/media-sound/mt-daapd/files/mt-daapd-0.2.3-libsorder.patch
deleted file mode 100644
index ce1d83c38bd4..000000000000
--- a/media-sound/mt-daapd/files/mt-daapd-0.2.3-libsorder.patch
+++ /dev/null
@@ -1,134 +0,0 @@
-This patch make sure that the libraries to link against are specified at the
-end of the linking commandline, instead of before any file, as that would
-ignore them altogether while using --as-needed. It make sure the libraries are
-passed in a more autotool-compliant way, too.
-
-Index: mt-daapd-0.2.3/configure.in
-===================================================================
---- mt-daapd-0.2.3.orig/configure.in
-+++ mt-daapd-0.2.3/configure.in
-@@ -20,8 +20,9 @@ STATIC_LIBS=no
- CPPFLAGS="${CPPFLAGS} -g"
-
- dnl fix freebsd's broken (?) libpthread
--AC_CHECK_LIB(c_r,pthread_creat,LDFLAGS="${LDFLAGS} -lc_r", [
-- AC_CHECK_LIB(pthread,pthread_create,LDFLAGS="${LDFLAGS} -lpthread") ])
-+AC_CHECK_LIB(c_r,pthread_creat,THREAD_LIBS="-lc_r", [
-+ AC_CHECK_LIB(pthread,pthread_create,THREAD_LIBS="-lpthread") ])
-+AC_SUBST(THREAD_LIBS)
-
- AC_ARG_ENABLE(debug,[ --enable-debug Enable debugging features],
- CPPFLAGS="${CPPFLAGS} -Wall")
-@@ -35,17 +36,19 @@ AC_ARG_ENABLE(mdns,[ --enable-mdns
- esac ])
-
- AC_ARG_ENABLE(efence,[ --enable-efence Enable electric fence],
-- LDFLAGS="${LDFLAGS} -lefence")
-+ EFENCE_LIBS="-lefence")
-+AC_SUBST(EFENCE_LIBS)
- AC_ARG_ENABLE(nslu2,[ --enable-nslu2 Build for NSLU2/uNSLUng],
- CFLAGS="${CFLAGS} -DNSLU2")
-
- AC_ARG_ENABLE(howl,[ --enable-howl Use howl 0.9.2 or later],
- [ case "${enableval}" in
-- yes) rend_howl=true; rend_posix=false; LDFLAGS="${LDFLAGS} -lhowl";
-+ yes) rend_howl=true; rend_posix=false; HOWL_LIBS="-lhowl";
- CPPFLAGS="${CPPFLAGS} -DWITH_HOWL";;
- no) rend_howl=false;;
- *) AC_MSG_ERROR(bad value ${enableval} for --enable-howl);;
- esac ])
-+AC_SUBST(HOWL_LIBS)
-
- AC_ARG_ENABLE(oggvorbis,[ --enable-oggvorbis Enable Ogg/Vorbis support],
- use_oggvorbis=true;
-@@ -72,7 +75,7 @@ case $host in
- CPPFLAGS="$CPPFLAGS -DNOT_HAVE_SA_LEN -D_XPG4_2"
- CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__ -DHAVE_BROKEN_RECVIF_NAME"
- CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
-- LDFLAGS="$LDFLAGS -lnsl -lsocket";;
-+ EXTRA_LIBS="$EXTRA_LIBS -lnsl -lsocket";;
- *freebsd*)
- CPPFLAGS="$CPPFLAGS -DFREEBSD";;
- *linux*)
-@@ -88,6 +91,8 @@ case $host in
- AM_CONDITIONAL(COND_REND_POSIX,false);;
- esac
-
-+AC_SUBST(EXTRA_LIBS)
-+
- dnl Checks for libraries.
- AC_ARG_WITH(static-libs,
- [--with-static-libs[[=DIR]] use static libs in DIR],[
-@@ -144,12 +149,13 @@ AC_CHECK_HEADERS(gdbm.h,, [
- AC_CHECK_LIB(gdbm,gdbm_open,echo "Have gdbm", echo "Must have gdbm";exit)
-
- if test "$STATIC_LIBS" != "no"; then
-- LDFLAGS="${LDFLAGS} ${STATIC_LIBS}/libgdbm.a"
-+ GDBM_LIBS="${STATIC_LIBS}/libgdbm.a"
- echo "Adding static libgdbm"
- else
-- LDFLAGS="${LDFLAGS} -lgdbm"
-+ GDBM_LIBS="-lgdbm"
- echo "Adding dynamic libgdbm"
- fi
-+AC_SUBST(GDBM_LIBS)
-
- AC_CHECK_HEADERS(id3tag.h,, [
- AC_MSG_ERROR([id3tag.h not found... try --with-id3tag=dir])])
-@@ -160,12 +166,13 @@ CFLAGS="$CFLAGS -lz"
- AC_CHECK_LIB(id3tag,id3_file_open,echo "Have id3tag",echo "Must have libid3tag";exit)
-
- if test "$STATIC_LIBS" != "no"; then
-- LDFLAGS="${LDFLAGS} ${STATIC_LIBS}/libid3tag.a -lz"
-+ ID3_LIBS="${STATIC_LIBS}/libid3tag.a -lz"
- echo "Adding static libid3tag"
- else
-- LDFLAGS="${LDFLAGS} -lid3tag -lz"
-+ ID3_LIBS="-lid3tag -lz"
- echo "Adding dynamic libid3tag"
- fi
-+AC_SUBST([ID3_LIBS])
- CFLAGS=$oldcflags
-
- if test x$use_oggvorbis = xtrue; then
-@@ -174,22 +181,23 @@ if test x$use_oggvorbis = xtrue; then
- AC_CHECK_LIB(ogg,ogg_sync_init,echo "Have ogg",echo "Must have libogg for Ogg/Vorbis support";exit)
-
- if test x"$STATIC_LIBS" != x"no"; then
-- LDFLAGS="${LDFLAGS} ${STATIC_LIBS}/libogg.a"
-+ OGG_LIBS="${STATIC_LIBS}/libogg.a"
- echo "Adding static libogg"
- else
-- LDFLAGS="${LDFLAGS} -logg"
-+ OGG_LIBS="-logg"
- echo "Adding dynamic libogg"
- fi
-+ AC_SUBST(OGG_LIBS)
-
- AC_CHECK_HEADERS(vorbis/codec.h,, [
- AC_MSG_ERROR([vorbis/codec.h not found... Must have libvorbis installed for Ogg/Vorbis support])])
- AC_CHECK_LIB(vorbis,vorbis_info_init,echo "Have vorbis",echo "Must have libvorbis for Ogg/Vorbis support";exit)
-
- if test x"$STATIC_LIBS" != x"no"; then
-- LDFLAGS="${LDFLAGS} ${STATIC_LIBS}/libvorbis.a"
-+ OGG_LIBS="${OGG_LIBS} ${STATIC_LIBS}/libvorbis.a"
- echo "Adding static libvorbis"
- else
-- LDFLAGS="${LDFLAGS} -lvorbis"
-+ OGG_LIBS="${OGG_LIBS} -lvorbis"
- echo "Adding dynamic libvorbis"
- fi
- fi
-Index: mt-daapd-0.2.3/src/Makefile.am
-===================================================================
---- mt-daapd-0.2.3.orig/src/Makefile.am
-+++ mt-daapd-0.2.3/src/Makefile.am
-@@ -29,6 +29,8 @@ mt_daapd_SOURCES = main.c daapd.h rend.h
- rend-unix.h lexer.l parser.y strcasestr.c strcasestr.h strsep.c \
- redblack.c redblack.h dynamic-art.c dynamic-art.h query.c query.h \
- $(PRENDSRC) $(ORENDSRC) $(HRENDSRC) $(OGGVORBISSRC)
-+mt_daapd_LDADD = $(GDBM_LIBS) $(ID3_LIBS) $(OGG_LIBS) $(THREAD_LIBS) \
-+ $(EFENCE_LIBS) $(HOWL_LIBS) $(EXTRA_LIBS)
-
- EXTRA_DIST = mDNS.c mDNSClientAPI.h mDNSDebug.h mDNSPosix.c \
- mDNSUNP.c mDNSPlatformFunctions.h mDNSPosix.h mDNSUNP.h \
diff --git a/media-sound/mt-daapd/files/mt-daapd-0.2.3-persist-fix.patch b/media-sound/mt-daapd/files/mt-daapd-0.2.3-persist-fix.patch
deleted file mode 100644
index c86138891883..000000000000
--- a/media-sound/mt-daapd/files/mt-daapd-0.2.3-persist-fix.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Index: mt-daapd-0.2.3/src/rend-howl.c
-===================================================================
---- mt-daapd-0.2.3.orig/src/rend-howl.c
-+++ mt-daapd-0.2.3/src/rend-howl.c
-@@ -156,8 +156,8 @@ void rend_callback(void) {
- NULL, /* domain */
- NULL, /* host */
- msg.port,
-- "\034Database ID=beddab1edeadbea7", /* text record */
-- 29, /* text record length */
-+ "\011txtvers=1\034Database ID=beddab1edeadbea7", /* text record */
-+ 39, /* text record length */
- rend_howl_reply,
- NULL,
- &rend_oid)) != SW_OKAY) {
-Index: mt-daapd-0.2.3/src/rend-posix.c
-===================================================================
---- mt-daapd-0.2.3.orig/src/rend-posix.c
-+++ mt-daapd-0.2.3/src/rend-posix.c
-@@ -414,7 +414,7 @@ void rend_callback(void) {
- switch(msg.cmd) {
- case REND_MSG_TYPE_REGISTER:
- DPRINTF(E_DBG,L_REND,"Registering %s.%s (%d)\n",msg.name,msg.type,msg.port);
-- RegisterOneService(msg.name,msg.type,"local.","\034Database ID=beddab1edeadbea7",29,
-+ RegisterOneService(msg.name,msg.type,"local.","\011txtvers=1\034Database ID=beddab1edeadbea7",39,
- msg.port);
- rend_send_response(0); /* success */
- break;
diff --git a/media-sound/mt-daapd/files/mt-daapd-0.2.3-pidfile.patch b/media-sound/mt-daapd/files/mt-daapd-0.2.3-pidfile.patch
deleted file mode 100644
index 50ad82cf4f7e..000000000000
--- a/media-sound/mt-daapd/files/mt-daapd-0.2.3-pidfile.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-Index: mt-daapd-0.2.3/src/main.c
-===================================================================
---- mt-daapd-0.2.3.orig/src/main.c
-+++ mt-daapd-0.2.3/src/main.c
-@@ -551,6 +551,7 @@ void usage(char *program) {
- printf(" -m Disable mDNS\n");
- printf(" -c <file> Use configfile specified\n");
- printf(" -p Parse playlist file\n");
-+ printf(" -P <file> Write the PID to specified file\n");
- printf(" -f Run in foreground\n");
- printf(" -y Yes, go ahead and run as non-root user\n");
- printf("\n\n");
-@@ -708,6 +709,7 @@ int start_signal_handler(pthread_t *hand
- int main(int argc, char *argv[]) {
- int option;
- char *configfile=DEFAULT_CONFIGFILE;
-+ char *pidfile=PIDFILE;
- WSCONFIG ws_config;
- WSHANDLE server;
- int parseonly=0;
-@@ -726,7 +728,7 @@ int main(int argc, char *argv[]) {
- config.use_mdns=1;
- err_debuglevel=1;
-
-- while((option=getopt(argc,argv,"D:d:c:mpfry")) != -1) {
-+ while((option=getopt(argc,argv,"D:d:c:mpP:fry")) != -1) {
- switch(option) {
- case 'd':
- err_debuglevel=atoi(optarg);
-@@ -754,6 +756,10 @@ int main(int argc, char *argv[]) {
- foreground=1;
- break;
-
-+ case 'P':
-+ pidfile=optarg;
-+ break;
-+
- case 'r':
- reload=1;
- break;
-@@ -803,8 +809,8 @@ int main(int argc, char *argv[]) {
-
- /* open the pidfile, so it can be written once we detach */
- if((!foreground) && (!force_non_root)) {
-- if(-1 == (pid_fd = open(PIDFILE,O_CREAT | O_WRONLY | O_TRUNC, 0644)))
-- DPRINTF(E_FATAL,L_MAIN,"Error opening pidfile (%s): %s\n",PIDFILE,strerror(errno));
-+ if(-1 == (pid_fd = open(pidfile,O_CREAT | O_WRONLY | O_TRUNC, 0644)))
-+ DPRINTF(E_FATAL,L_MAIN,"Error opening pidfile (%s): %s\n",pidfile,strerror(errno));
-
- if(0 == (pid_fp = fdopen(pid_fd, "w")))
- DPRINTF(E_FATAL,L_MAIN,"fdopen: %s\n",strerror(errno));
diff --git a/media-sound/mt-daapd/files/mt-daapd.conf.example b/media-sound/mt-daapd/files/mt-daapd.conf.example
deleted file mode 100644
index b4fe882a49c8..000000000000
--- a/media-sound/mt-daapd/files/mt-daapd.conf.example
+++ /dev/null
@@ -1,305 +0,0 @@
-# $Id: mt-daapd.conf.example,v 1.1 2006/03/17 23:08:54 flameeyes Exp $
-#
-# This is the mt-daapd config file.
-#
-# If you have problems or questions with the format of this file,
-# direct your questions to rpedde@users.sourceforge.net.
-#
-# You can also check the website at http://mt-daapd.sourceforge.net,
-# as there is a growing documentation library there, peer-supported
-# forums and possibly more.
-#
-
-[general]
-
-#
-# web_root (required)
-#
-# Location of the admin web pages.
-#
-# If you installed from .RPM, .deb, or tarball with --prefix=/usr, then
-# this is correct.
-#
-# If you installed from tarball without --prefix=/usr, then the correct
-# path is probably /usr/local/share/mt-daapd/admin-root.
-#
-
-web_root = /usr/share/mt-daapd/admin-root
-
-#
-# port (required)
-#
-# What port to listen on. It is possible to use a different
-# port, but this is the default iTunes port
-#
-
-port = 3689
-
-#
-# admin_pw (required)
-#
-# This is the password to the administrative pages
-#
-
-admin_pw = mt-daapd
-
-
-#
-# db_type (required)
-#
-# This is what kind of backend database to store the song
-# info in. Valid choices are "sqlite" and "sqlite3".
-#
-
-db_type = sqlite
-
-#
-# db_parms
-#
-# This is any extra information the db needs to connect.
-# in the case of sqlite and sqlite3, this is the name
-# of the directory to store the database in
-#
-# If you installed from RPM or .deb, this path likely already
-# exists. If not, then you must create it. The directory itself
-# must be writable by the "runas" user.
-#
-
-db_parms = /var/cache/mt-daapd
-
-#
-# mp3_dir (required)
-#
-# Location of the mp3 files to share. Note that because the
-# files are stored in the database by inode, these must be
-# in the same physical filesystem.
-#
-
-mp3_dir = /mnt/mp3
-
-#
-# servername (required)
-#
-# This is both the name of the server as advertised
-# via rendezvous, and the name of the database
-# exported via DAAP. Also know as "What shows up in iTunes".
-#
-
-servername = mt-daapd
-
-#
-# runas (required)
-#
-# This is the user to drop privs to if running as
-# root. If mt-daapd is not started as root, this
-# configuration option is ignored. Notice that this
-# must be specified whether the server is running
-# as root or not.
-#
-
-runas = nobody
-
-#
-# playlist (optional)
-#
-# This is the location of a playlist file.
-# This is for Apple-style "Smart Playlists"
-# See the mt-daapd.playlist file in the
-# contrib directory for syntax and examples
-#
-# This doesn't control static playlists... these
-# are controlled with the "process_m3u" directive
-# below.
-#
-
-playlist = /etc/mt-daapd.playlist
-
-#
-# password (optional)
-#
-# This is the password required to listen to MP3 files
-# i.e. the password that iTunes prompts for
-#
-
-#password = mp3
-
-#
-# extensions (optional)
-#
-# These are the file extensions that the daap server will
-# try to index and serve. By default, it only indexes and
-# serves .mp3 files. It can also server .m4a and .m4p files,
-# and just about any other files, really. Unfortunately, while
-# it can *attempt* to serve other files (.ogg?), iTunes won't
-# play them. Perhaps this would be useful on Linux with
-# Rhythmbox, once it understands daap. (hurry up!)
-#
-# Failing that, one can use server-side conversion to transcode
-# non-standard (.ogg, .flac) music to wav on the server side.
-# See the ssc_* options below.
-#
-
-extensions = .mp3,.m4a,.m4p,.ogg
-
-#
-# ssc_codectypes (optional)
-#
-# List of codectypes for files that the daap server should
-# perform internal format conversion and present to clients
-# as WAV files. The file extensions that these codectypes correspond
-# to must also be present in 'extensions'
-# configuration value, or files are not probed in the first
-# place.
-#
-# Valid codectypes:
-#
-# mp4a - for AAC (.aac, .mp4, .m4a, .m4p)
-# mpeg - for mp3
-# wav - for wav
-# wma - for wma
-# ogg - for ogg
-# flac - for flac (.flac, .fla)
-# mpc for musepack (.mpc, .mpp, .mp+)
-# alac for alac (.m4a)
-#
-
-ssc_codectypes = ogg,flac,alac
-
-#
-# ssc_prog (optional)
-#
-# Program that is used in server side format conversion.
-# Program must accept following command line syntax:
-# ssc_prog filename offset length ...
-# Parameter filename is the real name of the file that is
-# to be converted and streamed, offset is number of bytes
-# that are skipped from the beginning of the _output_ file
-# before streaming is started, length is length of the song
-# in seconds (or zero). All other possible arguments must
-# be ignored. The resulting wav file (or the rest of
-# the file after initial seek) is written to the standard
-# output by the ssc_prog program. This is typically
-# a script that is a front end for different conversion tools
-# handling different formats.
-#
-
-ssc_prog = /etc/mt-daapd-ssc-script
-
-#
-# logfile (optional)
-#
-# This is the file to log to. If this is not configured,
-# then it will log to the syslog.
-#
-# Not that the -d <level> switch will control the log verbosity.
-# By default, it runs at log level 1. Log level 9 will churn
-# out scads of useless debugging information. Values in between
-# will vary the amount of logging you get.
-#
-
-#logfile = /var/log/mt-daapd.log
-
-#
-# art_filename (optional)
-#
-# There is experimental support thanks to Hiren Joshi
-# (hirenj@mooh.org) for dynamically adding art to the id3v2
-# header as it is streamed (!!). If you were using a music system
-# like zina or andromeda, for example, with cover art called
-# "_folderOpenImage.jpg", you could use the parameter
-# art_file _folderOpenImage.jpg and if the file _folderOpenImage.jpg
-# was located in the same folder as the .mp3 file, it would appear
-# in iTunes. Cool, eh?
-#
-
-#art_filename = _folderOpenImage.jpg
-
-#
-# rescan_interval
-#
-# How often to check the file system to see if any mp3 files
-# have been added or removed.
-#
-# if not specified, the default is 0, which disables background scanning.
-#
-# If background rescanning is disabled, a scan can still be forced from the
-# "status" page of the administrative web interface
-#
-# Setting a rescan_interval lower than the time it takes to rescan
-# won't hurt anything, it will just waste CPU, and make connect times
-# to the daap server longer.
-#
-#
-
-#rescan_interval = 300
-
-# always_scan
-#
-# The default behavior is not not do background rescans of the
-# filesystem unless there are clients connected. The thought is to
-# allow the drives to spin down unless they are in use. This might be
-# of more importance in IDE drives that aren't designed to be run
-# 24x7. Forcing a scan through the web interface will always work
-# though, even if no users are connected.
-
-# always_scan = 0
-
-#
-# process_m3u
-#
-# By default m3u processing is turned off, since most m3u files
-# sitting around in peoples mp3 directories have bad paths, and
-# I hear about it. :)
-#
-# If you are sure your m3u files have good paths (i.e. unixly pathed,
-# with relative paths relative to the directory the m3u is in), then
-# you can turn on m3u processing by setting this directive to 1.
-#
-# I'm not sure "unixly" is a word, but you get the idea.
-#
-
-# process_m3u = 0
-
-#
-# scan_type
-#
-#
-# This sets how aggressively mp3 files should be scanned to determine
-# file length. There are three values:
-#
-# 0 (Normal)
-# Just scan the first mp3 frame to try and calculate size. This will
-# be accurate for most files, but VBR files without an Xing tag will
-# probably have wildly inaccurate file times. This is the default.
-#
-# 1 (Aggressive)
-# This checks the bitrates of 10 frames in the middle of the song.
-# This will still be inaccurate for VBR files without an Xing tag,
-# but they probably won't be quite as inaccurate as 0. This takes
-# more time, obviously, although the time hit will only happen the
-# first time you scan a particular file.
-#
-# 2 (Painfully aggressive)
-# This walks through the entire song, counting the number of frames.
-# This should result in accurate song times, but will take the most
-# time. Again, this will only have to be incurred the first time
-# the file is indexed.
-#
-
-# scan_type = 0
-
-#
-# compress
-#
-# Whether to use gzip content-encoding when transferring playlists etc.
-# This was contributed as a patch by Ciamac Moallemi just prior to the 0.2.1
-# release, and as such, hasn't gotten as much testing as other features.
-#
-# This feature should substantially speed up transfers of large databases
-# and playlists.
-#
-# It will eventually default to 1, but currently it defaults to 0.
-#
-
-# compress = 0
-
diff --git a/media-sound/mt-daapd/files/mt-daapd.init b/media-sound/mt-daapd/files/mt-daapd.init
deleted file mode 100644
index 5b2e125907ba..000000000000
--- a/media-sound/mt-daapd/files/mt-daapd.init
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- need net
- provide daap
-}
-
-start() {
- ebegin "Starting mt-daapd DAAP server"
-
- start-stop-daemon --start --quiet --pidfile /var/run/mt-daapd.pid \
- --startas /usr/sbin/mt-daapd
- eend $? "Failed to start mt-daapd"
-}
-
-stop() {
- ebegin "Stopping mt-daapd DAAP server"
- start-stop-daemon --stop --quiet --pidfile /var/run/mt-daapd.pid
- eend $? "Failed to stop mt-daapd"
-
- # clean stale pidfile
- [ -f /var/run/mt-daapd.pid ] && rm -f /var/run/mt-daapd.pid
-}
diff --git a/media-sound/mt-daapd/mt-daapd-0.2.4.ebuild b/media-sound/mt-daapd/mt-daapd-0.2.4.ebuild
deleted file mode 100644
index b4c54e6a1bc7..000000000000
--- a/media-sound/mt-daapd/mt-daapd-0.2.4.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/mt-daapd-0.2.4.ebuild,v 1.9 2007/01/17 18:26:45 grobian Exp $
-
-WANT_AUTOCONF="latest"
-WANT_AUTOMAKE="latest"
-
-inherit eutils autotools
-
-MY_P="${P/_/-}"
-
-DESCRIPTION="A multi-threaded implementation of Apple's DAAP server"
-HOMEPAGE="http://www.mt-daapd.org/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm ~mips ~ppc sh sparc x86"
-IUSE="howl vorbis avahi"
-
-DEPEND="sys-libs/zlib
- media-libs/libid3tag
- sys-libs/gdbm
- howl? ( !avahi? ( >=net-misc/howl-0.9.2 )
- avahi? ( net-dns/avahi ) )
- vorbis? ( media-libs/libvorbis )"
-
-pkg_setup() {
- if use howl && use avahi && ! built_with_use net-dns/avahi howl-compat; then
- eerror "You requested avahi support, but this package requires"
- eerror "the howl-compat support enabled in net-dns/avahi to work"
- eerror "with it."
- eerror
- eerror "Please recompile net-dns/avahi with +howl-compat."
- die "Missing howl-compat support in avahi."
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch "${FILESDIR}/${PN}-0.2.3-pidfile.patch"
- epatch "${FILESDIR}/${PN}-0.2.3-persist-fix.patch"
- epatch "${FILESDIR}/${PN}-0.2.3-sparc.patch"
- epatch "${FILESDIR}/${PN}-0.2.3-libsorder.patch"
-
- eautoreconf
-}
-
-src_compile() {
- local myconf=""
- local howlincludes
-
- # howl support?
- if use howl; then
- use avahi && \
- howlincludes="/usr/include/avahi-compat-howl" || \
- howlincludes="/usr/include/howl"
-
- myconf="${myconf}
- --enable-howl
- --with-howl-libs=/usr/$(get_libdir)
- --with-howl-includes=${howlincludes}"
- fi
-
- # Bug 65723
- if use vorbis; then
- myconf="${myconf} --enable-oggvorbis"
- fi
-
- econf ${myconf} || die "configure failed"
- emake || die "make failed"
-
- cp ${FILESDIR}/${PN}.init.2 ${WORKDIR}/initd
- if ! use howl; then
- sed -i -e '/#USEHOWL/d' ${WORKDIR}/initd
- elif ! use avahi; then
- sed -i -e 's:#USEHOWL ::' ${WORKDIR}/initd
- else
- sed -i -e 's:#USEHOWL ::; s:mDNSResponder:avahi-daemon:' ${WORKDIR}/initd
- fi
-}
-
-src_install() {
- make DESTDIR=${D} install || die "make install failed"
-
- insinto /etc
- newins contrib/mt-daapd.conf mt-daapd.conf.example
- doins contrib/mt-daapd.playlist
-
- newinitd ${WORKDIR}/initd ${PN}
-
- keepdir /var/cache/mt-daapd /etc/mt-daapd.d
-
- dodoc AUTHORS CREDITS ChangeLog NEWS README TODO
-}
-
-pkg_postinst() {
- einfo
- elog "You have to configure your mt-daapd.conf following"
- elog "/etc/mt-daapd.conf.example file."
- einfo
-
- if use howl; then
- use avahi && \
- howlservice="avahi-daemon" || \
- howlservice="mDNSResponder"
-
- einfo
- elog "Since you want to use howl instead of the internal mdnsd"
- elog "you need to make sure that you have ${howlservice} configured"
- elog "and running to use mt-daapd."
- einfo
-
- if use avahi; then
- elog "Avahi support is currently experimental, it does not work"
- elog "as intended when using more than one mt-daapd instance."
- elog "If you want to run more than one mt-daapd, just use the"
- elog "internal mdnsd by building with -howl flag."
- fi
- fi
-
- if use vorbis; then
- einfo
- elog "You need to edit you extensions list in /etc/mt-daapd.conf"
- elog "if you want your mt-daapd to serve ogg files."
- einfo
- fi
-
- einfo
- elog "If you want to start more than one ${PN} service, symlink"
- elog "/etc/init.d/${PN} to /etc/init.d/${PN}.<name>, and it will"
- elog "load the data from /etc/${PN}.d/<name>.conf."
- elog "Make sure that you have different cache directories for them."
- einfo
-}