From: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
To: Jate S <jatedev@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] python2: Add PACKAGECONFIG for tkinter to support tk from meta-oe
Date: Mon, 14 Jul 2014 20:32:11 +0200 [thread overview]
Message-ID: <lylhrviyfo.fsf@ensc-virt.intern.sigma-chemnitz.de> (raw)
In-Reply-To: <CAPphmgYUX828A=6SayztArEdU9L-=Hhfkw2w3mRw1ka_AmCWsw@mail.gmail.com> (Jate S.'s message of "Mon, 14 Jul 2014 13:58:26 -0400")
Jate S <jatedev@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
next prev parent reply other threads:[~2014-07-14 18:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-14 14:46 [PATCH] python2: Add PACKAGECONFIG for tkinter to support tk from meta-oe Jate Sujjavanich
2014-07-14 15:31 ` Enrico Scholz
2014-07-14 17:58 ` Jate S
2014-07-14 18:32 ` Enrico Scholz [this message]
2014-07-21 1:01 ` Jate S
2014-07-21 3:08 ` Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=lylhrviyfo.fsf@ensc-virt.intern.sigma-chemnitz.de \
--to=enrico.scholz@sigma-chemnitz.de \
--cc=jatedev@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox