Bug 1227145

Summary: libreoffice pulls extra dependencies
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dead Mozay <dead_mozay>
Component: LibreOfficeAssignee: Martin Schreiner <martin.schreiner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: brbigam, dead_mozay, wardlawhunter
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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.