Re: [libvirt] [libvirt-python PATCH] setup: Make libvirt API XML path configurable

2014-03-24 Thread Eric Blake
On 03/24/2014 03:49 AM, Daniel P. Berrange wrote: >> NACK, setting pkg-config already takes care of this. See the >> build-many.sh scrpit attached to this mail which demonstrates >> use of PKG_CONFIG_PATH to build against every version of libvirt >> back to 0.9.11 >> >> Is there a

Re: [libvirt] [libvirt-python PATCH] setup: Make libvirt API XML path configurable

2014-03-24 Thread Daniel P. Berrange
On Fri, Mar 21, 2014 at 05:00:35PM -0600, Eric Blake wrote: > On 03/13/2014 12:03 AM, Martin Kletzander wrote: > > On Wed, Mar 12, 2014 at 11:15:43AM -0600, Eric Blake wrote: > >> Revisiting an older thread > >> > > > -libvirt_api = get_pkgconfig_data(["--variable", > > "libvirt_a

Re: [libvirt] [libvirt-python PATCH] setup: Make libvirt API XML path configurable

2014-03-21 Thread Eric Blake
On 03/13/2014 12:03 AM, Martin Kletzander wrote: > On Wed, Mar 12, 2014 at 11:15:43AM -0600, Eric Blake wrote: >> Revisiting an older thread >> > -libvirt_api = get_pkgconfig_data(["--variable", "libvirt_api"], > "libvirt") > +libvirt_api = os.getenv("LIBVIRT_API_PATH"

Re: [libvirt] [libvirt-python PATCH] setup: Make libvirt API XML path configurable

2014-03-12 Thread Martin Kletzander
On Wed, Mar 12, 2014 at 11:15:43AM -0600, Eric Blake wrote: > Revisiting an older thread > > On 11/26/2013 07:38 AM, Martin Kletzander wrote: > > On Tue, Nov 26, 2013 at 10:14:36AM +, Daniel P. Berrange wrote: > >> On Tue, Nov 26, 2013 at 10:58:25AM +0100, Martin Kletzander wrote: > >>> Adding

Re: [libvirt] [libvirt-python PATCH] setup: Make libvirt API XML path configurable

2014-03-12 Thread Eric Blake
Revisiting an older thread On 11/26/2013 07:38 AM, Martin Kletzander wrote: > On Tue, Nov 26, 2013 at 10:14:36AM +, Daniel P. Berrange wrote: >> On Tue, Nov 26, 2013 at 10:58:25AM +0100, Martin Kletzander wrote: >>> Adding a support for LIBVIRT_API_PATH evironment variable, which can >>> contr

Re: [libvirt] [libvirt-python PATCH] setup: Make libvirt API XML path configurable

2013-11-26 Thread Martin Kletzander
On Tue, Nov 26, 2013 at 10:14:36AM +, Daniel P. Berrange wrote: > On Tue, Nov 26, 2013 at 10:58:25AM +0100, Martin Kletzander wrote: > > Adding a support for LIBVIRT_API_PATH evironment variable, which can > > control where the script should look for the 'libvirt-api.xml' file. > > This allows

Re: [libvirt] [libvirt-python PATCH] setup: Make libvirt API XML path configurable

2013-11-26 Thread Daniel P. Berrange
On Tue, Nov 26, 2013 at 10:58:25AM +0100, Martin Kletzander wrote: > Adding a support for LIBVIRT_API_PATH evironment variable, which can > control where the script should look for the 'libvirt-api.xml' file. > This allows building libvirt-python against different libvirt than the > one installed i

[libvirt] [libvirt-python PATCH] setup: Make libvirt API XML path configurable

2013-11-26 Thread Martin Kletzander
Adding a support for LIBVIRT_API_PATH evironment variable, which can control where the script should look for the 'libvirt-api.xml' file. This allows building libvirt-python against different libvirt than the one installed in the system. This may be used for example in autotest or by packagers wit