From patchwork Tue Sep 26 00:17:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Arsen_Arsenovi=C4=87?= X-Patchwork-Id: 14501 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp1592261vqu; Mon, 25 Sep 2023 18:00:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF/0cMCI++NYAqdgvFRtsLiPdgxUq88wKTFGlc4+rpchVbHpI3EVRrQ5gmrNle+/MT8Mi+s X-Received: by 2002:a17:907:78c1:b0:9a1:c0e9:58ff with SMTP id kv1-20020a17090778c100b009a1c0e958ffmr7152837ejc.11.1695690055208; Mon, 25 Sep 2023 18:00:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695690055; cv=none; d=google.com; s=arc-20160816; b=qW+4Oybl3VzLNscqPepxcinMatllkq6Cx8BUpSyOtVPylZ0qy5ZEwjIPrTpvKg01YR V/8C2bWU5i9Dd/l8flWGCPjULZJ8CbQjWyV2C8d071JBM/DQA/NaktXXOihNBuIk7iIc 1mduKDwmArU5KrivKVodItWOXbSbtbEVgi9bqD1TNrdKrr8RiHh5buXVSbDxdpTURIfX FC/JUKnC/0u67/N62e26UNaa1biJjx9m6pD/yGk9Om1gjcehbJYBdcDDjEOaADkk+wGN VTyNiCvjOiD9oVa6XZ4oblQFRqAj8EeChfuUuFtAirWxLA59D+vsTxty7T5DCqVCS3uH EglA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=N5IrMNMQjCn4dgqrEjGsD8mL1ZIVCHF0WPC3ZfTh3lk=; fh=Dolx+bSIgcNfe/9raUi/hBaZIULLbzXXihwgj9UsDGg=; b=qhD5y8ZOJa0Xr1l8B5VTRHvzSy6OCNpe31Mj1mTT8qfAPCFoT6ezrQSF3hO4ZT1mqm XdubKzmMTwd3fHMzvPdvw3B/48mAzviV23PvrlAoHhLv+SpLiHSxRlCW/Vntwftv+ffg CsDZVcZHdMJjjlZTXThXYeZPzUlkOqboXNc3keqO0eJc1niFOMGfiqtPqIC9KUuYSWbG L4a4CZ3GxU2N9R9U/5fcZ6URKsd8Q9NYgA0Ok6oLfG89lVDBHEQ6AUTEtxqkrI6DLRo/ mTFMxbnSjlZqRhvSDw6mo74F5LND2jRMwjmcxZLcSz8ulIeaFoggqF3LHiq4qjdFQp6c eTJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=MBLQq8HP; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id k9-20020a170906680900b00992c3b85acbsi9883643ejr.128.2023.09.25.18.00.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 18:00:55 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=MBLQq8HP; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7F4BF3856975 for ; Tue, 26 Sep 2023 01:00:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7F4BF3856975 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695690053; bh=N5IrMNMQjCn4dgqrEjGsD8mL1ZIVCHF0WPC3ZfTh3lk=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=MBLQq8HPWnDDpzDVZ+IWxVObVNtXz3BeFKFbLHAh9TR3Wl4eIbmhGHO1d2JO+laew FikzNmOB8w6+TxVgKbP4E/aN6JCoppVvKaMMc1y8Ee8ryNFG5OSEv9o8dKBPtrH/y1 qb8ku3/FSO2xP1lN4DkO9q6pnZtcDzmPkg69SR+w= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [IPv6:2001:67c:2050:0:465::102]) by sourceware.org (Postfix) with ESMTPS id 228343856DFB; Tue, 26 Sep 2023 01:00:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 228343856DFB Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4RvhHf4BHzz9sQT; Tue, 26 Sep 2023 03:00:30 +0200 (CEST) To: gdb-patches@sourceware.org, binutils@sourceware.org Cc: Bruno Haible , Iain Sandoe , =?utf-8?q?Arsen_Arsenovi=C4=87?= Subject: [PATCH v2 0/2] Replace intl/ with out-of-tree GNU gettext Date: Tue, 26 Sep 2023 02:17:32 +0200 Message-ID: <20230926004300.1716711-2-arsen@aarsen.me> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4RvhHf4BHzz9sQT X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_INFOUSMEBIZ, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?q?Arsen_Arsenovi=C4=87_via_Binutils?= From: =?utf-8?q?Arsen_Arsenovi=C4=87?= Reply-To: =?utf-8?q?Arsen_Arsenovi=C4=87?= Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778024181824696015 X-GMAIL-MSGID: 1778059895446274539 This patch is a v2 of https://inbox.sourceware.org/20230925153247.908901-1-arsen@aarsen.me/ Changes since v1: - Move SUBDIRS changes from p2 to p1, and rationalize them with a comment. Thanks, Andreas. - Drop file regeneration from p1 (as it got held for moderation due to size last time). Retested (briefly, as it is getting quite late) on x86_64-freebsd13.1. The rest should be the same as v1. Thanks in advance, have a lovely night. Arsen Arsenović (2): *: add modern gettext support *: suppress xgettext 0.22 charset name error .gitignore | 1 + Makefile.def | 72 ++++---- bfd/configure.ac | 2 +- bfd/po/Make-in | 8 +- binutils/po/Make-in | 5 +- config/gettext-sister.m4 | 35 ++-- config/gettext.m4 | 357 +++++++++++++++++---------------------- config/iconv.m4 | 313 ++++++++++++++++++++++++++-------- config/intlmacosx.m4 | 65 +++++++ configure.ac | 44 +++-- gas/po/Make-in | 5 +- gdb/acinclude.m4 | 3 +- gdbsupport/Makefile.am | 5 + gold/po/Make-in | 5 +- gprof/po/Make-in | 5 +- ld/po/Make-in | 8 +- libctf/Makefile.am | 5 + libctf/configure.ac | 2 +- opcodes/configure.ac | 2 +- opcodes/po/Make-in | 5 +- 20 files changed, 594 insertions(+), 353 deletions(-) create mode 100644 config/intlmacosx.m4