<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-oe/recipes-support/itstool, branch kirkstone</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=kirkstone</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=kirkstone'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2020-01-19T10:20:58+00:00</updated>
<entry>
<title>itstool: remove it lives in oe-core now</title>
<updated>2020-01-19T10:20:58+00:00</updated>
<author>
<name>Andreas Müller</name>
<email>schnitzeltony@gmail.com</email>
</author>
<published>2020-01-18T11:27:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=036dd85a86c60650c605b905a6291054f60a34ba'/>
<id>urn:sha1:036dd85a86c60650c605b905a6291054f60a34ba</id>
<content type='text'>
Signed-off-by: Andreas Müller &lt;schnitzeltony@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>itstool: rework native shebang and add class to make native itstool work</title>
<updated>2019-10-28T06:10:00+00:00</updated>
<author>
<name>Andreas Müller</name>
<email>schnitzeltony@gmail.com</email>
</author>
<published>2019-10-27T23:35:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=ccb810f34a7c413aad7921a4003ec5a2229b89a3'/>
<id>urn:sha1:ccb810f34a7c413aad7921a4003ec5a2229b89a3</id>
<content type='text'>
itstool was reworked in [1] to not use host's python. This patch introduced the
'-S' option for coreutils's env [2]. Unfortunately that option is relatively
young [3] and elder build-host don't support it [4].

The only way to get around this is:
* remove '-S' and -s' from native shebang
* add a class itstool.bbclass. This class depends itstool-native and creates a
  valid python3 runtime environment. Most notable in the environment is
  export PYTHONNOUSERSITE = "1"
  which does same as '-s' option: force python to avoid adding (host) user sites.

[1] http://cgit.openembedded.org/meta-openembedded/commit/meta-oe/recipes-support/itstool/itstool/0001-Don-t-use-build-time-hardcoded-python-binary-path.patch?id=e5ac325b7974a346b218d1f43b92d06f5b0dd078
[2] http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/itstool/itstool/0001-Don-t-use-build-time-hardcoded-python-binary-path.patch
[3] https://github.com/coreutils/coreutils/commit/668306ed86c8c79b0af0db8b9c882654ebb66db2#diff-83d9d52b1f12ac589739ab1334ae4f30
[4] https://errors.yoctoproject.org/Errors/Details/274743/

Signed-off-by: Andreas Müller &lt;schnitzeltony@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>itstool: upgrade 2.0.5 -&gt; 2.0.6</title>
<updated>2019-08-06T03:22:51+00:00</updated>
<author>
<name>Zang Ruochen</name>
<email>zangrc.fnst@cn.fujitsu.com</email>
</author>
<published>2019-08-06T02:53:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=47f3c8756c36d5eb9c301f192ea8fa5d5063d26d'/>
<id>urn:sha1:47f3c8756c36d5eb9c301f192ea8fa5d5063d26d</id>
<content type='text'>
Signed-off-by: Zang Ruochen &lt;zangrc.fnst@cn.fujitsu.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>itstool: Don't use hardcoded, absolute path to python3 binary.</title>
<updated>2019-07-29T00:11:17+00:00</updated>
<author>
<name>Piotr Tworek</name>
<email>tworaz@tworaz.net</email>
</author>
<published>2019-07-27T08:56:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=e5ac325b7974a346b218d1f43b92d06f5b0dd078'/>
<id>urn:sha1:e5ac325b7974a346b218d1f43b92d06f5b0dd078</id>
<content type='text'>
Unfortunately itstoll build system produces script file which contains
absolute path to python3 binary used during packaging. In case of OE
this refers to recipe-sysroot-native directory. This obviously make the
resulting script unusable for both target and native builds. This
problem was patched in OE using sed after the script file was installed.
The sed line replaced one absolute path with /usr/bin/python3. This
seems to work fine for target builds but is still not good enough for
native targets.s

The main problem with native builds is we can't mix host and OE provided
python3 when recipe using the tool inherits python3native bbclass. This
bbclass exports _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" which is
likely to break host python3.

To make sure itstool is usable on both build host and target replace
/usr/bin/python3 absolute path with /usr/bin/env python3.

Signed-off-by: Piotr Tworek &lt;tworaz@tworaz.net&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>itstool: use libxml2 to instead of python3-lxml</title>
<updated>2019-07-10T16:24:32+00:00</updated>
<author>
<name>Hongxu Jia</name>
<email>hongxu.jia@windriver.com</email>
</author>
<published>2019-06-27T09:20:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=c81f94a3c570200842b63756076b3763a8587858'/>
<id>urn:sha1:c81f94a3c570200842b63756076b3763a8587858</id>
<content type='text'>
Use libxml2 of oe-core to replace python3-lxml of meta-python
since meta-oe does not depend on meta-python

Set RDEPENDS_${PN}_class-native to fix `Missing or unbuildable
dependency chain was: ['meta-world-pkgdata', 'gnome-desktop3',
'itstool-native', 'libxml2-python-native']'

Apply changed from v3

Signed-off-by: Hongxu Jia &lt;hongxu.jia@windriver.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>itstool: use libxml2 to instead of python3-lxml</title>
<updated>2019-06-25T21:21:48+00:00</updated>
<author>
<name>Hongxu Jia</name>
<email>hongxu.jia@windriver.com</email>
</author>
<published>2019-06-25T16:13:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=500e5b80c09c23d142c7f65d03bd7828570c2b39'/>
<id>urn:sha1:500e5b80c09c23d142c7f65d03bd7828570c2b39</id>
<content type='text'>
Use libxml2 of oe-core to replace python3-lxml of meta-python
since meta-oe does not depend on meta-python

Signed-off-by: Hongxu Jia &lt;hongxu.jia@windriver.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>itstool: rework - it went out too early</title>
<updated>2019-05-06T15:32:04+00:00</updated>
<author>
<name>Andreas Müller</name>
<email>schnitzeltony@gmail.com</email>
</author>
<published>2019-05-06T08:29:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=833d94b9b49e15694b0765159d80d6872b6e3976'/>
<id>urn:sha1:833d94b9b49e15694b0765159d80d6872b6e3976</id>
<content type='text'>
* adjust dependencies
* adjust shebang correctly - caused errors not easy to debug in dependent
  packages

Signed-off-by: Andreas Müller &lt;schnitzeltony@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>itstool: initial add 2.0.5</title>
<updated>2019-03-28T18:55:34+00:00</updated>
<author>
<name>Andreas Müller</name>
<email>schnitzeltony@gmail.com</email>
</author>
<published>2019-03-27T15:35:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=1e1a4e4e68949c210e8591b18721627e6f78609b'/>
<id>urn:sha1:1e1a4e4e68949c210e8591b18721627e6f78609b</id>
<content type='text'>
It lived in meta-qt5-extra for a while (don't remember why - it was not used)
but now we need it for upcoming gnome upgrades.

Signed-off-by: Andreas Müller &lt;schnitzeltony@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
