summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/itstool
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/itstool')
-rw-r--r--meta/recipes-support/itstool/itstool/0001-Native-Don-t-use-build-time-hardcoded-python-binary-.patch8
-rw-r--r--meta/recipes-support/itstool/itstool_2.0.6.bb20
-rw-r--r--meta/recipes-support/itstool/itstool_2.0.7.bb29
3 files changed, 32 insertions, 25 deletions
diff --git a/meta/recipes-support/itstool/itstool/0001-Native-Don-t-use-build-time-hardcoded-python-binary-.patch b/meta/recipes-support/itstool/itstool/0001-Native-Don-t-use-build-time-hardcoded-python-binary-.patch
index 19a858bd75..fdcbe46fed 100644
--- a/meta/recipes-support/itstool/itstool/0001-Native-Don-t-use-build-time-hardcoded-python-binary-.patch
+++ b/meta/recipes-support/itstool/itstool/0001-Native-Don-t-use-build-time-hardcoded-python-binary-.patch
@@ -1,4 +1,4 @@
1From 335ef14fc801c9dfbe7e5692dc71cfbe72049d2b Mon Sep 17 00:00:00 2001 1From c47820450ce7f55d22c672cf94d20a5f9fd208bf Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Sun, 27 Oct 2019 16:38:52 +0100 3Date: Sun, 27 Oct 2019 16:38:52 +0100
4Subject: [PATCH] Native: Don't use build time hardcoded python binary path. 4Subject: [PATCH] Native: Don't use build time hardcoded python binary path.
@@ -16,12 +16,13 @@ don't support it [2]
16Upstream-Status: Inappropriate [OE specific] 16Upstream-Status: Inappropriate [OE specific]
17 17
18Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> 18Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
19
19--- 20---
20 itstool.in | 2 +- 21 itstool.in | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-) 22 1 file changed, 1 insertion(+), 1 deletion(-)
22 23
23diff --git a/itstool.in b/itstool.in 24diff --git a/itstool.in b/itstool.in
24index e64cd34..05d264f 100755 25index c21ad4b..daea177 100755
25--- a/itstool.in 26--- a/itstool.in
26+++ b/itstool.in 27+++ b/itstool.in
27@@ -1,4 +1,4 @@ 28@@ -1,4 +1,4 @@
@@ -30,6 +31,3 @@ index e64cd34..05d264f 100755
30 # 31 #
31 # Copyright (c) 2010-2018 Shaun McCance <shaunm@gnome.org> 32 # Copyright (c) 2010-2018 Shaun McCance <shaunm@gnome.org>
32 # 33 #
33--
342.21.0
35
diff --git a/meta/recipes-support/itstool/itstool_2.0.6.bb b/meta/recipes-support/itstool/itstool_2.0.6.bb
deleted file mode 100644
index c52aa7941a..0000000000
--- a/meta/recipes-support/itstool/itstool_2.0.6.bb
+++ /dev/null
@@ -1,20 +0,0 @@
1SUMMARY = "ITS Tool allows you to translate your XML documents with PO files"
2HOMEPAGE = "http://itstool.org/"
3LICENSE = "GPLv3"
4LIC_FILES_CHKSUM = "file://COPYING;md5=59c57b95fd7d0e9e238ebbc7ad47c5a5"
5
6inherit autotools python3native
7
8DEPENDS = "libxml2-native"
9
10SRC_URI = "http://files.itstool.org/${BPN}/${BPN}-${PV}.tar.bz2"
11SRC_URI_append_class-native = " file://0001-Native-Don-t-use-build-time-hardcoded-python-binary-.patch"
12SRC_URI_append_class-nativesdk = " file://0001-Native-Don-t-use-build-time-hardcoded-python-binary-.patch"
13SRC_URI_append_class-target = " file://0002-Don-t-use-build-time-hardcoded-python-binary-path.patch"
14
15SRC_URI[md5sum] = "4306eeba4f4aee6b393d14f9c3c57ca1"
16SRC_URI[sha256sum] = "6233cc22726a9a5a83664bf67d1af79549a298c23185d926c3677afa917b92a9"
17
18BBCLASSEXTEND = "native nativesdk"
19
20RDEPENDS_${PN} += "libxml2-python"
diff --git a/meta/recipes-support/itstool/itstool_2.0.7.bb b/meta/recipes-support/itstool/itstool_2.0.7.bb
new file mode 100644
index 0000000000..ddbc49b6cf
--- /dev/null
+++ b/meta/recipes-support/itstool/itstool_2.0.7.bb
@@ -0,0 +1,29 @@
1SUMMARY = "ITS Tool allows you to translate your XML documents with PO files"
2DESCRIPTION = "It extracts messages from XML files and outputs PO template \
3files, then merges translations from MO files to create translated \
4XML files. It determines what to translate and how to chunk it into \
5messages using the W3C Internationalization Tag Set (ITS). "
6HOMEPAGE = "http://itstool.org/"
7LICENSE = "GPL-3.0-only"
8LIC_FILES_CHKSUM = "\
9 file://COPYING;md5=59c57b95fd7d0e9e238ebbc7ad47c5a5 \
10 file://COPYING.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
11"
12
13inherit autotools python3native
14
15DEPENDS = "libxml2-native"
16
17SRC_URI = "http://files.itstool.org/${BPN}/${BPN}-${PV}.tar.bz2 \
18 "
19UPSTREAM_CHECK_URI = "https://itstool.org/download.html"
20
21SRC_URI:append:class-native = " file://0001-Native-Don-t-use-build-time-hardcoded-python-binary-.patch"
22SRC_URI:append:class-nativesdk = " file://0001-Native-Don-t-use-build-time-hardcoded-python-binary-.patch"
23SRC_URI:append:class-target = " file://0002-Don-t-use-build-time-hardcoded-python-binary-path.patch"
24
25SRC_URI[sha256sum] = "6b9a7cd29a12bb95598f5750e8763cee78836a1a207f85b74d8b3275b27e87ca"
26
27BBCLASSEXTEND = "native nativesdk"
28
29RDEPENDS:${PN} += "libxml2-python"