From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 138A51F5AE for ; Sun, 25 Jul 2021 11:24:27 +0000 (UTC) Received: from localhost ([::1]:51864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7cF7-0005Hd-GG for normalperson@yhbt.net; Sun, 25 Jul 2021 07:24:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7cF4-0005HU-PJ for bug-gnulib@gnu.org; Sun, 25 Jul 2021 07:24:22 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.161]:21461) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7cF2-0001fr-EY for bug-gnulib@gnu.org; Sun, 25 Jul 2021 07:24:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1627212255; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=SnxoqZV3h3ANuqI0oSV0SRQyr9tDnmtfrfTZjRAinXc=; b=f5MLlIxsOyfrGMfvSsZGXZ3QWBfma0AftYIwNoYpP+AW+i3lXpFhtM/+B+f60/HGpS Z1cl/0HnquPTrY9FwqNl7ULMMPQ/leB2Iqp0DeNhYKzYHiBh4rnWgpFcB4bxFjWlHB4K lN2Iu5izOBjOxvvQmDYS0kmM5m3Ktkx1f+MtM5h0RLJiHWgCa6oGdY4aKwHgU2m+XJeL sCqgnzJqOIG4x6424HEa67hHzmI6Y4w9IVGT5rTNSQ3Yps87cajckiois6UXt7jt9XvC 3KN6KjFmGPYQ84s6BTN4kYA5M+IQB2Qj1mFWqCGSu8vD3L7HUzIPRHLZhH6Q8NgQRcKA 0TiQ== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH/DXj0JGsbh0vbrMZq" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 47.28.1 DYNA|AUTH) with ESMTPSA id u08ae3x6PBOFm0H (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Sun, 25 Jul 2021 13:24:15 +0200 (CEST) From: Bruno Haible To: bug-gnulib@gnu.org Subject: assume GNU gettext >= 0.17 Date: Sun, 25 Jul 2021 13:24:15 +0200 Message-ID: <5993048.zIF12YynLJ@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-210-generic; KDE/5.18.0; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=81.169.146.161; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" gnulib-tool emits a couple of notices that start with "If you are using GNU gettext version 0.16.1 or older ..." GNU gettext 0.17 was released in 2007, and according to all distros (even CentOS 6) ship this version at least. So, by now we can assume that everyone is using version 0.17 at least. The user does not need to set XGETTEXT_OPTIONS for things that AM_XGETTEXT_OPTION arranges for, automatically. 2021-07-25 Bruno Haible Assume GNU gettext >= 0.17. * modules/vasprintf (Notice): Remove. * modules/xvasprintf (Notice): Remove. * modules/xprintf (Notice): Remove. * modules/error (Notice): Remove. * modules/verror (Notice): Remove. * modules/argp (Notice): Remove. * modules/propername (Notice): Remove. * lib/propername.h: Remove outdated comment. diff --git a/lib/propername.h b/lib/propername.h index 8037de7..ee09d7c 100644 --- a/lib/propername.h +++ b/lib/propername.h @@ -51,7 +51,7 @@ output will look like this: () - To use the 'propername' module requires three simple steps: + To use the 'propername' module requires two simple steps: 1) Add it to the list of gnulib modules to import, @@ -68,16 +68,6 @@ (Optionally, here you can also add / * TRANSLATORS: ... * / comments explaining how the name is written or pronounced.) - - 3) If you are using GNU gettext version 0.16.1 or older, in po/Makevars, - in the definition of the XGETTEXT_OPTIONS variable, add: - - --keyword='proper_name:1,"This is a proper name. See the gettext manual, section Names."' - --keyword='proper_name_utf8:1,"This is a proper name. See the gettext manual, section Names."' - - This specifies automatic comments for the translator. (Requires - xgettext >= 0.15. The double-quotes inside the quoted string are on - purpose: they are part of the --keyword argument syntax.) */ #ifndef _PROPERNAME_H diff --git a/modules/argp b/modules/argp index 38a7905..85eefe2 100644 --- a/modules/argp +++ b/modules/argp @@ -1,11 +1,6 @@ Description: Hierarchical processing of command line arguments. -Notice: -If you are using GNU gettext version 0.16.1 or older, add the following options -to XGETTEXT_OPTIONS in your po/Makevars: - --flag=argp_error:2:c-format --flag=argp_failure:4:c-format - Files: lib/argp.h lib/argp-ba.c diff --git a/modules/error b/modules/error index a0fb4c0..2945c48 100644 --- a/modules/error +++ b/modules/error @@ -1,11 +1,6 @@ Description: error and error_at_line functions: Error reporting. -Notice: -If you are using GNU gettext version 0.16.1 or older, add the following options -to XGETTEXT_OPTIONS in your po/Makevars: - --flag=error:3:c-format --flag=error_at_line:5:c-format - Files: lib/error.h lib/error.c diff --git a/modules/propername b/modules/propername index ab06a46..fb1e78a 100644 --- a/modules/propername +++ b/modules/propername @@ -1,12 +1,6 @@ Description: Localization of proper names. -Notice: -If you are using GNU gettext version 0.16.1 or older, add the following options -to XGETTEXT_OPTIONS in your po/Makevars: - --keyword='proper_name:1,"This is a proper name. See the gettext manual, section Names."' - --keyword='proper_name_utf8:1,"This is a proper name. See the gettext manual, section Names."' - Files: lib/propername.h lib/propername.c diff --git a/modules/vasprintf b/modules/vasprintf index 59e5a86..91d082b 100644 --- a/modules/vasprintf +++ b/modules/vasprintf @@ -1,11 +1,6 @@ Description: vsprintf with automatic memory allocation. -Notice: -If you are using GNU gettext version 0.16.1 or older, add the following options -to XGETTEXT_OPTIONS in your po/Makevars: - --flag=asprintf:2:c-format --flag=vasprintf:2:c-format - Files: lib/vasprintf.c lib/asprintf.c diff --git a/modules/verror b/modules/verror index e183f68..16ad0c5 100644 --- a/modules/verror +++ b/modules/verror @@ -1,11 +1,6 @@ Description: verror and verror_at_line functions: Error reporting with va_list. -Notice: -If you are using GNU gettext version 0.16.1 or older, add the following options -to XGETTEXT_OPTIONS in your po/Makevars: - --flag=verror:3:c-format --flag=verror_at_line:5:c-format - Files: lib/verror.h lib/verror.c diff --git a/modules/xprintf b/modules/xprintf index de61260..f4942ce 100644 --- a/modules/xprintf +++ b/modules/xprintf @@ -1,12 +1,6 @@ Description: a wrapper around printf that calls error upon ENOMEM or EILSEQ errors -Notice: -If you are using GNU gettext version 0.16.1 or older, add the following options -to XGETTEXT_OPTIONS in your po/Makevars: - --flag=xprintf:1:c-format --flag=xvprintf:1:c-format - --flag=xfprintf:2:c-format --flag=xvfprintf:2:c-format - Files: lib/xprintf.h lib/xprintf.c diff --git a/modules/xvasprintf b/modules/xvasprintf index 373c1fa..ae23314 100644 --- a/modules/xvasprintf +++ b/modules/xvasprintf @@ -1,10 +1,6 @@ Description: vasprintf and asprintf with out-of-memory checking. Also see xalloc-die. -Notice: -If you are using GNU gettext version 0.16.1 or older, add the following options -to XGETTEXT_OPTIONS in your po/Makevars: --flag=xasprintf:1:c-format - Files: lib/xvasprintf.h lib/xvasprintf.c