[OE-core] [PATCH] python2: Add PACKAGECONFIG for tkinter to support tk from meta-oe

Jate S jatedev at gmail.com
Mon Jul 14 17:58:26 UTC 2014


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.

In PACKAGECONFIG[*], items three and four are the DEPENDS and RDEPENDS,
respectively. They are only added to the python DEPENDS/RDEPENDS when the
user adds tkinter to the PACKAGECONFIG value.

This thread contains more discussion:

https://lists.yoctoproject.org/pipermail/yocto/2014-July/thread.html#20415

- Jate S.



On Mon, Jul 14, 2014 at 11:31 AM, Enrico Scholz <
enrico.scholz at sigma-chemnitz.de> wrote:

> Jate Sujjavanich <jatedev-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
> writes:
>
> > +PACKAGECONFIG[tkinter] = ",,tk,tk tk-lib"
>
> What do you want to reach with this?  Afais, build is not more
> deterministic
> than before and requiring both 'tk' and 'tk-lib' when 'tkinter' is *not*
> enabled does not look sane to me either.
>
> You probably want something like
>
> | PACKAGECONFIG[tkinter]="--with-tkinter, --without-tkinter, tk tk-lib"
>
> although I do not know/checked whether '--with*-tkinter' is supported by
> python's configure script.
>
>
> Enrico
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140714/64eb2fa7/attachment-0002.html>


More information about the Openembedded-core mailing list