Assaf Gordon wrote in
<https://lists.gnu.org/archive/html/bug-gnulib/2019-08/msg00047.html>:
> The gnulib manual says:
>   "2. After running gettextize, invoke gnulib-tool and import
>       the gettext module. "
> https://www.gnu.org/software/gnulib/manual/html_node/gettextize-and-autopoint.html
> (from 'doc/gnulib-tool.texi' at '@node gettextize and autopoint').
> 
> But running:
> 
>     ./gnulib-tool --import gettext
> 
> Gives the following warning:
> 
>    Notice from module gettext: 
> 
>      This module is obsolete. Use the module 'gettext-h' instead to make 
> 
>      your program capable of internationalization, when GNU gettext is
>      also  used.
> 
> Should the instructions be updated ?

No, the instructions are fine. The purpose of module 'gettext' here is to
overwrite older files from an older 'gettextize' version.

Since instructions given in the manual should not lead to obsoletion
warnings, I'm un-obsoleting the module.


2024-10-17  Bruno Haible  <br...@clisp.org>

        gettext: Un-obsolete.
        Reported by Assaf Gordon <assafgor...@gmail.com> in
        <https://lists.gnu.org/archive/html/bug-gnulib/2019-08/msg00047.html>.
        * modules/gettext (Description): Add a third purpose.
        (Status, Notice): Remove sections.

diff --git a/modules/gettext b/modules/gettext
index f3db46dee5..e94ec89675 100644
--- a/modules/gettext
+++ b/modules/gettext
@@ -6,17 +6,12 @@ The purpose of this module is:
     link errors on non-glibc platforms. We want to detect such link
     errors from within gnulib and fix them by adding $(LIBINTL) to
     various <program>_LDADD variables.
+  - To fix conflicts between older versions of 'gettextize' and the newer
+    versions of files found in gnulib.  See
+    
https://www.gnu.org/software/gnulib/manual/html_node/gettextize-and-autopoint.html
   - As a prototype if/when we someday unify gnulib-tool, libtoolize, and
     gettextize in a single tool.
 
-Status:
-obsolete
-
-Notice:
-This module is obsolete. Use the module 'gettext-h' instead to make
-your program capable of internationalization, when GNU gettext is also
-used.
-
 Files:
 m4/gettext.m4
 m4/build-to-host.m4




Reply via email to