Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 673426

Summary: media-sound/cmus-2.8.0_rc0 - add elogind support
Product: Gentoo Linux Reporter: Shiba <shibotto>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/cmus/cmus/pull/846
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 599470    
Attachments: elogind support
cmus-2.8.0_rc0.ebuild

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(-)