From 3dc8a1068515efd89758d9aec080a9d0444690cd Mon Sep 17 00:00:00 2001 From: Anhad Singh Date: Mon, 27 Jan 2025 20:31:15 +1100 Subject: [PATCH 1/2] feat(gettext): dynamic Signed-off-by: Anhad Singh --- recipes/tools/gettext/recipe.toml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/recipes/tools/gettext/recipe.toml b/recipes/tools/gettext/recipe.toml index c0658158..71c86405 100644 --- a/recipes/tools/gettext/recipe.toml +++ b/recipes/tools/gettext/recipe.toml @@ -5,7 +5,14 @@ patches = [ "redox.patch" ] script = """ +DYNAMIC_INIT wget -O build-aux/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false" +( cd gettext-runtime/libasprintf && autoreconf -fvi -I${COOKBOOK_HOST_SYSROOT}/share/aclocal ) +( cd gettext-runtime/intl && autoreconf -fvi -I${COOKBOOK_HOST_SYSROOT}/share/aclocal ) +( cd gettext-runtime && autoreconf -fvi -I${COOKBOOK_HOST_SYSROOT}/share/aclocal ) +( cd gettext-tools && autoreconf -fvi -I${COOKBOOK_HOST_SYSROOT}/share/aclocal ) +( cd libtextstyle && autoreconf -fvi -I${COOKBOOK_HOST_SYSROOT}/share/aclocal ) +autoreconf -fvi -I${COOKBOOK_HOST_SYSROOT}/share/aclocal """ [build] @@ -14,9 +21,10 @@ dependencies = [ "libiconv" ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE_FLAGS+=( - --disable-shared --enable-static + --enable-shared ac_cv_have_decl_program_invocation_name=no gt_cv_locale_fr=false gt_cv_locale_fr_utf8=false @@ -26,3 +34,10 @@ COOKBOOK_CONFIGURE_FLAGS+=( ) cookbook_configure """ + +[package] +shared-deps = [ + "libgcc", + "libiconv" +] + From 443b55efd96d89c8741e8cb358f38494a8abc919 Mon Sep 17 00:00:00 2001 From: Anhad Singh Date: Mon, 27 Jan 2025 20:31:39 +1100 Subject: [PATCH 2/2] feat(gettext): bump to 0.22.5 Signed-off-by: Anhad Singh --- recipes/tools/gettext/recipe.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes/tools/gettext/recipe.toml b/recipes/tools/gettext/recipe.toml index 71c86405..8fe8b5a3 100644 --- a/recipes/tools/gettext/recipe.toml +++ b/recipes/tools/gettext/recipe.toml @@ -1,6 +1,8 @@ +# GNU gettext utilities are a set of tools that provides a framework to help +# other GNU packages produce multi-lingual messages. [source] -tar = "https://ftp.gnu.org/pub/gnu/gettext/gettext-0.21.1.tar.gz" -blake3 = "0d0af5a79978fbeac4641ee64480943650af99f70467353e7c3068ffd5523acd" +tar = "https://ftp.gnu.org/pub/gnu/gettext/gettext-0.22.5.tar.gz" +blake3 = "cb3f3a34da7ce1a92746df81f5b78c5d53841973a24eb80ab76537263d380ec0" patches = [ "redox.patch" ]