View previous topic :: View next topic |
Author |
Message |
metapsyborg n00b
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31257 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 |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2400
|
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 |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9262
|
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 |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2400
|
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 |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 232 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 |
|
Back to top |
|
|
metapsyborg n00b
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 |
|
|
musv Advocate
Joined: 01 Dec 2002 Posts: 3364 Location: de
|
Posted: Sat Jul 20, 2024 10:35 am Post subject: |
|
|
Just checked today for an update and stumbled into this thread, because I've seen VLC in the dependencies.
As already discussed in Bug 935033 minimal disables the deprecated gstreamer backend.
I masked VLC on my system due to the ffmpeg-4 dependency which blocks every other application depending on ffmpeg to use a newer version of ffmpeg.
As long as I understood I won't be able to play any multimedia content of any application depending on phonon. Currently that would be:
Code: | equery d phonon
* These packages depend on phonon:
kde-apps/dolphin-23.08.5 (>=media-libs/phonon-4.11.0[qt5(+)])
kde-apps/gwenview-23.08.5 (>=media-libs/phonon-4.11.0[qt5(+)])
kde-apps/kio-extras-24.02.2-r1 (phonon ? >=media-libs/phonon-4.11.0[qt5(+)])
kde-apps/okular-23.08.5 (phonon ? >=media-libs/phonon-4.11.0[qt5(+)])
kde-frameworks/khtml-5.116.0 (>=media-libs/phonon-4.11.0[qt5(+)])
kde-frameworks/knotifications-5.116.0 (phonon ? >=media-libs/phonon-4.11.0[qt5(+)])
kde-frameworks/knotifyconfig-5.116.0 (phonon ? >=media-libs/phonon-4.11.0[qt5(+)])
kde-plasma/plasma-desktop-5.27.11 (>=media-libs/phonon-4.11.0[qt5(+)])
kde-plasma/plasma-workspace-5.27.11.1-r1 (>=media-libs/phonon-4.11.0[qt5(+)])
media-libs/phonon-gstreamer-4.10.0-r1 (>=media-libs/phonon-4.10.60) |
Does that mean: I wouldn't be able to get any system sounds of KDE? If that's the only issue, I'm fine with phonon -minimal. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5091 Location: Bavaria
|
Posted: Sat Jul 20, 2024 10:48 am Post subject: |
|
|
musv wrote: | Does that mean: I wouldn't be able to get any system sounds of KDE? If that's the only issue, I'm fine with phonon -minimal. |
I have a pure ALSA installation (no pulseaudio; no pipewire; only kmix) and I have even disabled "phonon" completely because I dont need it for these applications:
Code: | $ euse -i phonon
global use flags (searching: phonon)
************************************************************
no matching entries found
local use flags (searching: phonon)
************************************************************
[- c ] phonon
app-office/calligra: Build stage/eventplugins and videoshape plugin
using media-libs/phonon
[- ] (5) 3.2.1-r9 [gentoo]
[- c ] phonon
kde-apps/kio-extras: Enable file audio preview plugin using media-libs/phonon
[- ] (5) 24.02.2-r1 [gentoo]
[- ] (6) 24.05.2 [gentoo]
[- c ] phonon
kde-apps/marble: Enable sound support via media-libs/phonon
[- ] (5/24.05) 24.05.1 [gentoo]
[- ] (5/24.05) 24.05.2 [gentoo]
[- c ] phonon
kde-apps/okular: Enable sound support via media-libs/phonon
[- ] (5) 23.08.5 [gentoo]
[- ] (6) 24.05.2 [gentoo]
[- c ] phonon
kde-frameworks/knotifications: Play notification sounds via media-libs/phonon instead of media-libs/libcanberra
[- ] (5/5.116) 5.116.0 [gentoo]
(6/6.4) 6.4.0 [gentoo]
[- c ] phonon
kde-frameworks/knotifyconfig: Play notification sounds via media-libs/phonon instead of media-libs/libcanberra
[- ] (5/5.116) 5.116.0 [gentoo]
[- ] (6/6.4) 6.4.0 [gentoo]
[- c ] phonon
media-gfx/kphotoalbum: Enable media-libs/phonon video backend (known to crash on some video formats)
[- ] (5) 5.12.0 [gentoo]
[- c ] phonon
media-sound/yarock: Enable media-libs/phonon backend
[- ] 1.4.0-r3 [gentoo]
[- c ] phonon
net-irc/kvirc: Support Phonon for audio output
[+ B] 5.2.0-r1 [gentoo]
[+ B] 5.2.0-r2 [gentoo]
[+ B] 5.2.2 [gentoo]
[+ B] 5.2.4 [gentoo]
[+ B] 9999 [gentoo] |
My global USE-flags in make.conf:
Code: | USE="-accessibility -bluetooth -gstreamer -gtk -gtk3 -haptic -initramfs -ipv6 -lvm -modemmanager -networkmanager -phonon -ppp -pulseaudio -screencast -semantic-desktop -thin -thumbnail -wext -wifi -wireless "
USE="$USE jumbo-build lm-sensors matroska openexr opus theora threads vaapi vpx webp" |
together with local flags in /etc/portage/package.use:
Code: | kde-plasma/plasma-meta -crypt -crash-handler
media-video/pipewire -sound-server
...
# temporary because of bug: https://bugs.gentoo.org/916267
>=dev-qt/qtgui-5.15.11-r2 accessibility
# temporary because of bug: https://bugs.gentoo.org/864721
media-video/vlc -vaapi |
musv wrote: | I masked VLC on my system due to the ffmpeg-4 dependency which blocks every other application depending on ffmpeg to use a newer version of ffmpeg. |
Maybe this is not necessary ... see above setting for VLC ... _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
musv Advocate
Joined: 01 Dec 2002 Posts: 3364 Location: de
|
Posted: Tue Aug 13, 2024 11:09 am Post subject: |
|
|
In the last update, I had to set qt5 or qt6 (or both). Nevertheless thanks to pietinger, phonon isn't neccessary for any important application on my system. Hence, minimal is fine to keep vlc out of the system. |
|
Back to top |
|
|
|