From nobody Tue Feb 10 04:13:11 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1652776351; cv=none; d=zohomail.com; s=zohoarc; b=acEivPpbvLEkRcCzF7xFxvPgOf4g+/Af+JlEQ0MpU3xkBob8QMvUU6XgVZi5Q9SUlB/VKBz+PC+WDya0DzYVoNeIJy/GT5qQ0ssw2pBHsUI3beW6zMHMXNrJThtTbG/u5PrhM4Mhl9m/LXMCVQepxH27xzHfpxE08517bf6q3v4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1652776351; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=RJgRN4ima04cyy+2cQxNWcQEt7KdjVMNrAtI9jQylLQ=; b=nbSzaijmYyjNKbx+CYZeKCTS8O8S3curazOFt+ytr9i7Rnfnvwgw0dWXqIsYrsbUr4GLmqg6ws7hIZ/w9e7yVnVM3g+2VY6VYDtpxzi6nfAyRbH5yn7nXTnHc8NrjDr4vXlgsa3Md7HnhPTZz5SH3Q2DKFSx1ZdKktLiAlZb8O4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1652776351632393.4715202183322; Tue, 17 May 2022 01:32:31 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-209-RUmqpYJtPZqiy8Uw_A3s-g-1; Tue, 17 May 2022 04:32:28 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2E764382ECCE; Tue, 17 May 2022 08:32:26 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 15EFE4010E2E; Tue, 17 May 2022 08:32:26 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 4FE801947070; Tue, 17 May 2022 08:32:25 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 64E301947056 for ; Tue, 17 May 2022 08:32:23 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 41AF3C27D98; Tue, 17 May 2022 08:32:23 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.193.212]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C4680C27D90 for ; Tue, 17 May 2022 08:32:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652776350; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=RJgRN4ima04cyy+2cQxNWcQEt7KdjVMNrAtI9jQylLQ=; b=LwNgXwZZ5iyswY04na9Rlu7XZGts9shbEHpIeYOwzXZBlx9Xr7NusVKuBUwDMqN4a/6rG9 TBuIJJ/RkgDu+sX+o9gu+qlfq9X7iTHIix265tNy+eZGSlUSYRuZTRflaVjWnvdBkHXTdQ l8BKoM1yuhncVJ3Cr5cPaE8Fbt5mKAc= X-MC-Unique: RUmqpYJtPZqiy8Uw_A3s-g-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 4/7] po: Don't generate POTFILES Date: Tue, 17 May 2022 10:32:14 +0200 Message-Id: <20220517083217.193910-5-abologna@redhat.com> In-Reply-To: <20220517083217.193910-1-abologna@redhat.com> References: <20220517083217.193910-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1652776353790100005 Content-Type: text/plain; charset="utf-8" Now that we have dropped prefixes from the file, it no longer needs to go through configure_file() and we can use it directly. Signed-off-by: Andrea Bolognani --- build-aux/syntax-check.mk | 6 +++--- po/{POTFILES.in =3D> POTFILES} | 0 po/meson.build | 13 +------------ 3 files changed, 4 insertions(+), 15 deletions(-) rename po/{POTFILES.in =3D> POTFILES} (100%) diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 64181790d0..05655bcb97 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -1476,10 +1476,10 @@ perl_translatable_files_list_ =3D \ -e '}' =20 # Verify that all source files using _() (more specifically, files that -# match $(_gl_translatable_string_re)) are listed in po/POTFILES.in. -po_file ?=3D $(top_srcdir)/po/POTFILES.in +# match $(_gl_translatable_string_re)) are listed in po/POTFILES. +po_file ?=3D $(top_srcdir)/po/POTFILES =20 -# List of additional files that we want to pick up in our POTFILES.in +# List of additional files that we want to pick up in our POTFILES # This is all generated files for RPC code. generated_files =3D \ $(top_builddir)/src/*.[ch] \ diff --git a/po/POTFILES.in b/po/POTFILES similarity index 100% rename from po/POTFILES.in rename to po/POTFILES diff --git a/po/meson.build b/po/meson.build index f4d95f97fe..d71c0f41e2 100644 --- a/po/meson.build +++ b/po/meson.build @@ -1,23 +1,12 @@ i18n =3D import('i18n') =20 -potfiles_conf =3D configuration_data({ - 'SRCDIR': '', - 'BUILDDIR': '', -}) - -potfiles =3D configure_file( - input: 'POTFILES.in', - output: '@BASENAME@', - configuration: potfiles_conf, -) - i18n.gettext( meson.project_name(), args: [ '--add-comments=3DTRANSLATORS:', '--directory=3D@0@'.format(meson.source_root()), '--directory=3D@0@'.format(meson.build_root()), - '--files-from=3D@0@'.format(meson.current_build_dir() / 'POTFILES'), + '--files-from=3D@0@'.format(meson.current_source_dir() / 'POTFILES'), '--msgid-bugs-address=3Dhttps://libvirt.org/bugs.html', '--package-version=3D@0@'.format(meson.project_version()), '--sort-output', --=20 2.35.3