Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78100 - mt-daapd-0.2.1_pre3.ebuild (New Package)
Summary: mt-daapd-0.2.1_pre3.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Sound Team
URL: http://mt-daapd.sourceforge.net
Whiteboard:
Keywords: InVCS
Depends on: 75046
Blocks:
  Show dependency tree
 
Reported: 2005-01-15 09:24 UTC by Frederik Kunz
Modified: 2005-04-29 14:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mt-daapd-0.2.1_pre3.tar.gz (mt-daapd-0.2.1_pre3.tar.gz,2.26 KB, application/x-gzip)
2005-01-15 09:26 UTC, Frederik Kunz
Details
mt-daapd-0.2.1_pre4.tar.bz2 (mt-daapd-0.2.1_pre4.tar.bz2,2.34 KB, application/octet-stream)
2005-01-21 07:04 UTC, Frederik Kunz
Details
mt-daapd-0.2.1.tar.gz (mt-daapd-0.2.1.tar.gz,2.30 KB, application/x-gzip)
2005-02-07 01:52 UTC, Frederik Kunz
Details
mt-daapd-0.2.1.1.tar.gz (mt-daapd-0.2.1.1.tar.gz,2.31 KB, application/x-gzip)
2005-02-21 04:33 UTC, Frederik Kunz
Details
mt-daapd ebuild first draft (mt-daapd-0.2.1.1.ebuild,606 bytes, application/octet-stream)
2005-02-22 21:48 UTC, Kito (RETIRED)
Details
new ebuild which makes use of the howl, debug and oggvorbis USE flags (mt-daapd-0.2.1.1-r1.ebuild,2.36 KB, application/octet-stream)
2005-02-24 17:14 UTC, Frederik Kunz
Details
init-script for the above (mt-daapd.init,1.22 KB, application/octet-stream)
2005-02-24 17:15 UTC, Frederik Kunz
Details
fixed missing "fi" (mt-daapd-0.2.1.1-r1.ebuild,2.36 KB, application/octet-stream)
2005-02-24 18:42 UTC, Frederik Kunz
Details
fixed compilation issue if oggvorbis use-flag is not set (mt-daapd-0.2.1.1-r2.ebuild,2.31 KB, text/plain)
2005-03-09 12:33 UTC, Frederik Kunz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frederik Kunz 2005-01-15 09:24:12 UTC
Hi!

please find attached mt-daapd-0.2.1_pre3.ebuild.

mt-daapd is a multi-threaded implementation of Apple's DAAP server. Hence it is  a music server for iTunes and quite similar to the more famous daapd. I found this easier to set up and running more smoothly than daapd.

I suggest media-sound/mt-daapd Also, this ebuild depends on zlib, gdbm, libid3tag and howl (if you have the use-flag set).

Frederik
Comment 1 Frederik Kunz 2005-01-15 09:26:18 UTC
Created attachment 48557 [details]
mt-daapd-0.2.1_pre3.tar.gz
Comment 2 Frederik Kunz 2005-01-21 07:04:33 UTC
Created attachment 49109 [details]
mt-daapd-0.2.1_pre4.tar.bz2

Version bump.

Is anybody reading this?
Comment 3 Daniel Haus 2005-02-05 16:45:23 UTC
Yes, I am reading this. The 0.2.1 final release is out, simply renaming
the ebuild to mt-daapd-0.2.1.ebuild seems to work.

Thank you a lot for this nice ebuild.
Comment 4 Frederik Kunz 2005-02-07 01:52:33 UTC
Created attachment 50607 [details]
mt-daapd-0.2.1.tar.gz

Version bump to stable. Would anyone be so kind to add this to portage?
Comment 5 Guillaume Destuynder (RETIRED) gentoo-dev 2005-02-12 05:20:49 UTC
yeah, i also use that instead of daapd  *pokes sound@gentoo.org*
Comment 6 Shawn Wheatley 2005-02-16 12:03:37 UTC
I would like to see this added to portage as well. Runs great on my VIA C3 board. Serving up tunes to my LAN as we speak. Has fewer dependencies than daapd.
Comment 7 Frederik Kunz 2005-02-21 04:33:36 UTC
Created attachment 51770 [details]
mt-daapd-0.2.1.1.tar.gz

Version bump.

Is someone from sound@gentoo.org reading this? I would really like to get this
into the portage tree.
Comment 8 emory stuart taylor 2005-02-22 14:44:13 UTC
just another voice hoping for this to get into portage.  daapd is in portage, but I think most people would prefer this one
Comment 9 Kito (RETIRED) gentoo-dev 2005-02-22 21:12:25 UTC
You'd probably get a quicker response if you submitted an ebuild for it instead of a tar.gz.
Comment 10 Kito (RETIRED) gentoo-dev 2005-02-22 21:48:09 UTC
Created attachment 51922 [details]
mt-daapd ebuild first draft

