[Spice-commits] 2 commits - qemu/configure qemu/hw

Izik Eidus izik at kemper.freedesktop.org
Sun Apr 4 19:47:54 PDT 2010


 qemu/configure          |    6 +++---
 qemu/hw/qxl_interface.h |    1 +
 2 files changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 6c0d5ce08585d3dba15de8ba28414e3d1ef234dd
Author: Izik Eidus <ieidus at redhat.com>
Date:   Mon Apr 5 04:59:09 2010 +0300

    vdesktop: hack to make vdesktop compile with spice-server.ac change
    
    Is it correct? for now use it to build
    
    Signed-off-by: Izik Eidus <ieidus at redhat.com>

diff --git a/qemu/configure b/qemu/configure
index e314272..e1c117d 100755
--- a/qemu/configure
+++ b/qemu/configure
@@ -1220,15 +1220,15 @@ fi
 ##########################################
 # spice probe
 if test "$spice" = "yes" ; then
-  `pkg-config --atleast-version=0.5.2 spice` || spice="no"
+  `pkg-config --atleast-version=0.5.2 spice-server` || spice="no"
 fi
 if test "$spice" = "yes" ; then
   cat > $TMPC << EOF
 #include <spice.h>
 int main(void) { CoreInterface ci; spice_init(&ci); return 0; }
 EOF
-  spice_cflags=`pkg-config --cflags spice`
-  spice_libs=`pkg-config --libs spice`
+  spice_cflags=`pkg-config --cflags spice-server`
+  spice_libs=`pkg-config --libs spice-server`
   if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $spice_cflags $TMPC \
       $spice_libs > /dev/null 2> /dev/null ; then
     :
commit 07106d86dce01da47296f592a6f9797d5f7e2fe5
Author: Izik Eidus <ieidus at redhat.com>
Date:   Mon Apr 5 04:48:59 2010 +0300

    vdesktop: add n_surfaces varible
    
    Forgot to add it in last commit
    
    Signed-off-by: Izik Eidus <ieidus at redhat.com>

diff --git a/qemu/hw/qxl_interface.h b/qemu/hw/qxl_interface.h
index 1de7e25..24f10da 100644
--- a/qemu/hw/qxl_interface.h
+++ b/qemu/hw/qxl_interface.h
@@ -39,6 +39,7 @@ typedef struct QXLDevInitInfo {
     uint8_t memslot_id_bits;
     uint32_t qxl_ram_size;
     uint8_t internal_groupslot_id;
+    uint32_t n_surfaces;
 } QXLDevInitInfo;
 
 typedef struct QXLDevMemSlot {


More information about the Spice-commits mailing list