[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#926625: Please drop the Recommends against libqt5gui5



Le 14/04/19 à 20:30, Osamu Aoki a écrit :
Hi,


On Mon, Apr 08, 2019 at 08:37:20AM +0200, Laurent Bigonville wrote:
Package: ibus
Version: 1.5.19-4
Severity: wishlist

Hi,

Could you please remove the Recommends against libqt5gui5?

My rational is, if I'm correct, that any package that require QT5 will
already depend against this package making this dependency redundant and
forcing QT5 libraries on desktops not using QT (GNOME,...)
I think this is bad idea.

If Qt apps are used without this, then xim based input causes lost key
stroke etc.  Qt apps are not only for KDE people.  QCAD, ... 

Like I said, as far as I can see, almost all packages that are using Qt and have a GUI are already pulling libqt5gui5:

bigon@fornost:~$ apt-cache rdepends libqt5core5a |grep -v -E '\|'|grep -v -E '^ *lib'|grep -v 'python'| sort -u|wc -l
1026
bigon@fornost:~$ apt-cache rdepends libqt5gui5 |grep -v -E '\|'|grep -v -E '^ *lib'|grep -v 'python'| sort -u|wc -l
906

So in the big majority of the cases, libqt5gui5 will be installed at the same time the application is installed. The remaining packages seem to be CLI, daemons or plugins, so no GUI.

You are saving tiny disk space.

Also this is recommend.  You can override.

The problem is that the last upload (in experimental, so this is not really a concern for buster) of gnome-shell recommends ibus. That means that you are pulling Qt libraries when you are installing a default GNOME desktop, which is not nice (tasksel is enabling the Recommends by default)

On a default installation with the task-desktop and task-desktop-gnome installed:

# apt-get install libqt5gui5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libdouble-conversion1 libpcre2-16-0 libqt5core5a libqt5dbus5 libqt5network5 libqt5svg5 libqt5widgets5 libxcb-xinerama0 qt5-gtk-platformtheme qttranslations5-l10n
Suggested packages:
  qt5-image-formats-plugins qtwayland5
The following NEW packages will be installed:
  libdouble-conversion1 libpcre2-16-0 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5svg5 libqt5widgets5 libxcb-xinerama0 qt5-gtk-platformtheme qttranslations5-l10n
0 upgraded, 11 newly installed, 0 to remove and 3 not upgraded.
Need to get 10.1 MB of archives.
After this operation, 42.5 MB of additional disk space will be used.

That's 43MB extra


Regards,

Osamu

Reply to: