Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923502 - [kde overlay] kde-plasma/kwayland media-libs/phonon dev-libs/plasma-wayland-protocols still pull in qtcore:5 due to KFMIN
Summary: [kde overlay] kde-plasma/kwayland media-libs/phonon dev-libs/plasma-wayland-p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-02 00:17 UTC by Duncan
Modified: 2024-05-11 09:20 UTC (History)
2 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 Duncan 2024-02-02 00:17:04 UTC
These three packages appear to need their KFMIN relaxed to allow qtbase:6 to provide their qt dependencies as set in ecm.eclass, instead of qtcore:5 -- or maybe the ecm.eclass logic should be changed instead:

* dev-libs/plasma-wayland-protocols
  explicit KFMIN=5.82.0 so qt:5 in ecm.eclass
  (-9999::kde installed)

* kde-plasma/kwayland:
  KFMIN unset so defaults to qt:5 in ecm.eclass
  (-9999::kde installed)

* media-libs/phonon
  KFMIN unset so defaults to qt:5 in ecm.eclass
  (-4.12.0::gentoo installed, USE=-vlc to no longer pull in phonon-vlc)

I patched all three to KFMIN=5.249.0 (:6), unmerged[1] qtcore:5, and successfully remerged these packages with a reboot back to plasma:6 afterward to ensure they still built and functioned as expected -- they did. =:^)

---
[1]: The qtcore:5 unmerge was forced with emerge -C (FEATURES=buildpkg so I could quick-remerge the binpkg after the test) as vlc USE=gui still needs qt:5 ATM, until I figure out what to do with it too.  But other than that, these three were the last non-qt5-components still pulling in qtcore:5 for me. =:^)
Comment 1 Andreas Sturmlechner gentoo-dev 2024-02-02 09:41:19 UTC
Thanks, solution will be either providing such a possibility within ecm.eclass or dropping use of ecm.eclass in these cases.

For now, qtcore:5 dependency does not cost much.
Comment 2 Larry the Git Cow gentoo-dev 2024-02-27 21:34:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=c9e8961d3d24970c20e40a446c72b5ceb6a2f4f4

commit c9e8961d3d24970c20e40a446c72b5ceb6a2f4f4
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-02-27 21:20:29 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-02-27 21:34:49 +0000

    kde-plasma/breeze-gtk: Fix Qt major version dep by setting KFMIN=6.0
    
    Bug: https://bugs.gentoo.org/923502
    Thanks-to: Mike Lothian <mike@fireburn.co.uk>
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/breeze-gtk/breeze-gtk-6.0.0.ebuild       | 1 +
 kde-plasma/breeze-gtk/breeze-gtk-6.0.49.9999.ebuild | 1 +
 kde-plasma/breeze-gtk/breeze-gtk-9999.ebuild        | 1 +
 3 files changed, 3 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2024-02-27 21:44:38 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=c2db9841030df70a5e47563b24b1f61f5787e54d

commit c2db9841030df70a5e47563b24b1f61f5787e54d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-02-27 21:43:54 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-02-27 21:44:28 +0000

    kde-plasma/kwayland: Fix Qt major version dep by setting KFMIN=6.0
    
    Bug: https://bugs.gentoo.org/923502
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/kwayland/kwayland-6.0.0.ebuild       | 1 +
 kde-plasma/kwayland/kwayland-6.0.49.9999.ebuild | 1 +
 kde-plasma/kwayland/kwayland-9999.ebuild        | 1 +
 3 files changed, 3 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2024-03-03 16:16:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=f36f623ce0b2566c299233d684bd722be9396b3e

commit f36f623ce0b2566c299233d684bd722be9396b3e
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-03-03 16:09:23 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-03-03 16:16:15 +0000

    media-libs/phonon-vlc: Use cmake.eclass and multibuild instead of ecm.eclass
    
    Simultanous build of Qt5 and Qt6 is broken, installing Qt6 plugins
    in Qt5 paths and vice versa.
    
    ebuild was barely using ecm facilities anyway, this makes sure only those
    deps that are needed are also used.
    
    Bug: https://bugs.gentoo.org/923502
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/phonon-vlc/phonon-vlc-9999.ebuild | 53 +++++++++++++++++++++++-----
 1 file changed, 44 insertions(+), 9 deletions(-)

https://gitweb.gentoo.org/proj/kde.git/commit/?id=38dfeae0ee38f55f0bc1d98f8372a5d4f80ba8d6

commit 38dfeae0ee38f55f0bc1d98f8372a5d4f80ba8d6
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-03-03 16:04:05 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-03-03 16:15:33 +0000

    media-libs/phonon: Use cmake.eclass and multibuild instead of ecm.eclass
    
    Simultanous build of Qt5 and Qt6 is broken, installing Qt6 plugins
    in Qt5 paths and vice versa.
    
    ebuild was barely using ecm facilities anyway, this makes sure only those
    deps that are needed are also used.
    
    Bug: https://bugs.gentoo.org/923502
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/phonon/phonon-9999.ebuild | 71 ++++++++++++++++++++++++++++--------
 1 file changed, 56 insertions(+), 15 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2024-03-03 16:27:23 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=af86b7244bf1c4335762fcf6fd5aed9735d5743f

