Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924299 - app-office/libreoffice-bin: Remove mandatory X requirements
Summary: app-office/libreoffice-bin: Remove mandatory X requirements
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-11 15:32 UTC by gentoo
Modified: 2024-02-15 20:56 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2024-02-11 15:32:23 UTC
Libreoffice-bin and Libreoffice depends on

- virtual/opengl which pulls in mesa[X]
- x11-libs/cairo[X]
- >=media-libs/libepoxy-1.3.1[X]
- gtk flag depends on 
  - x11-libs/gtk+:3[X]

Those running wayland only with no X are unable to install without adding the extra X flag to:

- media-libs/libepoxy
- x11-libs/cairo
- x11-libs/gtk+
- media-libs/libglvnd
- media-libs/mesa

There is a bug here: https://bugs.gentoo.org/890334 for virtual/opengl which looks like it is deprecated. 

And a write up here: https://wiki.gentoo.org/wiki/User:ManDay/Deprecating_the_virtual_OpenGL_ebuild

I am able to install and run LibreOffice after modifying the ebuild and removing the X requirements. 

Can the requirements for X be put under a X use flag instead?




Reproducible: Always

Steps to Reproduce:
1.Install libreoffice-bin on wayland only system with -X globally
2.
3.
Actual Results:  
The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by x11-libs/gtk+-3.24.41::gentoo
# required by app-office/libreoffice-bin-7.5.6.2-r1::gentoo[-kde]
# required by @selected
# required by @world (argument)
>=media-libs/libepoxy-1.5.10-r2 X
# required by x11-libs/gtk+-3.24.41::gentoo
# required by app-office/libreoffice-bin-7.5.6.2-r1::gentoo[-kde]
# required by @selected
# required by @world (argument)
>=x11-libs/cairo-1.18.0 X
# required by app-office/libreoffice-bin-7.5.6.2-r1::gentoo[-kde]
# required by @selected
# required by @world (argument)
>=x11-libs/gtk+-3.24.41 X
# required by media-libs/mesa-24.0.0::gentoo
# required by media-libs/libepoxy-1.5.10-r2::pg_overlay[egl]
# required by x11-libs/gtk+-3.24.41::gentoo
# required by app-office/libreoffice-bin-7.5.6.2-r1::gentoo[-kde]
# required by @selected
# required by @world (argument)
>=media-libs/libglvnd-1.7.0 X
# required by virtual/opengl-7.0-r2::gentoo
# required by app-office/libreoffice-bin-7.5.6.2-r1::gentoo
# required by @selected
# required by @world (argument)
>=media-libs/mesa-24.0.0 X

Expected Results:  
Installs without X requirements.