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