texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: Use separate po files for tp/Texinfo/XS gnulib


From: Patrice Dumas
Subject: branch master updated: Use separate po files for tp/Texinfo/XS gnulib
Date: Tue, 01 Oct 2024 16:24:20 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 4678cb1e8a Use separate po files for tp/Texinfo/XS gnulib
4678cb1e8a is described below

commit 4678cb1e8a314774bbdf660b93b5c046a2c66796
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Jul 28 11:57:02 2024 +0200

    Use separate po files for tp/Texinfo/XS gnulib
    
    * tp/Texinfo/XS/main/build_perl_info.c (init): call
    bindtextdomain for the texinfo_tp-gnulib separate domain.
    
    * po/POTFILES.in: remove tp/Texinfo/XS/gnulib/lib file.
    
    * Makefile.am (po-check): ignore tp/Texinfo/XS/gnulib/lib/*.
---
 ChangeLog                            | 11 +++++++++++
 Makefile.am                          |  1 +
 po/POTFILES.in                       |  1 -
 tp/Texinfo/XS/main/build_perl_info.c |  3 +++
 4 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index e4475ba447..ea16c6f61e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2024-07-28  Patrice Dumas  <pertusus@free.fr>
+
+       Use separate po files for tp/Texinfo/XS gnulib
+
+       * tp/Texinfo/XS/main/build_perl_info.c (init): call
+       bindtextdomain for the texinfo_tp-gnulib separate domain.
+
+       * po/POTFILES.in: remove tp/Texinfo/XS/gnulib/lib file.
+
+       * Makefile.am (po-check): ignore tp/Texinfo/XS/gnulib/lib/*.
+
 2024-10-01  Gavin Smith <gavinsmith0123@gmail.com>
 
        * doc/texinfo.texi (HTML Xref Link Basics, HTML Xref Configuration):
diff --git a/Makefile.am b/Makefile.am
index 5091cb4d9e..2fe7f9ae27 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -116,6 +116,7 @@ po-check:
              texinfo-*/*) continue;;                                   \
               tp/maintain/* ) continue;;                               \
               tp/t/results* ) continue;;                               \
+             tp/Texinfo/XS/gnulib/lib/*) continue;;                            
        \
            esac;                                                       \
            files="$$files $$file";                                     \
          done;                                                         \
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ddba1ba4a1..d196a94eff 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -51,7 +51,6 @@ tp/ext/highlight_syntax.pm
 tp/ext/latex2html.pm
 tp/ext/tex4ht.pm
 tp/texi2any.pl
-tp/Texinfo/XS/gnulib/lib/obstack.c
 tp/Texinfo/XS/main/errors.c
 tp/Texinfo/XS/main/errors.h
 tp/Texinfo/XS/main/manipulate_indices.c
diff --git a/tp/Texinfo/XS/main/build_perl_info.c 
b/tp/Texinfo/XS/main/build_perl_info.c
index f23e5b4780..69d85d3dec 100644
--- a/tp/Texinfo/XS/main/build_perl_info.c
+++ b/tp/Texinfo/XS/main/build_perl_info.c
@@ -143,6 +143,9 @@ init (int texinfo_uninstalled, SV *pkgdatadir_sv, SV 
*builddir_sv,
   bindtextdomain (PACKAGE_CONFIG, LOCALEDIR);
 
   textdomain (PACKAGE_CONFIG);
+
+  /* set the tp gnulib text message domain. */
+  bindtextdomain (PACKAGE_CONFIG "_tp-gnulib", LOCALEDIR);
 #else
 
 #endif



reply via email to

[Prev in Thread] Current Thread [Next in Thread]