summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-11-14 20:00:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-15 09:38:37 +0000
commitf595da926eb6b887a716edd26829ad922dd6861b (patch)
tree3fd311f4d21851e17890833a22af4da4e2f3f94e
parent93b26a86ef0b7f6eb0fdc1e0a1aa524023c8203e (diff)
downloadpoky-f595da926eb6b887a716edd26829ad922dd6861b.tar.gz
gettext: update 0.21 -> 0.21.1
License-update: formatting Refresh gettext-minimal files from the 0.21.1 install tree. (From OE-Core rev: 250a265893661c1ca12c31e5b78b527b96cbcfc6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/gettext/gettext-0.21.1/0001-init-env.in-do-not-add-C-CXX-parameters.patch (renamed from meta/recipes-core/gettext/gettext-0.21/0001-init-env.in-do-not-add-C-CXX-parameters.patch)0
-rw-r--r--meta/recipes-core/gettext/gettext-0.21.1/0001-tests-autopoint-3-unset-MAKEFLAGS.patch (renamed from meta/recipes-core/gettext/gettext-0.21/0001-tests-autopoint-3-unset-MAKEFLAGS.patch)0
-rw-r--r--meta/recipes-core/gettext/gettext-0.21.1/parallel.patch (renamed from meta/recipes-core/gettext/gettext-0.21/parallel.patch)0
-rw-r--r--meta/recipes-core/gettext/gettext-0.21.1/run-ptest (renamed from meta/recipes-core/gettext/gettext-0.21/run-ptest)0
-rw-r--r--meta/recipes-core/gettext/gettext-0.21.1/serial-tests-config.patch (renamed from meta/recipes-core/gettext/gettext-0.21/serial-tests-config.patch)0
-rw-r--r--meta/recipes-core/gettext/gettext-0.21.1/use-pkgconfig.patch (renamed from meta/recipes-core/gettext/gettext-0.21/use-pkgconfig.patch)226
-rw-r--r--meta/recipes-core/gettext/gettext-0.21/0001-libtextstyle-fix-builds-with-automake-1.16.4-and-new.patch29
-rw-r--r--meta/recipes-core/gettext/gettext-0.21/0001-msgmerge-29-Add-executable-file-mode-bits.patch23
-rw-r--r--meta/recipes-core/gettext/gettext-0.21/mingw.patch28
-rw-r--r--meta/recipes-core/gettext/gettext-minimal-0.21.1/COPYING (renamed from meta/recipes-core/gettext/gettext-minimal-0.21/COPYING)0
-rw-r--r--meta/recipes-core/gettext/gettext-minimal-0.21.1/Makefile.in.in (renamed from meta/recipes-core/gettext/gettext-minimal-0.21/Makefile.in.in)0
-rw-r--r--meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/gettext.m4 (renamed from meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/gettext.m4)28
-rw-r--r--meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/host-cpu-c-abi.m4 (renamed from meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/host-cpu-c-abi.m4)11
-rw-r--r--meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/iconv.m4 (renamed from meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/iconv.m4)67
-rw-r--r--meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/intlmacosx.m4 (renamed from meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/intlmacosx.m4)2
-rw-r--r--meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/lib-ld.m4 (renamed from meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/lib-ld.m4)6
-rw-r--r--meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/lib-link.m4 (renamed from meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/lib-link.m4)23
-rw-r--r--meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/lib-prefix.m4 (renamed from meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/lib-prefix.m4)17
-rw-r--r--meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/nls.m4 (renamed from meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/nls.m4)2
-rw-r--r--meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/po.m4 (renamed from meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/po.m4)12
-rw-r--r--meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/progtest.m4 (renamed from meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/progtest.m4)12
-rwxr-xr-xmeta/recipes-core/gettext/gettext-minimal-0.21.1/config.rpath (renamed from meta/recipes-core/gettext/gettext-minimal-0.21/config.rpath)6
-rw-r--r--meta/recipes-core/gettext/gettext-minimal-0.21.1/remove-potcdate.sin (renamed from meta/recipes-core/gettext/gettext-minimal-0.21/remove-potcdate.sin)0
-rw-r--r--meta/recipes-core/gettext/gettext-minimal-native_0.21.1.bb (renamed from meta/recipes-core/gettext/gettext-minimal-native_0.21.bb)0
-rw-r--r--meta/recipes-core/gettext/gettext_0.21.1.bb (renamed from meta/recipes-core/gettext/gettext_0.21.bb)9
25 files changed, 223 insertions, 278 deletions
diff --git a/meta/recipes-core/gettext/gettext-0.21/0001-init-env.in-do-not-add-C-CXX-parameters.patch b/meta/recipes-core/gettext/gettext-0.21.1/0001-init-env.in-do-not-add-C-CXX-parameters.patch
index d45b75869a..d45b75869a 100644
--- a/meta/recipes-core/gettext/gettext-0.21/0001-init-env.in-do-not-add-C-CXX-parameters.patch
+++ b/meta/recipes-core/gettext/gettext-0.21.1/0001-init-env.in-do-not-add-C-CXX-parameters.patch
diff --git a/meta/recipes-core/gettext/gettext-0.21/0001-tests-autopoint-3-unset-MAKEFLAGS.patch b/meta/recipes-core/gettext/gettext-0.21.1/0001-tests-autopoint-3-unset-MAKEFLAGS.patch
index b0bc6b97a6..b0bc6b97a6 100644
--- a/meta/recipes-core/gettext/gettext-0.21/0001-tests-autopoint-3-unset-MAKEFLAGS.patch
+++ b/meta/recipes-core/gettext/gettext-0.21.1/0001-tests-autopoint-3-unset-MAKEFLAGS.patch
diff --git a/meta/recipes-core/gettext/gettext-0.21/parallel.patch b/meta/recipes-core/gettext/gettext-0.21.1/parallel.patch
index d96a376b7d..d96a376b7d 100644
--- a/meta/recipes-core/gettext/gettext-0.21/parallel.patch
+++ b/meta/recipes-core/gettext/gettext-0.21.1/parallel.patch
diff --git a/meta/recipes-core/gettext/gettext-0.21/run-ptest b/meta/recipes-core/gettext/gettext-0.21.1/run-ptest
index f17f3c87a7..f17f3c87a7 100644
--- a/meta/recipes-core/gettext/gettext-0.21/run-ptest
+++ b/meta/recipes-core/gettext/gettext-0.21.1/run-ptest
diff --git a/meta/recipes-core/gettext/gettext-0.21/serial-tests-config.patch b/meta/recipes-core/gettext/gettext-0.21.1/serial-tests-config.patch
index 93f7c03334..93f7c03334 100644
--- a/meta/recipes-core/gettext/gettext-0.21/serial-tests-config.patch
+++ b/meta/recipes-core/gettext/gettext-0.21.1/serial-tests-config.patch
diff --git a/meta/recipes-core/gettext/gettext-0.21/use-pkgconfig.patch b/meta/recipes-core/gettext/gettext-0.21.1/use-pkgconfig.patch
index fc77feb270..c12e0d3b88 100644
--- a/meta/recipes-core/gettext/gettext-0.21/use-pkgconfig.patch
+++ b/meta/recipes-core/gettext/gettext-0.21.1/use-pkgconfig.patch
@@ -1,4 +1,4 @@
1From 15647f679834be633fb4a9aeff4671b9cb95ccb8 Mon Sep 17 00:00:00 2001 1From 38c361e6860bfaefbefeccae621e698c301879f2 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
@@ -14,18 +14,18 @@ Upstream-Status: Inappropriate [upstream still refuse to consider pkg-config]
14Signed-off-by: Ross Burton <ross.burton@intel.com> 14Signed-off-by: Ross Burton <ross.burton@intel.com>
15 15
16--- 16---
17 gettext-tools/gnulib-m4/libxml.m4 | 99 +---------------- 17 gettext-tools/gnulib-m4/libxml.m4 | 105 +----------------
18 .../gnulib-local/lib/term-styled-ostream.oo.c | 12 +-- 18 .../gnulib-local/lib/term-styled-ostream.oo.c | 12 +-
19 libtextstyle/gnulib-local/m4/libcroco.m4 | 99 +++-------------- 19 libtextstyle/gnulib-local/m4/libcroco.m4 | 98 +++-------------
20 libtextstyle/gnulib-local/m4/libglib.m4 | 100 +++--------------- 20 libtextstyle/gnulib-local/m4/libglib.m4 | 106 +++---------------
21 libtextstyle/gnulib-m4/libcroco.m4 | 99 +++-------------- 21 libtextstyle/gnulib-m4/libcroco.m4 | 98 +++-------------
22 libtextstyle/gnulib-m4/libglib.m4 | 100 +++--------------- 22 libtextstyle/gnulib-m4/libglib.m4 | 106 +++---------------
23 libtextstyle/lib/term-styled-ostream.c | 12 +-- 23 libtextstyle/lib/term-styled-ostream.c | 12 +-
24 libtextstyle/lib/term-styled-ostream.oo.c | 12 +-- 24 libtextstyle/lib/term-styled-ostream.oo.c | 12 +-
25 8 files changed, 83 insertions(+), 450 deletions(-) 25 8 files changed, 79 insertions(+), 470 deletions(-)
26 26
27diff --git a/gettext-tools/gnulib-m4/libxml.m4 b/gettext-tools/gnulib-m4/libxml.m4 27diff --git a/gettext-tools/gnulib-m4/libxml.m4 b/gettext-tools/gnulib-m4/libxml.m4
28index 2f80c37..30ce58e 100644 28index 0340490..0355388 100644
29--- a/gettext-tools/gnulib-m4/libxml.m4 29--- a/gettext-tools/gnulib-m4/libxml.m4
30+++ b/gettext-tools/gnulib-m4/libxml.m4 30+++ b/gettext-tools/gnulib-m4/libxml.m4
31@@ -13,6 +13,7 @@ dnl gl_LIBXML(FORCE-INCLUDED) 31@@ -13,6 +13,7 @@ dnl gl_LIBXML(FORCE-INCLUDED)
@@ -36,7 +36,7 @@ index 2f80c37..30ce58e 100644
36 AC_REQUIRE([AM_ICONV_LINK]) 36 AC_REQUIRE([AM_ICONV_LINK])
37 37
38 ifelse([$1], , [ 38 ifelse([$1], , [
39@@ -30,100 +31,10 @@ AC_DEFUN([gl_LIBXML], 39@@ -30,106 +31,10 @@ AC_DEFUN([gl_LIBXML],
40 INCXML= 40 INCXML=
41 ifelse([$1], [yes], , [ 41 ifelse([$1], [yes], , [
42 if test "$gl_cv_libxml_use_included" != yes; then 42 if test "$gl_cv_libxml_use_included" != yes; then
@@ -60,14 +60,16 @@ index 2f80c37..30ce58e 100644
60- dnl -Wl,--disable-auto-import. 60- dnl -Wl,--disable-auto-import.
61- AC_LIB_LINKFLAGS_BODY([xml2]) 61- AC_LIB_LINKFLAGS_BODY([xml2])
62- LIBS="$gl_save_LIBS $LIBXML2 $LIBICONV" 62- LIBS="$gl_save_LIBS $LIBXML2 $LIBICONV"
63- AC_TRY_LINK([#include <libxml/xmlversion.h> 63- AC_LINK_IFELSE(
64- #include <libxml/xmlmemory.h> 64- [AC_LANG_PROGRAM(
65- #include <libxml/xpath.h> 65- [[#include <libxml/xmlversion.h>
66- ], 66- #include <libxml/xmlmemory.h>
67- [xmlCheckVersion (0); 67- #include <libxml/xpath.h>
68- xmlFree ((void *) 0); 68- ]],
69- xmlXPathSetContextNode ((void *)0, (void *)0); 69- [[xmlCheckVersion (0);
70- ], 70- xmlFree ((void *) 0);
71- xmlXPathSetContextNode ((void *)0, (void *)0);
72- ]])],
71- [gl_cv_libxml=yes 73- [gl_cv_libxml=yes
72- gl_cv_LIBXML="$LIBXML2 $LIBICONV" 74- gl_cv_LIBXML="$LIBXML2 $LIBICONV"
73- gl_cv_LTLIBXML="$LTLIBXML2 $LTLIBICONV" 75- gl_cv_LTLIBXML="$LTLIBXML2 $LTLIBICONV"
@@ -75,14 +77,16 @@ index 2f80c37..30ce58e 100644
75- if test "$gl_cv_libxml" != yes; then 77- if test "$gl_cv_libxml" != yes; then
76- gl_save_CPPFLAGS="$CPPFLAGS" 78- gl_save_CPPFLAGS="$CPPFLAGS"
77- CPPFLAGS="$CPPFLAGS $INCXML2" 79- CPPFLAGS="$CPPFLAGS $INCXML2"
78- AC_TRY_LINK([#include <libxml/xmlversion.h> 80- AC_LINK_IFELSE(
79- #include <libxml/xmlmemory.h> 81- [AC_LANG_PROGRAM(
80- #include <libxml/xpath.h> 82- [[#include <libxml/xmlversion.h>
81- ], 83- #include <libxml/xmlmemory.h>
82- [xmlCheckVersion (0); 84- #include <libxml/xpath.h>
83- xmlFree ((void *) 0); 85- ]],
84- xmlXPathSetContextNode ((void *)0, (void *)0); 86- [[xmlCheckVersion (0);
85- ], 87- xmlFree ((void *) 0);
88- xmlXPathSetContextNode ((void *)0, (void *)0);
89- ]])],
86- [gl_cv_libxml=yes 90- [gl_cv_libxml=yes
87- gl_cv_LIBXML="$LIBXML2 $LIBICONV" 91- gl_cv_LIBXML="$LIBXML2 $LIBICONV"
88- gl_cv_LTLIBXML="$LTLIBXML2 $LTLIBICONV" 92- gl_cv_LTLIBXML="$LTLIBXML2 $LTLIBICONV"
@@ -94,26 +98,28 @@ index 2f80c37..30ce58e 100644
94- dnl In libxml2-2.6, it includes <libxml/xmlexports.h> which is 98- dnl In libxml2-2.6, it includes <libxml/xmlexports.h> which is
95- dnl self-contained. 99- dnl self-contained.
96- libxml2_include_dir= 100- libxml2_include_dir=
97- AC_TRY_CPP([#include <libxml2/libxml/xmlexports.h>], 101- AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <libxml2/libxml/xmlexports.h>]])],
98- [gl_ABSOLUTE_HEADER([libxml2/libxml/xmlexports.h]) 102- [gl_ABSOLUTE_HEADER([libxml2/libxml/xmlexports.h])
99- libxml2_include_dir=`echo "$gl_cv_absolute_libxml2_libxml_xmlexports_h" | sed -e 's,.libxml.xmlexports\.h$,,'` 103- libxml2_include_dir=`echo "$gl_cv_absolute_libxml2_libxml_xmlexports_h" | sed -e 's,.libxml.xmlexports\.h$,,'`
100- ]) 104- ])
101- if test -z "$libxml2_include_dir"; then 105- if test -z "$libxml2_include_dir"; then
102- AC_TRY_CPP([#include <libxml2/libxml/xmlversion.h>], 106- AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <libxml2/libxml/xmlversion.h>]])],
103- [gl_ABSOLUTE_HEADER([libxml2/libxml/xmlversion.h]) 107- [gl_ABSOLUTE_HEADER([libxml2/libxml/xmlversion.h])
104- libxml2_include_dir=`echo "$gl_cv_absolute_libxml2_libxml_xmlversion_h" | sed -e 's,.libxml.xmlversion\.h$,,'` 108- libxml2_include_dir=`echo "$gl_cv_absolute_libxml2_libxml_xmlversion_h" | sed -e 's,.libxml.xmlversion\.h$,,'`
105- ]) 109- ])
106- fi 110- fi
107- if test -n "$libxml2_include_dir" && test -d "$libxml2_include_dir"; then 111- if test -n "$libxml2_include_dir" && test -d "$libxml2_include_dir"; then
108- CPPFLAGS="$gl_save_CPPFLAGS -I$libxml2_include_dir" 112- CPPFLAGS="$gl_save_CPPFLAGS -I$libxml2_include_dir"
109- AC_TRY_LINK([#include <libxml/xmlversion.h> 113- AC_LINK_IFELSE(
110- #include <libxml/xmlmemory.h> 114- [AC_LANG_PROGRAM(
111- #include <libxml/xpath.h> 115- [[#include <libxml/xmlversion.h>
112- ], 116- #include <libxml/xmlmemory.h>
113- [xmlCheckVersion (0); 117- #include <libxml/xpath.h>
114- xmlFree ((void *) 0); 118- ]],
115- xmlXPathSetContextNode ((void *)0, (void *)0); 119- [[xmlCheckVersion (0);
116- ], 120- xmlFree ((void *) 0);
121- xmlXPathSetContextNode ((void *)0, (void *)0);
122- ]])],
117- [gl_cv_libxml=yes 123- [gl_cv_libxml=yes
118- gl_cv_LIBXML="$LIBXML2 $LIBICONV" 124- gl_cv_LIBXML="$LIBXML2 $LIBICONV"
119- gl_cv_LTLIBXML="$LTLIBXML2 $LTLIBICONV" 125- gl_cv_LTLIBXML="$LTLIBXML2 $LTLIBICONV"
@@ -168,17 +174,10 @@ index 2ff978f..5ffb17a 100644
168 #include "term-ostream.h" 174 #include "term-ostream.h"
169 #include "mem-hash-map.h" 175 #include "mem-hash-map.h"
170diff --git a/libtextstyle/gnulib-local/m4/libcroco.m4 b/libtextstyle/gnulib-local/m4/libcroco.m4 176diff --git a/libtextstyle/gnulib-local/m4/libcroco.m4 b/libtextstyle/gnulib-local/m4/libcroco.m4
171index bc53cc6..10b2455 100644 177index 39e72b1..042915a 100644
172--- a/libtextstyle/gnulib-local/m4/libcroco.m4 178--- a/libtextstyle/gnulib-local/m4/libcroco.m4
173+++ b/libtextstyle/gnulib-local/m4/libcroco.m4 179+++ b/libtextstyle/gnulib-local/m4/libcroco.m4
174@@ -1,99 +1,34 @@ 180@@ -6,97 +6,29 @@ dnl with or without modifications, as long as this notice is preserved.
175-# libcroco.m4 serial 3
176-dnl Copyright (C) 2006-2007, 2019 Free Software Foundation, Inc.
177+# libcroco.m4 serial 2 (gettext-0.17)
178+dnl Copyright (C) 2006, 2015-2016 Free Software Foundation, Inc.
179 dnl This file is free software; the Free Software Foundation
180 dnl gives unlimited permission to copy and/or distribute it,
181 dnl with or without modifications, as long as this notice is preserved.
182 181
183 dnl From Bruno Haible. 182 dnl From Bruno Haible.
184 183
@@ -233,8 +232,9 @@ index bc53cc6..10b2455 100644
233- dnl one that built the library. 232- dnl one that built the library.
234- AC_LIB_LINKFLAGS_BODY([croco-0.6], [glib-2.0]) 233- AC_LIB_LINKFLAGS_BODY([croco-0.6], [glib-2.0])
235- LIBS="$gl_save_LIBS $LIBCROCO_0_6" 234- LIBS="$gl_save_LIBS $LIBCROCO_0_6"
236- AC_TRY_LINK([#include <libcroco-config.h>], 235- AC_LINK_IFELSE(
237- [const char *version = LIBCROCO_VERSION; return !version;], 236- [AC_LANG_PROGRAM([[#include <libcroco-config.h>]],
237- [[const char *version = LIBCROCO_VERSION; return !version;]])],
238- [gl_cv_libcroco=yes 238- [gl_cv_libcroco=yes
239- gl_cv_LIBCROCO="$LIBCROCO_0_6" 239- gl_cv_LIBCROCO="$LIBCROCO_0_6"
240- gl_cv_LTLIBCROCO="$LTLIBCROCO_0_6" 240- gl_cv_LTLIBCROCO="$LTLIBCROCO_0_6"
@@ -242,8 +242,9 @@ index bc53cc6..10b2455 100644
242- if test "$gl_cv_libcroco" != yes; then 242- if test "$gl_cv_libcroco" != yes; then
243- gl_save_CPPFLAGS="$CPPFLAGS" 243- gl_save_CPPFLAGS="$CPPFLAGS"
244- CPPFLAGS="$CPPFLAGS $INCCROCO_0_6" 244- CPPFLAGS="$CPPFLAGS $INCCROCO_0_6"
245- AC_TRY_LINK([#include <libcroco-config.h>], 245- AC_LINK_IFELSE(
246- [const char *version = LIBCROCO_VERSION; return !version;], 246- [AC_LANG_PROGRAM([[#include <libcroco-config.h>]],
247- [[const char *version = LIBCROCO_VERSION; return !version;]])],
247- [gl_cv_libcroco=yes 248- [gl_cv_libcroco=yes
248- gl_cv_LIBCROCO="$LIBCROCO_0_6" 249- gl_cv_LIBCROCO="$LIBCROCO_0_6"
249- gl_cv_LTLIBCROCO="$LTLIBCROCO_0_6" 250- gl_cv_LTLIBCROCO="$LTLIBCROCO_0_6"
@@ -252,8 +253,9 @@ index bc53cc6..10b2455 100644
252- if test "$gl_cv_libcroco" != yes; then 253- if test "$gl_cv_libcroco" != yes; then
253- dnl Often the include files are installed in 254- dnl Often the include files are installed in
254- dnl /usr/include/libcroco-0.6/libcroco. 255- dnl /usr/include/libcroco-0.6/libcroco.
255- AC_TRY_LINK([#include <libcroco-0.6/libcroco/libcroco-config.h>], 256- AC_LINK_IFELSE(
256- [const char *version = LIBCROCO_VERSION; return !version;], 257- [AC_LANG_PROGRAM([[#include <libcroco-config.h>]],
258- [[const char *version = LIBCROCO_VERSION; return !version;]])],
257- [gl_ABSOLUTE_HEADER([libcroco-0.6/libcroco/libcroco-config.h]) 259- [gl_ABSOLUTE_HEADER([libcroco-0.6/libcroco/libcroco-config.h])
258- libcroco_include_dir=`echo "$gl_cv_absolute_libcroco_0_6_libcroco_libcroco_config_h" | sed -e 's,.libcroco-config\.h$,,'` 260- libcroco_include_dir=`echo "$gl_cv_absolute_libcroco_0_6_libcroco_libcroco_config_h" | sed -e 's,.libcroco-config\.h$,,'`
259- if test -d "$libcroco_include_dir"; then 261- if test -d "$libcroco_include_dir"; then
@@ -289,10 +291,10 @@ index bc53cc6..10b2455 100644
289 AC_SUBST([LTLIBCROCO]) 291 AC_SUBST([LTLIBCROCO])
290 AC_SUBST([INCCROCO]) 292 AC_SUBST([INCCROCO])
291diff --git a/libtextstyle/gnulib-local/m4/libglib.m4 b/libtextstyle/gnulib-local/m4/libglib.m4 293diff --git a/libtextstyle/gnulib-local/m4/libglib.m4 b/libtextstyle/gnulib-local/m4/libglib.m4
292index 5853772..767fba2 100644 294index 7ee5029..bb1e5e4 100644
293--- a/libtextstyle/gnulib-local/m4/libglib.m4 295--- a/libtextstyle/gnulib-local/m4/libglib.m4
294+++ b/libtextstyle/gnulib-local/m4/libglib.m4 296+++ b/libtextstyle/gnulib-local/m4/libglib.m4
295@@ -6,100 +6,26 @@ dnl with or without modifications, as long as this notice is preserved. 297@@ -6,106 +6,26 @@ dnl with or without modifications, as long as this notice is preserved.
296 298
297 dnl From Bruno Haible. 299 dnl From Bruno Haible.
298 300
@@ -340,12 +342,14 @@ index 5853772..767fba2 100644
340- dnl one that built the library. 342- dnl one that built the library.
341- AC_LIB_LINKFLAGS_BODY([glib-2.0]) 343- AC_LIB_LINKFLAGS_BODY([glib-2.0])
342- LIBS="$gl_save_LIBS $LIBGLIB_2_0" 344- LIBS="$gl_save_LIBS $LIBGLIB_2_0"
343- AC_TRY_LINK([#include <glib.h> 345- AC_LINK_IFELSE(
344-#ifndef G_BEGIN_DECLS 346- [AC_LANG_PROGRAM(
345-error this glib.h includes a glibconfig.h from a glib version 1.x 347- [[#include <glib.h>
346-#endif 348- #ifndef G_BEGIN_DECLS
347-], 349- error this glib.h includes a glibconfig.h from a glib version 1.x
348- [g_string_new ("foo");], 350- #endif
351- ]],
352- [[g_string_new ("foo");]])],
349- [gl_cv_libglib=yes 353- [gl_cv_libglib=yes
350- gl_cv_LIBGLIB="$LIBGLIB_2_0" 354- gl_cv_LIBGLIB="$LIBGLIB_2_0"
351- gl_cv_LTLIBGLIB="$LTLIBGLIB_2_0" 355- gl_cv_LTLIBGLIB="$LTLIBGLIB_2_0"
@@ -353,12 +357,14 @@ index 5853772..767fba2 100644
353- if test "$gl_cv_libglib" != yes; then 357- if test "$gl_cv_libglib" != yes; then
354- gl_save_CPPFLAGS="$CPPFLAGS" 358- gl_save_CPPFLAGS="$CPPFLAGS"
355- CPPFLAGS="$CPPFLAGS $INCGLIB_2_0" 359- CPPFLAGS="$CPPFLAGS $INCGLIB_2_0"
356- AC_TRY_LINK([#include <glib.h> 360- AC_LINK_IFELSE(
357-#ifndef G_BEGIN_DECLS 361- [AC_LANG_PROGRAM(
358-error this glib.h includes a glibconfig.h from a glib version 1.x 362- [[#include <glib.h>
359-#endif 363- #ifndef G_BEGIN_DECLS
360-], 364- error this glib.h includes a glibconfig.h from a glib version 1.x
361- [g_string_new ("foo");], 365- #endif
366- ]],
367- [[g_string_new ("foo");]])],
362- [gl_cv_libglib=yes 368- [gl_cv_libglib=yes
363- gl_cv_LIBGLIB="$LIBGLIB_2_0" 369- gl_cv_LIBGLIB="$LIBGLIB_2_0"
364- gl_cv_LTLIBGLIB="$LTLIBGLIB_2_0" 370- gl_cv_LTLIBGLIB="$LTLIBGLIB_2_0"
@@ -369,12 +375,14 @@ index 5853772..767fba2 100644
369- dnl and /usr/lib/glib-2.0/include. 375- dnl and /usr/lib/glib-2.0/include.
370- if test -n "$LIBGLIB_2_0_PREFIX"; then 376- if test -n "$LIBGLIB_2_0_PREFIX"; then
371- CPPFLAGS="$gl_save_CPPFLAGS -I$LIBGLIB_2_0_PREFIX/include/glib-2.0 -I$LIBGLIB_2_0_PREFIX/$acl_libdirstem/glib-2.0/include" 377- CPPFLAGS="$gl_save_CPPFLAGS -I$LIBGLIB_2_0_PREFIX/include/glib-2.0 -I$LIBGLIB_2_0_PREFIX/$acl_libdirstem/glib-2.0/include"
372- AC_TRY_LINK([#include <glib.h> 378- AC_LINK_IFELSE(
373-#ifndef G_BEGIN_DECLS 379- [AC_LANG_PROGRAM(
374-error this glib.h includes a glibconfig.h from a glib version 1.x 380- [[#include <glib.h>
375-#endif 381- #ifndef G_BEGIN_DECLS
376-], 382- error this glib.h includes a glibconfig.h from a glib version 1.x
377- [g_string_new ("foo");], 383- #endif
384- ]],
385- [[g_string_new ("foo");]])],
378- [gl_cv_libglib=yes 386- [gl_cv_libglib=yes
379- gl_cv_LIBGLIB="$LIBGLIB_2_0" 387- gl_cv_LIBGLIB="$LIBGLIB_2_0"
380- gl_cv_LTLIBGLIB="$LTLIBGLIB_2_0" 388- gl_cv_LTLIBGLIB="$LTLIBGLIB_2_0"
@@ -407,17 +415,10 @@ index 5853772..767fba2 100644
407 AC_SUBST([LTLIBGLIB]) 415 AC_SUBST([LTLIBGLIB])
408 AC_SUBST([INCGLIB]) 416 AC_SUBST([INCGLIB])
409diff --git a/libtextstyle/gnulib-m4/libcroco.m4 b/libtextstyle/gnulib-m4/libcroco.m4 417diff --git a/libtextstyle/gnulib-m4/libcroco.m4 b/libtextstyle/gnulib-m4/libcroco.m4
410index bc53cc6..10b2455 100644 418index 39e72b1..042915a 100644
411--- a/libtextstyle/gnulib-m4/libcroco.m4 419--- a/libtextstyle/gnulib-m4/libcroco.m4
412+++ b/libtextstyle/gnulib-m4/libcroco.m4 420+++ b/libtextstyle/gnulib-m4/libcroco.m4
413@@ -1,99 +1,34 @@ 421@@ -6,97 +6,29 @@ dnl with or without modifications, as long as this notice is preserved.
414-# libcroco.m4 serial 3
415-dnl Copyright (C) 2006-2007, 2019 Free Software Foundation, Inc.
416+# libcroco.m4 serial 2 (gettext-0.17)
417+dnl Copyright (C) 2006, 2015-2016 Free Software Foundation, Inc.
418 dnl This file is free software; the Free Software Foundation
419 dnl gives unlimited permission to copy and/or distribute it,
420 dnl with or without modifications, as long as this notice is preserved.
421 422
422 dnl From Bruno Haible. 423 dnl From Bruno Haible.
423 424
@@ -472,8 +473,9 @@ index bc53cc6..10b2455 100644
472- dnl one that built the library. 473- dnl one that built the library.
473- AC_LIB_LINKFLAGS_BODY([croco-0.6], [glib-2.0]) 474- AC_LIB_LINKFLAGS_BODY([croco-0.6], [glib-2.0])
474- LIBS="$gl_save_LIBS $LIBCROCO_0_6" 475- LIBS="$gl_save_LIBS $LIBCROCO_0_6"
475- AC_TRY_LINK([#include <libcroco-config.h>], 476- AC_LINK_IFELSE(
476- [const char *version = LIBCROCO_VERSION; return !version;], 477- [AC_LANG_PROGRAM([[#include <libcroco-config.h>]],
478- [[const char *version = LIBCROCO_VERSION; return !version;]])],
477- [gl_cv_libcroco=yes 479- [gl_cv_libcroco=yes
478- gl_cv_LIBCROCO="$LIBCROCO_0_6" 480- gl_cv_LIBCROCO="$LIBCROCO_0_6"
479- gl_cv_LTLIBCROCO="$LTLIBCROCO_0_6" 481- gl_cv_LTLIBCROCO="$LTLIBCROCO_0_6"
@@ -481,8 +483,9 @@ index bc53cc6..10b2455 100644
481- if test "$gl_cv_libcroco" != yes; then 483- if test "$gl_cv_libcroco" != yes; then
482- gl_save_CPPFLAGS="$CPPFLAGS" 484- gl_save_CPPFLAGS="$CPPFLAGS"
483- CPPFLAGS="$CPPFLAGS $INCCROCO_0_6" 485- CPPFLAGS="$CPPFLAGS $INCCROCO_0_6"
484- AC_TRY_LINK([#include <libcroco-config.h>], 486- AC_LINK_IFELSE(
485- [const char *version = LIBCROCO_VERSION; return !version;], 487- [AC_LANG_PROGRAM([[#include <libcroco-config.h>]],
488- [[const char *version = LIBCROCO_VERSION; return !version;]])],
486- [gl_cv_libcroco=yes 489- [gl_cv_libcroco=yes
487- gl_cv_LIBCROCO="$LIBCROCO_0_6" 490- gl_cv_LIBCROCO="$LIBCROCO_0_6"
488- gl_cv_LTLIBCROCO="$LTLIBCROCO_0_6" 491- gl_cv_LTLIBCROCO="$LTLIBCROCO_0_6"
@@ -491,8 +494,9 @@ index bc53cc6..10b2455 100644
491- if test "$gl_cv_libcroco" != yes; then 494- if test "$gl_cv_libcroco" != yes; then
492- dnl Often the include files are installed in 495- dnl Often the include files are installed in
493- dnl /usr/include/libcroco-0.6/libcroco. 496- dnl /usr/include/libcroco-0.6/libcroco.
494- AC_TRY_LINK([#include <libcroco-0.6/libcroco/libcroco-config.h>], 497- AC_LINK_IFELSE(
495- [const char *version = LIBCROCO_VERSION; return !version;], 498- [AC_LANG_PROGRAM([[#include <libcroco-config.h>]],
499- [[const char *version = LIBCROCO_VERSION; return !version;]])],
496- [gl_ABSOLUTE_HEADER([libcroco-0.6/libcroco/libcroco-config.h]) 500- [gl_ABSOLUTE_HEADER([libcroco-0.6/libcroco/libcroco-config.h])
497- libcroco_include_dir=`echo "$gl_cv_absolute_libcroco_0_6_libcroco_libcroco_config_h" | sed -e 's,.libcroco-config\.h$,,'` 501- libcroco_include_dir=`echo "$gl_cv_absolute_libcroco_0_6_libcroco_libcroco_config_h" | sed -e 's,.libcroco-config\.h$,,'`
498- if test -d "$libcroco_include_dir"; then 502- if test -d "$libcroco_include_dir"; then
@@ -528,10 +532,10 @@ index bc53cc6..10b2455 100644
528 AC_SUBST([LTLIBCROCO]) 532 AC_SUBST([LTLIBCROCO])
529 AC_SUBST([INCCROCO]) 533 AC_SUBST([INCCROCO])
530diff --git a/libtextstyle/gnulib-m4/libglib.m4 b/libtextstyle/gnulib-m4/libglib.m4 534diff --git a/libtextstyle/gnulib-m4/libglib.m4 b/libtextstyle/gnulib-m4/libglib.m4
531index 5853772..767fba2 100644 535index 7ee5029..bb1e5e4 100644
532--- a/libtextstyle/gnulib-m4/libglib.m4 536--- a/libtextstyle/gnulib-m4/libglib.m4
533+++ b/libtextstyle/gnulib-m4/libglib.m4 537+++ b/libtextstyle/gnulib-m4/libglib.m4
534@@ -6,100 +6,26 @@ dnl with or without modifications, as long as this notice is preserved. 538@@ -6,106 +6,26 @@ dnl with or without modifications, as long as this notice is preserved.
535 539
536 dnl From Bruno Haible. 540 dnl From Bruno Haible.
537 541
@@ -579,12 +583,14 @@ index 5853772..767fba2 100644
579- dnl one that built the library. 583- dnl one that built the library.
580- AC_LIB_LINKFLAGS_BODY([glib-2.0]) 584- AC_LIB_LINKFLAGS_BODY([glib-2.0])
581- LIBS="$gl_save_LIBS $LIBGLIB_2_0" 585- LIBS="$gl_save_LIBS $LIBGLIB_2_0"
582- AC_TRY_LINK([#include <glib.h> 586- AC_LINK_IFELSE(
583-#ifndef G_BEGIN_DECLS 587- [AC_LANG_PROGRAM(
584-error this glib.h includes a glibconfig.h from a glib version 1.x 588- [[#include <glib.h>
585-#endif 589- #ifndef G_BEGIN_DECLS
586-], 590- error this glib.h includes a glibconfig.h from a glib version 1.x
587- [g_string_new ("foo");], 591- #endif
592- ]],
593- [[g_string_new ("foo");]])],
588- [gl_cv_libglib=yes 594- [gl_cv_libglib=yes
589- gl_cv_LIBGLIB="$LIBGLIB_2_0" 595- gl_cv_LIBGLIB="$LIBGLIB_2_0"
590- gl_cv_LTLIBGLIB="$LTLIBGLIB_2_0" 596- gl_cv_LTLIBGLIB="$LTLIBGLIB_2_0"
@@ -592,12 +598,14 @@ index 5853772..767fba2 100644
592- if test "$gl_cv_libglib" != yes; then 598- if test "$gl_cv_libglib" != yes; then
593- gl_save_CPPFLAGS="$CPPFLAGS" 599- gl_save_CPPFLAGS="$CPPFLAGS"
594- CPPFLAGS="$CPPFLAGS $INCGLIB_2_0" 600- CPPFLAGS="$CPPFLAGS $INCGLIB_2_0"
595- AC_TRY_LINK([#include <glib.h> 601- AC_LINK_IFELSE(
596-#ifndef G_BEGIN_DECLS 602- [AC_LANG_PROGRAM(
597-error this glib.h includes a glibconfig.h from a glib version 1.x 603- [[#include <glib.h>
598-#endif 604- #ifndef G_BEGIN_DECLS
599-], 605- error this glib.h includes a glibconfig.h from a glib version 1.x
600- [g_string_new ("foo");], 606- #endif
607- ]],
608- [[g_string_new ("foo");]])],
601- [gl_cv_libglib=yes 609- [gl_cv_libglib=yes
602- gl_cv_LIBGLIB="$LIBGLIB_2_0" 610- gl_cv_LIBGLIB="$LIBGLIB_2_0"
603- gl_cv_LTLIBGLIB="$LTLIBGLIB_2_0" 611- gl_cv_LTLIBGLIB="$LTLIBGLIB_2_0"
@@ -608,12 +616,14 @@ index 5853772..767fba2 100644
608- dnl and /usr/lib/glib-2.0/include. 616- dnl and /usr/lib/glib-2.0/include.
609- if test -n "$LIBGLIB_2_0_PREFIX"; then 617- if test -n "$LIBGLIB_2_0_PREFIX"; then
610- CPPFLAGS="$gl_save_CPPFLAGS -I$LIBGLIB_2_0_PREFIX/include/glib-2.0 -I$LIBGLIB_2_0_PREFIX/$acl_libdirstem/glib-2.0/include" 618- CPPFLAGS="$gl_save_CPPFLAGS -I$LIBGLIB_2_0_PREFIX/include/glib-2.0 -I$LIBGLIB_2_0_PREFIX/$acl_libdirstem/glib-2.0/include"
611- AC_TRY_LINK([#include <glib.h> 619- AC_LINK_IFELSE(
612-#ifndef G_BEGIN_DECLS 620- [AC_LANG_PROGRAM(
613-error this glib.h includes a glibconfig.h from a glib version 1.x 621- [[#include <glib.h>
614-#endif 622- #ifndef G_BEGIN_DECLS
615-], 623- error this glib.h includes a glibconfig.h from a glib version 1.x
616- [g_string_new ("foo");], 624- #endif
625- ]],
626- [[g_string_new ("foo");]])],
617- [gl_cv_libglib=yes 627- [gl_cv_libglib=yes
618- gl_cv_LIBGLIB="$LIBGLIB_2_0" 628- gl_cv_LIBGLIB="$LIBGLIB_2_0"
619- gl_cv_LTLIBGLIB="$LTLIBGLIB_2_0" 629- gl_cv_LTLIBGLIB="$LTLIBGLIB_2_0"
diff --git a/meta/recipes-core/gettext/gettext-0.21/0001-libtextstyle-fix-builds-with-automake-1.16.4-and-new.patch b/meta/recipes-core/gettext/gettext-0.21/0001-libtextstyle-fix-builds-with-automake-1.16.4-and-new.patch
deleted file mode 100644
index 727d1db552..0000000000
--- a/meta/recipes-core/gettext/gettext-0.21/0001-libtextstyle-fix-builds-with-automake-1.16.4-and-new.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From 2f127ebe425c97b0641fe1bc73247e91e18c2be0 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Thu, 11 Nov 2021 22:06:16 +0100
4Subject: [PATCH] libtextstyle: fix builds with automake 1.16.4 and newer
5
6Upstream-Status: Submitted [http://savannah.gnu.org/bugs/?59929]
7Signed-off-by: Alexander Kanavin <alex@linutronix.de>
8---
9 libtextstyle/configure.ac | 5 ++---
10 1 file changed, 2 insertions(+), 3 deletions(-)
11
12diff --git a/libtextstyle/configure.ac b/libtextstyle/configure.ac
13index 63b4c2a..cab9025 100644
14--- a/libtextstyle/configure.ac
15+++ b/libtextstyle/configure.ac
16@@ -17,11 +17,10 @@ dnl along with this program. If not, see <https://www.gnu.org/licenses/>.
17 dnl Process this file with autoconf to produce a configure script.
18
19 AC_PREREQ([2.63])
20-AC_INIT
21+AC_INIT([libtextstyle],
22+ [0.20.1])
23 AC_CONFIG_SRCDIR([version.sh])
24 AC_CONFIG_AUX_DIR([build-aux])
25-. $srcdir/version.sh
26-gl_INIT_PACKAGE([libtextstyle], [$VERSION_NUMBER])
27 AM_INIT_AUTOMAKE([1.13 silent-rules])
28 AM_CONFIG_HEADER([config.h])
29
diff --git a/meta/recipes-core/gettext/gettext-0.21/0001-msgmerge-29-Add-executable-file-mode-bits.patch b/meta/recipes-core/gettext/gettext-0.21/0001-msgmerge-29-Add-executable-file-mode-bits.patch
deleted file mode 100644
index e42a6c0a4d..0000000000
--- a/meta/recipes-core/gettext/gettext-0.21/0001-msgmerge-29-Add-executable-file-mode-bits.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1From 71988f83b69c4ed98d1b9418da80edf11a931894 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 23 Sep 2020 22:08:34 -0700
4Subject: [PATCH] msgmerge-29: Add executable file mode bits
5
6This script is installed with default mode bits and executed directly
7e.g ./msgmerge-29 when doing make check which results in
8
9/bin/bash: line 9: ./msgmerge-29: Permission denied
10
11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 gettext-tools/tests/msgmerge-29 | 0
15 1 file changed, 0 insertions(+), 0 deletions(-)
16 mode change 100644 => 100755 gettext-tools/tests/msgmerge-29
17
18diff --git a/gettext-tools/tests/msgmerge-29 b/gettext-tools/tests/msgmerge-29
19old mode 100644
20new mode 100755
21--
222.28.0
23
diff --git a/meta/recipes-core/gettext/gettext-0.21/mingw.patch b/meta/recipes-core/gettext/gettext-0.21/mingw.patch
deleted file mode 100644
index b062c784f6..0000000000
--- a/meta/recipes-core/gettext/gettext-0.21/mingw.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 7cf68dffb2adb76375bfb0781e277510523a1f3e Mon Sep 17 00:00:00 2001
2From: Michele Locati <michele@locati.it>
3Date: Thu, 30 Jul 2020 18:58:02 +0200
4Subject: [PATCH] build: Fix build failure on Cygwin and mingw.
5
6* gettext-tools/woe32dll/gettextsrc-exports.c: Export formatstring_ruby.
7
8Upstream-Status: Backport
9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10---
11 gettext-tools/woe32dll/gettextsrc-exports.c | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/gettext-tools/woe32dll/gettextsrc-exports.c b/gettext-tools/woe32dll/gettextsrc-exports.c
15index 4477ae8..6d76089 100644
16--- a/gettext-tools/woe32dll/gettextsrc-exports.c
17+++ b/gettext-tools/woe32dll/gettextsrc-exports.c
18@@ -50,6 +50,7 @@ VARIABLE(formatstring_python)
19 VARIABLE(formatstring_python_brace)
20 VARIABLE(formatstring_qt)
21 VARIABLE(formatstring_qt_plural)
22+VARIABLE(formatstring_ruby)
23 VARIABLE(formatstring_scheme)
24 VARIABLE(formatstring_sh)
25 VARIABLE(formatstring_smalltalk)
26--
271.9.1
28
diff --git a/meta/recipes-core/gettext/gettext-minimal-0.21/COPYING b/meta/recipes-core/gettext/gettext-minimal-0.21.1/COPYING
index 3671ab6985..3671ab6985 100644
--- a/meta/recipes-core/gettext/gettext-minimal-0.21/COPYING
+++ b/meta/recipes-core/gettext/gettext-minimal-0.21.1/COPYING
diff --git a/meta/recipes-core/gettext/gettext-minimal-0.21/Makefile.in.in b/meta/recipes-core/gettext/gettext-minimal-0.21.1/Makefile.in.in
index 6b25f0d916..6b25f0d916 100644
--- a/meta/recipes-core/gettext/gettext-minimal-0.21/Makefile.in.in
+++ b/meta/recipes-core/gettext/gettext-minimal-0.21.1/Makefile.in.in
diff --git a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/gettext.m4 b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/gettext.m4
index 4f25a27d93..f4492405bd 100644
--- a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/gettext.m4
+++ b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/gettext.m4
@@ -1,4 +1,4 @@
1# gettext.m4 serial 71 (gettext-0.20.2) 1# gettext.m4 serial 72 (gettext-0.21.1)
2dnl Copyright (C) 1995-2014, 2016, 2018-2020 Free Software Foundation, Inc. 2dnl Copyright (C) 1995-2014, 2016, 2018-2020 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
@@ -55,22 +55,22 @@ dnl
55AC_DEFUN([AM_GNU_GETTEXT], 55AC_DEFUN([AM_GNU_GETTEXT],
56[ 56[
57 dnl Argument checking. 57 dnl Argument checking.
58 ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [use-libtool], , 58 m4_if([$1], [], , [m4_if([$1], [external], , [m4_if([$1], [use-libtool], ,
59 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT 59 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
60])])])]) 60])])])])
61 ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old], 61 m4_if(m4_if([$1], [], [old])[]m4_if([$1], [no-libtool], [old]), [old],
62 [errprint([ERROR: Use of AM_GNU_GETTEXT without [external] argument is no longer supported. 62 [errprint([ERROR: Use of AM_GNU_GETTEXT without [external] argument is no longer supported.
63])]) 63])])
64 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , 64 m4_if([$2], [], , [m4_if([$2], [need-ngettext], , [m4_if([$2], [need-formatstring-macros], ,
65 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT 65 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
66])])])]) 66])])])])
67 define([gt_included_intl], 67 define([gt_included_intl],
68 ifelse([$1], [external], [no], [yes])) 68 m4_if([$1], [external], [no], [yes]))
69 gt_NEEDS_INIT 69 gt_NEEDS_INIT
70 AM_GNU_GETTEXT_NEED([$2]) 70 AM_GNU_GETTEXT_NEED([$2])
71 71
72 AC_REQUIRE([AM_PO_SUBDIRS])dnl 72 AC_REQUIRE([AM_PO_SUBDIRS])dnl
73 ifelse(gt_included_intl, yes, [ 73 m4_if(gt_included_intl, yes, [
74 AC_REQUIRE([AM_INTL_SUBDIR])dnl 74 AC_REQUIRE([AM_INTL_SUBDIR])dnl
75 ]) 75 ])
76 76
@@ -88,7 +88,7 @@ AC_DEFUN([AM_GNU_GETTEXT],
88 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. 88 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
89 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. 89 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
90 dnl Since AC_PROVIDE_IFELSE is not documented, we avoid it. 90 dnl Since AC_PROVIDE_IFELSE is not documented, we avoid it.
91 ifelse(gt_included_intl, yes, , [ 91 m4_if(gt_included_intl, yes, , [
92 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) 92 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
93 ]) 93 ])
94 94
@@ -98,7 +98,7 @@ AC_DEFUN([AM_GNU_GETTEXT],
98 dnl Set USE_NLS. 98 dnl Set USE_NLS.
99 AC_REQUIRE([AM_NLS]) 99 AC_REQUIRE([AM_NLS])
100 100
101 ifelse(gt_included_intl, yes, [ 101 m4_if(gt_included_intl, yes, [
102 BUILD_INCLUDED_LIBINTL=no 102 BUILD_INCLUDED_LIBINTL=no
103 USE_INCLUDED_LIBINTL=no 103 USE_INCLUDED_LIBINTL=no
104 ]) 104 ])
@@ -118,7 +118,7 @@ AC_DEFUN([AM_GNU_GETTEXT],
118 dnl If we use NLS figure out what method 118 dnl If we use NLS figure out what method
119 if test "$USE_NLS" = "yes"; then 119 if test "$USE_NLS" = "yes"; then
120 gt_use_preinstalled_gnugettext=no 120 gt_use_preinstalled_gnugettext=no
121 ifelse(gt_included_intl, yes, [ 121 m4_if(gt_included_intl, yes, [
122 AC_MSG_CHECKING([whether included gettext is requested]) 122 AC_MSG_CHECKING([whether included gettext is requested])
123 AC_ARG_WITH([included-gettext], 123 AC_ARG_WITH([included-gettext],
124 [ --with-included-gettext use the GNU gettext library included here], 124 [ --with-included-gettext use the GNU gettext library included here],
@@ -174,7 +174,7 @@ return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
174 174
175 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 175 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
176 dnl Sometimes libintl requires libiconv, so first search for libiconv. 176 dnl Sometimes libintl requires libiconv, so first search for libiconv.
177 ifelse(gt_included_intl, yes, , [ 177 m4_if(gt_included_intl, yes, , [
178 AM_ICONV_LINK 178 AM_ICONV_LINK
179 ]) 179 ])
180 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL 180 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
@@ -261,7 +261,7 @@ return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
261 INCINTL= 261 INCINTL=
262 fi 262 fi
263 263
264 ifelse(gt_included_intl, yes, [ 264 m4_if(gt_included_intl, yes, [
265 if test "$gt_use_preinstalled_gnugettext" != "yes"; then 265 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
266 dnl GNU gettext is not found in the C library. 266 dnl GNU gettext is not found in the C library.
267 dnl Fall back on included GNU gettext library. 267 dnl Fall back on included GNU gettext library.
@@ -273,8 +273,8 @@ return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
273 dnl Mark actions used to generate GNU NLS library. 273 dnl Mark actions used to generate GNU NLS library.
274 BUILD_INCLUDED_LIBINTL=yes 274 BUILD_INCLUDED_LIBINTL=yes
275 USE_INCLUDED_LIBINTL=yes 275 USE_INCLUDED_LIBINTL=yes
276 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LIBICONV $LIBTHREAD" 276 LIBINTL="m4_if([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LIBICONV $LIBTHREAD"
277 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LTLIBICONV $LTLIBTHREAD" 277 LTLIBINTL="m4_if([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LTLIBICONV $LTLIBTHREAD"
278 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` 278 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
279 fi 279 fi
280 280
@@ -341,7 +341,7 @@ return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
341 POSUB=po 341 POSUB=po
342 fi 342 fi
343 343
344 ifelse(gt_included_intl, yes, [ 344 m4_if(gt_included_intl, yes, [
345 dnl In GNU gettext we have to set BUILD_INCLUDED_LIBINTL to 'yes' 345 dnl In GNU gettext we have to set BUILD_INCLUDED_LIBINTL to 'yes'
346 dnl because some of the testsuite requires it. 346 dnl because some of the testsuite requires it.
347 BUILD_INCLUDED_LIBINTL=yes 347 BUILD_INCLUDED_LIBINTL=yes
diff --git a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/host-cpu-c-abi.m4 b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/host-cpu-c-abi.m4
index 6db2aa25ae..b9223241b4 100644
--- a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/host-cpu-c-abi.m4
+++ b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/host-cpu-c-abi.m4
@@ -1,5 +1,5 @@
1# host-cpu-c-abi.m4 serial 13 1# host-cpu-c-abi.m4 serial 15
2dnl Copyright (C) 2002-2020 Free Software Foundation, Inc. 2dnl Copyright (C) 2002-2022 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
@@ -211,7 +211,7 @@ changequote([,])dnl
211 # be generating 64-bit code. 211 # be generating 64-bit code.
212 AC_COMPILE_IFELSE( 212 AC_COMPILE_IFELSE(
213 [AC_LANG_SOURCE( 213 [AC_LANG_SOURCE(
214 [[#if defined __powerpc64__ || defined _ARCH_PPC64 214 [[#if defined __powerpc64__ || defined __LP64__
215 int ok; 215 int ok;
216 #else 216 #else
217 error fail 217 error fail
@@ -382,6 +382,9 @@ EOF
382#ifndef __ia64__ 382#ifndef __ia64__
383#undef __ia64__ 383#undef __ia64__
384#endif 384#endif
385#ifndef __loongarch64__
386#undef __loongarch64__
387#endif
385#ifndef __m68k__ 388#ifndef __m68k__
386#undef __m68k__ 389#undef __m68k__
387#endif 390#endif
@@ -605,7 +608,7 @@ changequote([,])dnl
605 # be generating 64-bit code. 608 # be generating 64-bit code.
606 AC_COMPILE_IFELSE( 609 AC_COMPILE_IFELSE(
607 [AC_LANG_SOURCE( 610 [AC_LANG_SOURCE(
608 [[#if defined __powerpc64__ || defined _ARCH_PPC64 611 [[#if defined __powerpc64__ || defined __LP64__
609 int ok; 612 int ok;
610 #else 613 #else
611 error fail 614 error fail
diff --git a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/iconv.m4 b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/iconv.m4
index e593b7270a..00057953e3 100644
--- a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/iconv.m4
+++ b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/iconv.m4
@@ -1,5 +1,5 @@
1# iconv.m4 serial 21 1# iconv.m4 serial 24
2dnl Copyright (C) 2000-2002, 2007-2014, 2016-2020 Free Software Foundation, 2dnl Copyright (C) 2000-2002, 2007-2014, 2016-2022 Free Software Foundation,
3dnl Inc. 3dnl Inc.
4dnl This file is free software; the Free Software Foundation 4dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 5dnl gives unlimited permission to copy and/or distribute it,
@@ -7,6 +7,12 @@ dnl with or without modifications, as long as this notice is preserved.
7 7
8dnl From Bruno Haible. 8dnl From Bruno Haible.
9 9
10AC_PREREQ([2.64])
11
12dnl Note: AM_ICONV is documented in the GNU gettext manual
13dnl <https://www.gnu.org/software/gettext/manual/html_node/AM_005fICONV.html>.
14dnl Don't make changes that are incompatible with that documentation!
15
10AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], 16AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
11[ 17[
12 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. 18 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
@@ -86,8 +92,9 @@ AC_DEFUN([AM_ICONV_LINK],
86#endif 92#endif
87 ]], 93 ]],
88 [[int result = 0; 94 [[int result = 0;
89 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 95 /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
90 returns. */ 96 successful returns. This is even documented in
97 <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
91 { 98 {
92 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 99 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
93 if (cd_utf8_to_88591 != (iconv_t)(-1)) 100 if (cd_utf8_to_88591 != (iconv_t)(-1))
@@ -225,8 +232,7 @@ AC_DEFUN([AM_ICONV_LINK],
225 AC_SUBST([LTLIBICONV]) 232 AC_SUBST([LTLIBICONV])
226]) 233])
227 234
228dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to 235dnl Define AM_ICONV using AC_DEFUN_ONCE, in order to avoid warnings like
229dnl avoid warnings like
230dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required". 236dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required".
231dnl This is tricky because of the way 'aclocal' is implemented: 237dnl This is tricky because of the way 'aclocal' is implemented:
232dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN. 238dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN.
@@ -234,54 +240,43 @@ dnl Otherwise aclocal's initial scan pass would miss the macro definition.
234dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions. 240dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions.
235dnl Otherwise aclocal would emit many "Use of uninitialized value $1" 241dnl Otherwise aclocal would emit many "Use of uninitialized value $1"
236dnl warnings. 242dnl warnings.
237m4_define([gl_iconv_AC_DEFUN], 243AC_DEFUN_ONCE([AM_ICONV],
238 m4_version_prereq([2.64],
239 [[AC_DEFUN_ONCE(
240 [$1], [$2])]],
241 [m4_ifdef([gl_00GNULIB],
242 [[AC_DEFUN_ONCE(
243 [$1], [$2])]],
244 [[AC_DEFUN(
245 [$1], [$2])]])]))
246gl_iconv_AC_DEFUN([AM_ICONV],
247[ 244[
248 AM_ICONV_LINK 245 AM_ICONV_LINK
249 if test "$am_cv_func_iconv" = yes; then 246 if test "$am_cv_func_iconv" = yes; then
250 AC_MSG_CHECKING([for iconv declaration]) 247 AC_CACHE_CHECK([whether iconv is compatible with its POSIX signature],
251 AC_CACHE_VAL([am_cv_proto_iconv], [ 248 [gl_cv_iconv_nonconst],
252 AC_COMPILE_IFELSE( 249 [AC_COMPILE_IFELSE(
253 [AC_LANG_PROGRAM( 250 [AC_LANG_PROGRAM(
254 [[ 251 [[
255#include <stdlib.h> 252#include <stdlib.h>
256#include <iconv.h> 253#include <iconv.h>
257extern 254extern
258#ifdef __cplusplus 255#ifdef __cplusplus
259"C" 256"C"
260#endif 257#endif
261#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
262size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 258size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
263#else 259 ]],
264size_t iconv(); 260 [[]])],
265#endif 261 [gl_cv_iconv_nonconst=yes],
266 ]], 262 [gl_cv_iconv_nonconst=no])
267 [[]])], 263 ])
268 [am_cv_proto_iconv_arg1=""],
269 [am_cv_proto_iconv_arg1="const"])
270 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
271 am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
272 AC_MSG_RESULT([
273 $am_cv_proto_iconv])
274 else 264 else
275 dnl When compiling GNU libiconv on a system that does not have iconv yet, 265 dnl When compiling GNU libiconv on a system that does not have iconv yet,
276 dnl pick the POSIX compliant declaration without 'const'. 266 dnl pick the POSIX compliant declaration without 'const'.
277 am_cv_proto_iconv_arg1="" 267 gl_cv_iconv_nonconst=yes
268 fi
269 if test $gl_cv_iconv_nonconst = yes; then
270 iconv_arg1=""
271 else
272 iconv_arg1="const"
278 fi 273 fi
279 AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1], 274 AC_DEFINE_UNQUOTED([ICONV_CONST], [$iconv_arg1],
280 [Define as const if the declaration of iconv() needs const.]) 275 [Define as const if the declaration of iconv() needs const.])
281 dnl Also substitute ICONV_CONST in the gnulib generated <iconv.h>. 276 dnl Also substitute ICONV_CONST in the gnulib generated <iconv.h>.
282 m4_ifdef([gl_ICONV_H_DEFAULTS], 277 m4_ifdef([gl_ICONV_H_DEFAULTS],
283 [AC_REQUIRE([gl_ICONV_H_DEFAULTS]) 278 [AC_REQUIRE([gl_ICONV_H_DEFAULTS])
284 if test -n "$am_cv_proto_iconv_arg1"; then 279 if test $gl_cv_iconv_nonconst != yes; then
285 ICONV_CONST="const" 280 ICONV_CONST="const"
286 fi 281 fi
287 ]) 282 ])
diff --git a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/intlmacosx.m4 b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/intlmacosx.m4
index ebd9937c1a..ecc88d6e74 100644
--- a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/intlmacosx.m4
+++ b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/intlmacosx.m4
@@ -1,5 +1,5 @@
1# intlmacosx.m4 serial 8 (gettext-0.20.2) 1# intlmacosx.m4 serial 8 (gettext-0.20.2)
2dnl Copyright (C) 2004-2014, 2016, 2019-2020 Free Software Foundation, Inc. 2dnl Copyright (C) 2004-2014, 2016, 2019-2022 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
diff --git a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/lib-ld.m4 b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/lib-ld.m4
index 98c348faff..934207a765 100644
--- a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/lib-ld.m4
+++ b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/lib-ld.m4
@@ -1,5 +1,5 @@
1# lib-ld.m4 serial 9 1# lib-ld.m4 serial 10
2dnl Copyright (C) 1996-2003, 2009-2020 Free Software Foundation, Inc. 2dnl Copyright (C) 1996-2003, 2009-2022 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
@@ -122,7 +122,7 @@ else
122 *-*-aix*) 122 *-*-aix*)
123 AC_COMPILE_IFELSE( 123 AC_COMPILE_IFELSE(
124 [AC_LANG_SOURCE( 124 [AC_LANG_SOURCE(
125 [[#if defined __powerpc64__ || defined _ARCH_PPC64 125 [[#if defined __powerpc64__ || defined __LP64__
126 int ok; 126 int ok;
127 #else 127 #else
128 error fail 128 error fail
diff --git a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/lib-link.m4 b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/lib-link.m4
index eecf70ec76..3b75bcd0de 100644
--- a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/lib-link.m4
+++ b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/lib-link.m4
@@ -1,5 +1,5 @@
1# lib-link.m4 serial 31 1# lib-link.m4 serial 33
2dnl Copyright (C) 2001-2020 Free Software Foundation, Inc. 2dnl Copyright (C) 2001-2022 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
@@ -196,8 +196,8 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
196 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" 196 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
197 ]) 197 ])
198 AC_ARG_WITH(PACK[-prefix], 198 AC_ARG_WITH(PACK[-prefix],
199[[ --with-]]PACK[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib 199[[ --with-]]PACK[[-prefix[=DIR] search for ]]PACKLIBS[[ in DIR/include and DIR/lib
200 --without-]]PACK[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]], 200 --without-]]PACK[[-prefix don't search for ]]PACKLIBS[[ in includedir and libdir]],
201[ 201[
202 if test "X$withval" = "Xno"; then 202 if test "X$withval" = "Xno"; then
203 use_additional=no 203 use_additional=no
@@ -631,7 +631,20 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
631 ;; 631 ;;
632 -l*) 632 -l*)
633 dnl Handle this in the next round. 633 dnl Handle this in the next round.
634 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 634 dnl But on GNU systems, ignore -lc options, because
635 dnl - linking with libc is the default anyway,
636 dnl - linking with libc.a may produce an error
637 dnl "/usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in `/usr/lib/libc.a(strcmp.o)' can not be used when making an executable; recompile with -fPIE and relink with -pie"
638 dnl or may produce an executable that always crashes, see
639 dnl <https://lists.gnu.org/archive/html/grep-devel/2020-09/msg00052.html>.
640 dep=`echo "X$dep" | sed -e 's/^X-l//'`
641 if test "X$dep" != Xc \
642 || case $host_os in
643 linux* | gnu* | k*bsd*-gnu) false ;;
644 *) true ;;
645 esac; then
646 names_next_round="$names_next_round $dep"
647 fi
635 ;; 648 ;;
636 *.la) 649 *.la)
637 dnl Handle this in the next round. Throw away the .la's 650 dnl Handle this in the next round. Throw away the .la's
diff --git a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/lib-prefix.m4 b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/lib-prefix.m4
index c8a0b464c2..999f712f5a 100644
--- a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/lib-prefix.m4
+++ b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/lib-prefix.m4
@@ -1,5 +1,5 @@
1# lib-prefix.m4 serial 17 1# lib-prefix.m4 serial 20
2dnl Copyright (C) 2001-2005, 2008-2020 Free Software Foundation, Inc. 2dnl Copyright (C) 2001-2005, 2008-2022 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
@@ -174,14 +174,14 @@ AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
174 174
175 AC_CACHE_CHECK([for ELF binary format], [gl_cv_elf], 175 AC_CACHE_CHECK([for ELF binary format], [gl_cv_elf],
176 [AC_EGREP_CPP([Extensible Linking Format], 176 [AC_EGREP_CPP([Extensible Linking Format],
177 [#ifdef __ELF__ 177 [#if defined __ELF__ || (defined __linux__ && defined __EDG__)
178 Extensible Linking Format 178 Extensible Linking Format
179 #endif 179 #endif
180 ], 180 ],
181 [gl_cv_elf=yes], 181 [gl_cv_elf=yes],
182 [gl_cv_elf=no]) 182 [gl_cv_elf=no])
183 ]) 183 ])
184 if test $gl_cv_elf; then 184 if test $gl_cv_elf = yes; then
185 # Extract the ELF class of a file (5th byte) in decimal. 185 # Extract the ELF class of a file (5th byte) in decimal.
186 # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header 186 # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header
187 if od -A x < /dev/null >/dev/null 2>/dev/null; then 187 if od -A x < /dev/null >/dev/null 2>/dev/null; then
@@ -198,20 +198,23 @@ AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
198 echo 198 echo
199 } 199 }
200 fi 200 fi
201 # Use 'expr', not 'test', to compare the values of func_elfclass, because on
202 # Solaris 11 OpenIndiana and Solaris 11 OmniOS, the result is 001 or 002,
203 # not 1 or 2.
201changequote(,)dnl 204changequote(,)dnl
202 case $HOST_CPU_C_ABI_32BIT in 205 case $HOST_CPU_C_ABI_32BIT in
203 yes) 206 yes)
204 # 32-bit ABI. 207 # 32-bit ABI.
205 acl_is_expected_elfclass () 208 acl_is_expected_elfclass ()
206 { 209 {
207 test "`func_elfclass | sed -e 's/[ ]//g'`" = 1 210 expr "`func_elfclass | sed -e 's/[ ]//g'`" = 1 > /dev/null
208 } 211 }
209 ;; 212 ;;
210 no) 213 no)
211 # 64-bit ABI. 214 # 64-bit ABI.
212 acl_is_expected_elfclass () 215 acl_is_expected_elfclass ()
213 { 216 {
214 test "`func_elfclass | sed -e 's/[ ]//g'`" = 2 217 expr "`func_elfclass | sed -e 's/[ ]//g'`" = 2 > /dev/null
215 } 218 }
216 ;; 219 ;;
217 *) 220 *)
diff --git a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/nls.m4 b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/nls.m4
index 5a506fc4b5..7c11c90f52 100644
--- a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/nls.m4
+++ b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/nls.m4
@@ -1,5 +1,5 @@
1# nls.m4 serial 6 (gettext-0.20.2) 1# nls.m4 serial 6 (gettext-0.20.2)
2dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014, 2016, 2019-2020 Free 2dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014, 2016, 2019-2022 Free
3dnl Software Foundation, Inc. 3dnl Software Foundation, Inc.
4dnl This file is free software; the Free Software Foundation 4dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 5dnl gives unlimited permission to copy and/or distribute it,
diff --git a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/po.m4 b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/po.m4
index 3778fd7aac..2f14f8e2b1 100644
--- a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/po.m4
+++ b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/po.m4
@@ -1,5 +1,5 @@
1# po.m4 serial 31 (gettext-0.20.2) 1# po.m4 serial 32 (gettext-0.21.1)
2dnl Copyright (C) 1995-2014, 2016, 2018-2020 Free Software Foundation, Inc. 2dnl Copyright (C) 1995-2014, 2016, 2018-2022 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
@@ -179,7 +179,9 @@ changequote([,])dnl
179 # presentlang can be used as a fallback for messages 179 # presentlang can be used as a fallback for messages
180 # which are not translated in the desiredlang catalog). 180 # which are not translated in the desiredlang catalog).
181 case "$desiredlang" in 181 case "$desiredlang" in
182 "$presentlang"*) useit=yes;; 182 "$presentlang" | "$presentlang"_* | "$presentlang".* | "$presentlang"@*)
183 useit=yes
184 ;;
183 esac 185 esac
184 done 186 done
185 if test $useit = yes; then 187 if test $useit = yes; then
@@ -379,7 +381,9 @@ changequote([,])dnl
379 # presentlang can be used as a fallback for messages 381 # presentlang can be used as a fallback for messages
380 # which are not translated in the desiredlang catalog). 382 # which are not translated in the desiredlang catalog).
381 case "$desiredlang" in 383 case "$desiredlang" in
382 "$presentlang"*) useit=yes;; 384 "$presentlang" | "$presentlang"_* | "$presentlang".* | "$presentlang"@*)
385 useit=yes
386 ;;
383 esac 387 esac
384 done 388 done
385 if test $useit = yes; then 389 if test $useit = yes; then
diff --git a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/progtest.m4 b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/progtest.m4
index f28010aed1..4a5b0b4c6d 100644
--- a/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/progtest.m4
+++ b/meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/progtest.m4
@@ -1,5 +1,5 @@
1# progtest.m4 serial 8 (gettext-0.20.2) 1# progtest.m4 serial 9 (gettext-0.21.1)
2dnl Copyright (C) 1996-2003, 2005, 2008-2020 Free Software Foundation, Inc. 2dnl Copyright (C) 1996-2003, 2005, 2008-2022 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
@@ -16,7 +16,7 @@ dnl They are *not* in the public domain.
16dnl Authors: 16dnl Authors:
17dnl Ulrich Drepper <drepper@cygnus.com>, 1996. 17dnl Ulrich Drepper <drepper@cygnus.com>, 1996.
18 18
19AC_PREREQ([2.50]) 19AC_PREREQ([2.53])
20 20
21# Search path for a program which passes the given test. 21# Search path for a program which passes the given test.
22 22
@@ -61,7 +61,7 @@ AC_CACHE_VAL([ac_cv_path_$1],
61 ;; 61 ;;
62 *) 62 *)
63 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 63 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
64 for ac_dir in ifelse([$5], , $PATH, [$5]); do 64 for ac_dir in m4_if([$5], , $PATH, [$5]); do
65 IFS="$ac_save_IFS" 65 IFS="$ac_save_IFS"
66 test -z "$ac_dir" && ac_dir=. 66 test -z "$ac_dir" && ac_dir=.
67 for ac_exec_ext in '' $ac_executable_extensions; do 67 for ac_exec_ext in '' $ac_executable_extensions; do
@@ -77,12 +77,12 @@ AC_CACHE_VAL([ac_cv_path_$1],
77 IFS="$ac_save_IFS" 77 IFS="$ac_save_IFS"
78dnl If no 4th arg is given, leave the cache variable unset, 78dnl If no 4th arg is given, leave the cache variable unset,
79dnl so AC_PATH_PROGS will keep looking. 79dnl so AC_PATH_PROGS will keep looking.
80ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" 80m4_if([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
81])dnl 81])dnl
82 ;; 82 ;;
83esac])dnl 83esac])dnl
84$1="$ac_cv_path_$1" 84$1="$ac_cv_path_$1"
85if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then 85if test m4_if([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
86 AC_MSG_RESULT([$][$1]) 86 AC_MSG_RESULT([$][$1])
87else 87else
88 AC_MSG_RESULT([no]) 88 AC_MSG_RESULT([no])
diff --git a/meta/recipes-core/gettext/gettext-minimal-0.21/config.rpath b/meta/recipes-core/gettext/gettext-minimal-0.21.1/config.rpath
index 24be79cfb6..1e1ab67906 100755
--- a/meta/recipes-core/gettext/gettext-minimal-0.21/config.rpath
+++ b/meta/recipes-core/gettext/gettext-minimal-0.21.1/config.rpath
@@ -2,7 +2,7 @@
2# Output a system dependent set of variables, describing how to set the 2# Output a system dependent set of variables, describing how to set the
3# run time search path of shared libraries in an executable. 3# run time search path of shared libraries in an executable.
4# 4#
5# Copyright 1996-2020 Free Software Foundation, Inc. 5# Copyright 1996-2022 Free Software Foundation, Inc.
6# Taken from GNU libtool, 2001 6# Taken from GNU libtool, 2001
7# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 7# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8# 8#
@@ -371,7 +371,7 @@ else
371 hardcode_direct=yes 371 hardcode_direct=yes
372 hardcode_minus_L=yes 372 hardcode_minus_L=yes
373 ;; 373 ;;
374 freebsd* | dragonfly*) 374 freebsd* | dragonfly* | midnightbsd*)
375 hardcode_libdir_flag_spec='-R$libdir' 375 hardcode_libdir_flag_spec='-R$libdir'
376 hardcode_direct=yes 376 hardcode_direct=yes
377 ;; 377 ;;
@@ -547,7 +547,7 @@ case "$host_os" in
547 freebsd[23].*) 547 freebsd[23].*)
548 library_names_spec='$libname$shrext$versuffix' 548 library_names_spec='$libname$shrext$versuffix'
549 ;; 549 ;;
550 freebsd* | dragonfly*) 550 freebsd* | dragonfly* | midnightbsd*)
551 library_names_spec='$libname$shrext' 551 library_names_spec='$libname$shrext'
552 ;; 552 ;;
553 gnu*) 553 gnu*)
diff --git a/meta/recipes-core/gettext/gettext-minimal-0.21/remove-potcdate.sin b/meta/recipes-core/gettext/gettext-minimal-0.21.1/remove-potcdate.sin
index 8c70dfbf14..8c70dfbf14 100644
--- a/meta/recipes-core/gettext/gettext-minimal-0.21/remove-potcdate.sin
+++ b/meta/recipes-core/gettext/gettext-minimal-0.21.1/remove-potcdate.sin
diff --git a/meta/recipes-core/gettext/gettext-minimal-native_0.21.bb b/meta/recipes-core/gettext/gettext-minimal-native_0.21.1.bb
index 7a4dcbec57..7a4dcbec57 100644
--- a/meta/recipes-core/gettext/gettext-minimal-native_0.21.bb
+++ b/meta/recipes-core/gettext/gettext-minimal-native_0.21.1.bb
diff --git a/meta/recipes-core/gettext/gettext_0.21.bb b/meta/recipes-core/gettext/gettext_0.21.1.bb
index 364e6a52a1..ec80a89e49 100644
--- a/meta/recipes-core/gettext/gettext_0.21.bb
+++ b/meta/recipes-core/gettext/gettext_0.21.1.bb
@@ -12,9 +12,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e"
12LICENSE:append = " ${@bb.utils.contains('PACKAGECONFIG', 'libxml', '', '& MIT', d)}" 12LICENSE:append = " ${@bb.utils.contains('PACKAGECONFIG', 'libxml', '', '& MIT', d)}"
13LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'libxml', '', 'file://libtextstyle/lib/libxml/COPYING;md5=2044417e2e5006b65a8b9067b683fcf1', d)}" 13LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'libxml', '', 'file://libtextstyle/lib/libxml/COPYING;md5=2044417e2e5006b65a8b9067b683fcf1', d)}"
14# without croco in PACKAGECONFIG vendor copy of the lib will be used 14# without croco in PACKAGECONFIG vendor copy of the lib will be used
15LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'croco', '', 'file://libtextstyle/lib/libcroco/libcroco.h;md5=915a46e7307c2f7f8d2b9c503fc434ed;beginline=10;endline=28', d)}" 15LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'croco', '', 'file://libtextstyle/lib/libcroco/libcroco.h;md5=424013a9ed5401aa58cf83f3188c6865;beginline=10;endline=28', d)}"
16# without glib in PACKAGECONFIG vendor copy of the lib will be used 16# without glib in PACKAGECONFIG vendor copy of the lib will be used
17LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'glib', '', 'file://libtextstyle/lib/glib/ghash.c;md5=af89a160226edf0b276b6183888037d0;beginline=10;endline=27', d)}" 17LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'glib', '', 'file://libtextstyle/lib/glib/ghash.c;md5=e3159f5ac38dfe77af5cc0ee104dab2d;beginline=10;endline=27', d)}"
18 18
19 19
20DEPENDS = "gettext-native virtual/libiconv" 20DEPENDS = "gettext-native virtual/libiconv"
@@ -29,11 +29,8 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
29 file://serial-tests-config.patch \ 29 file://serial-tests-config.patch \
30 file://0001-tests-autopoint-3-unset-MAKEFLAGS.patch \ 30 file://0001-tests-autopoint-3-unset-MAKEFLAGS.patch \
31 file://0001-init-env.in-do-not-add-C-CXX-parameters.patch \ 31 file://0001-init-env.in-do-not-add-C-CXX-parameters.patch \
32 file://mingw.patch \
33 file://0001-msgmerge-29-Add-executable-file-mode-bits.patch \
34 file://0001-libtextstyle-fix-builds-with-automake-1.16.4-and-new.patch \
35 " 32 "
36SRC_URI[sha256sum] = "c77d0da3102aec9c07f43671e60611ebff89a996ef159497ce8e59d075786b12" 33SRC_URI[sha256sum] = "e8c3650e1d8cee875c4f355642382c1df83058bd5a11ee8555c0cf276d646d45"
37 34
38inherit autotools texinfo pkgconfig ptest 35inherit autotools texinfo pkgconfig ptest
39 36