Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935033 - media-libs/phonon-4.12.0-r3 and media-libs/phonon-vlc-0.12.0-r1 stabilisation
Summary: media-libs/phonon-4.12.0-r3 and media-libs/phonon-vlc-0.12.0-r1 stabilisation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: CC-ARCHES, PullRequest
Depends on:
Blocks: plasma-6-stable
  Show dependency tree
 
Reported: 2024-06-27 19:21 UTC by Andreas Sturmlechner
Modified: 2024-07-26 03:39 UTC (History)
5 users (show)

See Also:
Package list:
media-libs/phonon-4.12.0-r3 media-libs/phonon-vlc-0.12.0-r1
Runtime testing required: ---
nattka: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 16 nvaert1986 2024-07-05 07:05:31 UTC
(In reply to Andreas Sturmlechner from comment #15)
> (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.

This might not be as irrelevant as it seems, because it can affect current system packages (including stable), like pipewire compiled with ffmpeg (depending on how USE flags are set) for example throws:

media-video/ffmpeg:0/58.60.60= required by (media-video/pipewire-1.2.0-r1:0/0.4::gentoo

=media-video/ffmpeg-4:0/58.60.60=[abi_x86_32(-),abi_x86_64(-)] required by (media-plugins/gst-plugins-libav-1.22.11:1.0/1.0::gentoo, installed

media-video/ffmpeg:0/58.60.60= required by (net-misc/freerdp-3.6.2:3/3::gentoo

I'm mostly running stable (aside from a few packages due to specific issues that were resolved in later versions.
Comment 17 Andreas Sturmlechner gentoo-dev 2024-07-05 12:33:51 UTC
Please do not further spam a stabilisation bug.
Comment 18 MrPenguin07 2024-07-06 10:04:42 UTC
(In reply to Andreas Sturmlechner from comment #9)
> 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.

It makes sense, except for those of us who were previously using -kde and were left with a broken upgrade path trying to piece together what happened (phonon-vlc does not and for a long time has not compiled for me due to using vlc-9999).

I'd prefer 100 enews items to read through than having to piece together such changes from bugzilla discussions. Devs should make use of this far more, the recent qt6/kde6 upgrade was painful and zero documentation or news items....

Anyway apologies for 'spamming' the stabilisation bug though it's where you discussed and referenced this unneccessary change.
Comment 19 Andreas Sturmlechner gentoo-dev 2024-07-06 10:57:25 UTC
(In reply to MrPenguin07 from comment #18)
> It makes sense, except for those of us who were previously using -kde
Again, zero relevance in this bug?

(In reply to MrPenguin07 from comment #18)
> (phonon-vlc does not and for a long time has not compiled for me due to
> using vlc-9999).
It's easy: Don't expect *any* support for using 9999 dependencies.
Comment 20 MrPenguin07 2024-07-06 11:04:04 UTC
(In reply to Andreas Sturmlechner from comment #19)
> Again, zero relevance in this bug?

It became relevant when you made this the thread to discuss this change so flappantly disregarding the consequences users face by it and then referencing this bug in the commit.

> It's easy: Don't expect *any* support for using 9999 dependencies.

I'm not. I do however expect USE flag changes to undergo more scrutiny and discussion especially when the only 'improvement' is cosmetic.
Realize your whims affect others is the point.
Comment 21 Andreas Sturmlechner gentoo-dev 2024-07-06 11:05:57 UTC
If you can't handle running ~arch, then just don't do it instead of expecting special treatment.
Comment 22 MrPenguin07 2024-07-06 11:26:54 UTC
(In reply to Andreas Sturmlechner from comment #21)
> If you can't handle running ~arch, then just don't do it instead of
> expecting special treatment.

You have an attitude issue.
Breaking users configs on a whim, flappantly disregarding notifying of changes because worried of "annoying" people.

Here's some advice;

pkg_postinst() {
    if use kde; then
        ewarn "Upcoming change to kde USE flag"
        einfo "Due to gstreamer backend deprecation, change kde to minimal"
        einfo "See https://bugs.gentoo.org/935033 for details."
}

Give users a >month - a chance - to react.

Devs breaking users configs on whims is surely against Gentoo principles.
Condescending comments about not expecting special treatment is unhelpful.
Comment 23 Andreas Sturmlechner gentoo-dev 2024-07-06 11:37:49 UTC
1.
Let me make this absolutely clear: Providing logical IUSE defaults to let packages run as intended *by default* for our users will always be the base of our considerations. Providing phonon-vlc as USE=vlc indicates a choice that is not there anymore.

Here's how Portage will display the IUSE change:

[ebuild     U  ] media-libs/phonon-4.12.0-r3::gentoo [4.11.1-r2::gentoo] USE="pulseaudio qt5%* qt6%* -debug -designer -minimal% (-gstreamer%) (-vlc%*)" 0 KiB

It should tell you exactly where to look at to fix "your broken config". If you have trouble understanding that, read the Gentoo Handbook.

2.
Shouting from the sidelines is easy. That's what you are doing here.

Appending some elog in a package is easy but people will end up wondering why they do not have audio, video in applications for - by your suggestion - a whole month. That's not acceptable.

3.
(In reply to MrPenguin07 from comment #22)
>     if use kde; then
>         ewarn "Upcoming change to kde USE flag"
Seriously, what are you even talking about? Don't answer, actually: Go to 4.

4.
Go back to Gentoo Forums, this is not a thread.
Comment 24 MrPenguin07 2024-07-06 11:48:13 UTC
(In reply to Andreas Sturmlechner from comment #23)
> 1.
> Let me make this absolutely clear: Providing logical IUSE defaults to let
> packages run as intended *by default* for our users will always be the base
> of our considerations. Providing phonon-vlc as USE=vlc indicates a choice
> that is not there anymore.

That's quite a long winded response to somehow exhonerate yourself of responsibility for making a cosmetic change that breaks users configs with no notice.

> Here's how Portage will display the IUSE change:
> 
> [ebuild     U  ] media-libs/phonon-4.12.0-r3::gentoo [4.11.1-r2::gentoo]
> USE="pulseaudio qt5%* qt6%* -debug -designer -minimal% (-gstreamer%)
> (-vlc%*)" 0 KiB
> 
> It should tell you exactly where to look at to fix "your broken config". If
> you have trouble understanding that, read the Gentoo Handbook.

No, it would show up as [ebuild     N  ] as your USE change nullifies users package.use settings and is now pulling in an extra dependency.

Anyway good luck picking up on that in a list of >150 updates.


> 2.
> Shouting from the sidelines is easy. That's what you are doing here.

Actually I'm asking for accountability, providing constructive feedback in the way of elog warning as a better way of handling this rather than breaking configs on a whim.

> Appending some elog in a package is easy but people will end up wondering
> why they do not have audio, video in applications for - by your suggestion -
> a whole month. That's not acceptable.

No they wouldn't. 
Users audio/video in applications wouldn't have changed if you just left it alone. 
You don't seem to understand the change you made here. Those of us who purposeley had USE="-kde" are the only ones affected - and we obviously were previously happy with our setup.

> 3.
> (In reply to MrPenguin07 from comment #22)
> >     if use kde; then
> >         ewarn "Upcoming change to kde USE flag"
> Seriously, what are you even talking about? Don't answer, actually: Go to 4.

Yes it seems you taking responsibility for your whims and improving how you handle these situations in future seems difficult for you to grasp.

> 4.
> Go back to Gentoo Forums, this is not a thread.

Sure, when you stop breaking configs for cosmetic reasons without warning.

Go on have the last word.
I'm out.
Comment 25 Andreas Sturmlechner gentoo-dev 2024-07-06 12:02:02 UTC
(In reply to MrPenguin07 from comment #24)
> for making a cosmetic change that breaks users configs
It's not cosmetic.

(In reply to MrPenguin07 from comment #24)
> with no notice.
I just showed you the notice.

(In reply to MrPenguin07 from comment #24)
> > [ebuild     U  ] media-libs/phonon-4.12.0-r3::gentoo [4.11.1-r2::gentoo]
> > USE="pulseaudio qt5%* qt6%* -debug -designer -minimal% (-gstreamer%)
> > (-vlc%*)" 0 KiB
> > 
> > It should tell you exactly where to look at to fix "your broken config". If
> > you have trouble understanding that, read the Gentoo Handbook.
> 
> No, it would show up as [ebuild     N  ] as your USE change nullifies users
> package.use settings and is now pulling in an extra dependency.
Ignoring the evidence within your own quotation, cool. Yes, *phonon-vlc* will appear as "N" right above, even better to make the connection.

(In reply to MrPenguin07 from comment #24)
> Anyway good luck picking up on that in a list of >150 updates.
Skimming through a list of >150 updates is not that much, especially when Portage is even highlighting these kind of USE flag changes with colors.

(In reply to MrPenguin07 from comment #24)
> You don't seem to understand the change you made here. Those of us who
> purposeley had USE="-kde" are the only ones affected - and we obviously were
> previously happy with our setup.
Again pretending "-kde" is somehow involved. Cool, wrong.

You don't understand that this was a deliberate change *to keep users' audio/video working* when they had been using phonon-gstreamer before. This will absolutely trump your perceived "breaking of my config". Just admit that you should better look at IUSE changes next time.
Comment 26 MrPenguin07 2024-07-06 12:07:29 UTC
(In reply to Andreas Sturmlechner from comment #25)

> 
> You don't understand that this was a deliberate change *to keep users'
> audio/video working* when they had been using phonon-gstreamer before. This
> will absolutely trump your perceived "breaking of my config". Just admit
> that you should better look at IUSE changes next time.

Let me get this straight;

You 'saved' users who had purposely set -kde from not having audio/video inside of kde?

Great work.

/out I promise.
Comment 27 Andreas Sturmlechner gentoo-dev 2024-07-06 12:12:28 UTC
(In reply to MrPenguin07 from comment #26)
> You 'saved' users who had purposely set -kde from not having audio/video
> inside of kde?
No. Real slow, one more time: We saved users who had been relying up to that point on USE="gstreamer" instead of USE="vlc" to continue having audio/video in those applications that rely on media-libs/phonon for that.

Again, for the last time: "-kde" was never involved in any of this.

I hope it made click in your head now.
Comment 28 Larry the Git Cow gentoo-dev 2024-07-07 20:37:00 UTC
The bug has been referenced in the following commit(s):

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

commit 7ed043c81a336a899173e5cd55dda7861015741b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-06-28 13:17:38 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-07-07 20:36:11 +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-9999.ebuild | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
Comment 29 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2024-07-26 03:39:46 UTC
ppc64 done

all arches done