[Bug 1162600] New: reduce dependencies of gio
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600 Bug ID: 1162600 Summary: reduce dependencies of gio Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: gnome-bugs@suse.de Reporter: lnussel@suse.com QA Contact: qa-bugs@suse.de CC: fvogt@suse.com Found By: --- Blocker: --- Some programs that are meant to be small and are not desktop programs, like microdnf still use glib. glib however pulls in gio and gio pulls in all kinds of things like dbus, shared-mime-info, gio-branding-openSUSE which then pulls in wallpapers. Could that be optimized somehow so desktop bits are only pulled in when there is actually a deskop installation? The dbus dep for example came in for bug 678518. Back then we didn't have systemd pulling in dbus. So any running system nowadays has dbus anyways, the dep in glib should be superfluous. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600#c1
Dominique Leuenberger
The dbus dep for example came in for bug 678518. Back then we didn't have systemd pulling in dbus. So any running system nowadays has dbus anyways, the dep in glib should be superfluous.
But that does still not make the dep invalid - if you have gio present, dbus must be there for it to work. shared-mime-info is also mandatory for gio (file type identification) gio-branding-openSUSE recommends the wallpapers - as it sets it as the default wallpaper in gsettings; the wallpaper is clearly not 'required' (as the user can change it) but that's why recommends is in use for this case. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600#c2
--- Comment #2 from Ludwig Nussel
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600#c3
Frederic Crozat
I just installed microdnf blocking the mentioned deps and it still works. So I guess it really depends on what functions of gio are called. Unconditional recommends do have the disadvantage that they are still installed by default. It helps to create smaller system to use packageand instead where possible.
Are there any other packages that could be used as trigger?
Also, would it make sense maybe to split up some of the packages? Like separating the bits that deal with fonts and wallpapers?
for the wallpapers, we could "move" the gio branding wallpaper section part into a subpackage and have it pulled by supplements when gnome-shell is installed ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600#c4
--- Comment #4 from Ludwig Nussel
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600#c5
--- Comment #5 from Frederic Crozat
sure. Why does gio have to deal with wallpapers in the first place btw? seems to be too low level for such things.
it is a branding package (which contains default settings). This was also to not have to split it in 10 small other packages (and I'm pretty sure it wasn't recommending the wallpaper package initially) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600#c6
Neal Gompa
(In reply to Ludwig Nussel from comment #2)
I just installed microdnf blocking the mentioned deps and it still works. So I guess it really depends on what functions of gio are called. Unconditional recommends do have the disadvantage that they are still installed by default. It helps to create smaller system to use packageand instead where possible.
Are there any other packages that could be used as trigger?
Also, would it make sense maybe to split up some of the packages? Like separating the bits that deal with fonts and wallpapers?
for the wallpapers, we could "move" the gio branding wallpaper section part into a subpackage and have it pulled by supplements when gnome-shell is installed ?
You don't need to do that. Just make the Recommends conditional. For example: Recommends: (gio-branding-openSUSE if (gnome-shell and branding-openSUSE)) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600#c7
--- Comment #7 from Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600#c8
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600
http://bugzilla.opensuse.org/show_bug.cgi?id=1162600#c9
--- Comment #9 from Ludwig Nussel
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com