Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945878 - gui-apps/nwg-dock-hyprland fails if x11-libs/gtk+ is build with USE=-X
Summary: gui-apps/nwg-dock-hyprland fails if x11-libs/gtk+ is build with USE=-X
Status: UNCONFIRMED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Pascal Jäger
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-04 21:21 UTC by r7l
Modified: 2024-12-05 08:19 UTC (History)
0 users

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 r7l 2024-12-04 21:21:26 UTC
When building x11-libs/gtk+ with USE="-X" it not install GDK and cause the following error:

../go-mod/github.com/gotk3/gotk3@v0.6.5-0.20240618185848-ff349ae13f56/gdk/screen_x11.go:7:11: fatal error: gdk/gdkx.h: No such file or directory
    7 | // #include <gdk/gdkx.h>
      |           ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:11: build] Error 1

Once building with USE="X", it will install the missing GDK files and nwg-dock-hyprland will build.

The gui-apps/nwg-dock-hyprland Ebuild should force users to build with X to avoid this issue.

Reproducible: Always

Steps to Reproduce:
1. USE="-X" emerge -1 --nodeps x11-libs/gtk+
2. emerge gui-apps/nwg-dock-hyprland
3. see error