From 4f9bdde4abe48012afa649d8eb0786e9b6dbea5b Mon Sep 17 00:00:00 2001 From: "alan (NyxTrail)" Date: Fri, 2 Feb 2024 09:57:55 +0000 Subject: [PATCH] Use system version of hyprland-protocols Patched CMakeLists.txt so that the system version of hyprland-protocols is used. --- .../patches/003-use-system-hyprland-protocols.patch | 13 +++++++++++++ debian/patches/series | 1 + 2 files changed, 14 insertions(+) create mode 100644 debian/patches/003-use-system-hyprland-protocols.patch diff --git a/debian/patches/003-use-system-hyprland-protocols.patch b/debian/patches/003-use-system-hyprland-protocols.patch new file mode 100644 index 0000000..86f1bbb --- /dev/null +++ b/debian/patches/003-use-system-hyprland-protocols.patch @@ -0,0 +1,13 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -231,8 +231,8 @@ + protocol("protocols/wlr-layer-shell-unstable-v1.xml" "wlr-layer-shell-unstable-v1" true) + protocol("protocols/wlr-output-power-management-unstable-v1.xml" "wlr-output-power-management-unstable-v1" true) + protocol("protocols/wlr-screencopy-unstable-v1.xml" "wlr-screencopy-unstable-v1" true) +-protocol("subprojects/hyprland-protocols/protocols/hyprland-global-shortcuts-v1.xml" "hyprland-global-shortcuts-v1" true) +-protocol("subprojects/hyprland-protocols/protocols/hyprland-toplevel-export-v1.xml" "hyprland-toplevel-export-v1" true) ++protocol("/usr/share/hyprland-protocols/protocols/hyprland-global-shortcuts-v1.xml" "hyprland-global-shortcuts-v1" true) ++protocol("/usr/share/hyprland-protocols/protocols/hyprland-toplevel-export-v1.xml" "hyprland-toplevel-export-v1" true) + protocol("stable/xdg-shell/xdg-shell.xml" "xdg-shell" false) + protocol("unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml" "linux-dmabuf-unstable-v1" false) + protocol("unstable/xdg-output/xdg-output-unstable-v1.xml" "xdg-output-unstable-v1" false) diff --git a/debian/patches/series b/debian/patches/series index f97abf6..36493cb 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ 000-destdir.patch 001-move-libwlroots-to-hyprland-location.patch 002-disable-udis86.patch +003-use-system-hyprland-protocols.patch