At some point after 24.2.5.2-3.fc41 libreoffice has started pulling in QT6 even on workstation which increasing install by well over 100Mb, it would be great if the QT6 support can be put in sub packages like the gtk3/gtk4 support.
What package is bringing it in? The QT5 and QT6 pieces are in libreoffice-kf5 and libreoffice-kf6 respectively.
This is what I see on a system without qt installed: # dnf upgrade Updating and loading repositories: Repositories loaded. Package Arch Version Repository Size Upgrading: libreoffice-calc aarch64 1:24.8.1.2-1.fc41 updates-testing 26.2 MiB replacing libreoffice-calc aarch64 1:24.2.5.2-3.fc41 fedora 25.8 MiB libreoffice-core aarch64 1:24.8.1.2-1.fc41 updates-testing 297.2 MiB replacing libreoffice-core aarch64 1:24.2.5.2-3.fc41 fedora 305.1 MiB libreoffice-data aarch64 1:24.8.1.2-1.fc41 updates-testing 3.3 MiB replacing libreoffice-data aarch64 1:24.2.5.2-3.fc41 fedora 3.3 MiB libreoffice-emailmerge aarch64 1:24.8.1.2-1.fc41 updates-testing 26.4 KiB replacing libreoffice-emailmerge aarch64 1:24.2.5.2-3.fc41 fedora 26.7 KiB libreoffice-filters aarch64 1:24.8.1.2-1.fc41 updates-testing 0.0 B replacing libreoffice-filters aarch64 1:24.2.5.2-3.fc41 fedora 0.0 B libreoffice-graphicfilter aarch64 1:24.8.1.2-1.fc41 updates-testing 1.3 MiB replacing libreoffice-graphicfilter aarch64 1:24.2.5.2-3.fc41 fedora 1.3 MiB libreoffice-gtk3 aarch64 1:24.8.1.2-1.fc41 updates-testing 1.9 MiB replacing libreoffice-gtk3 aarch64 1:24.2.5.2-3.fc41 fedora 1.9 MiB libreoffice-gtk4 aarch64 1:24.8.1.2-1.fc41 updates-testing 1.8 MiB replacing libreoffice-gtk4 aarch64 1:24.2.5.2-3.fc41 fedora 1.8 MiB libreoffice-help-en aarch64 1:24.8.1.2-1.fc41 updates-testing 28.5 MiB replacing libreoffice-help-en aarch64 1:24.2.5.2-3.fc41 fedora 28.1 MiB libreoffice-impress aarch64 1:24.8.1.2-1.fc41 updates-testing 1.0 MiB replacing libreoffice-impress aarch64 1:24.2.5.2-3.fc41 fedora 1.0 MiB libreoffice-langpack-en aarch64 1:24.8.1.2-1.fc41 updates-testing 171.9 KiB replacing libreoffice-langpack-en aarch64 1:24.2.5.2-3.fc41 fedora 171.9 KiB libreoffice-ogltrans aarch64 1:24.8.1.2-1.fc41 updates-testing 371.8 KiB replacing libreoffice-ogltrans aarch64 1:24.2.5.2-3.fc41 fedora 372.0 KiB libreoffice-opensymbol-fonts noarch 1:24.8.1.2-1.fc41 updates-testing 440.0 KiB replacing libreoffice-opensymbol-fonts noarch 1:24.2.5.2-3.fc41 fedora 440.0 KiB libreoffice-pdfimport aarch64 1:24.8.1.2-1.fc41 updates-testing 736.3 KiB replacing libreoffice-pdfimport aarch64 1:24.2.5.2-3.fc41 fedora 756.9 KiB libreoffice-pyuno aarch64 1:24.8.1.2-1.fc41 updates-testing 2.5 MiB replacing libreoffice-pyuno aarch64 1:24.2.5.2-3.fc41 fedora 2.1 MiB libreoffice-ure aarch64 1:24.8.1.2-1.fc41 updates-testing 11.2 MiB replacing libreoffice-ure aarch64 1:24.2.5.2-3.fc41 fedora 11.2 MiB libreoffice-ure-common aarch64 1:24.8.1.2-1.fc41 updates-testing 2.3 MiB replacing libreoffice-ure-common aarch64 1:24.2.5.2-3.fc41 fedora 2.3 MiB libreoffice-writer aarch64 1:24.8.1.2-1.fc41 updates-testing 12.4 MiB replacing libreoffice-writer aarch64 1:24.2.5.2-3.fc41 fedora 12.5 MiB libreoffice-x11 aarch64 1:24.8.1.2-1.fc41 updates-testing 610.7 KiB replacing libreoffice-x11 aarch64 1:24.2.5.2-3.fc41 fedora 546.6 KiB libreoffice-xsltfilter aarch64 1:24.8.1.2-1.fc41 updates-testing 4.3 MiB replacing libreoffice-xsltfilter aarch64 1:24.2.5.2-3.fc41 fedora 4.3 MiB Installing dependencies: qt6-filesystem aarch64 6.7.2-3.fc41 fedora 0.0 B qt6-qtbase aarch64 6.7.2-6.fc41 updates-testing 13.0 MiB qt6-qtbase-common noarch 6.7.2-6.fc41 updates-testing 74.0 B qt6-qtbase-gui aarch64 6.7.2-6.fc41 updates-testing 26.9 MiB qt6-qtdeclarative aarch64 6.7.2-3.fc41 fedora 51.1 MiB qt6-qtmultimedia aarch64 6.7.2-2.fc41 fedora 4.2 MiB qt6-qtquick3d aarch64 6.7.2-3.fc41 fedora 14.9 MiB qt6-qtquicktimeline aarch64 6.7.2-2.fc41 fedora 835.3 KiB qt6-qtshadertools aarch64 6.7.2-2.fc41 fedora 4.4 MiB Transaction Summary: Installing: 9 packages Upgrading: 20 packages Replacing: 20 package Total size of inbound packages is 163 MiB. Need to download 163 MiB. After this operation, 109 MiB extra will be used (install 512 MiB, remove 403 MiB). Is this ok [y/N]:
It's libreoffice-core # rpm -qR libreoffice-core | grep libQt6 libQt6Core.so.6()(64bit) libQt6Core.so.6(Qt_6)(64bit) libQt6Gui.so.6()(64bit) libQt6Gui.so.6(Qt_6)(64bit) libQt6Multimedia.so.6()(64bit) libQt6Multimedia.so.6(Qt_6)(64bit) libQt6MultimediaWidgets.so.6()(64bit) libQt6MultimediaWidgets.so.6(Qt_6)(64bit) libQt6Widgets.so.6()(64bit) libQt6Widgets.so.6(Qt_6)(64bit)
I think it's due to https://git.libreoffice.org/core/+/refs/heads/master/configure.ac#1831 I suppose that's enabled regardless of qt6/kf6 VCL plugins being available and it doesn't fall under the -kf6 subpackage. Perhaps it's something that upstream needs to fix?
I agree. As is it would be hairy to split out.
What changed to cause it to suddenly pull those deps in?
Hard to say. We enabled qt6 in f40 as well and it doesn't do this. But then that's 24.2.6.2 and f41 is 24.8.1.2.
This is the relevant commit: https://gerrit.libreoffice.org/c/core/+/167869
@Gwyn have you already opened any ticket or wrote on upstream devel mailing list? Or should I? We could build with `--disable-qt6-multimedia`, but it's not clear to me if that means we end up with having a broken video playback support at all or it will revert back to using gstreamer on QT backends.
(In reply to Gwyn Ciesla from comment #5) > I agree. As is it would be hairy to split out. Would it? It seems to me that all that's needed is to move libavmediaqt.so to libreoffice-kf6. The AV impl. selection in avmedia::priv::MediaWindowImpl::createPlayer() depends on the VCL plugin used by the running application, i.e., libavmediaqt.so is needed only if either kf6 of qt6 VCL plugin is used. (Btw, in the same vein, libavmediagtk.so should be moved to libreoffice-gtk4; libreoffice-core should contain only the default libavmediagst.so.)
(In reply to David Tardon from comment #10) > (In reply to Gwyn Ciesla from comment #5) > > I agree. As is it would be hairy to split out. > > Would it? It seems to me that all that's needed is to move libavmediaqt.so > to libreoffice-kf6. The AV impl. selection in > avmedia::priv::MediaWindowImpl::createPlayer() depends on the VCL plugin > used by the running application, i.e., libavmediaqt.so is needed only if > either kf6 of qt6 VCL plugin is used. (Btw, in the same vein, > libavmediagtk.so should be moved to libreoffice-gtk4; libreoffice-core > should contain only the default libavmediagst.so.) I'll try to make the suggested changes and trigger a new build, let's see.
(In reply to David Tardon from comment #10) > (In reply to Gwyn Ciesla from comment #5) > > I agree. As is it would be hairy to split out. > > Would it? It seems to me that all that's needed is to move libavmediaqt.so > to libreoffice-kf6. The AV impl. selection in > avmedia::priv::MediaWindowImpl::createPlayer() depends on the VCL plugin > used by the running application, i.e., libavmediaqt.so is needed only if > either kf6 of qt6 VCL plugin is used. (Btw, in the same vein, > libavmediagtk.so should be moved to libreoffice-gtk4; libreoffice-core > should contain only the default libavmediagst.so.) If this is truly not needed by anything else in -core, then this is a good solution.
If this build fixes the issue (still running) I'll push the change to f41.
FEDORA-2024-1310d19e50 (libreoffice-24.8.1.2-2.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2024-1310d19e50
FEDORA-2024-1310d19e50 (libreoffice-24.8.1.2-2.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-e75b0f4ff9 (libreoffice-24.8.1.2-2.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-e75b0f4ff9
Looks good! Update coming. Thanks Mattia!
FEDORA-2024-e75b0f4ff9 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-e75b0f4ff9` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-e75b0f4ff9 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Thanks folks, fix works for me! Much appreciated :)
FEDORA-2024-e75b0f4ff9 (libreoffice-24.8.1.2-2.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.