summaryrefslogtreecommitdiff
path: root/lxde-layer
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2016-08-09 16:10:08 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2016-09-29 20:40:31 +0200
commitd39ef0deb859e3746647f8afd6e41e8d7ab46c23 (patch)
tree915a0e2ffe0d01ea49b348bcd7c0416a83abc60c /lxde-layer
parentc2c082217a2123fca7bbd3806e1e6f9ee9db34ff (diff)
lxde layer bbappends
Move the appends on recipe's which are not in an essential required layer into a target layer specific directory and add them only if said layer is active in build/conf/bblayers.conf. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'lxde-layer')
-rw-r--r--lxde-layer/recipes-lxde/lxterminal/files/fix_garbled_titlebar.patch11
-rw-r--r--lxde-layer/recipes-lxde/lxterminal/lxterminal_%.bbappend5
2 files changed, 16 insertions, 0 deletions
diff --git a/lxde-layer/recipes-lxde/lxterminal/files/fix_garbled_titlebar.patch b/lxde-layer/recipes-lxde/lxterminal/files/fix_garbled_titlebar.patch
new file mode 100644
index 0000000..5dcd195
--- /dev/null
+++ b/lxde-layer/recipes-lxde/lxterminal/files/fix_garbled_titlebar.patch
@@ -0,0 +1,11 @@
+--- lxterminal-0.1.11/src/lxterminal.c.orig 2013-04-02 12:58:03.985684096 +0200
++++ lxterminal-0.1.11/src/lxterminal.c 2013-04-02 12:56:58.336136155 +0200
+@@ -1220,7 +1220,7 @@
+ if (visual != NULL)
+ gtk_widget_set_visual(terminal->window, visual);
+ #else
+- GdkColormap *colormap = gdk_screen_get_rgba_colormap(gtk_widget_get_screen(GTK_WIDGET(terminal->window)));
++ GdkColormap *colormap = gdk_colormap_get_system();
+ if (colormap != NULL)
+ gtk_widget_set_colormap(terminal->window, colormap);
+ #endif
diff --git a/lxde-layer/recipes-lxde/lxterminal/lxterminal_%.bbappend b/lxde-layer/recipes-lxde/lxterminal/lxterminal_%.bbappend
new file mode 100644
index 0000000..1cc9cf1
--- /dev/null
+++ b/lxde-layer/recipes-lxde/lxterminal/lxterminal_%.bbappend
@@ -0,0 +1,5 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
+SRC_URI += " \
+ file://fix_garbled_titlebar.patch \
+"