Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673426 - media-sound/cmus-2.8.0_rc0 - add elogind support
Summary: media-sound/cmus-2.8.0_rc0 - add elogind support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL: https://github.com/cmus/cmus/pull/846
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: elogind-support
  Show dependency tree
 
Reported: 2018-12-19 11:59 UTC by Shiba
Modified: 2019-03-20 12:29 UTC (History)
0 users

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


Attachments
elogind support (cmus-2.8.0_rc0-elogind-support.patch,1.40 KB, patch)
2018-12-19 11:59 UTC, Shiba
Details | Diff
cmus-2.8.0_rc0.ebuild (cmus-2.8.0_rc0.ebuild,3.37 KB, text/plain)
2018-12-19 12:00 UTC, Shiba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shiba 2018-12-19 11:59:36 UTC
Created attachment 558142 [details, diff]
elogind support

Cmus uses sd-bus for optional MPRIS2 support. Since elogind now supports sd-bus, it can be used in place of systemd.

Upstream pull request:
https://github.com/cmus/cmus/pull/846

I'm also attaching a patch targeting 2.8.0_rc0.
Comment 1 Shiba 2018-12-19 12:00:46 UTC
Created attachment 558144 [details]
cmus-2.8.0_rc0.ebuild

My ebuild to test this patch with.
Comment 2 Andreas Sturmlechner gentoo-dev 2019-03-20 10:37:28 UTC
Successfully merged upstream, nicely done.
Comment 3 Larry the Git Cow gentoo-dev 2019-03-20 12:29:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45043b28b873cc050360aa4bff16b810b73d790d

commit 45043b28b873cc050360aa4bff16b810b73d790d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-03-20 11:54:31 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-03-20 12:29:33 +0000

    media-sound/cmus: 2.8.0 version bump, add MPRIS support
    
    MPRIS support is enabled via USE elogind or systemd, whichever is in effect.
    These flags are mutually exclusive globally, so no one should trip up on the
    ensuing REQUIRED_USE.
    
    Thanks-to: Shiba <shibotto@gmx.com>
    Bug: https://bugs.gentoo.org/679222
    Closes: https://bugs.gentoo.org/673426
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-sound/cmus/Manifest                       |   1 +
 media-sound/cmus/cmus-2.8.0.ebuild              | 141 ++++++++++++++++++++++++
 media-sound/cmus/cmus-9999.ebuild               |  14 ++-
 media-sound/cmus/files/cmus-2.8.0-elogind.patch |  22 ++++
 media-sound/cmus/metadata.xml                   |  32 +++---
 5 files changed, 193 insertions(+), 17 deletions(-)