package/{gettext-gnu, libtextstyle}: bump to version 0.22
PATCH v2 1/1 package/{gettext-gnu, libtextstyle}: bump to version 0.22
Release notes:
https://lists.gnu.org/archive/html/info-gnu/2020-07/msg00009.html
https://lists.gnu.org/archive/html/info-gnu/2023-06/msg00003.html
Removed patch 0001, the patched file is not present in this release. Removed patch 0002 which was applied upstream.
Added comments about other files to be updated during version bumps.
---
v2: updated gnutext-tiny as well, added comments for future updates
Build-tested using this defconfig:
BR2_SYSTEM_ENABLE_NLS=y
BR2_PACKAGE_GETTEXT=y
arm-aarch64 [ 1/45]: OK
bootlin-aarch64-glibc [ 2/45]: OK
bootlin-arcle-hs38-uclibc [ 3/45]: OK
bootlin-armv5-uclibc [ 4/45]: OK
bootlin-armv7-glibc [ 5/45]: OK
bootlin-armv7m-uclibc [ 6/45]: SKIPPED
bootlin-armv7-musl [ 7/45]: OK
bootlin-m68k-5208-uclibc [ 8/45]: SKIPPED
bootlin-m68k-68040-uclibc [ 9/45]: OK
bootlin-microblazeel-uclibc [10/45]: OK
bootlin-mipsel32r6-glibc [11/45]: OK
bootlin-mipsel-uclibc [12/45]: OK
bootlin-nios2-glibc [13/45]: OK
bootlin-openrisc-uclibc [14/45]: OK
bootlin-powerpc64le-power8-glibc [15/45]: OK
bootlin-powerpc-e500mc-uclibc [16/45]: OK
bootlin-riscv32-glibc [17/45]: OK
bootlin-riscv64-glibc [18/45]: OK
bootlin-riscv64-musl [19/45]: OK
bootlin-s390x-z13-glibc [20/45]: OK
bootlin-sh4-uclibc [21/45]: OK
bootlin-sparc64-glibc [22/45]: OK
bootlin-sparc-uclibc [23/45]: OK
bootlin-x86-64-glibc [24/45]: OK
bootlin-x86-64-musl [25/45]: OK
bootlin-x86-64-uclibc [26/45]: OK
bootlin-xtensa-uclibc [27/45]: OK
br-arm-basic [28/45]: SKIPPED
br-arm-full-nothread [29/45]: OK
br-arm-full-static [30/45]: SKIPPED
br-i386-pentium4-full [31/45]: OK
br-i386-pentium-mmx-musl [32/45]: OK
br-mips64-n64-full [33/45]: OK
br-mips64r6-el-hf-glibc [34/45]: OK
br-powerpc-603e-basic-cpp [35/45]: SKIPPED
br-powerpc64-power7-glibc [36/45]: OK
linaro-aarch64-be [37/45]: OK
linaro-aarch64 [38/45]: OK
linaro-arm [39/45]: OK
sourcery-arm-armv4t [40/45]: OK
sourcery-arm [41/45]: OK
sourcery-arm-thumb2 [42/45]: OK
sourcery-mips64 [43/45]: OK
sourcery-mips [44/45]: OK
sourcery-nios2 [45/45]: OK45 builds, 5 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed
.checkpackageignore | 2 - .../0001-error_print_progname.patch | 20 --- ...-buld-gettext-tools-seperately-part1.patch | 142 ------------------ package/gettext-gnu/gettext-gnu.hash | 7 +- package/gettext-gnu/gettext-gnu.mk | 7 +- package/gettext-tiny/gettext-tiny.hash | 4 +- package/gettext-tiny/gettext-tiny.mk | 2 +- package/libtextstyle/libtextstyle.mk | 2 +- 8 files changed, 11 insertions(+), 175 deletions(-) delete mode 100644 package/gettext-gnu/0001-error_print_progname.patch delete mode 100644 package/gettext-gnu/0002-restore-the-ability-to-buld-gettext-tools-seperately-part1.patch
.checkpackageignore +0 -2
@@ -548,8 +548,6 @@ package/genromfs/0001-build-system.patch Sob Upstream package/gensio/0001-Fix-missing-EVP_PKEY_ED25519-build-error-on-libressl.patch Upstream package/gerbera/0001-Fix-build-with-fmt-9-0.patch Upstream package/gerbera/S99gerbera Indent -package/gettext-gnu/0001-error_print_progname.patch Upstream -package/gettext-gnu/0002-restore-the-ability-to-buld-gettext-tools-seperately-part1.patch Upstream package/giblib/0001-fix-imlib2-detection.patch Upstream package/giflib/0001-Makefile-add-targets-to-manage-static-building.patch Upstream package/git-crypt/0001-fix-build-with-libressl-3.5.0.patch Upstream
package/gettext-gnu/0001-error_print_progname.patch deleted +0 -20
@@ -1,20 +0,0 @@ -[Updated to apply cleanly with 0.20.1] -Signed-off-by: Adam Duskett <[email protected]> ---- -diff --git a/gettext-tools/gnulib-lib/error.h b/gettext-tools/gnulib-lib/error.h -index 61771cc..4221684 100644 ---- a/gettext-tools/gnulib-lib/error.h -+++ b/gettext-tools/gnulib-lib/error.h -@@ -68,7 +68,10 @@ extern void error_at_line (int __status, int __errnum, const char *__fname, - /* If NULL, error will flush stdout, then print on stderr the program - name, a colon and a space. Otherwise, error will call this - function without parameters instead. */ --extern DLL_VARIABLE void (*error_print_progname) (void); -+#ifndef __UCLIBC__ -+extern DLL_VARIABLE -+#endif -+void (*error_print_progname) (void); - - /* This variable is incremented each time 'error' is called. */ - extern DLL_VARIABLE unsigned int error_message_count; ---
package/gettext-gnu/0002-restore-the-ability-to-buld-gettext-tools-seperately-part1.patch deleted +0 -142
142 lines not on this page · raw message
package/gettext-gnu/gettext-gnu.hash +4 -3
@@ -1,7 +1,8 @@ -# From https://lists.gnu.org/archive/html/info-gnu/2019-05/msg00011.html -sha1 62f4a6a2fd5f80bfd0e66c497a04094fa3e07b90 gettext-0.20.1.tar.xz +# Please keep in sync with package/gettext-tiny/gettext-tiny.hash +# From https://lists.gnu.org/archive/html/info-gnu/2023-06/msg00003.html +sha1 d9666d3b9c47a84c814d32e76fa75f60ec23756f gettext-0.22.tar.xz # Locally calculated -sha256 53f02fbbec9e798b0faaf7c73272f83608e835c6288dd58be6c9bb54624a3800 gettext-0.20.1.tar.xz +sha256 0e60393a47061567b46875b249b7d2788b092d6457d656145bb0e7e6a3e26d93 gettext-0.22.tar.xz sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b COPYING sha256 3fe5361f24b7c49ba12911c08f5a33f9cb18871d95d9fb881f5b8a4793e04288 gettext-runtime/intl/COPYING.LIB
package/gettext-gnu/gettext-gnu.mk +3 -4
@@ -4,8 +4,9 @@ # ################################################################################ -# Please keep in sync with package/libtextstyle/libtextstyle.mk -GETTEXT_GNU_VERSION = 0.20.1 +# Please keep in sync with package/libtextstyle/libtextstyle.mk and +# GETTEXT_TINY_ARCHIVE_VERSION in gettext-tiny/gettext-tiny.mk +GETTEXT_GNU_VERSION = 0.22 GETTEXT_GNU_SITE = $(BR2_GNU_MIRROR)/gettext GETTEXT_GNU_SOURCE = gettext-$(GETTEXT_GNU_VERSION).tar.xz GETTEXT_GNU_INSTALL_STAGING = YES
@@ -13,8 +14,6 @@ GETTEXT_GNU_LICENSE = LGPL-2.1+ (libintl), GPL-3.0+ (the rest) GETTEXT_GNU_LICENSE_FILES = COPYING gettext-runtime/intl/COPYING.LIB GETTEXT_GNU_CPE_ID_VENDOR = gnu GETTEXT_GNU_CPE_ID_PRODUCT = gettext -# 0002-restore-the-ability-to-buld-gettext-tools-seperately-part1.patch -GETTEXT_GNU_AUTORECONF = YES GETTEXT_GNU_PROVIDES = gettext GETTEXT_GNU_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv)
package/gettext-tiny/gettext-tiny.hash +2 -2
@@ -2,5 +2,5 @@ sha256 29cc165e27e83d2bb3760118c2368eadab550830d962d758e51bd36eb860f383 gettext-tiny-0.3.2.tar.gz sha256 4c938aa3d8fa3c184bba5e87a8a2febc89560627c9d0567536879e3eca1a7b4f LICENSE sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b extra/COPYING -# From https://lists.gnu.org/archive/html/info-gnu/2019-05/msg00011.html -sha1 62f4a6a2fd5f80bfd0e66c497a04094fa3e07b90 gettext-0.20.1.tar.xz +# From https://lists.gnu.org/archive/html/info-gnu/2023-06/msg00003.html +sha1 d9666d3b9c47a84c814d32e76fa75f60ec23756f gettext-0.22.tar.xz
package/gettext-tiny/gettext-tiny.mk +1 -1
@@ -14,7 +14,7 @@ HOST_GETTEXT_TINY_LICENSE_FILES = LICENSE extra/COPYING GETTEXT_TINY_PROVIDES = gettext # needed for gettextize -GETTEXT_TINY_ARCHIVE_VERSION = 0.20.1 +GETTEXT_TINY_ARCHIVE_VERSION = 0.22 GETTEXT_TINY_EXTRA_GETTEXT_FILES = \ gettext-tools/misc/gettextize.in \
package/libtextstyle/libtextstyle.mk +1 -1
@@ -5,7 +5,7 @@ ################################################################################ # Please keep in sync with package/gettext-gnu/gettext-gnu.mk -LIBTEXTSTYLE_VERSION = 0.20.1 +LIBTEXTSTYLE_VERSION = 0.22 LIBTEXTSTYLE_SITE = $(BR2_GNU_MIRROR)/gettext LIBTEXTSTYLE_SOURCE = gettext-$(LIBTEXTSTYLE_VERSION).tar.xz LIBTEXTSTYLE_INSTALL_STAGING = YES
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Bernd,
Quoted 4 lines · On Sun, 2 Jul 2023 20:04:49 +0200 Bernd Kuhls <[email protected]> wrote:
Release notes:
https://lists.gnu.org/archive/html/info-gnu/2020-07/msg00009.html
https://lists.gnu.org/archive/html/info-gnu/2023-06/msg00003.html
Quoted 8 lines
Removed patch 0001, the patched file is not present in this release. Removed patch 0002 which was applied upstream.
Added comments about other files to be updated during version bumps.
Signed-off-by Bernd Kuhls <[email protected]>---
v2: updated gnutext-tiny as well, added comments for future updates
Thanks for working on this. Unfortunately, this patch doesn't work for me. First, the update of libtextstyle.hash is missing. As it's trivial, I fixed it locally (but also updated all comments in gettext-gnu, gettext-tiny and libtextstyle, both in .mk and .hash file to remind to update the 2 others). But after fixing that the build fails later in host-gettext-gnu:
In file included from ../../gettext-runtime/intl/localealias.c:61:../../gettext-runtime/intl/gettextP.h:71:11: fatal error: libgnuintl.h: No such file or directory
71 | # include "libgnuintl.h"
| ^~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:4690: ../../gettext-runtime/intl/msginit-localealias.o] Error 1
make[4]: Leaving directory '/home/thomas/projets/buildroot/output/build/host-gettext-gnu-0.22/gettext-tools/src' make[3]: *** [Makefile:4036: all] Error 2
make[3]: Leaving directory '/home/thomas/projets/buildroot/output/build/host-gettext-gnu-0.22/gettext-tools/src' make[2]: *** [Makefile:3434: all-recursive] Error 1
make[2]: Leaving directory '/home/thomas/projets/buildroot/output/build/host-gettext-gnu-0.22/gettext-tools' make[1]: *** [Makefile:3302: all] Error 2
make[1]: Leaving directory '/home/thomas/projets/buildroot/output/build/host-gettext-gnu-0.22/gettext-tools'
make: *** [package/pkg-generic.mk:293: /home/thomas/projets/buildroot/output/build/host-gettext-gnu-0.22/.stamp_built] Error 2
My defconfig is:
BR2_arm=y
BR2_cortex_a9=y
BR2_ARM_ENABLE_VFP=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
BR2_SYSTEM_ENABLE_NLS=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_LIBFUSE=y
# BR2_TARGET_ROOTFS_TAR is not set
Could you have a look at this?
It would be really awesome to have some test cases in support/testing/ to test the gettext support. Because it's quite tricky to test/remember the different combinations. Sometimes gettext-tiny is used (!NLS), sometimes gettext-gnu (NLS). Sometimes only the host variant is used, sometimes the target variant is needed (to provide libintl). Having a few test cases each testing one of these situations would be really awesome. This way we could merge gettext updates with more confidence.
Thanks a lot!
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot