Re: [libvirt] [libvirt-php PATCH 03/29] add missing arginfo

2016-04-15 Thread Remi Collet
Le 14/04/2016 18:30, Michal Privoznik a écrit : > On 13.04.2016 18:13, Neal Gompa wrote: >> From: Remi Collet <fed...@famillecollet.com> >> >> --- >> src/libvirt-php.c | 715 >> +- >> 1 f

Re: [libvirt] [libvirt-php 0/3] small improvements

2016-03-22 Thread Remi Collet
Le 18/03/2016 12:51, Vasiliy Tolstov a écrit : > 2016-03-07 18:40 GMT+03:00 Vasiliy Tolstov : >> Add some more libvirt functions support to binding. >> Also add some checks to prevent malloc SIZE_MAX memory >> in case of errors >> >> Vasiliy Tolstov (3): >> add some checks

[libvirt] [libvirt-php] PHP 7 compatibility

2016-03-20 Thread Remi Collet
FYI, see https://gitlab.com/Conan_Kudo/libvirt-php7/commits/php7 It build but need tests. Remi. -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [libvirt-php] 0.5.1 - missing arginfo

2015-12-04 Thread Remi Collet
Le 30/11/2015 10:23, Michal Privoznik a écrit : > On 27.11.2015 16:48, Remi Collet wrote: >> Hi, >> >> arginfo are very important in PHP extensions, useful for users >> (documentation), and various tools rely on them (through reflection). >> >> Attached pat

Re: [libvirt] libvirt-php 0.5.1 uneeded files

2015-11-30 Thread Remi Collet
what I've managed to get to: phpize / configure / make should be run (for now) in src dir. Typo fix in attached patch Remi. >From 9d031cc96e2a1735bb22e37388b85e03dc00073b Mon Sep 17 00:00:00 2001 From: Remi Collet <fed...@famillecollet.com> Date: Mon, 30 Nov 2015 18:57:22 +0100 Subjec

Re: [libvirt] libvirt-php 0.5.1 uneeded files

2015-11-30 Thread Remi Collet
Le 30/11/2015 16:05, Vasiliy Tolstov a écrit : > 2015-11-30 17:56 GMT+03:00 Michal Privoznik : >> Anyway, we should either use phpize or configure.ac -- because phpize is >> unhappy with fact that we have the two at the same time. > > > I'm for phpize, because this is

Re: [libvirt] libvirt-php 0.5.1 - missing arginfo

2015-11-30 Thread Remi Collet
Le 30/11/2015 10:23, Michal Privoznik a écrit : > On 27.11.2015 16:48, Remi Collet wrote: >> Hi, >> >> arginfo are very important in PHP extensions, useful for users >> (documentation), and various tools rely on them (through reflection). >> >> Attached pat

[libvirt] libvirt-php 0.5.1 uneeded files

2015-11-27 Thread Remi Collet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Installing the new 0.5.1 version: libvirt-php.la libvirt-php.so -> libvirt-php.so.0.0.0 libvirt-php.so.0 -> libvirt-php.so.0.0.0 libvirt-php.so.0.0.0 This is not a versioned library but a PHP extension so having those

[libvirt] libvirt-php 0.5.1 - missing arginfo

2015-11-27 Thread Remi Collet
rom: Remi Collet <fed...@famillecollet.com> Date: Fri, 27 Nov 2015 16:45:36 +0100 Subject: [PATCH 3/3] add missing arginfo (wip) --- src/libvirt-php.c | 458 +++--- 1 file changed, 371 insertions(+), 87 deletions(-) diff --git a/src/libvirt-ph

Re: [libvirt] libvirt-php 0.5.1 uneeded files

2015-11-27 Thread Remi Collet
Le 27/11/2015 09:33, Remi Collet a écrit : > Notice: I think it will be simpler to switch to the standard PHP > extension build system (phpize; configure; make) See attached patch. This only manage the extension build (not the documentation) TODO: add a --enable-libvirt-debug option to

[libvirt] libvirt-php 0.5.1 uneeded files

2015-11-27 Thread Remi Collet
Installing the new 0.5.1 version: libvirt-php.la libvirt-php.so -> libvirt-php.so.0.0.0 libvirt-php.so.0 -> libvirt-php.so.0.0.0 libvirt-php.so.0.0.0 This is not a versioned library but a PHP extension so having those have no sense. Only libvirt-php.so is needed.

[libvirt] libvirt-php 0.5.1 broken build on RHEL-7

2015-11-27 Thread Remi Collet
RHEL 7 have libvirt 1.2.8 which is the minimum version according to configure check LIBVIRT_REQUIRED=1.2.8 libvirt-php.c: In function 'zm_startup_libvirt': libvirt-php.c:1351:136: error: 'VIR_DOMAIN_BLOCK_JOB_SPEED_BANDWIDTH_BYTES' undeclared (first use in this function)

Re: [libvirt] libvirt-php 0.5.1 uneeded files

2015-11-27 Thread Remi Collet
More... >From 34c218c01413feffda4a98b9e78bdf7ea83d0fdc Mon Sep 17 00:00:00 2001 From: Remi Collet <fed...@famillecollet.com> Date: Fri, 27 Nov 2015 11:35:33 +0100 Subject: [PATCH 2/2] include config.h earlier --- src/config.m4 | 2 -- src/libvirt-php.h | 14 -- 2 file

[libvirt] [php-libvirt] minimal libvirt requirement

2014-01-06 Thread Remi Collet
Hi, From configure: LIBVIRT_REQUIRED=0.6.2 But build fails with 0.9 Tested with 0.8.8 and 0.8.2 (RHEL-5) libvirt-php.c:1080: error: 'VIR_NODE_CPU_STATS_ALL_CPUS' undeclared (first use in this function) Thanks Remi. -- libvir-list mailing list libvir-list@redhat.com

Re: [libvirt] [php-libvirt] minimal libvirt requirement

2014-01-06 Thread Remi Collet
of the Fedora package (and update it to current version 0.4.8). Remi. Thanks, Michal On 01/06/2014 03:58 PM, Remi Collet wrote: Hi, From configure: LIBVIRT_REQUIRED=0.6.2 But build fails with 0.9 Tested with 0.8.8 and 0.8.2 (RHEL-5) libvirt-php.c:1080: error: 'VIR_NODE_CPU_STATS_ALL_CPUS

Re: [libvirt] libvirt-php 0.4.5 and php 5.4

2011-11-28 Thread Remi Collet
Le 27/11/2011 17:31, Remi Collet a écrit : Fix is trivial : s/function_entry/zend_function_entry/ N.B. : zend_function_entry is also available in older php, so this patch will not break build against php 5.3 or 5.2 -- libvir-list mailing list libvir-list@redhat.com https

[libvirt] libvirt-php 0.4.5 and php 5.4

2011-11-27 Thread Remi Collet
Hi, I'm working on updating PHP to 5.4.0 (probably a fedora 17 feature). libvirt 0.4.5 doesn't build because function_entry have been removed See http://news.php.net/php.pecl.dev/7123 Fix is trivial : s/function_entry/zend_function_entry/ Attcached patch solves this issue and also