From 68fedd78b5510236a372f7386769a6011494aa0e Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 2 Jan 2025 15:57:15 +0100 Subject: [PATCH] gnulib-l10n: Clarify the license of the POT file. Reported by Simon Josefsson. Suggested by Benno Schulenberg. * po/Makefile ($(DOMAIN).pot): Replace the license notice line. --- ChangeLog | 6 ++++++ po/Makefile | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ea1a742b40..8853983620 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2025-01-02 Bruno Haible + + gnulib-l10n: Clarify the license of the POT file. + Reported by Simon Josefsson. Suggested by Benno Schulenberg. + * po/Makefile ($(DOMAIN).pot): Replace the license notice line. + 2025-01-02 Bruno Haible string-desc, xstring-desc, string-desc-quotearg: Rename functions. diff --git a/po/Makefile b/po/Makefile index 26b6ad5b8e..bc2bf63b64 100644 --- a/po/Makefile +++ b/po/Makefile @@ -13,6 +13,13 @@ $(DOMAIN).pot: force --msgid-bugs-address='$(MSGID_BUGS_ADDRESS)' \ $(XGETTEXT_OPTIONS) \ `cd .. && find lib '(' -name '*.c' -o -name '*.h' -o -name '*.y' ')' | LC_ALL=C sort` - mv $(DOMAIN).po $(DOMAIN).pot +# We cannot use the usual comment +# "This file is distributed under the same license as the GNU gnulib package." +# here, because gnulib is not under a single license. Instead, use a comment +# "This file is distributed under the LGPLv2+ license." +# This comment is agreed-upon with the Translation Project. + sed -e 's/^# This file is distributed under the same license.*/# This file is distributed under the LGPLv2+ license./' < $(DOMAIN).po > $(DOMAIN).po1 + mv $(DOMAIN).po1 $(DOMAIN).pot + rm -f $(DOMAIN).po force: -- 2.39.5