[Bug 1231065] New: I think we can learn the way Fedora packages Chromium.
https://bugzilla.suse.com/show_bug.cgi?id=1231065 Bug ID: 1231065 Summary: I think we can learn the way Fedora packages Chromium. Classification: openSUSE Product: openSUSE Tumbleweed Version: Slowroll Hardware: Other OS: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Network Assignee: screening-team-bugs@suse.de Reporter: fxzxmic@hotmail.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- * chromium - A WebKit (Blink) powered web browser that Google doesn't want you to use * chromium-common - Files needed for both the headless_shell and full Chromium * chromium-headless - A minimal headless shell built from Chromium * chromium-qt5-ui - Qt5 UI built from Chromium * chromium-qt6-ui - Qt6 UI built from Chromium I think they did a great job. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231065 https://bugzilla.suse.com/show_bug.cgi?id=1231065#c1 --- Comment #1 from hui <sturm-fr@web.de> --- What is the advantage? What is the disadvantage? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231065 https://bugzilla.suse.com/show_bug.cgi?id=1231065#c2 --- Comment #2 from Fxzx mic <fxzxmic@hotmail.com> --- (In reply to hui from comment #1)
What is the advantage? What is the disadvantage?
Firstly, QT5 is still being used. Secondly, unnecessary QT dependencies have been introduced for those using the GTK environment. Finally, a dedicated version has been released for headless use. The advantage is a more reasonable allocation of functions and dependencies, without introducing all functions and dependencies at once. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231065 https://bugzilla.suse.com/show_bug.cgi?id=1231065#c11 Fxzx mic <fxzxmic@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(fxzxmic@hotmail.c | |om) | --- Comment #11 from Fxzx mic <fxzxmic@hotmail.com> --- (In reply to Stefan Hundhammer from comment #7)
And inevitably, users get confused what to install; even more so if (like you proposed) there are several different GUI front-ends (Qt 5 and Qt 6; plus "headless"). They tend to ask in user forums, and the answers tend to be inconclusive.
This is not a problem at all. Since you want to compare with Ubuntu, why not compare with Fedora? Why don't Fedora maintainers worry about their users asking questions on the forum? Firstly, forums are meant for asking questions, so you shouldn't worry about users coming to the forum to ask questions. Secondly, package description information is not just decoration. Finally, if the user's system is QT5, then install qt5-ui. If it is QT6, then install qt6-ui. If it is GTK, then there is no need to install anything. As for headless, it is used for special purposes. If you don't know what it is used for, then there is no need to install it.
Good luck finding a voluneer maintainer for a package as complex as this. And anyway, given the importance of one of the few FOSS Internet browsers in today's IT world, reliable support may be business critical for SUSE, so the choice for the main maintainer narrows down to a SUSE employee.
That's not a problem either, I never expect to make immediate changes. It just always needs someone to point out a better approach. Even if someone implements my advice after my death, it is something I have left in this world.
You can’t compare your job to excrement to determine which is superior, so
excrement??
such a comparison is pointless.
Yes, snap/ubuntu is excrement.
"This is more reasonable" is an opinion, not a factual argument.
So, your implied suggestion is to follow Fedora's example to split up Chromium into several subpackages. But you never even once explained what you see as the benefits to offset the downsides. This is what is missing in this whole discussion.
If you have installed the QT5 dependency and want it to work, you also need the qt5-wayland package, which is a duplicate on the QT6 system. For the QT6 system, it is the same. As for headless, I will explain below. (In reply to Stefan Hundhammer from comment #8)
So, for every tiniest update of the source package (the original tarball as well as patches added on top), the version needs to be bumped, which for the end user means having to download and update all the installed subpackages anyway.
I don't understand. Is it difficult or inappropriate for users to update the packages they should update? (In reply to Stefan Hundhammer from comment #9)
Also, please name some use cases for a chromium-headless package.
For example, automating web pages, scripting, and using it on servers, etc., I haven't really used it, I just checked its purpose after seeing this name for the first time. (In reply to Stefan Hundhammer from comment #10)
AFAICS our chromium package uses only Qt 5, no Qt 6 and no Gtk.
% rpm -q --requires chromium | sed -e 's/(.*//' | sort -u | grep -i qt libQt5Core.so.5 libQt5Gui.so.5 libQt5Widgets.so.5
% rpm -q --requires chromium | sed -e 's/(.*//' | sort -u | grep -i gtk
It seems that you haven't learned about the relevant content on your own besides discussing with me. https://src.fedoraproject.org/rpms/chromium/c/802b55bba2b87f236e24c2ef0dbc6a...
For QT, mandatory dependencies are only caused by a file libqt5_shim.so. Separating this file will not affect Chromium itself, as Chromium can run without relying on GTK and QT. https://packages.fedoraproject.org/pkgs/chromium/chromium-qt5-ui/fedora-40-u... As for GTK, it is much simpler than Qt. You can use GTK UI by installing GTK related components, and cannot use it without installation. There are no mandatory dependencies. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231065 https://bugzilla.suse.com/show_bug.cgi?id=1231065#c12 --- Comment #12 from Fxzx mic <fxzxmic@hotmail.com> --- In recent years, I have seen a similar example in other distributions, but it was a packaging disaster. There was a so library file belonging to a development tool that was not separated from the development tool itself, causing packages that depended on this so library to require the installation of hundreds of development packages. For a long time, no one noticed (or corrected it, thinking it was normal). Fortunately, separating a so file is very simple, so I submitted a MR, and the issue was fixed within a few days. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231065 https://bugzilla.suse.com/show_bug.cgi?id=1231065#c14 --- Comment #14 from hui <sturm-fr@web.de> --- Reading through this whole report, there is not a single advantage mentioned here. Only obvious disadvantages. Saying "but, but, but distribution xy is doing it" is no argument, advantage or valid reason to justify anything. - Splitting Chromium only adds confusion for the users (90% of them does not know if they are using Gtk, Qt5 or Qt6). - Splitting Chromium adds a lot of additional maintenance work If you really want to see such stuff in openSUSE, step up and help the package maintainers with the additional work. Create SRs, maintain the package and fix bugs. Easy. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231065 https://bugzilla.suse.com/show_bug.cgi?id=1231065#c18 --- Comment #18 from Fxzx mic <fxzxmic@hotmail.com> --- Here's an example of the modifications I made for reference. https://build.opensuse.org/package/show/home:fxzxmic:Factory/chromium -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com