From nobody Mon Feb 9 06:31:24 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1680173213; cv=none; d=zohomail.com; s=zohoarc; b=l+J8SD/BdoiJC9dAKL7Xn/m9payTQfdePpxvd5jelu64FZXoF/woAoqQPUtrleSS5tI3k96VEfL2PT7CEpJfl9dX9Hxt4BGw/+pAmjSouX+fzdtYUQpDU9T80QcyOQYHlk4mvzYRllXTBidMWSyiL8obch2i+suLthRT0f+rzm4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680173213; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=YGxekpwulH6/haKUNvKFSHVmGOaw7yrqW6rkHXV0+gs=; b=nX5sDQqFdrQnbBfRNPKRKWxLKD69bAYuBSrpfjaZnYm/m0Z0vTADHlednbA70pewwUHr8vnNCnGwTyTNxGypGqBt/zHMYUNZ2uuX1C6/A5YzL8uL+jwrwp/qVKWntL8kCn9Eyp5y6F2ODfCD2dsHoC0/6HguSIqNBm7f0ew6knE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1680173213725710.6628489667155; Thu, 30 Mar 2023 03:46:53 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phpnc-0004MA-Sd; Thu, 30 Mar 2023 06:46:32 -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 1phpnZ-0004Ls-Sx for qemu-devel@nongnu.org; Thu, 30 Mar 2023 06:46:31 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phpnY-0006wd-2A for qemu-devel@nongnu.org; Thu, 30 Mar 2023 06:46:29 -0400 Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-448-KWymlqSrO7G2U0tSyWqaJw-1; Thu, 30 Mar 2023 06:46:25 -0400 Received: by mail-wm1-f72.google.com with SMTP id j22-20020a05600c1c1600b003ef95cef641so2979201wms.8 for ; Thu, 30 Mar 2023 03:46:25 -0700 (PDT) Received: from [192.168.10.118] ([2001:b07:6468:f312:4783:a68:c1ee:15c5]) by smtp.gmail.com with ESMTPSA id n18-20020a1c7212000000b003eafc47eb09sm5324450wmc.43.2023.03.30.03.46.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 03:46:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680173187; h=from:from: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; bh=YGxekpwulH6/haKUNvKFSHVmGOaw7yrqW6rkHXV0+gs=; b=cKO9YM7szO+gU0Z/DLTIJiJFxMVoeeF1B8gpOy2LN1V5DsNOzrheNgasVlUcmnk5+qkuXF sPH9UPf+tpKY+diq9kudFFV1Dpx5p2BMwtrSsVBijpeVylNg8DydNCkhwJCWVj03YPGhK5 yoSGwq75UGROoa0x1R2wp1s8C6iEQqA= X-MC-Unique: KWymlqSrO7G2U0tSyWqaJw-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680173184; x=1682765184; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YGxekpwulH6/haKUNvKFSHVmGOaw7yrqW6rkHXV0+gs=; b=SAo44uxjxrzqQ/IoyPrZQ7UanbClBk4pyCBxzThMtK40fWj1ZDIbFJINOYVo0e1/96 ysWI8jHD+bJvBILxFG5QSe08USRKYWIkMB06MKQSxzmPRF6VnSr+FINs6IM/mfIaoAyk 0GNVu+rr2udyPUX8yPfN4vosTV9Ld6R8rkTOqycU4vmdil/cpmkgmEPbVtv+TpDuLgDL O2sLSZFIRm1U85BmgEBfNZ9J+11VbAs6dKjilTZrndrlt8VD+xYjODFFRQ6RZUOaU69H XrQjCyI1APspGS6nXv0P9EKgfsC++uUvHVxyb+rNbVH5Jf/qzPQT9dg6qV2N4MaE1BD5 IjRA== X-Gm-Message-State: AAQBX9d9zLqM8tRSToeGUcnTjvwSPzqBkjb25zPJ/kz+lFQRAZx2wdYh UUHVXZjr3kWIyN8fsDvbsKf+eTHOVwTPFgOvIlnLYWw78NNbpVBmC7yMlhBd22Qy1i2zB4TcxDY bvVi8eloYq6yypQ+UB03II+2i+J+ulsewo0XzIfnDCsaczDYTD3BtVuu+YWxtdDiHXSigbGKxC3 PzDg== X-Received: by 2002:a1c:f718:0:b0:3ef:6b97:f0c3 with SMTP id v24-20020a1cf718000000b003ef6b97f0c3mr12433669wmh.15.1680173184145; Thu, 30 Mar 2023 03:46:24 -0700 (PDT) X-Google-Smtp-Source: AKy350Y06HRpX/gyoC34AmQLkPPovVN04uT9e0ryl7zVYiC9+33at0r7qD28WoDZGQPgBsg5aLp7ow== X-Received: by 2002:a1c:f718:0:b0:3ef:6b97:f0c3 with SMTP id v24-20020a1cf718000000b003ef6b97f0c3mr12433644wmh.15.1680173183710; Thu, 30 Mar 2023 03:46:23 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH] meson: add more version numbers to the summary Date: Thu, 30 Mar 2023 12:46:22 +0200 Message-Id: <20230330104622.29087-1-pbonzini@redhat.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1680173218907100001 Content-Type: text/plain; charset="utf-8" Whenever declare_dependency is used to add some compile flags or dependent libraries to the outcome of dependency(), the version of the original dependency is dropped in the summary. Make sure that declare_dependency() has a version argument in those cases. Signed-off-by: Paolo Bonzini Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- meson.build | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index db38e777edad..3467159381b7 100644 --- a/meson.build +++ b/meson.build @@ -1164,7 +1164,8 @@ if have_system and get_option('curses').allowed() curses_compile_args =3D ['-DNCURSES_WIDECHAR=3D1'] if curses.found() if cc.links(curses_test, args: curses_compile_args, dependencies: [cur= ses]) - curses =3D declare_dependency(compile_args: curses_compile_args, dep= endencies: [curses]) + curses =3D declare_dependency(compile_args: curses_compile_args, dep= endencies: [curses], + version: curses.version()) else msg =3D 'curses package not usable' curses =3D not_found @@ -1253,7 +1254,8 @@ endif if sdl.found() # work around 2.0.8 bug sdl =3D declare_dependency(compile_args: '-Wno-undef', - dependencies: sdl) + dependencies: sdl, + version: sdl.version()) sdl_image =3D dependency('SDL2_image', required: get_option('sdl_image'), method: 'pkg-config') else @@ -1476,7 +1478,8 @@ if not gnutls_crypto.found() if gcrypt.found() and get_option('prefer_static') gcrypt =3D declare_dependency(dependencies: [ gcrypt, - cc.find_library('gpg-error', required: true)]) + cc.find_library('gpg-error', required: true)], + version: gcrypt.version()) endif endif if (not get_option('nettle').auto() or have_system) and not gcrypt.found= () @@ -1510,7 +1513,8 @@ if not get_option('gtk').auto() or have_system gtkx11 =3D dependency('gtk+-x11-3.0', version: '>=3D3.22.0', method: 'pkg-config', required: false) - gtk =3D declare_dependency(dependencies: [gtk, gtkx11]) + gtk =3D declare_dependency(dependencies: [gtk, gtkx11], + version: gtk.version()) =20 if not get_option('vte').auto() or have_system vte =3D dependency('vte-2.91', --=20 2.39.2