Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834794 - media-sound/pavucontrol-5.0 does not need dev-cpp/gtkmm[X]
Summary: media-sound/pavucontrol-5.0 does not need dev-cpp/gtkmm[X]
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:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-03-08 17:45 UTC by Sorrow
Modified: 2024-04-18 10:58 UTC (History)
5 users (show)

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 Sorrow 2022-03-08 17:45:53 UTC
This is the exact reverse of https://bugs.gentoo.org/583272. Now pavucontrol builds and runs well without X support in gtkmm, but the ebuild still requires it as a dependency.

Reproducible: Always
Comment 1 Adrian Ratiu 2024-04-17 22:13:05 UTC
Hello, I am working on this because I am running a pure wayland system so obviously I can't build pavucontrol with X11 dependencies. :)

The only real hard X11 dependency is libcanberra for which I've opened an upstream merge request to make it optional:

https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/84

In the meantime we can land this ebuild patch I've been carrying for some time which does the same thing, though it's not an exact backport, because upstream moved from autotools to meson and from gtk 3 to gtk 4.

https://github.com/gentoo/gentoo/pull/36300
Comment 2 Larry the Git Cow gentoo-dev 2024-04-18 10:58:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61c44287d935124e91f90839c177afc5b4e5cb5e

commit 61c44287d935124e91f90839c177afc5b4e5cb5e
Author:     Adrian Ratiu <adrian.ratiu@collabora.com>
AuthorDate: 2024-03-29 21:59:36 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-04-18 10:57:08 +0000

    media-libs/pavucontrol: make X optional
    
    The only dependency requiring X is libcanberra,
    which I'm in the process of fixing upstream [1].
    
    In the meantime, since we can't do a clean backport
    from upstream because they moved to gtk 4 and meson
    after releasing 5.0, I'm adding an autotools patch
    and fixing the ebuild so it can work with USE=-X.
    
    I am upstreaming the patch, so by the time we
    upgrade to the next release we can drop it (and
    move to meson / gtk 4).
    
    [1] https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/84
    Closes: https://bugs.gentoo.org/834794
    Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
    Closes: https://github.com/gentoo/gentoo/pull/36300
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 ...pavucontrol-5.0-make-libcanberra-optional.patch | 125 +++++++++++++++++++++
 media-sound/pavucontrol/pavucontrol-5.0-r3.ebuild  |  52 +++++++++
 2 files changed, 177 insertions(+)