Summary: | Enable LibreOffice to be built on Wayland without X11 | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Philipp Ammann <philipp.ammann> |
Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | 79045_79045, eddiecarswell13, fe, jan.public, m.weghorn |
Priority: | medium | Keywords: | needsDevEval |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 100156 |
Description
Philipp Ammann
2021-12-09 20:03:42 UTC
we need a way in configure to disable the "gen" generic vclplug which needs X, and then there are some assumptions that not "using_x11" means "no gui" which is a different sort of thing of course. We do use cairo in a any case, and in my distro (fedora) the system libcairo.so links to x11 so x11 gets linked in eventually even if we don't use it, but that's just an aside Adding my vote to this bug. I too use Gentoo Linux. For me, LO is one of two packages blocking the complete removal of X11 (the other being xdg-utils). A cursory audit of libreoffice-7.5.3.2 shared objects shows the following hard links to X11 libraries: File: /usr/lib64/libreoffice/program/libdesktop_detectorlo.so 0x0000000000000001 (NEEDED) Shared library: [libX11.so.6] File: /usr/lib64/libreoffice/program/libmergedlo.so 0x0000000000000001 (NEEDED) Shared library: [libX11.so.6] 0x0000000000000001 (NEEDED) Shared library: [libXext.so.6] File: /usr/lib64/libreoffice/program/libvclplug_genlo.so 0x0000000000000001 (NEEDED) Shared library: [libXrender.so.1] 0x0000000000000001 (NEEDED) Shared library: [libX11.so.6] 0x0000000000000001 (NEEDED) Shared library: [libXext.so.6] 0x0000000000000001 (NEEDED) Shared library: [libXrandr.so.2] 0x0000000000000001 (NEEDED) Shared library: [libXinerama.so.1] File: /usr/lib64/libreoffice/program/libvclplug_gtk3lo.so 0x0000000000000001 (NEEDED) Shared library: [libX11.so.6] I presume libvclplug_genlo.so is the "gen" VCL plugin mentioned previously. I understand why that needs X11. I presume libvclplug_gtk3lo.so is the "gtk3" VCL plugin. In principle there is no reason why that needs X11. I have built libcairo.so, libepoxy.so, and libgtk-3.so without X11 support. Happily, LO will still run without an X11 server running. I was able to build on gentoo without the X11 libs using --without-x and --disable-randr, however when running, I get "no suitable windowing system found, exiting." |