Description of problem: python3-gobject requires gtk which then pulls in many x11 libraries. Unfortunately dnf pulls in python3-gobject which means that x11 libraries are getting pulled into a headless mageia server Version-Release number of selected component (if applicable): How reproducible: Create basic image with dnf. Notice it pulls in x11 libraries The obvious solution would be to split up the files as opensuse does into python3-gobject python3-gobject-gdk python3-gobject-cario
Note that this is affecting me because I'm trying to create some lightweight docker images of mageia, and this one dependency adds in about 100 rpm packages and about 200 meg to the system.
I would love for this to be solved, yes. Fedora does something similar with python3-gobject-base + python3-gobject. I would favor the Fedora approach because then packages that use package names directly will do the right thing, while stuff using typelib dependencies will only get what they need.
CC: (none) => ngompa13
Well, this bug is not to be doubted with such credentials. Doing: $ urpmq --requires-recursive python3-gobject produces a long list of some 260 pkgs including gtk+3.0, loads of libraries only 2 of which specifically include x11. Academic. Joseph being an important recent committer of this SRPM (also listed for python-gobject3), you will excuse me assigning it to you. Do as you see fit? CC'ing philippem as the listed maintainer; and Olav as having committed version 3.38.0 .
Assignee: bugsquad => joequantCC: (none) => makowski.mageia, olav
(In reply to Neal Gompa from comment #2) > I would favor the Fedora approach because then packages that use package > names directly will do the right thing, while stuff using typelib > dependencies will only get what they need. I guess that we can go this way, yes https://src.fedoraproject.org/rpms/pygobject3/blob/master/f/pygobject3.spec Sorry, I have no time for this now, but Joseph, feel free to do so.
I changed the requires to split it into python3-gobject and python3-gobject-base with the gtk/gdk libraries all included in python3-gobject. Will see if that works