[Bug 1218422] New: Can't build hyprland plugins due to improper header locations
https://bugzilla.suse.com/show_bug.cgi?id=1218422 Bug ID: 1218422 Summary: Can't build hyprland plugins due to improper header locations Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: screening-team-bugs@suse.de Reporter: johndoe1352460@outlook.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- I cannot build the plugins for Hyprland due to the improper locations of headers. When building hyprbars for hyprland it expects <wlr/util/transform.h> but the full path of the file is /usr/include/hyprland/wlroots. I'm guessing it expects it to be /usr/include/hyprland/wlr with the pkgconfig parameter inclduing -I/usr/include/hyprland What I did to fix this issue is create a symlink /usr/include/hyprland/wlr that points to /usr/include/hyprland/wlroots and add -I${includedir}/hyprland to the cflags in /usr/share/pkgconfig/hyprland.pc After I do that the hyprbars plugin builds just fine. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1218422 https://bugzilla.suse.com/show_bug.cgi?id=1218422#c1 --- Comment #1 from John Doe <johndoe1352460@outlook.com> --- This includes all the necessary changes to the Makefile and meson.build so that pkgconfig properly references all the headers needed to build hyprbars. This is not similar to Bug 1218411 because I updated "pkgconfig --cflags" with all the relevant development headers. I had to manually adjust /usr/share/pkgconfig/hyprland.pc with the proper location of the headers and symlink the needed directory as stated above in order to get it to build -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1218422 https://bugzilla.suse.com/show_bug.cgi?id=1218422#c2 John Doe <johndoe1352460@outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |UPSTREAM Status|NEW |RESOLVED --- Comment #2 from John Doe <johndoe1352460@outlook.com> --- upstream issue -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1218422 https://bugzilla.suse.com/show_bug.cgi?id=1218422#c3 John Doe <johndoe1352460@outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|UPSTREAM |--- --- Comment #3 from John Doe <johndoe1352460@outlook.com> --- Could be fixed though on openSUSE's end possibly in the meantime while waiting for upstream to fix it -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1218422 https://bugzilla.suse.com/show_bug.cgi?id=1218422#c4 John Doe <johndoe1352460@outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW --- Comment #4 from John Doe <johndoe1352460@outlook.com> --- Can confirm this is an opensuse issue. There is no wlr directory where it should be. On other distros like Fedora or Arch, there is a directory in /usr/include/hyprland/wlroots called "wlr" while the opensuse package of hyprland-devel does not have this. This causes the headers that are needed to build the plugin to be not found, Link to show the files in the packages https://archlinux.org/packages/extra/x86_64/hyprland/ https://packages.fedoraproject.org/pkgs/hyprland/hyprland-devel/fedora-rawhi... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1218422 Andreas Stieger <Andreas.Stieger@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |packaging@sp1rit.anonaddy.m | |e -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1218422 https://bugzilla.suse.com/show_bug.cgi?id=1218422#c5 Michael K <f4tmike@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |f4tmike@web.de --- Comment #5 from Michael K <f4tmike@web.de> --- Me too. hyprctl version doesn't show anything btw.: Hyprland, built from branch at commit dirty (). Date: Tag: flags: (if any) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1218422 https://bugzilla.suse.com/show_bug.cgi?id=1218422#c6 Tom Mayr <bloxblox@arcor.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bloxblox@arcor.de --- Comment #6 from Tom Mayr <bloxblox@arcor.de> --- Same here for hyprland 0.39.1-52.3 hyprctl -j version { "branch": "", "commit": "", "dirty": true, "commit_message": "" "commit_date": "", "tag": "", "commits": , "flags": [] } -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1218422 Pythe Lee <pythonian23@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pythonian23@gmail.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com