6 Commits

Author SHA1 Message Date
Zang Ruochen 47f3c8756c itstool: upgrade 2.0.5 -> 2.0.6
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-05 20:22:51 -07:00
Piotr Tworek e5ac325b79 itstool: Don't use hardcoded, absolute path to python3 binary.
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 <tworaz@tworaz.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-28 17:11:17 -07:00
Hongxu Jia c81f94a3c5 itstool: use libxml2 to instead of python3-lxml
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 <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:32 -07:00
Hongxu Jia 500e5b80c0 itstool: use libxml2 to instead of python3-lxml
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 <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-25 14:21:48 -07:00
Andreas Müller 833d94b9b4 itstool: rework - it went out too early
* adjust dependencies
* adjust shebang correctly - caused errors not easy to debug in dependent
  packages

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-06 08:32:04 -07:00
Andreas Müller 1e1a4e4e68 itstool: initial add 2.0.5
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 <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-28 11:55:34 -07:00