summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gtk+/gtk+/0001-Do-not-look-into-HOME-when-looking-for-gtk-modules.patch
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-07-05 17:20:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-11 09:32:50 +0100
commitc9f400d639f9ed48f69b9b99883825fd8cc3b82c (patch)
treec8980fd5c6d10d313a50c6a1274e9b69007343ad /meta/recipes-gnome/gtk+/gtk+/0001-Do-not-look-into-HOME-when-looking-for-gtk-modules.patch
parent696cf580a57de6a0602b51d4a191d54bac901bdd (diff)
downloadpoky-c9f400d639f9ed48f69b9b99883825fd8cc3b82c.tar.gz
gtk+: remove GTK+ 2
GTK+ 2 is ancient, and shouldn't be used. It will be moved to meta-oe for people who do need it, but it shouldn't in oe-core. [ YOCTO #12673 ] (From OE-Core rev: 3c692e0d77e68908ab0ec421356bd4738c5327db) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gtk+/gtk+/0001-Do-not-look-into-HOME-when-looking-for-gtk-modules.patch')
-rw-r--r--meta/recipes-gnome/gtk+/gtk+/0001-Do-not-look-into-HOME-when-looking-for-gtk-modules.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/recipes-gnome/gtk+/gtk+/0001-Do-not-look-into-HOME-when-looking-for-gtk-modules.patch b/meta/recipes-gnome/gtk+/gtk+/0001-Do-not-look-into-HOME-when-looking-for-gtk-modules.patch
deleted file mode 100644
index 83be39c3bf..0000000000
--- a/meta/recipes-gnome/gtk+/gtk+/0001-Do-not-look-into-HOME-when-looking-for-gtk-modules.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From 34ce93e1c50bfb88f92a687d4f82de55584f3f6a Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 11 Apr 2018 14:20:39 +0300
4Subject: [PATCH] Do not look into $HOME when looking for gtk modules
5
6On the host it causes host contamination, on the target it's a
7potential security issue. Gtk+3 has already removed this.
8
9Upstream-Status: Inappropriate [gtk2 is in maintenance mode]
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11---
12 gtk/gtkmodules.c | 4 ----
13 1 file changed, 4 deletions(-)
14
15diff --git a/gtk/gtkmodules.c b/gtk/gtkmodules.c
16index 50729b6..e09b583 100644
17--- a/gtk/gtkmodules.c
18+++ b/gtk/gtkmodules.c
19@@ -65,10 +65,6 @@ get_module_path (void)
20 if (result)
21 return result;
22
23- home_dir = g_get_home_dir();
24- if (home_dir)
25- home_gtk_dir = g_build_filename (home_dir, ".gtk-2.0", NULL);
26-
27 module_path_env = g_getenv ("GTK_PATH");
28 exe_prefix = g_getenv ("GTK_EXE_PREFIX");
29