Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902031 - app-office/libreoffice add gtk4
Summary: app-office/libreoffice add gtk4
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-03-18 11:40 UTC by jospezial
Modified: 2024-02-21 23:24 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gtk4 patch for libreoffice-9999.ebuild (libreoffice-9999.ebuild_gtk4_git.patch,2.11 KB, patch)
2024-02-21 23:23 UTC, jospezial
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.