Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637138 - media-sound/cantata: add media-sound/mpd as dependency
Summary: media-sound/cantata: add media-sound/mpd as dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-11 15:15 UTC by Mircea Sava
Modified: 2017-11-11 19:50 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mircea Sava 2017-11-11 15:15:57 UTC
I recently stumbled upon a rather big oversight in the package ebuild.
After emerging Cantata, I could not initialize the program because the Music Player Daemon was not installed.

Reproducible: Always

Steps to Reproduce:
1. emerge media-sound/cantata
2. 
3.
Comment 1 Andreas Sturmlechner gentoo-dev 2017-11-11 15:48:06 UTC
You don't have to have a local mpd server. It may well be just across the room on your home hifi system.
Comment 2 Mircea Sava 2017-11-11 18:09:57 UTC
(In reply to Andreas Sturmlechner from comment #1)
> You don't have to have a local mpd server. It may well be just across the
> room on your home hifi system.

Yes, I know. But if you don't have any mpd server anywhere, it kinda helps for mpd clients to check if they have what they need locally. I find it to be a perfectly reasonable use case. Most of my music is on my computer anyway.
Comment 3 Andreas Sturmlechner gentoo-dev 2017-11-11 18:35:50 UTC
Well, we won't be adding an RDEPEND where there is no need for it. What we can do: Add a pkg_postinst elog message that informs about the ability of listening to local music (or not).
Comment 4 Andreas Sturmlechner gentoo-dev 2017-11-11 18:49:12 UTC
media-sound/qtmpc, which is a distant predecessor of cantata, did not have that dependency, and I suspect other MPD clients do not either.
Comment 5 Mircea Sava 2017-11-11 19:11:54 UTC
Alright. In this case I will open a ticket upstream and ask them to fix the initialization issue.
Comment 6 Andreas Sturmlechner gentoo-dev 2017-11-11 19:13:42 UTC
What kind of initialisation issue?

If you have some kind of problem with 2.1.0, please try 2.2.0.
Comment 7 Larry the Git Cow gentoo-dev 2017-11-11 19:39:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da5ede43011555c0c24f1389bbbdf4d3d1dc0f4

commit 4da5ede43011555c0c24f1389bbbdf4d3d1dc0f4
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2017-11-11 19:07:36 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-11-11 19:38:36 +0000

    media-sound/cantata: Add elog message about MPD
    
    Closes: https://bugs.gentoo.org/637138
    Package-Manager: Portage-2.3.13, Repoman-2.3.4

 media-sound/cantata/cantata-2.2.0.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Comment 8 Mircea Sava 2017-11-11 19:50:09 UTC
(In reply to Andreas Sturmlechner from comment #6)
> What kind of initialisation issue?

Without mpd installed, the initialization wizard withholds the option of using Cantata as a local music player (single-user).

Strange! It needs mpd to give the option to work without it, and in the absence of mpd one needs to have mpd installed somewhere else.