From nobody Tue Feb 10 23:00:57 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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.133.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=1652867648; cv=none; d=zohomail.com; s=zohoarc; b=BscCAtB72x8zJDavjwO8+f8/MlmnYjHW8L3B1Kx8IgkyKxwfDxc74dFm0OP6FDetfWno+84UaN2WOYAWfmVoqf86/90PUhjYAmchEtDeBFPRIW06Ur/X1jukX3uljUFKjKvnswkC8lN2tyOw4Cj0bpLMy4AHy/TDUH3Rzg/rrik= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1652867648; 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=/U+J+eRsCXzDYpGMSwKK7zIWAUTqc/ksp6PFxOAUbnI=; b=EIXOmA492DtG94Pp/Y6bHS+Cbasz5cTJLg93ILALcZuKebAGvCS+W4UmTa58TRfYR50zC3m+m7zgBN6wJ1BRWx6PVO2MiAcyMLOZ/ST9lTV4E/rG+Lk0ygIie7obDO6Y3WhOCKzgbWAYKlsD8JBEZaVjuIUhYRaLEsapUEtGFeY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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.133.124]) by mx.zohomail.com with SMTPS id 1652867648146836.2053788189647; Wed, 18 May 2022 02:54:08 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-549-sOiKH0YIMTCXUx1BgmnXWg-1; Wed, 18 May 2022 05:52:58 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B7F7C8041A6; Wed, 18 May 2022 09:52:55 +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 A436B41372B; Wed, 18 May 2022 09:52:55 +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 42F4319259DE; Wed, 18 May 2022 09:52:55 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 5DCEA1947B84 for ; Wed, 18 May 2022 09:52:54 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 3FD0D401E89; Wed, 18 May 2022 09:52:54 +0000 (UTC) Received: from harajuku.usersys.redhat.com.homenet.telecomitalia.it (unknown [10.40.194.46]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BC58A492C14 for ; Wed, 18 May 2022 09:52:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652867647; 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=/U+J+eRsCXzDYpGMSwKK7zIWAUTqc/ksp6PFxOAUbnI=; b=RpoIfrp2wG1Zl11XKbKv0bowJGPXm/p2me1gNAuhNUsuCNqwSWHlVsQ/SrNcyiVMq4+cbD WyZpLqud/Zq4bubF9KTyik+KHE+3vR4sAjixVfnZxnQ+M5CBoexBcWFJ2K8J+C7bjtO7CR t0WfB3iuWQvqVDA4hlE/B6Y2HBUEIs4= X-MC-Unique: sOiKH0YIMTCXUx1BgmnXWg-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH v2 7/7] syntax-check: Introduce sc_linguas_sorting Date: Wed, 18 May 2022 11:52:45 +0200 Message-Id: <20220518095245.253610-8-abologna@redhat.com> In-Reply-To: <20220518095245.253610-1-abologna@redhat.com> References: <20220518095245.253610-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 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.85 on 10.11.54.10 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: 1652867648975100001 Content-Type: text/plain; charset="utf-8" Make sure LINGUAS remains sorted correctly. Signed-off-by: Andrea Bolognani --- build-aux/syntax-check.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 513c147cec..6b54f830f1 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -1502,6 +1502,14 @@ sc_po_check: rm -f $@-1 $@-2; \ fi =20 +linguas_file =3D $(top_srcdir)/po/LINGUAS + +sc_linguas_sorting: + @sort -u $(linguas_file) > $@-1; \ + diff -u -L $(linguas_file) -L $(linguas_file) $(linguas_file) $@-1 \ + || { echo "$(linguas_file) is not sorted correctly" 1>&2; exit 1; }; \ + rm -f $@-1 + # #if WITH_... will evaluate to false for any non numeric string. # That would be flagged by using -Wundef, however gnulib currently # tests many undefined macros, and so we can't enable that option. --=20 2.35.3