]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
python3: make tkinter available when enabled
authorMingli Yu <mingli.yu@windriver.com>
Tue, 22 Nov 2022 13:38:02 +0000 (21:38 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 22 Nov 2022 22:39:35 +0000 (22:39 +0000)
After Python upgrade to 3.11, it requires pkg-config to detect
tcl and tk when configure tkinter, so add tcl depends to fix
below error.

| The necessary bits to build these optional modules were not found:
| _tkinter

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-devtools/python/python3/python3-manifest.json
meta/recipes-devtools/python/python3_3.11.0.bb

index 64203cf0fc5859c4a48c841847e064ed5cb8b907..58e6f28a692eed93f020c559b8ec523d5f276a0e 100644 (file)
             "core"
         ],
         "files": [
+            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_tkinter.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/tkinter"
         ],
         "cached": []
index 93628c76ff70c39028f610344abfe8df157632c6..16a9e04cc9082d19b3e1c323f7fe4c283137b3ee 100644 (file)
@@ -107,6 +107,7 @@ PACKAGECONFIG[editline] = "--with-readline=editline,,libedit,,,readline"
 # Use profile guided optimisation by running PyBench inside qemu-user
 PACKAGECONFIG[pgo] = "--enable-optimizations,,qemu-native"
 PACKAGECONFIG[tk] = ",,tk"
+PACKAGECONFIG[tcl] = ",,tcl"
 PACKAGECONFIG[gdbm] = ",,gdbm"
 PACKAGECONFIG[lto] = "--with-lto,,"