summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2025-01-03 11:45:14 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-01-04 12:34:03 +0000
commitc76f119db80eeb48c3789e5308fb7efbd13d0f60 (patch)
tree27be91b871ded0040896a75c7f13907f7c5da73d /meta/recipes-core
parentc36f116385394a690f49dc78b419e68cb428a9bd (diff)
downloadpoky-c76f119db80eeb48c3789e5308fb7efbd13d0f60.tar.gz
gettext: update 0.22.5 -> 0.23.1
Drop patches: parallel.patch (obsolete as no .a files are installed) 0001-intl-Fix-build-failure-with-make-j.patch (backport) Gettext no longer installs anything into $libdir/gettext by default but still creates the directory and so it should be packaged. (From OE-Core rev: a414f47009811fa6886e43fd2b4c928a906a65f3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-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)2
-rw-r--r--meta/recipes-core/gettext/gettext-sources.inc2
-rw-r--r--meta/recipes-core/gettext/gettext/0001-init-env.in-do-not-add-C-CXX-parameters.patch8
-rw-r--r--meta/recipes-core/gettext/gettext/0001-intl-Fix-build-failure-with-make-j.patch35
-rw-r--r--meta/recipes-core/gettext/gettext/0001-tests-autopoint-3-unset-MAKEFLAGS.patch8
-rw-r--r--meta/recipes-core/gettext/gettext/parallel.patch31
-rw-r--r--meta/recipes-core/gettext/gettext/serial-tests-config.patch8
-rw-r--r--meta/recipes-core/gettext/gettext/use-pkgconfig.patch16
-rw-r--r--meta/recipes-core/gettext/gettext_0.23.1.bb (renamed from meta/recipes-core/gettext/gettext_0.22.5.bb)9
9 files changed, 26 insertions, 93 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 96acf9bb9f..e443b6b34f 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
@@ -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 @@
1HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html" 1HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html"
2SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ 2SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
3 " 3 "
4SRC_URI[sha256sum] = "ec1705b1e969b83a9f073144ec806151db88127f5e40fe5a94cb6c8fa48996a0" 4SRC_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 @@
1From c58c503c532d20883a93ef778327c86dd6de24f6 Mon Sep 17 00:00:00 2001 1From 9d36ff90d3a488caa8cd7b3351e5a3bdc4229b1b Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 6 Mar 2020 21:04:05 +0000 3Date: Fri, 6 Mar 2020 21:04:05 +0000
4Subject: [PATCH] init-env.in: do not add C/CXX parameters 4Subject: [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
15diff --git a/gettext-tools/tests/init-env.in b/gettext-tools/tests/init-env.in 15diff --git a/gettext-tools/tests/init-env.in b/gettext-tools/tests/init-env.in
16index cc84ffd..b69c990 100644 16index 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-intl-Fix-build-failure-with-make-j.patch b/meta/recipes-core/gettext/gettext/0001-intl-Fix-build-failure-with-make-j.patch
deleted file mode 100644
index 144259dd3f..0000000000
--- a/meta/recipes-core/gettext/gettext/0001-intl-Fix-build-failure-with-make-j.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From 97a6a63ad61949663283f5fad68c9d5fb9be1f15 Mon Sep 17 00:00:00 2001
2From: Bruno Haible <bruno@clisp.org>
3Date: Tue, 12 Sep 2023 11:33:41 +0200
4Subject: [PATCH] intl: Fix build failure with "make -j".
5
6Reported by Christian Weisgerber <naddy@mips.inka.de> at
7<https://lists.gnu.org/archive/html/bug-gettext/2023-09/msg00005.html>.
8
9* gettext-runtime/intl/Makefile.am (langprefs.lo, log.lo): Depend on gettextP.h
10and its subordinate includes.
11
12Upstream-Status: Backport [https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commit;h=97a6a63ad61949663283f5fad68c9d5fb9be1f15]
13Signed-off-by: Changqing Li <changqing.li@windriver.com>
14---
15 gettext-runtime/intl/Makefile.am | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18diff --git a/gettext-runtime/intl/Makefile.am b/gettext-runtime/intl/Makefile.am
19index da7abb758..9e56978bc 100644
20--- a/gettext-runtime/intl/Makefile.am
21+++ b/gettext-runtime/intl/Makefile.am
22@@ -387,8 +387,8 @@ dngettext.lo: ../config.h $(srcdir)/gettextP.h libgnuintl.h $(srcdir)/gmo
23 ngettext.lo: ../config.h $(srcdir)/gettextP.h libgnuintl.h $(srcdir)/gmo.h $(srcdir)/loadinfo.h
24 plural.lo: ../config.h $(srcdir)/plural-exp.h $(PLURAL_DEPS)
25 plural-exp.lo: ../config.h $(srcdir)/plural-exp.h
26-langprefs.lo: ../config.h
27-log.lo: ../config.h
28+langprefs.lo: ../config.h $(srcdir)/gettextP.h libgnuintl.h $(srcdir)/gmo.h $(srcdir)/loadinfo.h
29+log.lo: ../config.h $(srcdir)/gettextP.h libgnuintl.h $(srcdir)/gmo.h $(srcdir)/loadinfo.h
30 printf.lo: ../config.h
31 setlocale.lo: ../config.h $(srcdir)/gettextP.h libgnuintl.h $(srcdir)/gmo.h $(srcdir)/loadinfo.h
32 version.lo: ../config.h libgnuintl.h
33--
342.25.1
35
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 @@
1From 7006142d199af13628edc687847a9a5bac48b45d Mon Sep 17 00:00:00 2001 1From 4e9ea45803fe8dfc41ec5c51a65048addd985765 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 7 Jan 2020 16:44:38 +0100 3Date: Tue, 7 Jan 2020 16:44:38 +0100
4Subject: [PATCH] tests/autopoint-3: unset MAKEFLAGS 4Subject: [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
15diff --git a/gettext-tools/tests/autopoint-3 b/gettext-tools/tests/autopoint-3 15diff --git a/gettext-tools/tests/autopoint-3 b/gettext-tools/tests/autopoint-3
16index bd3fbf3..380eaac 100755 16index 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 @@
1From 83333bc873c2655ff1de161f6b7db930f22f1cea Mon Sep 17 00:00:00 2001
2From: Joe Slater <jslater@windriver.com>
3Date: Thu, 7 Jun 2012 16:37:01 -0700
4Subject: [PATCH] instal libgettextlib.a before removing it
5
6In a multiple job build, Makefile can simultaneously
7be installing and removing libgettextlib.a. We serialize
8the operations.
9
10Upstream-Status: Pending
11
12Signed-off-by: Joe Slater <jslater@windriver.com>
13---
14 gettext-tools/gnulib-lib/Makefile.am | 4 ++++
15 1 file changed, 4 insertions(+)
16
17diff --git a/gettext-tools/gnulib-lib/Makefile.am b/gettext-tools/gnulib-lib/Makefile.am
18index 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 @@
1From aa8dfe0aafd0b53a6c5bac61b356ca92e1430a36 Mon Sep 17 00:00:00 2001 1From 33fd16b0b2c69ec1118bb605384e7e3b1a94eee0 Mon Sep 17 00:00:00 2001
2From: "Hongjun.Yang" <hongjun.yang@windriver.com> 2From: "Hongjun.Yang" <hongjun.yang@windriver.com>
3Date: Thu, 28 Jul 2016 12:36:15 +0800 3Date: Thu, 28 Jul 2016 12:36:15 +0800
4Subject: [PATCH] fix for ptest 4Subject: [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
17diff --git a/configure.ac b/configure.ac 17diff --git a/configure.ac b/configure.ac
18index f4e54ea..a47ff14 100644 18index 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"'
30diff --git a/gettext-runtime/configure.ac b/gettext-runtime/configure.ac 30diff --git a/gettext-runtime/configure.ac b/gettext-runtime/configure.ac
31index 126d069..aa23232 100644 31index 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.
43diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac 43diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac
44index 3610ee3..6f56a23 100644 44index 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 @@
1From 6aa1338b916fe72c200b6f160b934be15b6ff590 Mon Sep 17 00:00:00 2001 1From 7302a77e08e62fc3b00f75d8aa143c5565c3f680 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com> 2From: Ross Burton <ross.burton@intel.com>
3Date: Tue, 23 Jan 2018 00:54:13 +0000 3Date: Tue, 23 Jan 2018 00:54:13 +0000
4Subject: [PATCH] gettext: beat library detection into shape 4Subject: [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
21diff --git a/gettext-tools/gnulib-m4/libxml.m4 b/gettext-tools/gnulib-m4/libxml.m4 21diff --git a/gettext-tools/gnulib-m4/libxml.m4 b/gettext-tools/gnulib-m4/libxml.m4
22index 0340490..0355388 100644 22index 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])
144diff --git a/libtextstyle/gnulib-local/m4/libglib.m4 b/libtextstyle/gnulib-local/m4/libglib.m4 144diff --git a/libtextstyle/gnulib-local/m4/libglib.m4 b/libtextstyle/gnulib-local/m4/libglib.m4
145index dbc9eb8..136e512 100644 145index 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])
268diff --git a/libtextstyle/gnulib-m4/libglib.m4 b/libtextstyle/gnulib-m4/libglib.m4 268diff --git a/libtextstyle/gnulib-m4/libglib.m4 b/libtextstyle/gnulib-m4/libglib.m4
269index dbc9eb8..136e512 100644 269index 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 0bf2a56e5f..da4e6c6850 100644
--- a/meta/recipes-core/gettext/gettext_0.22.5.bb
+++ b/meta/recipes-core/gettext/gettext_0.23.1.bb
@@ -22,13 +22,11 @@ RCONFLICTS:${PN} = "proxy-libintl"
22 22
23require gettext-sources.inc 23require gettext-sources.inc
24SRC_URI += " \ 24SRC_URI += " \
25 file://parallel.patch \
26 file://use-pkgconfig.patch \ 25 file://use-pkgconfig.patch \
27 file://run-ptest \ 26 file://run-ptest \
28 file://serial-tests-config.patch \ 27 file://serial-tests-config.patch \
29 file://0001-tests-autopoint-3-unset-MAKEFLAGS.patch \ 28 file://0001-tests-autopoint-3-unset-MAKEFLAGS.patch \
30 file://0001-init-env.in-do-not-add-C-CXX-parameters.patch \ 29 file://0001-init-env.in-do-not-add-C-CXX-parameters.patch \
31 file://0001-intl-Fix-build-failure-with-make-j.patch \
32 " 30 "
33 31
34inherit autotools texinfo pkgconfig ptest 32inherit autotools texinfo pkgconfig ptest
@@ -90,7 +88,7 @@ FILES:libgettextsrc = "${libdir}/libgettextsrc-*.so*"
90 88
91PACKAGES =+ "gettext-runtime gettext-runtime-dev gettext-runtime-doc" 89PACKAGES =+ "gettext-runtime gettext-runtime-dev gettext-runtime-doc"
92 90
93FILES:${PN} += "${libdir}/${BPN}/*" 91FILES:${PN} += "${libdir}/${BPN}/"
94 92
95# The its/Makefile.am has defined: 93# The its/Makefile.am has defined:
96# itsdir = $(pkgdatadir)$(PACKAGE_SUFFIX)/its 94# itsdir = $(pkgdatadir)$(PACKAGE_SUFFIX)/its
@@ -130,7 +128,7 @@ do_install:append:class-native () {
130 rm ${D}${datadir}/aclocal/* 128 rm ${D}${datadir}/aclocal/*
131 rm ${D}${datadir}/gettext/config.rpath 129 rm ${D}${datadir}/gettext/config.rpath
132 rm ${D}${datadir}/gettext/po/Makefile.in.in 130 rm ${D}${datadir}/gettext/po/Makefile.in.in
133 rm ${D}${datadir}/gettext/po/remove-potcdate.sin 131 rm ${D}${datadir}/gettext/po/remove-potcdate.sed
134 132
135 create_wrapper ${D}${bindir}/msgfmt \ 133 create_wrapper ${D}${bindir}/msgfmt \
136 GETTEXTDATADIR="${STAGING_DATADIR_NATIVE}/gettext-${PV}/" 134 GETTEXTDATADIR="${STAGING_DATADIR_NATIVE}/gettext-${PV}/"
@@ -175,7 +173,8 @@ do_install_ptest() {
175 install ${B}/gettext-tools/misc/* ${D}${PTEST_PATH}/misc 173 install ${B}/gettext-tools/misc/* ${D}${PTEST_PATH}/misc
176 find ${D}${PTEST_PATH}/ -name "*.o" -exec rm {} \; 174 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 \ 175 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 176 ${D}${PTEST_PATH}/tests/xgettext-vala-1 ${D}${PTEST_PATH}/tests/xgettext-po-2 ${D}${PTEST_PATH}/tests/xgettext-vala-6 \
177 ${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 178 sed -i -e 's|${DEBUG_PREFIX_MAP}||g' ${D}${PTEST_PATH}/tests/init-env
180} 179}
181 180