Sorry, I didn't notice that the files in the minimal directory need to be updated based on the source code. Please ignore this patch and I will investigate before considering whether to resubmit it.
-- Best Regards --------------------------------------------------- Wang Mingyu Development Dept.I Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China TEL: +86+25-86630566-8568 COINS: 79988548 FAX: +86+25-83317685 MAIL: wan...@fujitsu.com http://www.fujitsu.com/cn/fnst/ > -----Original Message----- > From: Richard Purdie <richard.pur...@linuxfoundation.org> > Sent: Tuesday, June 27, 2023 10:25 PM > To: Wang, Mingyu/王 鸣瑜 <wan...@fujitsu.com>; > openembedded-core@lists.openembedded.org > Subject: Re: [PATCH] [OE-core] [PATCH] gettext: upgrade 0.21.1 -> 0.22 > > On Tue, 2023-06-27 at 15:17 +0800, wangmy wrote: > > From: Wang Mingyu <wan...@fujitsu.com> > > > > Changelog: > > =========== > > * PO file format: > > - When a #: line contains references to file names that contain spaces, > > these file names are surrounded by Unicode characters U+2068 and > U+2069. > > This makes it possible to parse such references correctly. > > > > * Improvements for maintainers: > > - The AM_GNU_GETTEXT macro now defines two variables localedir_c and > > localedir_c_make, that can be used in C code or in Makefiles, > > respectively, for representing the value of the --localedir configure > > option. > > > > * Programming languages support: > > - C, C++: > > o xgettext now supports gettext-like functions that take wide strings > > (of type 'const wchar_t *', 'const char16_t *', or 'const char32_t *') > > as arguments. > > o xgettext now recognizes numbers with digit separators, as defined by > > ISO C 23, as tokens. > > o xgettext and msgfmt now recognize the format string directive %b > > (for binary integer output, as defined by ISO C 23) in format strings. > > o xgettext and msgfmt now recognize the argument size specifiers > > w8, w16, w32, w64, wf8, wf16, wf32, wf64 (as defined by ISO C 23) > > in format strings. > > o xgettext and msgfmt now recognize C++ format strings, as defined by > > ISO C++ 20. They are marked as 'c++-format' in POT and PO files. > > A new example has been added, 'hello-c++20', that illustrates how > > to use these format strings with gettext. > > - Java: > > o The build system and tools now also support Java versions newer than > > Java 11. This is known to work up to Java 20, at least. On the other > > hand, support for old versions of Java (Java 1.5 and GCJ) has been > > dropped. > > - Tcl: xgettext now supports the \x, \u, and \U escapes as defined in > > Tcl 8.6. > > > > * Portability: > > - On systems with musl libc, the *gettext() functions in libc now work > > with MO files generated from PO files with an encoding other than > UTF-8. > > To this effect, the msgfmt program now converts the messages to UTF-8 > > encoding before storing them in a MO file. You can prevent this by > > using the msgfmt --no-convert option. > > - On systems with musl libc, the *gettext() functions in libc now work > > with MO files generated from PO files with ISO C 99 <inttypes.h> format > > string directive macros. To this effect, the msgfmt program > pre-expands > > strings with such macros. You can prevent this by using the msgfmt > > --no-redundancy option. > > > > * xgettext: > > - The xgettext option '--sorted-output' is now deprecated. > > - xgettext input files of type PO that are not all ASCII and not UTF-8 > > encoded are now handled correctly. > > > > * The base Unicode standard is now updated to 15.0.0. > > > > * Emacs PO mode: > > Fix an incompatibility with Emacs version 29 or newer. > > > > > > Signed-off-by: Wang Mingyu <wan...@fujitsu.com> > > --- > > .../0001-init-env.in-do-not-add-C-CXX-parameters.patch | 0 > > .../0001-tests-autopoint-3-unset-MAKEFLAGS.patch | 0 > > .../gettext/{gettext-0.21.1 => gettext-0.22}/parallel.patch | 0 > > .../gettext/{gettext-0.21.1 => gettext-0.22}/run-ptest | 0 > > .../{gettext-0.21.1 => gettext-0.22}/serial-tests-config.patch | 0 > > .../{gettext-0.21.1 => gettext-0.22}/use-pkgconfig.patch | 0 > > .../{gettext-minimal-0.21.1 => gettext-minimal-0.22}/COPYING | 0 > > .../Makefile.in.in | > 0 > > .../aclocal/gettext.m4 | > 0 > > .../aclocal/host-cpu-c-abi.m4 | 0 > > .../aclocal/iconv.m4 | > 0 > > .../aclocal/intlmacosx.m4 | > 0 > > .../aclocal/lib-ld.m4 | 0 > > .../aclocal/lib-link.m4 | 0 > > .../aclocal/lib-prefix.m4 | 0 > > .../aclocal/nls.m4 | > 0 > > .../aclocal/po.m4 > | 0 > > .../aclocal/progtest.m4 | > 0 > > .../config.rpath | > 0 > > .../remove-potcdate.sin | > 0 > > ...-minimal-native_0.21.1.bb => gettext-minimal-native_0.22.bb} | 0 > > .../recipes-core/gettext/{gettext_0.21.1.bb => gettext_0.22.bb} | 2 +- > > 22 files changed, 1 insertion(+), 1 deletion(-) rename > > meta/recipes-core/gettext/{gettext-0.21.1 => > > gettext-0.22}/0001-init-env.in-do-not-add-C-CXX-parameters.patch > > (100%) rename meta/recipes-core/gettext/{gettext-0.21.1 => > > gettext-0.22}/0001-tests-autopoint-3-unset-MAKEFLAGS.patch (100%) > > rename meta/recipes-core/gettext/{gettext-0.21.1 => > > gettext-0.22}/parallel.patch (100%) rename > > meta/recipes-core/gettext/{gettext-0.21.1 => gettext-0.22}/run-ptest > > (100%) rename meta/recipes-core/gettext/{gettext-0.21.1 => > > gettext-0.22}/serial-tests-config.patch (100%) rename > > meta/recipes-core/gettext/{gettext-0.21.1 => > > gettext-0.22}/use-pkgconfig.patch (100%) rename > > meta/recipes-core/gettext/{gettext-minimal-0.21.1 => > > gettext-minimal-0.22}/COPYING (100%) rename > > meta/recipes-core/gettext/{gettext-minimal-0.21.1 => > > gettext-minimal-0.22}/Makefile.in.in (100%) rename > > meta/recipes-core/gettext/{gettext-minimal-0.21.1 => > > gettext-minimal-0.22}/aclocal/gettext.m4 (100%) rename > > meta/recipes-core/gettext/{gettext-minimal-0.21.1 => > > gettext-minimal-0.22}/aclocal/host-cpu-c-abi.m4 (100%) rename > > meta/recipes-core/gettext/{gettext-minimal-0.21.1 => > > gettext-minimal-0.22}/aclocal/iconv.m4 (100%) rename > > meta/recipes-core/gettext/{gettext-minimal-0.21.1 => > > gettext-minimal-0.22}/aclocal/intlmacosx.m4 (100%) rename > > meta/recipes-core/gettext/{gettext-minimal-0.21.1 => > > gettext-minimal-0.22}/aclocal/lib-ld.m4 (100%) rename > > meta/recipes-core/gettext/{gettext-minimal-0.21.1 => > > gettext-minimal-0.22}/aclocal/lib-link.m4 (100%) rename > > meta/recipes-core/gettext/{gettext-minimal-0.21.1 => > > gettext-minimal-0.22}/aclocal/lib-prefix.m4 (100%) rename > > meta/recipes-core/gettext/{gettext-minimal-0.21.1 => > > gettext-minimal-0.22}/aclocal/nls.m4 (100%) rename > > meta/recipes-core/gettext/{gettext-minimal-0.21.1 => > > gettext-minimal-0.22}/aclocal/po.m4 (100%) rename > > meta/recipes-core/gettext/{gettext-minimal-0.21.1 => > > gettext-minimal-0.22}/aclocal/progtest.m4 (100%) rename > > meta/recipes-core/gettext/{gettext-minimal-0.21.1 => > > gettext-minimal-0.22}/config.rpath (100%) rename > > meta/recipes-core/gettext/{gettext-minimal-0.21.1 => > > gettext-minimal-0.22}/remove-potcdate.sin (100%) rename > > meta/recipes-core/gettext/{gettext-minimal-native_0.21.1.bb => > > gettext-minimal-native_0.22.bb} (100%) rename > > meta/recipes-core/gettext/{gettext_0.21.1.bb => gettext_0.22.bb} (99%) > > When you upgraded this recipe did you check if there were changes to any of > the files in gettext-minimal in the new version? I'm a little surprised none > of the > files change at all... > > Cheers, > > Richard >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#183548): https://lists.openembedded.org/g/openembedded-core/message/183548 Mute This Topic: https://lists.openembedded.org/mt/99805170/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-