hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
21.12k stars 884 forks source link

hyprpm: wlr includes completely broken #6044

Closed zakk4223 closed 4 months ago

zakk4223 commented 5 months ago

Hyprland Version

System/Version info ```sh Hyprland, built from branch at commit 33a7b7bb6b307d6e4a093f75ffdda0419cd7ffaf (core: fix on-empty workspace being called too often (6026)). Date: Sat May 11 19:03:32 2024 Tag: v0.40.0-65-g33a7b7bb, commits: 4671 flags: (if any) System Information: System name: Linux Node name: blkheart Release: 6.8.9-zen1-1-zen Version: #1 ZEN SMP PREEMPT_DYNAMIC Thu, 02 May 2024 17:48:53 +0000 GPU information: 0d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c0) (prog-if 00 [VGA controller]) os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo plugins: XWayland Primary Display by Zakk ver 1.0 N_Stack layout by Zakk ver 1.0 hyprsplit by shezdy ver 1.0 River Layout by Zakk ver 1.0 Monocle layout by Zakk ver 1.0 hypreasymotion by Zakk ver 1.0 Workspace layouts by Zakk ver 1.0 ```

Bug or Regression?

Bug

Description

Commit in the systeminfo output is the commit where it still works.

Something after 33a7b7b broke hyprpm. I'd paste an output but it's 200+ lines of recursive include errors

I think it was the changes to makefile/pkg-config to 'fix wlr dir'. After these changes there is a headersRoot/include/hyprland/wlr directory, which also contains a 'wlr' directory.

All the include files in the top wlr directory (like wlr/types/wlr_keyboard.h) have an #include <wlr/types/wlr_keyboard.h>. I assume they really want to include wlr/wlr/types/include.h but are instead including themselves infinitely.

How to reproduce

Use hyprpm

Crash reports, logs, images, videos

No response

vaxerski commented 5 months ago

@fufexan