From 9d4a88d003fd1a4c8864d1470473ea7c90f5e6d7 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 21 Jul 2015 09:57:21 +0100 Subject: gtk+3: fix Wayland-only builds When configured with just the Wayland backend (no X11), not enough Pango headers were included. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-gnome/gtk+/gtk+3/wayland-pango.patch | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta/recipes-gnome/gtk+/gtk+3/wayland-pango.patch (limited to 'meta/recipes-gnome/gtk+/gtk+3') diff --git a/meta/recipes-gnome/gtk+/gtk+3/wayland-pango.patch b/meta/recipes-gnome/gtk+/gtk+3/wayland-pango.patch new file mode 100644 index 0000000000..1d6f12b452 --- /dev/null +++ b/meta/recipes-gnome/gtk+/gtk+3/wayland-pango.patch @@ -0,0 +1,28 @@ +Upstream-Status: Backport +Signed-off-by: Ross Burton + +From 802b006b3768ddc8c8cdf0af27428e7042c36509 Mon Sep 17 00:00:00 2001 +From: nick +Date: Mon, 29 Jun 2015 20:37:26 +0100 +Subject: settings: Include pangofc-fontmap.h header on Wayland + +In case the X11 backend is not enabled, we still need to include the +pangofc-fontmap.h header file, as we use the Pango/FontConfig API in +both the X11 and Wayland case. + +https://bugzilla.gnome.org/show_bug.cgi?id=751625 + +diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c +index 327faf5..a40cb84 100644 +--- a/gtk/gtksettings.c ++++ b/gtk/gtksettings.c +@@ -41,6 +41,7 @@ + + #ifdef GDK_WINDOWING_WAYLAND + #include "wayland/gdkwayland.h" ++#include + #endif + + #ifdef GDK_WINDOWING_BROADWAY +-- +cgit v0.10.2 -- cgit 1.2.3-korg