Bug 2230253

Summary: GTK4 dependency on gstreamer1-plugins-bad-free?
Product: [Fedora] Fedora Reporter: Artem S. Tashkinov <aros>
Component: gtk4Assignee: Kalev Lember <klember>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: gnome-sig, klember, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-09 16:03:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Artem S. Tashkinov 2023-08-09 07:18:13 UTC
Why does a new version of GTK4 now depends on gstreamer1-plugins-bad-free?

Could this please be made optional?

# dnf update gtk4
Dependencies resolved.
================================================================================
 Package                        Arch      Version              Repository  Size
================================================================================
Upgrading:
 gtk4                           x86_64    4.10.5-1.fc38        updates    4.9 M
Installing dependencies:
 gstreamer1-plugins-bad-free    x86_64    1.22.5-1.fc38        updates    3.0 M
 gssdp                          x86_64    1.6.2-2.fc38         fedora      58 k
 gupnp                          x86_64    1.6.5-1.fc38         updates    105 k
 gupnp-igd                      x86_64    1.6.0-1.fc38         updates     34 k
 libdvdnav                      x86_64    6.1.1-5.fc38         fedora      55 k
 libdvdread                     x86_64    6.1.3-3.fc38         fedora      72 k
 libnice                        x86_64    0.1.21-3.fc38        fedora     199 k
 libsrtp                        x86_64    2.3.0-10.fc38        fedora      57 k
 lilv-libs                      x86_64    0.24.14-4.fc38       fedora      58 k
 serd                           x86_64    0.30.16-1.fc38       fedora      62 k
 sord                           x86_64    0.16.14-1.fc38       fedora      39 k
 soundtouch                     x86_64    2.3.1-4.fc38         fedora      94 k
 sratom                         x86_64    0.6.10-3.fc38        fedora      26 k

This looks totally excessive and unnecessary. GTK is a UI toolkit, not an audio/video toolkit.

Comment 1 Kalev Lember 2023-08-09 14:28:29 UTC
The gstreamer dependency is because gtk4 has a GtkVideo widget that allows playing video, which uses gstreamer as a media backend (and in particular in this case, libgstplayer that comes from gstreamer1-plugins-bad-free package).

gtk4 has depended on gstreamer from 2018 and onwards though so I'm puzzled how you can have ended up without gstreamer1-plugins-bad-free until now. Did you remove it with 'rpm -e --nodeps', maybe?

Comment 2 Artem S. Tashkinov 2023-08-09 16:03:43 UTC
Did you remove it with 'rpm -e --nodeps', maybe?

It could be the case actually. I hate this package with vengeance because of its dependencies and because everything in terms of audio/video processing on my Fedora is dependent only on ffmpeg which I compile manually with minimum dependencies.