View previous topic :: View next topic |
Author |
Message |
metapsyborg n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Sep 2011 Posts: 22
|
Posted: Fri Jul 05, 2024 6:47 pm Post subject: New phonon pulls in vlc by default even with -vlc flag |
|
|
There is a new use flag in the phonon 4.12 ebuild:
https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/phonon/phonon-4.12.0-r3.ebuild
By default it is false. This causes phonon-vlc to be pulled in even if we have -vlc set. It looks like the old `vlc` use flag is gone now.
How does a change like this come about? It seems like a change for no reason and makes the use flag more generic and vague, and the description of the use flag in equery is basically useless (no one can tell what that use flag does from its description).
Code: | * Found these USE flags for media-libs/phonon-4.12.0-r3:
U I
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful
backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
- - designer : Install plugin for dev-qt/designer
- - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical
features)
+ + pulseaudio : Add sound server support via media-libs/libpulse (may be PulseAudio or PipeWire)
+ + qt5 : Add support for the Qt 5 application and UI framework
+ - qt6 : Add support for the Qt 6 application and UI framework
|
Previously with the `vlc` use flag it was very clear what the use flag does:
Code: | * Found these USE flags for media-libs/phonon-4.11.1-r2:
U I
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful
backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
- - designer : Install plugin for dev-qt/designer
- - gstreamer : Add support for media-libs/gstreamer (Streaming media)
+ + pulseaudio : Add sound server support via media-libs/libpulse (may be PulseAudio or PipeWire)
- - vlc : Install VLC Phonon backend |
Can I set the `+minimal` use flag as a drop-in replacement for the `-vlc` useflag? Also, why are the qt5/6 use flags set by default, can I do -qt5,-qt6 to get the same behavior as before?
Thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31072 Location: here
|
Posted: Fri Jul 05, 2024 6:55 pm Post subject: Re: New phonon pulls in vlc by default even with -vlc flag |
|
|
metapsyborg wrote: | Can I set the `+minimal` use flag as a drop-in replacement for the `-vlc` useflag? |
Yes minimal use flag work like -vlc,
metapsyborg wrote: | Also, why are the qt5/6 use flags set by default, can I do -qt5,-qt6 to get the same behavior as before? |
No because before qt5 was implicit, so you should set +qt5 -qt6. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 22 Feb 2018 Posts: 1857
|
Posted: Fri Jul 05, 2024 6:56 pm Post subject: |
|
|
You can see some explanations regarding vlc => minimal use flag renaming here: https://bugs.gentoo.org/935033
In general you can get many questions answered by simple search in bugs.gentoo.org. Just type the package name and see if you can find a bug that seems related.
As to why a qt flag needs to be set I can't say anything. I don't know what the old behavior is and if it at all is related to Qt versions, but if this is a KDE lib, it makes sense that it's related.
Best Regards,
Georgi
Last edited by logrusx on Fri Jul 05, 2024 7:00 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
asturm Developer
![Developer Developer](/images/ranks/rank-dev.gif)
Joined: 05 Apr 2007 Posts: 9000
|
Posted: Fri Jul 05, 2024 6:58 pm Post subject: |
|
|
@logrusx: Not an app, just a lib.
It's Qt-based. It'll need *some* Qt. As a library, some applications will have to depend on it with *their* version of Qt present. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 22 Feb 2018 Posts: 1857
|
Posted: Fri Jul 05, 2024 7:00 pm Post subject: |
|
|
asturm wrote: | @logrusx: Not an app, just a lib.
It's Qt-based. It'll need *some* Qt. As a library, some applications will have to depend on it with *their* version of Qt present. |
Corrected, thanks!
Best Regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eeckwrk99 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1208501992659c54b9b9e81.jpg)
Joined: 14 Mar 2021 Posts: 192 Location: Gentoo forums
|
Posted: Fri Jul 05, 2024 7:01 pm Post subject: Re: New phonon pulls in vlc by default even with -vlc flag |
|
|
metapsyborg wrote: | It looks like the old `vlc` use flag is gone now. |
Yes it is.
metapsyborg wrote: | How does a change like this come about? It seems like a change for no reason and makes the use flag more generic and vague, and the description of the use flag in equery is basically useless (no one can tell what that use flag does from its description). |
Quoting the commit message:
asturm wrote: | 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. |
Which makes sense in my opinion. Before we had gstreamer and vlc, now that Gstreamer backend is gone, we only have mininal to basically avoid VLC.
metapsyborg wrote: | Can I set the `+minimal` use flag as a drop-in replacement for the `-vlc` useflag? |
That's what I did on my system, no issue whatsoever.
metapsyborg wrote: | Also, why are the qt5/6 use flags set by default, can I do -qt5,-qt6 to get the same behavior as before? |
Not sure you can disable both considering
Code: | REQUIRED_USE="|| ( qt5 qt6 )" |
You would get this error:
Code: | # emerge -1 media-libs/phonon
!!! Problem resolving dependencies for media-libs/phonon
!!! The ebuild selected to satisfy "media-libs/phonon" has unmet requirements.
- media-libs/phonon-4.12.0-r3::gentoo USE="minimal pulseaudio -debug -designer -qt5 -qt6" ABI_X86="(64)"
The following REQUIRED_USE flag constraints are unsatisfied:
any-of ( qt5 qt6 ) |
Edit: too slow ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
metapsyborg n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Sep 2011 Posts: 22
|
Posted: Fri Jul 05, 2024 8:45 pm Post subject: |
|
|
Thanks everyone for the fast and thorough answers! You guys are great.
I set the minimal use flag and emerge looks good now. Not gonna touch the qt flags because I let the profile and kde meta packages manage that stuff. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|