commit: 14f26e09ebd50a2d6c2d55f8ebaf76b2d47861ea Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Jan 11 04:39:54 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Jan 11 05:14:16 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14f26e09
xfce-base/libxfce4windowing: Backport USE=-X build fix Closes: https://bugs.gentoo.org/890348 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> .../files/libxfce4windowing-4.19.1-no-x.patch | 25 ++++++++++++++++++++++ .../libxfce4windowing-4.19.1.ebuild | 4 ++++ 2 files changed, 29 insertions(+) diff --git a/xfce-base/libxfce4windowing/files/libxfce4windowing-4.19.1-no-x.patch b/xfce-base/libxfce4windowing/files/libxfce4windowing-4.19.1-no-x.patch new file mode 100644 index 000000000000..430d4f05f670 --- /dev/null +++ b/xfce-base/libxfce4windowing/files/libxfce4windowing-4.19.1-no-x.patch @@ -0,0 +1,25 @@ +From 19dde29828a6fbc49a3279f5b2943f0b87d54e25 Mon Sep 17 00:00:00 2001 +From: "Brian J. Tarricone" <br...@tarricone.org> +Date: Tue, 10 Jan 2023 20:26:27 -0800 +Subject: [PATCH] Fix Wayland-only build + +Closes #8 +--- + libxfce4windowing/libxfce4windowing-private.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libxfce4windowing/libxfce4windowing-private.c b/libxfce4windowing/libxfce4windowing-private.c +index 0d51c45..fc5a3c5 100644 +--- a/libxfce4windowing/libxfce4windowing-private.c ++++ b/libxfce4windowing/libxfce4windowing-private.c +@@ -24,6 +24,7 @@ + #include <libwnck/libwnck.h> + #include <gdk/gdkx.h> + #endif ++#include <gtk/gtk.h> + + #include "libxfce4windowing-private.h" + #include "xfw-util.h" +-- +GitLab + diff --git a/xfce-base/libxfce4windowing/libxfce4windowing-4.19.1.ebuild b/xfce-base/libxfce4windowing/libxfce4windowing-4.19.1.ebuild index 2b02ffb55a17..5caade99205f 100644 --- a/xfce-base/libxfce4windowing/libxfce4windowing-4.19.1.ebuild +++ b/xfce-base/libxfce4windowing/libxfce4windowing-4.19.1.ebuild @@ -38,6 +38,10 @@ BDEPEND=" ) " +PATCHES=( + "${FILESDIR}"/${P}-no-x.patch +) + src_configure() { local myconf=( $(use_enable introspection)