Bug 1227145 - libreoffice pulls extra dependencies
Summary: libreoffice pulls extra dependencies
Status: RESOLVED FIXED
: 1227246 (view as bug list)
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: LibreOffice (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal with 10 votes (vote)
Target Milestone: ---
Assignee: Martin Schreiner
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-28 03:59 UTC by Dead Mozay
Modified: 2024-07-15 17:30 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dead Mozay 2024-06-28 03:59:58 UTC
When installing libreoffice in an environment other than plasma, for example GNOME, the libreoffice-qt6 package is installed, which brings with it half of the plasma6 environment
Comment 1 Brandon Bigam 2024-06-29 18:12:51 UTC
I came here to report this and see it already here. 

Specifically, package libreoffice-24.2.4.2-3.1 unconditionally recommends libreoffice-qt6. This package depends on various KDE libraries, and, through the chain of recommends, brings in quite a lot of KDE, which isn't needed or helpful outside of an (intentional) KDE Plasma setup. In my case, it's in Xfce, and I'm glad I noticed before all those KDE packages were pulled in.

This would affect a great many people as they update libreoffice with recommends from DEs other than Plasma, so I suggest changing the dependencies quickly. However it worked with libreoffice-qt5 seemed to be fine.
Comment 2 hui 2024-07-01 18:00:34 UTC
*** Bug 1227246 has been marked as a duplicate of this bug. ***
Comment 3 Martin Schreiner 2024-07-03 21:36:45 UTC
Fix forwarded to openSUSE:Factory:

https://build.opensuse.org/request/show/1185243
Comment 4 Dead Mozay 2024-07-09 02:52:04 UTC
(In reply to Martin Schreiner from comment #3)
> Fix forwarded to openSUSE:Factory:
> 
> https://build.opensuse.org/request/show/1185243

Now the libreoffice-qt5 package is forcibly installed, and now it drags the KF5 and KF6 libraries with it.
Comment 5 Hunter Wardlaw 2024-07-09 12:40:27 UTC
(In reply to Dead Mozay from comment #4)
> (In reply to Martin Schreiner from comment #3)
> > Fix forwarded to openSUSE:Factory:
> > 
> > https://build.opensuse.org/request/show/1185243
> 
> Now the libreoffice-qt5 package is forcibly installed, and now it drags the
> KF5 and KF6 libraries with it.

Can confirm.
Comment 6 Martin Schreiner 2024-07-10 23:32:44 UTC
Ok, I've removed the recommendation on libreoffice-qt5, which was already there, and forwarded it to openSUSE:Factory:

https://build.opensuse.org/request/show/1186714
Comment 7 Martin Schreiner 2024-07-15 17:30:11 UTC
Ok, this should be fixed on Tumbleweed with the 24.2.5.2 release.
libreoffice no longer recommends libreoffice-qt5 or libreoffice-qt6.