Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806791 - media-video/mkvtoolnix-60.0.0 headless/noGUI build no longer possible (X/QT required)
Summary: media-video/mkvtoolnix-60.0.0 headless/noGUI build no longer possible (X/QT r...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-08-06 11:19 UTC by soundbastlerlive
Modified: 2021-09-08 03:17 UTC (History)
3 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 soundbastlerlive 2021-08-06 11:19:19 UTC
I have been using mkvtoolnix on many gentoo machines without X/GUI for years, up to v57. After that no ebuilds for a long time and now with v60 X/QT/OpenGL stuff is always pulled in.

Please make CLI builds possible again.

If for some weird reason this is from upstream, the latest CLI version (v59?) would also be appreciated.

Thanks! :)

Reproducible: Always

Steps to Reproduce:
emerge mkvtoolnix # on a system without X/Qt/OpenGL
Actual Results:  
fails/pulls in X/Qt/OpenGL

Expected Results:  
works without depending on X/Qt/OpenGL
Comment 1 John Einar Reitan 2021-08-13 10:52:26 UTC
The bug is upstream, where they always do library dep as part of configure.
I've created the needed fixes for upstream (not submitted as of yet) + new ebuild to use the fixes as patches. See https://github.com/johnreitan/gentoo/commit/43e59f456401bed47c623574c7df2fee8f5b76a3
Comment 2 John Einar Reitan 2021-08-13 12:16:30 UTC
Fixes proposed upstream: https://gitlab.com/mbunkus/mkvtoolnix/-/merge_requests/2236
Comment 3 soundbastlerlive 2021-08-13 12:50:36 UTC
thanks, looking forward to them accepting!
Comment 4 John Einar Reitan 2021-08-13 13:53:35 UTC
Fixes accepted upstream.
Don't know when there will be a new release, so use media-video/mkvtoolnix-9999 if you need it early.

My ebuild update is needed, to only RDEPEND on libraries based on the new gui USE, plus pass enable/disable GUI to configure.
Comment 5 John Einar Reitan 2021-09-02 07:07:16 UTC
61.0.0 out with the fix, pull request with new ebuild to correctly handle gui created as https://github.com/gentoo/gentoo/pull/22186
Comment 6 John Einar Reitan 2021-09-06 07:47:18 UTC
Who to nag to get this reviewed/merged?
Comment 7 Larry the Git Cow gentoo-dev 2021-09-08 03:08:51 UTC
The bug has been referenced in the following commit(s):

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

commit f3d9f46d46f4bbe583e7fda943fca07310b31226
Author:     John Einar Reitan <john.einar@gmail.com>
AuthorDate: 2021-09-02 06:56:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-09-08 03:08:42 +0000

    media-video/mkvtoolnix: bump to 61.0.0
    
    Bug: https://bugs.gentoo.org/806791
    Signed-off-by: John Einar Reitan <john.einar@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/22188
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/mkvtoolnix/Manifest                 |   1 +
 media-video/mkvtoolnix/mkvtoolnix-61.0.0.ebuild | 123 ++++++++++++++++++++++++
 2 files changed, 124 insertions(+)
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-08 03:17:25 UTC
(In reply to John Einar Reitan from comment #6)
> Who to nag to get this reviewed/merged?

Thank you for your work!