Needs init.d and config file. IUSE="debug" should be added and conditional dep
on dev-libs/efence. Everything still needs to be use enabled in src_compile()
Comment 11 Kito (RETIRED) gentoo-dev 2005-02-22 21:53:34 UTC
Hmmm, looks like it can use howl and/or apples mDNS.
Comment 12 Frederik Kunz 2005-02-24 14:42:17 UTC
Did you bother to extract my tar.bz2 kito? It contains a working ebuild with an initscript and everything.
Or is there anything fundamentally wrong with my ebuild you needed to write one from scratch?
Comment 13 Kito (RETIRED) gentoo-dev 2005-02-24 15:13:00 UTC
Ooops, I saw a tarball and assumed it was the src. Sorry about that. I'd stick to plain text files as attachments if possible.

I think IUSE="zeroconf oggvorbis" should be added and conditional deps on efence and mdnsd

src_unpack() doesn't look needed

econf ${myconf} should be used, this should allow for a simpler src_install function as you can do make install DESTDIR=${D} || die

doins takes multiple arguments

instead of newexe try using newinitd

I would first check to see that /var/cache/mt-daapd/songs.gdb exists before rm -f it in pkg_postinst

check here if you need some more info on syntax:

http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1

Thanks for working on this and sorry its taken so long to get into the tree. 
Comment 14 Frederik Kunz 2005-02-24 15:19:06 UTC
Thanks for the advice, I'm working on it right now. Should be there in about 15 min.
Comment 15 Frederik Kunz 2005-02-24 17:14:44 UTC
Created attachment 52078 [details]
new ebuild which makes use of the howl, debug and oggvorbis USE flags

There dosn't seem to be a zeroconf USE-flag. mt-daapd uses an internal mdnsd
which seems to collide with howl. Hence I disabled it if the howl-USE-flag is
set.
Comment 16 Frederik Kunz 2005-02-24 17:15:30 UTC
Created attachment 52079 [details]
init-script for the above
Comment 17 Frederik Kunz 2005-02-24 18:42:06 UTC
Created attachment 52082 [details]
fixed missing "fi"
Comment 18 emory stuart taylor 2005-02-24 19:56:33 UTC
i think that zeroconf is /going/ to be a world use flag for apple's mDNS that the kde herd is talking to the gnome herd about.  I could be wrong if the conversation has changed.
Comment 19 Frederik Kunz 2005-02-25 04:31:39 UTC
Anyway, I don't think it would be wise to make the use of mt-daapd's internal mdnsd dependent on the zeroconf-useflag. It needs at least this or howl. So Howl is optional and the internal mdnsd is the default.
Comment 20 Frederik Kunz 2005-02-28 09:20:13 UTC
I noticed an ugly issue with my initscript. It ends only the task with the first pid and not the forked ones. I have no idea how to fix this. Any suggestions?
Comment 21 Peter Kropf 2005-03-06 09:38:05 UTC
Another vote to add mt-daapd to portage...
Comment 22 Frederik Kunz 2005-03-08 03:36:18 UTC
Doesn't emerge yet if oggvorbis-flag isn't used. I addressed this upstream:
http://www.mt-daapd.org/?q=node/23
Comment 23 Frederik Kunz 2005-03-09 12:33:22 UTC
Created attachment 53030 [details]
fixed compilation issue if oggvorbis use-flag is not set

The newest version should fix the compilation issue if oggvorbis use-flag is
not set.
Comment 24 Andy Boyko 2005-04-06 06:38:32 UTC
bump: This ebuild works a-ok for me, extracting the attached tar.gz file to the /usr/local/portage overlay dir, and adding the latest attached ebuild.  Please add to portage tree?
Comment 25 Tim Keitt 2005-04-18 17:48:32 UTC
I can confirm that the ebuild works with the following caveats. It did not work for me with the 'howl' use-flag. I may not have setup howl properly. Not sure. Also, the init file does not stop the daemon because it seems to ignore a SIGTERM (or perhaps this has to do with threading). Adding "--retry 5" to the start-stop-daemon line in the "stop" section will cause start-stop-daemon to first send a SIGTERM, wait 5 seconds (units not documented) and then send a SIGKILL which does stop the server.
Comment 26 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-29 14:38:24 UTC
mt-daapd is now in the tree, thanks for the effort and for supporting gentoo. last but not least thanks for pointing me to that nifty piece of software :).