From nobody Mon Sep 8 17:12:42 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1752139674; cv=none; d=zohomail.com; s=zohoarc; b=CFLTkCngBdXX2D7lYbCv4tTyiDWXiOgSxXRDz2dznkqKfOplkgHZWZB7TXuMPXEQmNyO/QyM2NNyj5ZT+moeu/4uEKFqhu7Ni5gd/zVWleyfjKBIx9VIpYVhxT3Fio5T/vsaCK7lz6swBHOKv5yDyPEUVYNnaMZfwtnfcHfxXYU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1752139674; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id; bh=oENKJHBnVhe7zjCVLZmww1dlNFxDkce+hDRVQLB7fWk=; b=PYCsLqdwpA/bCXeuH4sZgz+D+OKQchmle1KQ/LRG1eS/GflmFBIrheInX1EoAxo5pKG/eMnmfV+os2SAhRF1e4ceN/CmNK4/SMUAzArAVJRi4kaNHkmRXWlW410kCh6TMsohC7+V+LOPqAjuESl1kYB9ON9zbSQk+/OFErBQ0tA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1752139674581641.0108526988105; Thu, 10 Jul 2025 02:27:54 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 992F914DE; Thu, 10 Jul 2025 05:27:53 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 07B7214B4; Thu, 10 Jul 2025 05:27:10 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id E572AE8B; Thu, 10 Jul 2025 05:27:06 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 6C63BD94 for ; Thu, 10 Jul 2025 05:27:06 -0400 (EDT) Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-687-XdnI4LtmOJ-aRNwTg20rOw-1; Thu, 10 Jul 2025 05:27:04 -0400 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 2B59819560BA for ; Thu, 10 Jul 2025 09:27:04 +0000 (UTC) Received: from toolbx.redhat.com (unknown [10.42.28.76]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 03BF21977000; Thu, 10 Jul 2025 09:27:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1752139626; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Nbo5IMWlmi9qW1aPtid9I32ooPdkrUnAohyPoe0JEdc=; b=KUEAktGk/hD+nc6RU6AcT/4NHXLCChSqPtIR6v9XLupFNxxNiZ/pd94BXPzdPXY41EcY6Z pqoSYRqrjlaZgMbbIn4ZCsok/Cv2YUNshwXdI719G8YsvYFeNlJnG7kBMzKcz/XRFkM0KT S8sZW+FcNAynRr2tU5ZDnIoJezqLGOk= X-MC-Unique: XdnI4LtmOJ-aRNwTg20rOw-1 X-Mimecast-MFC-AGG-ID: XdnI4LtmOJ-aRNwTg20rOw_1752139624 To: devel@lists.libvirt.org Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 1/2] src: add missing libvirt-admin.pc.in for local usage Date: Thu, 10 Jul 2025 10:26:58 +0100 Message-ID: <20250710092659.777939-2-berrange@redhat.com> In-Reply-To: <20250710092659.777939-1-berrange@redhat.com> References: <20250710092659.777939-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 1R2gRqSkn6iiMaQ9nRbXl2m73o2PezCpKOA2jLr4MZM_1752139624 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: KOXK6QFAY3ZX6ZN2CP7DUP4P4DDY5R57 X-Message-ID-Hash: KOXK6QFAY3ZX6ZN2CP7DUP4P4DDY5R57 X-MailFrom: berrange@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: From: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9_via_Devel?= Reply-To: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1752139675879116600 Content-Type: text/plain; charset="utf-8" From: Daniel P. Berrang=C3=A9 When using the 'run' script, we point pkg-config to files in $BUILD/src, which resolve to the local build tree. Unfortunately we forgot a libvirt-admin.pc.in, so the run script was not taking effect for the admin APIs. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Peter Krempa --- src/libvirt-admin.pc.in | 19 +++++++++++++++++++ src/meson.build | 1 + 2 files changed, 20 insertions(+) create mode 100644 src/libvirt-admin.pc.in diff --git a/src/libvirt-admin.pc.in b/src/libvirt-admin.pc.in new file mode 100644 index 0000000000..e5ee5eb05f --- /dev/null +++ b/src/libvirt-admin.pc.in @@ -0,0 +1,19 @@ +# Dummy pkg-config file to allow lang bindings +# to build against a libvirt source tree eg +# export PKG_CONFIG_PATH=3D/path/to/libvirt/git/src + +prefix=3D@abs_top_builddir@ +exec_prefix=3D@abs_top_builddir@ +libdir=3D@abs_top_builddir@/src +includedir=3D@abs_top_builddir@/include +source_includedir=3D@abs_top_srcdir@/include +datarootdir=3D@abs_top_builddir@ + +libvirt_admin_api=3D@abs_top_builddir@/docs/libvirt-admin-api.xml + +Name: libvirt-admin +Version: @VERSION@ +Description: libvirt admin library +Requires: +Libs: -L${libdir} -lvirt-admin +Cflags: -I${includedir} -I${source_includedir} diff --git a/src/meson.build b/src/meson.build index 9a818dab50..47c978cc1f 100644 --- a/src/meson.build +++ b/src/meson.build @@ -1110,6 +1110,7 @@ endif run_pkg_config_files =3D [ 'libvirt-lxc.pc.in', 'libvirt-qemu.pc.in', + 'libvirt-admin.pc.in', 'libvirt.pc.in', ] =20 --=20 2.49.0 From nobody Mon Sep 8 17:12:42 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1752139697; cv=none; d=zohomail.com; s=zohoarc; b=INzlj3RBcggkD1WYArlydrerKdU3bbxD4QL0Fshgcm95L1B/3vudx6PeXyDkl43UYXCfxXnuJ9OpMZEMrtF0C61PRf7yAqxxeYA/EHLbEXbvHAWj9XnUj8rFf9EmcLPLbBIsCCq3rtWnfDRi0KgzseV2Fg5ikTmXeMqvqQ0r4a0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1752139697; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id; bh=UIIS4FIzE8LHlnK9IwLPo4SG1cfHEHDdDMA5kF/K5PI=; b=eDvOs3w+NHONSPZ1wg+ltm5sqbp9+rBOUfZrwVd5Cj1WxTo3olylrYeW2Tc2ELyUR1q3Ni7xUH+Tg3GsMbK6dsr/a0gI8NDWeTgNd2jFHOkTZ6zrsyRpQoBNky5uUzlpOhTNp7unejfhOOPkDDkTYHzyeUAJqE8dUORVSryVhVA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1752139697727482.0503669054385; Thu, 10 Jul 2025 02:28:17 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id CD1BB9EF; Thu, 10 Jul 2025 05:28:16 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 941921613; Thu, 10 Jul 2025 05:27:15 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id DA3021231; Thu, 10 Jul 2025 05:27:08 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 5CAFDE8B for ; Thu, 10 Jul 2025 05:27:08 -0400 (EDT) Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-34-fLA7uAE6PlqJZVumMdHrQg-1; Thu, 10 Jul 2025 05:27:06 -0400 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id B615F1809C80 for ; Thu, 10 Jul 2025 09:27:05 +0000 (UTC) Received: from toolbx.redhat.com (unknown [10.42.28.76]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id A2A0F19373D8; Thu, 10 Jul 2025 09:27:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1752139628; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hH4dZy2HCfgbd3/o0nZNO8NkMWokwwB2EL0nxr4nhog=; b=NsnCvR4nV8z/8ovSmbrmjFc/jjHL6hWZO5euLGBICyXPfO69QGcjW0J4B/zrIGM4vwactU 0SfDyWC6OFcBn0NVXFNLaFab7f7Ox4+ZV+3VmOoXHSzDmsUjKT5C1RSvT4u2n11k3yGRTR xzk4K0dE7OdX81tfhYhCWuWp06Fp8No= X-MC-Unique: fLA7uAE6PlqJZVumMdHrQg-1 X-Mimecast-MFC-AGG-ID: fLA7uAE6PlqJZVumMdHrQg_1752139625 To: devel@lists.libvirt.org Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 2/2] src: fix package name in local pkg-config files Date: Thu, 10 Jul 2025 10:26:59 +0100 Message-ID: <20250710092659.777939-3-berrange@redhat.com> In-Reply-To: <20250710092659.777939-1-berrange@redhat.com> References: <20250710092659.777939-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: lVNChmsT3SwTgUot7w0uC51kDntSU3n72fmBvEX1x8A_1752139625 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: EVAAYGC7YYC7U2ZNPFINZOFVHL2VQOP2 X-Message-ID-Hash: EVAAYGC7YYC7U2ZNPFINZOFVHL2VQOP2 X-MailFrom: berrange@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: From: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9_via_Devel?= Reply-To: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1752139698071116600 Content-Type: text/plain; charset="utf-8" From: Daniel P. Berrang=C3=A9 The libvirt-lxc.pc.in and libvirt-qemu.pc.in files had the incorrect package name, though fortunately this appears to have been a harmless mistake. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Peter Krempa --- src/libvirt-lxc.pc.in | 2 +- src/libvirt-qemu.pc.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libvirt-lxc.pc.in b/src/libvirt-lxc.pc.in index f6d4dd71e7..c6497ea421 100644 --- a/src/libvirt-lxc.pc.in +++ b/src/libvirt-lxc.pc.in @@ -11,7 +11,7 @@ datarootdir=3D@abs_top_builddir@ =20 libvirt_lxc_api=3D@abs_top_builddir@/docs/libvirt-lxc-api.xml =20 -Name: libvirt +Name: libvirt-lxc Version: @VERSION@ Description: libvirt LXC library Requires: diff --git a/src/libvirt-qemu.pc.in b/src/libvirt-qemu.pc.in index b224679d7e..5169771e9b 100644 --- a/src/libvirt-qemu.pc.in +++ b/src/libvirt-qemu.pc.in @@ -11,7 +11,7 @@ datarootdir=3D@abs_top_builddir@ =20 libvirt_qemu_api=3D@abs_top_builddir@/docs/libvirt-qemu-api.xml =20 -Name: libvirt +Name: libvirt-qemu Version: @VERSION@ Description: libvirt QEMU library Requires: --=20 2.49.0