libidn: update to 1.42.

* Noteworthy changes in release 1.42 (2024-01-13) [stable]

** Bump required gettext version to 0.19.8 for musl-libc.

** Compiler warning improvements.
As before, compiler warnings are enabled by default.  You may disable
them using ./configure --disable-gcc-warnings or turn them into fatal
errors using ./configure --enable-gcc-warnings=error to add -Werror
and sensible -Wno-error='s.  Based on gnulib's manywarnings, see
<https://www.gnu.org/software/gnulib//manual/html_node/manywarnings.html>.

** Fix type confusion on LLP64/Windows platforms.
While libidn has worked using cygwin libc, it has never worked on
ucrt/msvcrt libc.  Report and tiny patch by Francesco Pretto in
<https://lists.gnu.org/archive/html/help-libidn/2022-02/msg00000.html>.

** tests: Added script tests/standalone.sh suitable for integrators.
The main purpose is to test a system-installed libidn, suitable for
distributor checking (a'la Debian's autopkgtest/debci).  It may also
be used to test a newly built libidn outside the usual 'make check'
infrastructure.  To check that your system libidn is working, invoke
the script with `srcdir` as an environment variable indicating where
it can be find the source code for libidn's tests/ directory (it will
use the directory name where the script is by default):

tests/standalone.sh

To check that a newly built static libidn behaves, invoke:

env STANDALONE_CFLAGS="-Ilib lib/.libs/libidn.a" tests/standalone.sh

To check that a newly built shared libidn behaves, invoke:

env srcdir=tests STANDALONE_CFLAGS="-Ilib -Wl,-rpath lib/.libs lib/.libs/libidn.so" tests/standalone.sh

If the libidn under testing is too old and has known bugs, that should
cause tests to fail, which is intentional.

** Updated translations.

** Update gnulib files and build fixes.
This commit is contained in:
wiz 2024-01-21 19:55:07 +00:00
parent f4ee0c7bb3
commit 0b399046c3
3 changed files with 9 additions and 8 deletions

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.111 2022/07/14 13:15:03 wiz Exp $
# $NetBSD: Makefile,v 1.112 2024/01/21 19:55:07 wiz Exp $
DISTNAME= libidn-1.41
DISTNAME= libidn-1.42
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=libidn/}
@ -13,7 +13,7 @@ USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= makeinfo pkg-config perl:build gsed
USE_TOOLS+= msgfmt msgmerge xgettext
TEXINFO_REQD= 4.7
TEXINFO_REQD+= 4.7
GNU_CONFIGURE= yes
INFO_FILES= yes
CONFIGURE_ENV+= EMACS=${FALSE:Q}

View File

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.25 2022/07/03 10:19:48 wiz Exp $
@comment $NetBSD: PLIST,v 1.26 2024/01/21 19:55:07 wiz Exp $
bin/idn
include/idn-free.h
include/idn-int.h
@ -72,6 +72,7 @@ share/locale/id/LC_MESSAGES/libidn.mo
share/locale/it/LC_MESSAGES/libidn.mo
share/locale/ja/LC_MESSAGES/libidn.mo
share/locale/ka/LC_MESSAGES/libidn.mo
share/locale/ko/LC_MESSAGES/libidn.mo
share/locale/nl/LC_MESSAGES/libidn.mo
share/locale/pl/LC_MESSAGES/libidn.mo
share/locale/pt_BR/LC_MESSAGES/libidn.mo

View File

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.72 2022/07/14 13:15:03 wiz Exp $
$NetBSD: distinfo,v 1.73 2024/01/21 19:55:07 wiz Exp $
BLAKE2s (libidn-1.41.tar.gz) = a3db0caaeee0141615a49428878bd6240317e10d6bb57e1b4a1268edb1689822
SHA512 (libidn-1.41.tar.gz) = 765c42b64f10f0d84c0abecdce443baa9fdb80576179e3143bf56abde3f6c6149cc2c77e286e2e2a6ccf508914f30c2d5af258073168c0f886686e4fd85bbb47
Size (libidn-1.41.tar.gz) = 2664011 bytes
BLAKE2s (libidn-1.42.tar.gz) = 3ff22f3f67900e816376bd09e56dfdb9c72bc457ca021de433b7482a24c61425
SHA512 (libidn-1.42.tar.gz) = 1a99f0c9aa12cebed2de7db603c203696544cfe093afd7b233b0955f4fbe65440bf637089a624ed74e204abe854b1d16d11b77dc1b8d56c97ba6b20715aeb0d7
Size (libidn-1.42.tar.gz) = 2653078 bytes
SHA1 (patch-aa) = 569ffa945fb8f1aef509db6bcadbe1e63ba5df87