commit af86b7244bf1c4335762fcf6fd5aed9735d5743f
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-03-03 16:24:08 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-03-03 16:25:53 +0000

    dev-libs/plasma-wayland-protocols: Use cmake instead of ecm.eclass
    
    The latter was just overkill for the needs of this simple build system,
    this ensures that it works for Qt5/Qt6 "purity" builds alike.
    
    Bug: https://bugs.gentoo.org/923502
    Closes: https://github.com/gentoo/kde/pull/980
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../plasma-wayland-protocols-9999.ebuild           | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)
Comment 6 Larry the Git Cow gentoo-dev 2024-03-03 16:37:47 UTC
The bug has been closed via the following commit(s):

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

commit f4a6d15842cd05117e24f86d8bf1dd2ad4860fb1
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-03-03 16:24:08 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-03-03 16:37:21 +0000

    dev-libs/plasma-wayland-protocols: Use cmake instead of ecm.eclass
    
    The latter was just overkill for the needs of this simple build system,
    this ensures that it works for Qt5/Qt6 "purity" builds alike.
    
    Closes: https://bugs.gentoo.org/923502
    Closes: https://github.com/gentoo/kde/pull/980
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 ...ld => plasma-wayland-protocols-1.12.0-r1.ebuild} | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

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

commit bb80c953d6aaff067ded6b27a0b21b082b3edae2
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-03-03 16:09:23 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-03-03 16:37:21 +0000

    media-libs/phonon-vlc: Use cmake.eclass and multibuild instead of ecm.eclass
    
    Simultanous build of Qt5 and Qt6 is broken, installing Qt6 plugins
    in Qt5 paths and vice versa.
    
    ebuild was barely using ecm facilities anyway, this makes sure only those
    deps that are needed are also used.
    
    Closes: https://bugs.gentoo.org/923502
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/phonon-vlc/phonon-vlc-0.12.0-r1.ebuild | 79 +++++++++++++++++++++++
 media-libs/phonon-vlc/phonon-vlc-0.12.0.ebuild    | 44 -------------
 2 files changed, 79 insertions(+), 44 deletions(-)

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

commit b18fa15bbb82120ea3df6700db0a4b00bd3258eb
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-03-03 16:04:05 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-03-03 16:37:21 +0000

    media-libs/phonon: Use cmake.eclass and multibuild instead of ecm.eclass
    
    Simultanous build of Qt5 and Qt6 is broken, installing Qt6 plugins
    in Qt5 paths and vice versa.
    
    ebuild was barely using ecm facilities anyway, this makes sure only those
    deps that are needed are also used.
    
    Closes: https://bugs.gentoo.org/923502
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/phonon/phonon-4.12.0-r1.ebuild | 104 ++++++++++++++++++++++++++++++
 media-libs/phonon/phonon-4.12.0.ebuild    |  63 ------------------
 2 files changed, 104 insertions(+), 63 deletions(-)
Comment 7 Duncan 2024-03-03 23:28:33 UTC
Tying up a loose end in case anyone else ends up trying to get rid of vlc as their last thing pulling in qt5, and comes across this...

(In reply to Duncan from comment #0)
> * media-libs/phonon [...] USE=-vlc to no longer pull in phonon-vlc

> The qtcore:5 unmerge was forced with emerge -C (FEATURES=buildpkg so I
> could quick-remerge the binpkg after the test) as vlc USE=gui still needs
> qt:5 ATM, until I figure out what to do with it too.  But other than that,
> these three were the last non-qt5-components still pulling in qtcore:5 for
> me. =:^)

Long story short I found the mpv- and gtk3-based celluloid to replace vlc as a normal media player.  With vlc the only thing still pulling in qt5, that (and setting USE=-vlc for phonon, see below) allowed me to get rid of both vlc and qt5.

Meanwhile, audio-notifications (phonon's primary dependency usage in kde/plasma) had broken some time ago despite still having USE=vlc set, thus pulling in phonon-vlc and vlc for phonon.  But I never bothered tracing down why as truthfully, audio-notification bleed-thru into whatever I was actually playing at the time (even worse if what I was "playing" was desired silence) was more annoyance than help anyway, so turning off USE=vlc and unmerging phonon-vlc to lose phonon's vlc backend dependency only formalized package-wise the practical existing audio situation.

(The alternative for people who still want the phonon-vlc backend but don't use vlc as a normal media player would of of course be USE=-qt5 for vlc, but of course that's exactly opposite the situation I found myself in.)

And qtcore:5 is now masked locally so anything trying to pull it back in now protests VERBOSELY and refuses to merge, instead. =:^)
Comment 8 Mike Lothian 2024-03-03 23:57:35 UTC
If you're looking for a qt6 media player, I've had a lot of success with qmplay2
Comment 9 Duncan 2024-05-11 09:20:50 UTC
(In reply to Mike Lothian from comment #8)
> If you're looking for a qt6 media player, I've had a lot of success with
> qmplay2

Thanks.  Luckily I had that filed away just in case, because...

While celluloid was low-deps (then) and working fine at the time, its new gtk4 version wants to pull both gtk4 and appstream (with its own deps) in new so it's no longer so low-deps on my qt6/kde-plasma6-with-various-gtk3-apps-too desktop. =:^(

Result: "Bye celluloid; Hi qmplay2!"  Again, thanks!  =:^)