public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Jan Beulich <jbeulich@suse.com>
To: "Arsen Arsenović" <arsen@aarsen.me>
Cc: Bruno Haible <bruno@clisp.org>, Iain Sandoe <iain@sandoe.co.uk>,
	gdb-patches@sourceware.org, binutils@sourceware.org
Subject: Re: [PATCH v2 1/2] *: add modern gettext support
Date: Wed, 27 Sep 2023 09:11:25 +0200	[thread overview]
Message-ID: <412429ef-152f-02d9-2c2f-a93e93e2a3bf@suse.com> (raw)
In-Reply-To: <864jjhrm73.fsf@aarsen.me>

On 26.09.2023 16:44, Arsen Arsenović wrote:
> Hi,
> 
> Jan Beulich <jbeulich@suse.com> writes:
> 
>> May I please ask that a change like this come with a real description? The
>> ChangeLog entries certainly describe - purely mechanically - what is done
>> to the files, but to be honest I cannot really read out of the (large)
>> patch what the overall behavioral change is.
> 
> Hopefully, none.  Building without gettext in-tree or on the system
> should result in a working build with no localization, with gettext
> in-tree and on the system it should result in the usage of the system
> gettext, with gettext on the tree but _not_ on the system, it should
> result in a new (static) copy being built and linked into the tools,
> with working localization, and with no gettext in tree but in system
> (either in libc or in libintl) should result in a localized build using
> the system gettext facilities.
> 
> The behavior for the in-tree but also on the system case (e.g. building
> with gettext in-tree on a GNU system) can be overridden with
> --with-included-gettext (which is a configure flag for gettext-runtime,
> and was a configure flag for intl/ before that).
> 
> I've updated the commit message to add:
> 
>> This patch updates gettext.m4 and related .m4 files and adds
>> gettext-runtime as a gmp/mpfr/... style host library, allowing newer
>> libintl to be used.
>>
>> This patch /does not/ add build-time tools required for
>> internationalizing (msgfmt et al), instead, it just updates the
>> runtime library.  The result should be a distribution that acts
>> exactly the same when a copy of gettext is present, and disables
>> internationalization otherwise.
>>
>> There should be no changes in behavior when gettext is included
>> in-tree.  When gettext is not included in tree, nor available on the
>> system, the programs will be built without localization.
> 
> I hope this clarifies it.
> 
> Would you like to see anything else in the description?

This looks sufficient to me, thanks. I don't feel qualified though to
approve the binutils side of the change, sorry. I merely wanted to make
sure there won't be sudden (and unmentioned) regressions as to where
binutils can(not) be built.

Jan

  reply	other threads:[~2023-09-27  7:11 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-26  0:17 [PATCH v2 0/2] Replace intl/ with out-of-tree GNU gettext Arsen Arsenović
2023-09-26  0:17 ` [PATCH v2 1/2] *: add modern gettext support Arsen Arsenović
2023-09-26  2:12   ` Kevin Buettner
2023-09-26  5:09   ` Tsukasa OI
2023-09-26  8:58     ` Nick Clifton
2023-09-26 13:55     ` Arsen Arsenović
2023-09-26  7:03   ` Jan Beulich
2023-09-26  7:54     ` Iain Sandoe
2023-09-26 14:44     ` Arsen Arsenović
2023-09-27  7:11       ` Jan Beulich [this message]
2023-09-27 13:06         ` Arsen Arsenović
2023-09-27 15:19         ` Nick Clifton
2023-09-27 17:43           ` Arsen Arsenović
2023-09-28  9:43             ` Nick Clifton
2023-09-29 15:58       ` Bruno Haible
2023-09-29 16:27         ` Arsen Arsenović
2023-11-20 16:42   ` Kévin Le Gouguec
2023-11-20 20:30     ` Arsen Arsenović
2023-11-20 21:28       ` Bruno Haible
2023-09-26  0:17 ` [PATCH v2 2/2] *: suppress xgettext 0.22 charset name error Arsen Arsenović
2023-09-27 15:21   ` Nick Clifton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=412429ef-152f-02d9-2c2f-a93e93e2a3bf@suse.com \
    --to=jbeulich@suse.com \
    --cc=arsen@aarsen.me \
    --cc=binutils@sourceware.org \
    --cc=bruno@clisp.org \
    --cc=gdb-patches@sourceware.org \
    --cc=iain@sandoe.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).