Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931499 - gui-apps/eww dependency on gui-libs/gtk-layer-shell should be conditional to USE=wayland.
Summary: gui-apps/eww dependency on gui-libs/gtk-layer-shell should be conditional to ...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-07 14:23 UTC by Willy
Modified: 2024-05-10 00:33 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 Willy 2024-05-07 14:23:01 UTC
gui-apps/eww dependency on gui-libs/gtk-layer-shell should be conditional to USE=wayland.

According to the eww repo, gtk-layer-shell is only required on wayland, so the ebuild should have a condition on the wayland USE flag.

https://github.com/elkowar/eww/blob/d1fde927d2799211f791e7ea01cffb667c4f2b60/docs/src/eww.md?plain=1#L29

-gui-libs/gtk-layer-shell
+wayland? ( gui-libs/gtk-layer-shell )
Comment 1 Lucio Sauer 2024-05-08 17:59:33 UTC
That's correct! I pushed a fix to ::guru. It should land in the main branch soon :)
Comment 2 Larry the Git Cow gentoo-dev 2024-05-10 00:33:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=66cc8d0489e2a392560b0c2ca61b77c9f1e3ff91

commit 66cc8d0489e2a392560b0c2ca61b77c9f1e3ff91
Author:     Lucio Sauer <watermanpaint@posteo.net>
AuthorDate: 2024-05-08 15:47:13 +0000
Commit:     Lucio Sauer <watermanpaint@posteo.net>
CommitDate: 2024-05-08 17:55:18 +0000

    gui-apps/eww: update dependencies
    
    Dep on gui-libs/gtk-layer-shell is indeed conditional on USE=wayland
    
    pkgconf expects x11-base/xorg-proto to be present at build-time --
    independently of x11-libs/gtk+:3[+-X] -- even though the headers never
    get included :/
    
    Closes: https://bugs.gentoo.org/931499
    Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>

 .../{eww-0.5.0-r3.ebuild => eww-0.5.0-r4.ebuild}   | 24 ++++++++++++++--------
 1 file changed, 15 insertions(+), 9 deletions(-)