From 8b7c98e0e0ae4718ed56500f913ca886df5a883d Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Wed, 14 Nov 2018 17:38:16 +0800 Subject: python: add tk support Add support to enable tk via PACKGECONFIG. before the patch: # python Python 2.7.15 (default, Nov 8 2018, 04:53:50) [GCC 8.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import Tkinter Traceback (most recent call last): File "", line 1, in File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 39, in import _tkinter # If this fails your Python may not be configured for Tk ImportError: No module named _tkinter >>> After the patch, if enable tk in PACKGECONFIG, then # python Python 2.7.15 (default, Oct 25 2018, 08:12:45) [GCC 8.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import Tkinter >>> (From OE-Core rev: 26b2702475697c123937d237e00c34eb2216b5ea) Signed-off-by: Mingli Yu Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python/python2-manifest.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/recipes-devtools/python/python') diff --git a/meta/recipes-devtools/python/python/python2-manifest.json b/meta/recipes-devtools/python/python/python2-manifest.json index 260fa6f80d..a9f392475c 100644 --- a/meta/recipes-devtools/python/python/python2-manifest.json +++ b/meta/recipes-devtools/python/python/python2-manifest.json @@ -966,6 +966,7 @@ "core" ], "files": [ + "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_tkinter.so", "${libdir}/python2.7/lib-tk" ] }, @@ -1043,4 +1044,4 @@ "${libdir}/python2.7/lib-dynload/zlib.so" ] } -} \ No newline at end of file +} -- cgit v1.2.3-54-g00ecf