package/itstool: new host package
PATCH 1/1 package/itstool: new host package
Translate XML with PO files using W3C Internationalization Tag Set rules
--- package/itstool/itstool.hash | 4 ++++ package/itstool/itstool.mk | 15 +++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 package/itstool/itstool.hash create mode 100644 package/itstool/itstool.mk
package/itstool/itstool.hash new file +4 -0
@@ -0,0 +1,4 @@ +# Locally computed +sha256 fba78a37dc3535e4686c7f57407b97d03c676e3a57beac5fb2315162b0cc3176 itstool-2.0.7.tar.gz +sha256 f907bf6e8a3f4911af6904597c9dcb6b415ab2facf8d403fa3c5afa1f533ab90 COPYING +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING.GPL3
package/itstool/itstool.mk new file +15 -0
@@ -0,0 +1,15 @@ +################################################################################ +# +# itstool +# +################################################################################ + +ITSTOOL_VERSION = 2.0.7 +ITSTOOL_SITE = $(call github,itstool,itstool,$(ITSTOOL_VERSION)) +ITSTOOL_LICENSE = GPL-3.0+ +ITSTOOL_LICENSE_FILES = COPYING COPYING.GPL3 +HOST_ITSTOOL_DEPENDENCIES = host-python3 host-libxml2 + +ITSTOOL_AUTORECONF = YES + +$(eval $(host-autotools-package))
Signature · 6 lines
2.42.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello,
Thanks also for this patch. See below some comments.
Quoted 1 line · On Sun, 1 Oct 2023 04:14:54 +0900 Takumi Takahashi <[email protected]>…
Translate XML with PO files using W3C Internationalization Tag Set rules
We need your Signed-off-by: line here.
Also, it would be useful to have some details in the commit log on the why it makes sense to have this package as a host package, like how it gets used by you.
Quoted 4 lines
--- package/itstool/itstool.hash | 4 ++++ package/itstool/itstool.mk | 15 +++++++++++++++ 2 files changed, 19 insertions(+)
Please add an entry in the DEVELOPERS file for this package.
As it seems to be a "user-facing" tool, it probably needs a Config.in.host file, included from package/Config.in.host.
package/itstool/itstool.mk line 11
Quoted 6 lines
package/itstool/itstool.mk new file +5
-0+ITSTOOL_VERSION = 2.0.7 +ITSTOOL_SITE = $(call github,itstool,itstool,$(ITSTOOL_VERSION)) +ITSTOOL_LICENSE = GPL-3.0+ +ITSTOOL_LICENSE_FILES = COPYING COPYING.GPL3 +HOST_ITSTOOL_DEPENDENCIES = host-python3 host-libxml2
I don't think host-libxml2 is going to be sufficient here, as we don't build the Python bindings:
HOST_LIBXML2_CONF_OPTS = --without-zlib --without-lzma --without-python
So it looks like a new option in package/libxml2/Config.in.host would be needed, to request building the Python bindings.
Best regards,
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot