diff options
Diffstat (limited to 'meta/recipes-core/gettext')
-rw-r--r-- | meta/recipes-core/gettext/gettext-minimal-native_0.23.1.bb (renamed from meta/recipes-core/gettext/gettext-minimal-native_0.22.5.bb) | 6 | ||||
-rw-r--r-- | meta/recipes-core/gettext/gettext-sources.inc | 2 | ||||
-rw-r--r-- | meta/recipes-core/gettext/gettext/0001-init-env.in-do-not-add-C-CXX-parameters.patch | 8 | ||||
-rw-r--r-- | meta/recipes-core/gettext/gettext/0001-tests-autopoint-3-unset-MAKEFLAGS.patch | 8 | ||||
-rw-r--r-- | meta/recipes-core/gettext/gettext/parallel.patch | 31 | ||||
-rw-r--r-- | meta/recipes-core/gettext/gettext/serial-tests-config.patch | 8 | ||||
-rw-r--r-- | meta/recipes-core/gettext/gettext/use-pkgconfig.patch | 16 | ||||
-rw-r--r-- | meta/recipes-core/gettext/gettext_0.23.1.bb (renamed from meta/recipes-core/gettext/gettext_0.22.5.bb) | 17 |
8 files changed, 28 insertions, 68 deletions
diff --git a/meta/recipes-core/gettext/gettext-minimal-native_0.22.5.bb b/meta/recipes-core/gettext/gettext-minimal-native_0.23.1.bb index db1bbb7e68..941896ec48 100644 --- a/meta/recipes-core/gettext/gettext-minimal-native_0.22.5.bb +++ b/meta/recipes-core/gettext/gettext-minimal-native_0.23.1.bb | |||
@@ -13,11 +13,11 @@ INHIBIT_DEFAULT_DEPS = "1" | |||
13 | INHIBIT_AUTOTOOLS_DEPS = "1" | 13 | INHIBIT_AUTOTOOLS_DEPS = "1" |
14 | 14 | ||
15 | LICENSE = "FSF-Unlimited" | 15 | LICENSE = "FSF-Unlimited" |
16 | LIC_FILES_CHKSUM = "file://../COPYING;md5=4bd090a20bfcd1a18f1f79837b5e3e91" | 16 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/COPYING;md5=4bd090a20bfcd1a18f1f79837b5e3e91" |
17 | 17 | ||
18 | inherit native | 18 | inherit native |
19 | 19 | ||
20 | S = "${WORKDIR}/gettext-${PV}" | 20 | S = "${UNPACKDIR}/gettext-${PV}" |
21 | 21 | ||
22 | python get_aclocal_files() { | 22 | python get_aclocal_files() { |
23 | fpath = oe.path.join(d.getVar("S"), "/gettext-tools/m4/Makefile.am") | 23 | fpath = oe.path.join(d.getVar("S"), "/gettext-tools/m4/Makefile.am") |
@@ -42,5 +42,5 @@ do_install () { | |||
42 | install -d ${D}${datadir}/gettext/po/ | 42 | install -d ${D}${datadir}/gettext/po/ |
43 | cp ${S}/build-aux/config.rpath ${D}${datadir}/gettext/ | 43 | cp ${S}/build-aux/config.rpath ${D}${datadir}/gettext/ |
44 | cp ${S}/gettext-runtime/po/Makefile.in.in ${D}${datadir}/gettext/po/ | 44 | cp ${S}/gettext-runtime/po/Makefile.in.in ${D}${datadir}/gettext/po/ |
45 | cp ${S}/gettext-runtime/po/remove-potcdate.sin ${D}${datadir}/gettext/po/ | 45 | cp ${S}/gettext-runtime/po/remove-potcdate.sed ${D}${datadir}/gettext/po/ |
46 | } | 46 | } |
diff --git a/meta/recipes-core/gettext/gettext-sources.inc b/meta/recipes-core/gettext/gettext-sources.inc index fd05837528..5d90d81b58 100644 --- a/meta/recipes-core/gettext/gettext-sources.inc +++ b/meta/recipes-core/gettext/gettext-sources.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html" | 1 | HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html" |
2 | SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ | 2 | SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ |
3 | " | 3 | " |
4 | SRC_URI[sha256sum] = "ec1705b1e969b83a9f073144ec806151db88127f5e40fe5a94cb6c8fa48996a0" | 4 | SRC_URI[sha256sum] = "52a578960fe308742367d75cd1dff8552c5797bd0beba7639e12bdcda28c0e49" |
diff --git a/meta/recipes-core/gettext/gettext/0001-init-env.in-do-not-add-C-CXX-parameters.patch b/meta/recipes-core/gettext/gettext/0001-init-env.in-do-not-add-C-CXX-parameters.patch index 33d45a038c..e59c73fb7d 100644 --- a/meta/recipes-core/gettext/gettext/0001-init-env.in-do-not-add-C-CXX-parameters.patch +++ b/meta/recipes-core/gettext/gettext/0001-init-env.in-do-not-add-C-CXX-parameters.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From c58c503c532d20883a93ef778327c86dd6de24f6 Mon Sep 17 00:00:00 2001 | 1 | From 9d36ff90d3a488caa8cd7b3351e5a3bdc4229b1b Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Fri, 6 Mar 2020 21:04:05 +0000 | 3 | Date: Fri, 6 Mar 2020 21:04:05 +0000 |
4 | Subject: [PATCH] init-env.in: do not add C/CXX parameters | 4 | Subject: [PATCH] init-env.in: do not add C/CXX parameters |
@@ -13,7 +13,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
13 | 1 file changed, 4 deletions(-) | 13 | 1 file changed, 4 deletions(-) |
14 | 14 | ||
15 | diff --git a/gettext-tools/tests/init-env.in b/gettext-tools/tests/init-env.in | 15 | diff --git a/gettext-tools/tests/init-env.in b/gettext-tools/tests/init-env.in |
16 | index cc84ffd..b69c990 100644 | 16 | index 0968388..3d9a8a5 100644 |
17 | --- a/gettext-tools/tests/init-env.in | 17 | --- a/gettext-tools/tests/init-env.in |
18 | +++ b/gettext-tools/tests/init-env.in | 18 | +++ b/gettext-tools/tests/init-env.in |
19 | @@ -3,10 +3,6 @@ top_builddir=../.. | 19 | @@ -3,10 +3,6 @@ top_builddir=../.. |
@@ -24,6 +24,6 @@ index cc84ffd..b69c990 100644 | |||
24 | -CFLAGS="@CFLAGS@" | 24 | -CFLAGS="@CFLAGS@" |
25 | -CXX="@CXX@" | 25 | -CXX="@CXX@" |
26 | -CXXFLAGS="@CXXFLAGS@" | 26 | -CXXFLAGS="@CXXFLAGS@" |
27 | OBJC="@OBJC@" | ||
28 | OBJCFLAGS="@OBJCFLAGS@" | ||
27 | CPPFLAGS="@CPPFLAGS@" | 29 | CPPFLAGS="@CPPFLAGS@" |
28 | LDFLAGS="@LDFLAGS@" | ||
29 | LTLIBINTL="@LTLIBINTL@" | ||
diff --git a/meta/recipes-core/gettext/gettext/0001-tests-autopoint-3-unset-MAKEFLAGS.patch b/meta/recipes-core/gettext/gettext/0001-tests-autopoint-3-unset-MAKEFLAGS.patch index 94afb255c3..a8f6684bd7 100644 --- a/meta/recipes-core/gettext/gettext/0001-tests-autopoint-3-unset-MAKEFLAGS.patch +++ b/meta/recipes-core/gettext/gettext/0001-tests-autopoint-3-unset-MAKEFLAGS.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 7006142d199af13628edc687847a9a5bac48b45d Mon Sep 17 00:00:00 2001 | 1 | From 4e9ea45803fe8dfc41ec5c51a65048addd985765 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Tue, 7 Jan 2020 16:44:38 +0100 | 3 | Date: Tue, 7 Jan 2020 16:44:38 +0100 |
4 | Subject: [PATCH] tests/autopoint-3: unset MAKEFLAGS | 4 | Subject: [PATCH] tests/autopoint-3: unset MAKEFLAGS |
@@ -13,13 +13,13 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
13 | 1 file changed, 1 insertion(+) | 13 | 1 file changed, 1 insertion(+) |
14 | 14 | ||
15 | diff --git a/gettext-tools/tests/autopoint-3 b/gettext-tools/tests/autopoint-3 | 15 | diff --git a/gettext-tools/tests/autopoint-3 b/gettext-tools/tests/autopoint-3 |
16 | index bd3fbf3..380eaac 100755 | 16 | index af2e17f..46cf3f7 100755 |
17 | --- a/gettext-tools/tests/autopoint-3 | 17 | --- a/gettext-tools/tests/autopoint-3 |
18 | +++ b/gettext-tools/tests/autopoint-3 | 18 | +++ b/gettext-tools/tests/autopoint-3 |
19 | @@ -131,6 +131,7 @@ test $? = 0 || { cat autopoint.err; Exit 1; } | 19 | @@ -137,6 +137,7 @@ ${CONFIG_SHELL} ./configure >/dev/null 2>autopoint.err |
20 | ${CONFIG_SHELL} ./configure >/dev/null 2>autpoint.err | ||
21 | test $? = 0 || { cat autopoint.err; Exit 1; } | 20 | test $? = 0 || { cat autopoint.err; Exit 1; } |
22 | 21 | ||
22 | : ${MAKE=make} | ||
23 | +unset MAKEFLAGS | 23 | +unset MAKEFLAGS |
24 | ${MAKE} >/dev/null 2>autopoint.err | 24 | ${MAKE} >/dev/null 2>autopoint.err |
25 | test $? = 0 || { cat autopoint.err; Exit 1; } | 25 | test $? = 0 || { cat autopoint.err; Exit 1; } |
diff --git a/meta/recipes-core/gettext/gettext/parallel.patch b/meta/recipes-core/gettext/gettext/parallel.patch deleted file mode 100644 index 8ecba46fd0..0000000000 --- a/meta/recipes-core/gettext/gettext/parallel.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From 83333bc873c2655ff1de161f6b7db930f22f1cea Mon Sep 17 00:00:00 2001 | ||
2 | From: Joe Slater <jslater@windriver.com> | ||
3 | Date: Thu, 7 Jun 2012 16:37:01 -0700 | ||
4 | Subject: [PATCH] instal libgettextlib.a before removing it | ||
5 | |||
6 | In a multiple job build, Makefile can simultaneously | ||
7 | be installing and removing libgettextlib.a. We serialize | ||
8 | the operations. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Joe Slater <jslater@windriver.com> | ||
13 | --- | ||
14 | gettext-tools/gnulib-lib/Makefile.am | 4 ++++ | ||
15 | 1 file changed, 4 insertions(+) | ||
16 | |||
17 | diff --git a/gettext-tools/gnulib-lib/Makefile.am b/gettext-tools/gnulib-lib/Makefile.am | ||
18 | index ab729cd..a0d713e 100644 | ||
19 | --- a/gettext-tools/gnulib-lib/Makefile.am | ||
20 | +++ b/gettext-tools/gnulib-lib/Makefile.am | ||
21 | @@ -58,6 +58,10 @@ AM_CFLAGS = @WARN_CFLAGS@ | ||
22 | # Rules generated and collected by gnulib-tool. | ||
23 | include Makefile.gnulib | ||
24 | |||
25 | +# defined in Makefile.gnulib but missing this dependency | ||
26 | +# | ||
27 | +install-exec-clean: install-libLTLIBRARIES | ||
28 | + | ||
29 | # OS/2 does not support a DLL name longer than 8 characters. | ||
30 | if OS2 | ||
31 | libgettextlib_la_LDFLAGS += -os2dllname gtlib | ||
diff --git a/meta/recipes-core/gettext/gettext/serial-tests-config.patch b/meta/recipes-core/gettext/gettext/serial-tests-config.patch index 7d39d6086a..3baf549795 100644 --- a/meta/recipes-core/gettext/gettext/serial-tests-config.patch +++ b/meta/recipes-core/gettext/gettext/serial-tests-config.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From aa8dfe0aafd0b53a6c5bac61b356ca92e1430a36 Mon Sep 17 00:00:00 2001 | 1 | From 33fd16b0b2c69ec1118bb605384e7e3b1a94eee0 Mon Sep 17 00:00:00 2001 |
2 | From: "Hongjun.Yang" <hongjun.yang@windriver.com> | 2 | From: "Hongjun.Yang" <hongjun.yang@windriver.com> |
3 | Date: Thu, 28 Jul 2016 12:36:15 +0800 | 3 | Date: Thu, 28 Jul 2016 12:36:15 +0800 |
4 | Subject: [PATCH] fix for ptest | 4 | Subject: [PATCH] fix for ptest |
@@ -15,7 +15,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com> | |||
15 | 3 files changed, 3 insertions(+), 3 deletions(-) | 15 | 3 files changed, 3 insertions(+), 3 deletions(-) |
16 | 16 | ||
17 | diff --git a/configure.ac b/configure.ac | 17 | diff --git a/configure.ac b/configure.ac |
18 | index f4e54ea..a47ff14 100644 | 18 | index 5106676..3114998 100644 |
19 | --- a/configure.ac | 19 | --- a/configure.ac |
20 | +++ b/configure.ac | 20 | +++ b/configure.ac |
21 | @@ -22,7 +22,7 @@ AC_INIT([gettext], | 21 | @@ -22,7 +22,7 @@ AC_INIT([gettext], |
@@ -28,7 +28,7 @@ index f4e54ea..a47ff14 100644 | |||
28 | dnl Override automake's tar command used for creating distributions. | 28 | dnl Override automake's tar command used for creating distributions. |
29 | am__tar='${AMTAR} chf - --format=ustar --owner=root --group=root "$$tardir"' | 29 | am__tar='${AMTAR} chf - --format=ustar --owner=root --group=root "$$tardir"' |
30 | diff --git a/gettext-runtime/configure.ac b/gettext-runtime/configure.ac | 30 | diff --git a/gettext-runtime/configure.ac b/gettext-runtime/configure.ac |
31 | index 126d069..aa23232 100644 | 31 | index e128f5b..9f7447c 100644 |
32 | --- a/gettext-runtime/configure.ac | 32 | --- a/gettext-runtime/configure.ac |
33 | +++ b/gettext-runtime/configure.ac | 33 | +++ b/gettext-runtime/configure.ac |
34 | @@ -22,7 +22,7 @@ AC_INIT([gettext-runtime], | 34 | @@ -22,7 +22,7 @@ AC_INIT([gettext-runtime], |
@@ -41,7 +41,7 @@ index 126d069..aa23232 100644 | |||
41 | 41 | ||
42 | dnl Installation directories. | 42 | dnl Installation directories. |
43 | diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac | 43 | diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac |
44 | index 3610ee3..6f56a23 100644 | 44 | index 3b1f461..14510a9 100644 |
45 | --- a/gettext-tools/configure.ac | 45 | --- a/gettext-tools/configure.ac |
46 | +++ b/gettext-tools/configure.ac | 46 | +++ b/gettext-tools/configure.ac |
47 | @@ -22,7 +22,7 @@ AC_INIT([gettext-tools], | 47 | @@ -22,7 +22,7 @@ AC_INIT([gettext-tools], |
diff --git a/meta/recipes-core/gettext/gettext/use-pkgconfig.patch b/meta/recipes-core/gettext/gettext/use-pkgconfig.patch index ceb1856118..9774c4cce0 100644 --- a/meta/recipes-core/gettext/gettext/use-pkgconfig.patch +++ b/meta/recipes-core/gettext/gettext/use-pkgconfig.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 6aa1338b916fe72c200b6f160b934be15b6ff590 Mon Sep 17 00:00:00 2001 | 1 | From 7302a77e08e62fc3b00f75d8aa143c5565c3f680 Mon Sep 17 00:00:00 2001 |
2 | From: Ross Burton <ross.burton@intel.com> | 2 | From: Ross Burton <ross.burton@intel.com> |
3 | Date: Tue, 23 Jan 2018 00:54:13 +0000 | 3 | Date: Tue, 23 Jan 2018 00:54:13 +0000 |
4 | Subject: [PATCH] gettext: beat library detection into shape | 4 | Subject: [PATCH] gettext: beat library detection into shape |
@@ -19,10 +19,10 @@ Signed-off-by: Ross Burton <ross.burton@intel.com> | |||
19 | 3 files changed, 31 insertions(+), 286 deletions(-) | 19 | 3 files changed, 31 insertions(+), 286 deletions(-) |
20 | 20 | ||
21 | diff --git a/gettext-tools/gnulib-m4/libxml.m4 b/gettext-tools/gnulib-m4/libxml.m4 | 21 | diff --git a/gettext-tools/gnulib-m4/libxml.m4 b/gettext-tools/gnulib-m4/libxml.m4 |
22 | index 0340490..0355388 100644 | 22 | index c7160d7..8e46cc7 100644 |
23 | --- a/gettext-tools/gnulib-m4/libxml.m4 | 23 | --- a/gettext-tools/gnulib-m4/libxml.m4 |
24 | +++ b/gettext-tools/gnulib-m4/libxml.m4 | 24 | +++ b/gettext-tools/gnulib-m4/libxml.m4 |
25 | @@ -13,6 +13,7 @@ dnl gl_LIBXML(FORCE-INCLUDED) | 25 | @@ -14,6 +14,7 @@ dnl gl_LIBXML(FORCE-INCLUDED) |
26 | dnl forces the use of the included or an external libxml. | 26 | dnl forces the use of the included or an external libxml. |
27 | AC_DEFUN([gl_LIBXML], | 27 | AC_DEFUN([gl_LIBXML], |
28 | [ | 28 | [ |
@@ -30,7 +30,7 @@ index 0340490..0355388 100644 | |||
30 | AC_REQUIRE([AM_ICONV_LINK]) | 30 | AC_REQUIRE([AM_ICONV_LINK]) |
31 | 31 | ||
32 | ifelse([$1], , [ | 32 | ifelse([$1], , [ |
33 | @@ -30,106 +31,10 @@ AC_DEFUN([gl_LIBXML], | 33 | @@ -31,106 +32,10 @@ AC_DEFUN([gl_LIBXML], |
34 | INCXML= | 34 | INCXML= |
35 | ifelse([$1], [yes], , [ | 35 | ifelse([$1], [yes], , [ |
36 | if test "$gl_cv_libxml_use_included" != yes; then | 36 | if test "$gl_cv_libxml_use_included" != yes; then |
@@ -142,10 +142,10 @@ index 0340490..0355388 100644 | |||
142 | ]) | 142 | ]) |
143 | AC_SUBST([LIBXML]) | 143 | AC_SUBST([LIBXML]) |
144 | diff --git a/libtextstyle/gnulib-local/m4/libglib.m4 b/libtextstyle/gnulib-local/m4/libglib.m4 | 144 | diff --git a/libtextstyle/gnulib-local/m4/libglib.m4 b/libtextstyle/gnulib-local/m4/libglib.m4 |
145 | index dbc9eb8..136e512 100644 | 145 | index baa2cf4..b287c5b 100644 |
146 | --- a/libtextstyle/gnulib-local/m4/libglib.m4 | 146 | --- a/libtextstyle/gnulib-local/m4/libglib.m4 |
147 | +++ b/libtextstyle/gnulib-local/m4/libglib.m4 | 147 | +++ b/libtextstyle/gnulib-local/m4/libglib.m4 |
148 | @@ -6,106 +6,26 @@ dnl with or without modifications, as long as this notice is preserved. | 148 | @@ -7,106 +7,26 @@ dnl with or without modifications, as long as this notice is preserved. |
149 | 149 | ||
150 | dnl From Bruno Haible. | 150 | dnl From Bruno Haible. |
151 | 151 | ||
@@ -266,10 +266,10 @@ index dbc9eb8..136e512 100644 | |||
266 | AC_SUBST([LTLIBGLIB]) | 266 | AC_SUBST([LTLIBGLIB]) |
267 | AC_SUBST([INCGLIB]) | 267 | AC_SUBST([INCGLIB]) |
268 | diff --git a/libtextstyle/gnulib-m4/libglib.m4 b/libtextstyle/gnulib-m4/libglib.m4 | 268 | diff --git a/libtextstyle/gnulib-m4/libglib.m4 b/libtextstyle/gnulib-m4/libglib.m4 |
269 | index dbc9eb8..136e512 100644 | 269 | index baa2cf4..b287c5b 100644 |
270 | --- a/libtextstyle/gnulib-m4/libglib.m4 | 270 | --- a/libtextstyle/gnulib-m4/libglib.m4 |
271 | +++ b/libtextstyle/gnulib-m4/libglib.m4 | 271 | +++ b/libtextstyle/gnulib-m4/libglib.m4 |
272 | @@ -6,106 +6,26 @@ dnl with or without modifications, as long as this notice is preserved. | 272 | @@ -7,106 +7,26 @@ dnl with or without modifications, as long as this notice is preserved. |
273 | 273 | ||
274 | dnl From Bruno Haible. | 274 | dnl From Bruno Haible. |
275 | 275 | ||
diff --git a/meta/recipes-core/gettext/gettext_0.22.5.bb b/meta/recipes-core/gettext/gettext_0.23.1.bb index 1a66d37916..c704a3b6d7 100644 --- a/meta/recipes-core/gettext/gettext_0.22.5.bb +++ b/meta/recipes-core/gettext/gettext_0.23.1.bb | |||
@@ -13,7 +13,6 @@ LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'libxml', '', | |||
13 | # without glib in PACKAGECONFIG vendor copy of the lib will be used | 13 | # without glib in PACKAGECONFIG vendor copy of the lib will be used |
14 | LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'glib', '', 'file://libtextstyle/lib/glib/ghash.c;md5=e3159f5ac38dfe77af5cc0ee104dab2d;beginline=10;endline=27', d)}" | 14 | LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'glib', '', 'file://libtextstyle/lib/glib/ghash.c;md5=e3159f5ac38dfe77af5cc0ee104dab2d;beginline=10;endline=27', d)}" |
15 | 15 | ||
16 | |||
17 | DEPENDS = "gettext-native virtual/libiconv" | 16 | DEPENDS = "gettext-native virtual/libiconv" |
18 | DEPENDS:class-native = "gettext-minimal-native" | 17 | DEPENDS:class-native = "gettext-minimal-native" |
19 | PROVIDES = "virtual/libintl virtual/gettext" | 18 | PROVIDES = "virtual/libintl virtual/gettext" |
@@ -22,7 +21,6 @@ RCONFLICTS:${PN} = "proxy-libintl" | |||
22 | 21 | ||
23 | require gettext-sources.inc | 22 | require gettext-sources.inc |
24 | SRC_URI += " \ | 23 | SRC_URI += " \ |
25 | file://parallel.patch \ | ||
26 | file://use-pkgconfig.patch \ | 24 | file://use-pkgconfig.patch \ |
27 | file://run-ptest \ | 25 | file://run-ptest \ |
28 | file://serial-tests-config.patch \ | 26 | file://serial-tests-config.patch \ |
@@ -64,9 +62,6 @@ PACKAGECONFIG[libxml] = "--without-included-libxml,--with-included-libxml,libxml | |||
64 | PACKAGECONFIG[libunistring] = "--with-libunistring-prefix=${STAGING_LIBDIR}/..,--with-included-libunistring,libunistring" | 62 | PACKAGECONFIG[libunistring] = "--with-libunistring-prefix=${STAGING_LIBDIR}/..,--with-included-libunistring,libunistring" |
65 | PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--disable-curses,ncurses," | 63 | PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--disable-curses,ncurses," |
66 | 64 | ||
67 | acpaths = '-I ${S}/gettext-runtime/m4 \ | ||
68 | -I ${S}/gettext-tools/m4' | ||
69 | |||
70 | do_install:append:libc-musl () { | 65 | do_install:append:libc-musl () { |
71 | rm -f ${D}${libdir}/charset.alias | 66 | rm -f ${D}${libdir}/charset.alias |
72 | rm -f ${D}${includedir}/libintl.h | 67 | rm -f ${D}${includedir}/libintl.h |
@@ -89,7 +84,7 @@ FILES:libgettextsrc = "${libdir}/libgettextsrc-*.so*" | |||
89 | 84 | ||
90 | PACKAGES =+ "gettext-runtime gettext-runtime-dev gettext-runtime-doc" | 85 | PACKAGES =+ "gettext-runtime gettext-runtime-dev gettext-runtime-doc" |
91 | 86 | ||
92 | FILES:${PN} += "${libdir}/${BPN}/*" | 87 | FILES:${PN} += "${libdir}/${BPN}/" |
93 | 88 | ||
94 | # The its/Makefile.am has defined: | 89 | # The its/Makefile.am has defined: |
95 | # itsdir = $(pkgdatadir)$(PACKAGE_SUFFIX)/its | 90 | # itsdir = $(pkgdatadir)$(PACKAGE_SUFFIX)/its |
@@ -129,7 +124,7 @@ do_install:append:class-native () { | |||
129 | rm ${D}${datadir}/aclocal/* | 124 | rm ${D}${datadir}/aclocal/* |
130 | rm ${D}${datadir}/gettext/config.rpath | 125 | rm ${D}${datadir}/gettext/config.rpath |
131 | rm ${D}${datadir}/gettext/po/Makefile.in.in | 126 | rm ${D}${datadir}/gettext/po/Makefile.in.in |
132 | rm ${D}${datadir}/gettext/po/remove-potcdate.sin | 127 | rm ${D}${datadir}/gettext/po/remove-potcdate.sed |
133 | 128 | ||
134 | create_wrapper ${D}${bindir}/msgfmt \ | 129 | create_wrapper ${D}${bindir}/msgfmt \ |
135 | GETTEXTDATADIR="${STAGING_DATADIR_NATIVE}/gettext-${PV}/" | 130 | GETTEXTDATADIR="${STAGING_DATADIR_NATIVE}/gettext-${PV}/" |
@@ -144,7 +139,6 @@ do_compile_ptest() { | |||
144 | } | 139 | } |
145 | 140 | ||
146 | do_install_ptest() { | 141 | do_install_ptest() { |
147 | if [ ${PTEST_ENABLED} = "1" ]; then | ||
148 | mkdir -p ${D}${PTEST_PATH}/tests | 142 | mkdir -p ${D}${PTEST_PATH}/tests |
149 | mkdir -p ${D}${PTEST_PATH}/src | 143 | mkdir -p ${D}${PTEST_PATH}/src |
150 | mkdir -p ${D}${PTEST_PATH}/po | 144 | mkdir -p ${D}${PTEST_PATH}/po |
@@ -175,9 +169,9 @@ do_install_ptest() { | |||
175 | install ${B}/gettext-tools/misc/* ${D}${PTEST_PATH}/misc | 169 | install ${B}/gettext-tools/misc/* ${D}${PTEST_PATH}/misc |
176 | find ${D}${PTEST_PATH}/ -name "*.o" -exec rm {} \; | 170 | find ${D}${PTEST_PATH}/ -name "*.o" -exec rm {} \; |
177 | chmod 0755 ${D}${PTEST_PATH}/tests/lang-vala ${D}${PTEST_PATH}/tests/plural-1 ${D}${PTEST_PATH}/tests/xgettext-tcl-4 \ | 171 | chmod 0755 ${D}${PTEST_PATH}/tests/lang-vala ${D}${PTEST_PATH}/tests/plural-1 ${D}${PTEST_PATH}/tests/xgettext-tcl-4 \ |
178 | ${D}${PTEST_PATH}/tests/xgettext-vala-1 ${D}${PTEST_PATH}/tests/xgettext-po-2 ${D}${PTEST_PATH}/tests/xgettext-vala-6 | 172 | ${D}${PTEST_PATH}/tests/xgettext-vala-1 ${D}${PTEST_PATH}/tests/xgettext-po-2 ${D}${PTEST_PATH}/tests/xgettext-vala-6 \ |
173 | ${D}${PTEST_PATH}/tests/plural-3 ${D}${PTEST_PATH}/tests/plural-4 ${D}${PTEST_PATH}/tests/xgettext-java-8 ${D}${PTEST_PATH}/tests/xgettext-java-9 | ||
179 | sed -i -e 's|${DEBUG_PREFIX_MAP}||g' ${D}${PTEST_PATH}/tests/init-env | 174 | sed -i -e 's|${DEBUG_PREFIX_MAP}||g' ${D}${PTEST_PATH}/tests/init-env |
180 | fi | ||
181 | } | 175 | } |
182 | 176 | ||
183 | RDEPENDS:${PN}-ptest += "make xz bash gawk autoconf locale-base-de-de locale-base-fr-fr" | 177 | RDEPENDS:${PN}-ptest += "make xz bash gawk autoconf locale-base-de-de locale-base-fr-fr" |
@@ -207,7 +201,4 @@ RRECOMMENDS:${PN}-ptest:append:libc-glibc = "\ | |||
207 | locale-base-fr-fr.iso-8859-1 \ | 201 | locale-base-fr-fr.iso-8859-1 \ |
208 | " | 202 | " |
209 | 203 | ||
210 | INSANE_SKIP:${PN}-ptest += "ldflags" | ||
211 | INSANE_SKIP:${PN}-ptest += "rpaths" | ||
212 | |||
213 | BBCLASSEXTEND = "native nativesdk" | 204 | BBCLASSEXTEND = "native nativesdk" |