From nobody Sun May 5 13:14:42 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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=1575900130; cv=none; d=zohomail.com; s=zohoarc; b=mvCdJ1q3FsQYUPA6ip4zkZcPg2ZJ1nrWZY3jcZnWP55jT+mgwcXCxwyZROHnE/w5C800qNTOLy+b14Kn4Kiz8iFf10pnb9fq5RTqpb4ucDG2NlL4J3Hsq2FZclQGxhtf21y7KvCPGMK3i5ykZYM+OaCc08XZj8sNHRNd9o2dJH8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575900130; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=oy8/2pZBWARCdJWxuz7+67zlDjUViaLZXPyBZhHDxL4=; b=hC44jTGz8nCQ3YoTxY/Xpx8BqC/YLAEyHvY7/h9zxyH/eJgLJah5FKhNgGMq1pMh5ACdPg7N4kD1fLXDfE86Rc9PsOltgZzIQfq3tWtKQFo9QuQ9kv9GxAwoodIvSIico+dJ9PyAsst8fwTOeSJFvo+dJQU1TOaJheGfVgcMZK8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1575900130872203.13671788455326; Mon, 9 Dec 2019 06:02:10 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-87-xVZ3HVc-NhWK8wCtb5uBZg-1; Mon, 09 Dec 2019 09:02:04 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 932EC189DF6D; Mon, 9 Dec 2019 14:01:57 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EFE731001B09; Mon, 9 Dec 2019 14:01:56 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 25F0083552; Mon, 9 Dec 2019 14:01:53 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id xB9E1pSp028710 for ; Mon, 9 Dec 2019 09:01:51 -0500 Received: by smtp.corp.redhat.com (Postfix) id D0B665D6D0; Mon, 9 Dec 2019 14:01:51 +0000 (UTC) Received: from worklaptop.redhat.com (ovpn-120-98.rdu2.redhat.com [10.10.120.98]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2F7955D6C5; Mon, 9 Dec 2019 14:01:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575900129; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=oy8/2pZBWARCdJWxuz7+67zlDjUViaLZXPyBZhHDxL4=; b=PVEiRJvwVvuFzgQiiHOLdXRUt3s+sMOO6i+2WuYNO7F1DSmcCbeke+lIpwhjajBvjypTpS 6UR5F1YG/8iD8cF/DN5Z+PDkUwF/23T0JTgTO/Xc2jcsNTlXmjCkI1Y5f2AlAsYxcPg96g SEMec6xynmShZQY8GWkv6ZPdYSYIkbA= From: Cole Robinson To: libvir-list@redhat.com Date: Mon, 9 Dec 2019 09:02:56 -0500 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com Cc: Cole Robinson Subject: [libvirt] [PATCH] Fix src/ pkg-config API XML paths X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-MC-Unique: xVZ3HVc-NhWK8wCtb5uBZg-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" The .pc files in src/ are intended for use with the ./run script, to ease building bindings against an uninstalled libvirt build. The pointer to the API XML files is incorrect though, it needs to point into the build tree. This fixes use of the run script for building libvirt-python, ex: /path/to/libvirt.git/run ./setup.py build Signed-off-by: Cole Robinson Reviewed-by: Daniel P. Berrang=C3=A9 --- src/libvirt-lxc.pc.in | 2 +- src/libvirt-qemu.pc.in | 2 +- src/libvirt.pc.in | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/libvirt-lxc.pc.in b/src/libvirt-lxc.pc.in index 27e3de4244..9243bcf903 100644 --- a/src/libvirt-lxc.pc.in +++ b/src/libvirt-lxc.pc.in @@ -9,7 +9,7 @@ includedir=3D@abs_top_builddir@/include source_includedir=3D@abs_top_srcdir@/include datarootdir=3D@abs_top_builddir@ =20 -libvirt_lxc_api=3D@datadir@/docs/libvirt-lxc-api.xml +libvirt_lxc_api=3D@abs_top_builddir@/docs/libvirt-lxc-api.xml =20 Name: libvirt Version: @VERSION@ diff --git a/src/libvirt-qemu.pc.in b/src/libvirt-qemu.pc.in index 3eb9ad4bc1..a4f9e65c03 100644 --- a/src/libvirt-qemu.pc.in +++ b/src/libvirt-qemu.pc.in @@ -9,7 +9,7 @@ includedir=3D@abs_top_builddir@/include source_includedir=3D@abs_top_srcdir@/include datarootdir=3D@abs_top_builddir@ =20 -libvirt_qemu_api=3D@datadir@/docs/libvirt-qemu-api.xml +libvirt_qemu_api=3D@abs_top_builddir@/docs/libvirt-qemu-api.xml =20 Name: libvirt Version: @VERSION@ diff --git a/src/libvirt.pc.in b/src/libvirt.pc.in index 6ff1ce6272..a16e455210 100644 --- a/src/libvirt.pc.in +++ b/src/libvirt.pc.in @@ -9,12 +9,12 @@ includedir=3D@abs_top_builddir@/include source_includedir=3D@abs_top_srcdir@/include datarootdir=3D@abs_top_builddir@ =20 -libvirt_api=3D@datadir@/docs/libvirt-api.xml +libvirt_api=3D@abs_top_builddir@/docs/libvirt-api.xml =20 # For compat with older versions - also present # in libvirt-qemu.pc / libvirt-lxc.pc -libvirt_qemu_api=3D@datadir@/docs/libvirt-qemu-api.xml -libvirt_lxc_api=3D@datadir@/docs/libvirt-lxc-api.xml +libvirt_qemu_api=3D@abs_top_builddir@/docs/libvirt-qemu-api.xml +libvirt_lxc_api=3D@abs_top_builddir@/docs/libvirt-lxc-api.xml =20 Name: libvirt Version: @VERSION@ --=20 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list