Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947781 - [guru] gui-apps/hyprlock-0.5.0-r1: missing dependency
Summary: [guru] gui-apps/hyprlock-0.5.0-r1: missing dependency
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: AMD64 Linux
: Normal minor
Assignee: Gonçalo Negrier Duarte
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-09 16:20 UTC by Shusuke Takahashi
Modified: 2025-01-13 11:38 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,63.58 KB, text/x-log)
2025-01-09 16:20 UTC, Shusuke Takahashi
Details
build.log (build.log,4.13 KB, text/x-log)
2025-01-09 16:24 UTC, Shusuke Takahashi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shusuke Takahashi 2025-01-09 16:20:56 UTC
Created attachment 916191 [details]
build.log

media-libs/libglvnd[X] is required to build gui-apps/hyprlock-0.5.0 but is missing from the DEPEND field in the ebuild.

In CMakeLists.txt, OpenGL is marked as REQUIRED, which makes libGLX an implicit requirement. However, libGLX is only provided by libglvnd when the X USE flag is enabled. The current ebuild for hyprlock does not ensure that libglvnd is built with the X flag, even when considering transitive dependencies.

This can result in configuration errors during the build process. 

Since most users  enable the X flag for libglvnd to build other packages like qtgui or xwayland, I have marked the priority of this issue as minor.
Comment 1 Shusuke Takahashi 2025-01-09 16:24:35 UTC
Created attachment 916192 [details]
build.log

Re-uploading the correct one.
Comment 2 Larry the Git Cow gentoo-dev 2025-01-13 11:38:28 UTC
The bug has been closed via the following commit(s):

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

commit f5d2477431bceb7f540b8c9c63649b7892587cdd
Author:     Takuya Wakazono <pastalian46@gmail.com>
AuthorDate: 2025-01-13 08:30:49 +0000
Commit:     Takuya Wakazono <pastalian46@gmail.com>
CommitDate: 2025-01-13 08:30:49 +0000

    gui-apps/hyprlock: add 0.6.0
    
    Closes: https://bugs.gentoo.org/947781
    Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>

 gui-apps/hyprlock/Manifest                         |  1 +
 .../hyprlock-0.6.0-explicitly-require-gles3.patch  | 37 +++++++++++++++
 gui-apps/hyprlock/hyprlock-0.6.0.ebuild            | 54 ++++++++++++++++++++++
 3 files changed, 92 insertions(+)