Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 902031

Summary: app-office/libreoffice add gtk4
Product: Gentoo Linux Reporter: jospezial <jospezial>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: UNCONFIRMED ---    
Severity: normal CC: fingerfehler, gentoo, jospezial, jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gtk4 patch for libreoffice-9999.ebuild

Description jospezial 2023-03-18 11:40:42 UTC
libreoffice has gtk4 support since some time. Please add it in the ebuilds.

gtk4 in IUSE

additional dependency:
gui-libs/gtk[X]

$(use_enable gtk4 gtk4)

Since about one year I don't have related build errors with enabled gtk4 (using libreoffice-9999).
Should be useable with all libreoffice ebuilds in Gentoo.


Next big thing will be --enable-qt6 at least when the kde ebuilds are ready for qt6.
Comment 1 Andy Pettinger 2024-02-03 08:47:08 UTC
A week ago the qt6 flag was added to 24.2 and 9999 ebuilds.


So it would be great to have parity and see the gtk4 flag enabled.
Comment 2 jospezial 2024-02-21 23:23:58 UTC
Created attachment 885660 [details, diff]
gtk4 patch for libreoffice-9999.ebuild

renamed gtk USEflag to gtk3, removed the "+"

configure.ac says "introspection" needs gtk3 enabled, so not for gtk4?

You can see what vclplugin is used in Help>about

Use for example "SAL_USE_VCLPLUGIN=gtk4 lowriter" to start with another.

If libreoffice is built without gtk,kde,qt vclplugins then it starts with the "gen" backend for x11.

We still need the ICU_74.1.patch for the live ebuild to compile.