[OE-core] [PATCH] python2: Add PACKAGECONFIG for tkinter to support tk from meta-oe
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Mon Jul 14 18:32:11 UTC 2014
Jate S <jatedev at gmail.com> writes:
> Python 2.7.x does not use an explicit configure option for tk support.
> Instead, it tries to detect the tk and tcl libraries before compiling
> python-tkinter.
Your patch does not solve the issue of non-deterministic builds. When
tk was added by some other way, python will get tkinter support although
PACKAGECONFIG was not set.
An idea to make build deterministic might be patching of detect_modules()
in setup.py to add disabled modules to 'missing'. E.g.
| missing.append('_tkinter')
|
|+ missing.extend(os.environ('OE_HACK_MISSING').split())
| return missing
Probably there are better/cleaner ways but I am not familar with python
distutils.
Enrico
More information about the Openembedded-core
mailing list