Bug 277449

Summary: x11/hyprpicker: depends on GLES3/gl32.h
Product: Ports & Packages Reporter: Elena <nelle>
Component: Individual Port(s)Assignee: Jan Beich <jbeich>
Status: Closed FIXED    
Severity: Affects Only Me Flags: jbeich: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/hyprwm/hyprpicker/commit/2ef703474fb9
Bug Depends on:    
Bug Blocks: 271319    

Description Elena 2024-03-03 11:39:13 UTC
PR/271319 applied to ports 5975598d8325

In file included from /wrkdirs/usr/ports/x11/hyprpicker/work/hyprpicker-0.2.0/src/clipboard/Clipboard.cpp:3:
/wrkdirs/usr/ports/x11/hyprpicker/work/hyprpicker-0.2.0/src/clipboard/../includes.hpp:30:10: fatal error: 'GLES3/gl32.h' file not found
   30 | #include <GLES3/gl32.h>
      |          ^~~~~~~~~~~~~~
1 error generated.

See https://github.com/hyprwm/hyprpicker/commit/2ef703474fb9
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-03-03 18:52:56 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a170bb5d71597ba851ec31dbc0a4a98fe8f6d4d9

commit a170bb5d71597ba851ec31dbc0a4a98fe8f6d4d9
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-03-03 11:39:13 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-03-03 18:51:44 +0000

    x11/hyprpicker: unbreak build without libglvnd

    In file included from src/main.cpp:5:
    In file included from src/hyprpicker.hpp:3:
    In file included from src/defines.hpp:5:
    src/includes.hpp:30:10: fatal error: 'GLES3/gl32.h' file not found
     #include <GLES3/gl32.h>
              ^~~~~~~~~~~~~~

    PR:             277449
    Reported by:    Elena

 x11/hyprpicker/Makefile | 3 +++
 1 file changed, 3 insertions(+)
Comment 2 Jan Beich freebsd_committer freebsd_triage 2024-03-03 18:55:47 UTC
Thanks. Landed. libglvnd isn't really used according to -Wl,--as-needed.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-03-03 18:57:59 UTC
A commit in branch 2024Q1 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1ba82860b67857ecf14dc68354e53d91ed5da3a6

commit 1ba82860b67857ecf14dc68354e53d91ed5da3a6
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-03-03 11:39:13 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-03-03 18:57:17 +0000

    x11/hyprpicker: unbreak build without libglvnd

    In file included from src/main.cpp:5:
    In file included from src/hyprpicker.hpp:3:
    In file included from src/defines.hpp:5:
    src/includes.hpp:30:10: fatal error: 'GLES3/gl32.h' file not found
     #include <GLES3/gl32.h>
              ^~~~~~~~~~~~~~

    PR:             277449
    Reported by:    Elena

    (cherry picked from commit a170bb5d71597ba851ec31dbc0a4a98fe8f6d4d9)

 x11/hyprpicker/Makefile | 3 +++
 1 file changed, 3 insertions(+)