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

Bug 935033

Summary: media-libs/phonon-4.12.0-r3 and media-libs/phonon-vlc-0.12.0-r1 stabilisation
Product: Gentoo Linux Reporter: Andreas Sturmlechner <asturm>
Component: StabilizationAssignee: Gentoo KDE team <kde>
Status: IN_PROGRESS ---    
Severity: normal CC: answer2019, matthias.nagel, ppc64
Priority: Normal Keywords: CC-ARCHES, PullRequest
Version: unspecifiedFlags: nattka: sanity-check+
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=934215
https://github.com/gentoo/kde/pull/997
https://github.com/gentoo/gentoo/pull/37388
Whiteboard:
Package list:
media-libs/phonon-4.12.0-r3 media-libs/phonon-vlc-0.12.0-r1
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 934478    

Description Andreas Sturmlechner gentoo-dev 2024-06-27 19:21:02 UTC
In preparation.
Comment 1 NATTkA bot gentoo-dev 2024-06-27 19:24:09 UTC Comment hidden (obsolete)
Comment 2 NATTkA bot gentoo-dev 2024-06-27 19:32:56 UTC Comment hidden (obsolete)
Comment 3 Larry the Git Cow gentoo-dev 2024-06-28 13:34:22 UTC
The bug has been referenced in the following commit(s):

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

commit 9d3ad10b83c80d59bc8cc5facc661053629458f0
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-06-28 13:23:13 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-06-28 13:33:35 +0000

    media-libs/phonon: Restore ~loong ~ppc64 ~riscv ~x86 keywords
    
    Bug: https://bugs.gentoo.org/934215
    Bug: https://bugs.gentoo.org/935033
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

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

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

commit 500523e2cd1e796e2a9a8c5019378b1a647f5788
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-06-28 13:20:08 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-06-28 13:33:34 +0000

    media-libs/phonon-vlc: Relax minimum ECM dependency
    
    Actually, >=5.115 is recent enough to also build for Qt6.
    
    Bug: https://bugs.gentoo.org/935033
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/phonon-vlc/phonon-vlc-0.12.0-r1.ebuild | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

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

commit 85c5ca9aef7a792bd290ee3ee21ec5603b8e569a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-06-28 13:17:38 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-06-28 13:33:34 +0000

    media-libs/phonon: Relax minimum ECM dependency
    
    Actually, >=5.115 is recent enough to also build for Qt6.
    
    Bug: https://bugs.gentoo.org/935033
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/phonon/phonon-4.12.0-r2.ebuild | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
Comment 4 Andreas Sturmlechner gentoo-dev 2024-06-28 13:35:45 UTC
Arches please stabilise.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-28 15:45:14 UTC
x86 done
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-28 15:45:15 UTC
arm64 done
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-28 15:56:07 UTC
amd64 done
Comment 8 Matthias Nagel 2024-06-30 17:55:36 UTC
Today, the world upgrade to media-libs/phonon-4.12 caught me by surprise, because the old phonon backend gstreamer is not supported (yet?) and VLC was not pulled in on my installation (due to a global -vlc use flag).

Is there any reason why gstreamer is not supported anymore? Will it come back eventually?

It would be great, if the ebuild could check if at least one phonon backend is enabled (currently its VLC only). Otherwise video playback may break for people like me, see: https://forums.gentoo.org/viewtopic-p-8832259.html
Comment 9 Andreas Sturmlechner gentoo-dev 2024-06-30 20:38:19 UTC
No, the gstreamer backend is dead, and configuration of a backend was always optional, even now. I don't think a check with elog message in pkg_postinst will do much. We can think about improving the IUSE situation though - renaming "+vlc" to "minimal" or "no-backend", giving users a backend by default unless they are opting out.
Comment 10 Matthias Nagel 2024-07-01 08:05:54 UTC
I didn't know that phonon without a backend had a useful purpose. I have learnt something new.

For me it is fine to keep the "vlc" use flag. I believe I disabled "vlc", because I didn't want the VLC player to be installed. It seems that this is not an option anymore. As the VLC player gets pulled in as a dependency, "vlc" seems to be the right use flag.

Maybe a enews entry would be the best solution? The enews should inform users that phonon-gstreamer has become deprecated and has not been ported to Qt6. The enews should tell users that VLC is the only backend option for now and that users should check their use flag settings for a disabled "vlc" if they experience missing playback functionality.

Endeavor OS has a nice article about that: https://forum.endeavouros.com/t/phonon-gstreamer-is-deprecated-and-no-longer-has-qt6-support/51981/

Maybe the enews could be something similar.
Comment 11 Andreas Sturmlechner gentoo-dev 2024-07-01 17:08:41 UTC
(In reply to Matthias Nagel from comment #10)
> Maybe a enews entry would be the best solution? The enews should inform
> users that phonon-gstreamer has become deprecated and has not been ported to
> Qt6.
It doesn't rise to that level of newsworthiness, we would be spamming our users a lot then. IUSE optimisation may be done though.
Comment 12 Larry the Git Cow gentoo-dev 2024-07-01 19:10:22 UTC
The bug has been referenced in the following commit(s):

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

commit aa4456be0dda79de3e54ca1e6fdf55b8b759f914
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-07-01 15:25:12 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-07-01 18:42:38 +0000

    media-libs/phonon: Switch IUSE +vlc to minimal
    
    With only a single available backend left, it does not make that much sense
    to rely on a commonly disabled flag to provide major functionality, even if
    enabled by default.
    
    Bug: https://bugs.gentoo.org/935033
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/phonon/metadata.xml       | 1 -
 media-libs/phonon/phonon-9999.ebuild | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)
Comment 13 Larry the Git Cow gentoo-dev 2024-07-01 20:47:06 UTC
The bug has been referenced in the following commit(s):

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

commit 2da272d5c324600a81df1bac4b400145dfd628b9
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-07-01 15:25:12 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-07-01 20:46:40 +0000

    media-libs/phonon: Switch IUSE +vlc to minimal
    
    With only a single available backend left, it does not make that much sense
    to rely on a commonly disabled flag to provide major functionality, even if
    enabled by default.
    
    Bug: https://bugs.gentoo.org/935033
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../phonon/{phonon-4.12.0-r2.ebuild => phonon-4.12.0-r3.ebuild}       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 14 Nebojsa Trpkovic 2024-07-03 20:07:41 UTC
media-libs/phonon-vlc fails to build with vlc-9999, 
while older vlc versions depend on ffmpeg-4 which is not enough for apps like kodi
Comment 15 Andreas Sturmlechner gentoo-dev 2024-07-03 20:37:42 UTC
(In reply to Nebojsa Trpkovic from comment #14)
> media-libs/phonon-vlc fails to build with vlc-9999, 
> while older vlc versions depend on ffmpeg-4 which is not enough for apps
> like kodi
Which is completely irrelevant in this bug, but thanks.