From patchwork Sat May 13 10:17:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gemmaro X-Patchwork-Id: 1494 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 776B327BBEE; Sat, 13 May 2023 11:33:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D50D927BBE2 for ; Sat, 13 May 2023 11:33:15 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxmYh-0007ul-B6; Sat, 13 May 2023 06:33:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxmYg-0007ud-7c for guix-patches@gnu.org; Sat, 13 May 2023 06:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pxmYf-0000dQ-Vg for guix-patches@gnu.org; Sat, 13 May 2023 06:33:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pxmYf-0004wH-Qk for guix-patches@gnu.org; Sat, 13 May 2023 06:33:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63483] [PATCH 0/4] build: Update po4a process. Resent-From: gemmaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 May 2023 10:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63483 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63483@debbugs.gnu.org Cc: gemmaro X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168397392618919 (code B ref -1); Sat, 13 May 2023 10:33:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 May 2023 10:32:06 +0000 Received: from localhost ([127.0.0.1]:36046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxmXl-0004v4-Qy for submit@debbugs.gnu.org; Sat, 13 May 2023 06:32:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:57352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxmXk-0004uw-A8 for submit@debbugs.gnu.org; Sat, 13 May 2023 06:32:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxmXi-0007qn-R6 for guix-patches@gnu.org; Sat, 13 May 2023 06:32:03 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pxmXg-0000WM-Ax for guix-patches@gnu.org; Sat, 13 May 2023 06:32:01 -0400 Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-643a1fed360so6502870b3a.3 for ; Sat, 13 May 2023 03:31:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683973918; x=1686565918; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=x4rpqNf0yuUEmr9mmqRRU3KdkBGN9egkPIMCppVlJBQ=; b=H/Gzq4cql+US6Q/yYYqXQmiKjYffhnLFLl2EGHl3Xh0oWWqooeIGryk5Caj9xLhIMD Bit1w8dsxKH5Q0Mi385ZocdcsguLVcoTuOBUnrKuawxor0X6bJ8cERUz0iZwyymN4nz1 52BUcdHSwMXH/93Nlu1pVFx2iAAKmjI5l+bQqMRar+iqEItlc9hP8xFlnKQtsDp+N4Sn p9hAClyzZquPkZmZAWij/x4FycEusGSl6h+aRW34CfzOgq46nr7AusSFtw4h8BM+nORl 8RNCLg+et1fPYYSCkhRXiOkEUUH3JaocVQQESktHkr/prcLYkylxMgspBCrXZJoXO08l cMfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683973918; x=1686565918; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=x4rpqNf0yuUEmr9mmqRRU3KdkBGN9egkPIMCppVlJBQ=; b=g+wgoyQh8ZE5waENoNDCo5tKKl/WhaNnMOMx/iJGiq0ZZyg+2fP6+i/qVnZlLQgLm1 JIzxXOeBllvDDx8n0hG+UCHh+l3VY8QH/pjcQmSdXnTqcm+IPiQ53IJHUdVNNW34xjGN PUIVyylfwMqDhHl8Jowi87BCrvfdTrJFF5OdhhcEukrSrbRIVeraTgCbYGJJ1KpwOATB 96aJKYDjLIQcDsFII2Fqn9Lx5kG8DW7+HzkoUD2jyqDeyAXFY/VosorAG5egY0aipoWU Dj9NKMtm5FJTKix44ZlwJr2P/SW/qh1vIrkGFz1+XrWw3vtaGMxSZRC0SkuL8Z2wOFaw ZSGg== X-Gm-Message-State: AC+VfDy4ga99Pd2kP3V/XT1myKWnVhvkICf3EVCAV+LJiz/l/p2y/fjX 29ollJOGifTz6mA0UPnsnXPEi/MeKFoOLA== X-Google-Smtp-Source: ACHHUZ61ntBAtX+eLf/Ak8mvDuoeFxSZOS4awKN5iYm7jFT16pbuFzlbnHyG7sRhHLfYR17GRKyHdg== X-Received: by 2002:a05:6a00:b82:b0:649:450f:3231 with SMTP id g2-20020a056a000b8200b00649450f3231mr13461830pfj.9.1683973918633; Sat, 13 May 2023 03:31:58 -0700 (PDT) Received: from mac.gemmaro.name ([240f:74:d1f0:1:ba1:e787:c9e:b1dc]) by smtp.gmail.com with ESMTPSA id p21-20020aa78615000000b00638965d4248sm8395687pfn.184.2023.05.13.03.31.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 May 2023 03:31:58 -0700 (PDT) From: gemmaro Date: Sat, 13 May 2023 19:17:47 +0900 Message-Id: X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=gemmaro.dev@gmail.com; helo=mail-pf1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hello, This patchset updates the po4a build process and is a follow-up to [1]. In particular, it now uses po4a command instead of po4a-updatepo and po4a-translate in both Make tasks and `guix build -f doc/build.scm`. So no more warnings like "po4a-translate is deprecated. The unified po4a(1) program is more convenient and less error prone." I have checked that the updated process works with `make`, `make dist`, `make as-derivation` and `guix build -f doc/build.scm`, and there seem to be no errors. I don't think this affects other components like Weblate either (Weblate components use po/doc/guix-manual.xx.po and po/doc/guix-cookbook.xx.po, and these files are still to be generated). Sorry for the delay in submitting this. I hope there are no major mistakes and that I'll no longer feel guilty every time I see po4a warnings. [1] [PATCH 0/6] gnu: po4a: Update to 0.68 https://issues.guix.gnu.org/60448 Best, gemmaro. gemmaro (4): build: Align Automake status lines of po4a and PO xref. build: Update po4a process for Makefiles. self: Update po4a process. doc: Update documentation about translation languages. Makefile.am | 5 ++-- configure.ac | 3 +- doc/contributing.texi | 14 ++++----- doc/local.mk | 67 ++++++++++++++++++++++++------------------- guix/self.scm | 39 ++++++++++++------------- po/doc/local.mk | 49 +++++++++++++------------------ po/doc/po4a.cfg | 42 +++++++++++++++++++++++++++ 7 files changed, 130 insertions(+), 89 deletions(-) create mode 100644 po/doc/po4a.cfg base-commit: cf89a215cec346bc4d6622cbe353c058452b29b2