summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/itstool
Commit message (Collapse)AuthorAgeFilesLines
* itstool: remove it lives in oe-core nowAndreas Müller2020-01-193-84/+0
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* itstool: rework native shebang and add class to make native itstool workAndreas Müller2019-10-273-2/+39
| | | | | | | | | | | | | | | | | | | | | 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 <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* itstool: upgrade 2.0.5 -> 2.0.6Zang Ruochen2019-08-051-2/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* itstool: Don't use hardcoded, absolute path to python3 binary.Piotr Tworek2019-07-282-6/+31
| | | | | | | | | | | | | | | | | | | | | | 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>
* itstool: use libxml2 to instead of python3-lxmlHongxu Jia2019-07-101-1/+1
| | | | | | | | | | | | | | 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>
* itstool: use libxml2 to instead of python3-lxmlHongxu Jia2019-06-251-2/+2
| | | | | | | | 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>
* itstool: rework - it went out too earlyAndreas Müller2019-05-061-3/+3
| | | | | | | | | * 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>
* itstool: initial add 2.0.5Andreas Müller2019-03-281-0/+22
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>