From a8b6adefb99bff3cf95b8d28183eff2eabd66b47 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Mon, 2 Oct 2023 19:03:05 +0200 Subject: [PATCH] hyprland: Add backport patch to fix desktop portals --- ...rnal-Add-GTK-portal-as-fallback-3469.patch | 23 +++++++++++++++++++ recipes-wlroots/hyprland/hyprland_git.bb | 1 + 2 files changed, 24 insertions(+) create mode 100644 recipes-wlroots/hyprland/hyprland/0001-internal-Add-GTK-portal-as-fallback-3469.patch diff --git a/recipes-wlroots/hyprland/hyprland/0001-internal-Add-GTK-portal-as-fallback-3469.patch b/recipes-wlroots/hyprland/hyprland/0001-internal-Add-GTK-portal-as-fallback-3469.patch new file mode 100644 index 0000000..d7259f0 --- /dev/null +++ b/recipes-wlroots/hyprland/hyprland/0001-internal-Add-GTK-portal-as-fallback-3469.patch @@ -0,0 +1,23 @@ +From 778bdf730ff957521cc114d170bc82fc44b8be22 Mon Sep 17 00:00:00 2001 +From: gnusenpai +Date: Mon, 2 Oct 2023 09:51:15 +0000 +Subject: [PATCH 1/7] internal: Add GTK portal as fallback (#3469) + +needed for XDP 1.17+ since the fallback to the GTK portal was removed +--- + assets/hyprland-portals.conf | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/assets/hyprland-portals.conf b/assets/hyprland-portals.conf +index 2ec1f0de..da8b5db0 100644 +--- a/assets/hyprland-portals.conf ++++ b/assets/hyprland-portals.conf +@@ -1,2 +1,2 @@ + [preferred] +-default=hyprland +\ No newline at end of file ++default=hyprland;gtk +\ No newline at end of file +-- +2.42.0 + diff --git a/recipes-wlroots/hyprland/hyprland_git.bb b/recipes-wlroots/hyprland/hyprland_git.bb index 3f77445..bffbc79 100644 --- a/recipes-wlroots/hyprland/hyprland_git.bb +++ b/recipes-wlroots/hyprland/hyprland_git.bb @@ -36,6 +36,7 @@ RRECOMMENDS:${PN} ?= " \ SRC_URI = " \ gitsm://github.com/hyprwm/Hyprland.git;protocol=https;branch=main \ file://meson-build.patch \ + file://0001-internal-Add-GTK-portal-as-fallback-3469.patch \ " SRCREV = "1b48642fd15c433c53876f1b933dcd46265caf8f"