talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit e0e6cfaf112f0c6131afb7a101a024c97ad4a534
parent 3183a9d9df941d4bdca208f82d2c986f7cd7b707
Author: Paul <paul@claws-mail.org>
Date:   Wed, 18 Jun 2025 09:55:32 +0100

fix bug 4856, 'Build fails with gettext 0.24'

Diffstat:
Mautogen.sh | 1+
Mpo/Makevars | 31+++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/autogen.sh b/autogen.sh @@ -50,6 +50,7 @@ case `uname` in esac ${LIBTOOL} \ + && autopoint -f \ && aclocal -I m4 \ && autoconf \ && autoheader \ diff --git a/po/Makevars b/po/Makevars @@ -28,6 +28,13 @@ XGETTEXT_OPTIONS = \ # their copyright. COPYRIGHT_HOLDER = The Claws Mail Team +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = no + # This is the email address or URL to which the translators shall report # bugs in the untranslated strings: # - Strings which are not entire sentences, see the maintainer guidelines @@ -53,3 +60,27 @@ EXTRA_LOCALE_CATEGORIES = # package uses functions taking also a message context, like pgettext(), or # if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. USE_MSGCTXT = yes + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages, +# --quiet to reduce the verbosity. +MSGMERGE_OPTIONS = + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +# This tells whether or not to regenerate a PO file when $(DOMAIN).pot +# has changed. Possible values are "yes" and "no". Set this to no if +# the POT file is checked in the repository and the version control +# program ignores timestamps. +PO_DEPENDS_ON_POT = yes + +# This tells whether or not to forcibly update $(DOMAIN).pot and +# regenerate PO files on "make dist". Possible values are "yes" and +# "no". Set this to no if the POT file and PO files are maintained +# externally. +DIST_DEPENDS_ON_UPDATE_PO = yes