[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#689394: xserver-xspice: enable xserver-xspice for i386



Package: xserver-xspice
Version: 0.0.17-2
Severity: normal
Tags: patch

xserver-xspice build enabled only fro x86_64, please, enable it for i386 too



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages xserver-xspice depends on:
ii  python                       2.7.3~rc2-1
ii  python2.7 [python-argparse]  2.7.3~rc2-2.1
ii  xserver-xorg                 1:7.7+1
ii  xserver-xorg-video-qxl       0.0.17-2

xserver-xspice recommends no packages.

xserver-xspice suggests no packages.

-- no debconf information
diff -urwN xserver-xorg-video-qxl-0.0.17/debian/control xserver-xorg-video-qxl-0.0.17.fix/debian/control
--- xserver-xorg-video-qxl-0.0.17/debian/control	2012-04-15 14:33:46.000000000 +0400
+++ xserver-xorg-video-qxl-0.0.17.fix/debian/control	2012-10-02 11:48:20.805714018 +0400
@@ -21,7 +21,7 @@
  xutils-dev (>= 1:7.5),
  quilt (>= 0.46-7~),
  libspice-protocol-dev (>= 0.8.1~),
- libspice-server-dev [amd64],
+ libspice-server-dev [amd64 i386],
  python,
 Standards-Version: 3.9.3
 Homepage: http://spice-space.org/
@@ -55,7 +55,7 @@
  This package contains the debugging symbols for this driver.
 
 Package: xserver-xspice
-Architecture: amd64
+Architecture: amd64 i386
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, xserver-xorg, xserver-xorg-video-qxl (>= 0.0.17-2), python-argparse
 Description: Xspice X server
  Xspice is an X server and Spice server in one. It consists of a wrapper script
diff -urwN xserver-xorg-video-qxl-0.0.17/debian/patches/i386.spiceqxl.diff xserver-xorg-video-qxl-0.0.17.fix/debian/patches/i386.spiceqxl.diff
--- xserver-xorg-video-qxl-0.0.17/debian/patches/i386.spiceqxl.diff	1970-01-01 03:00:00.000000000 +0300
+++ xserver-xorg-video-qxl-0.0.17.fix/debian/patches/i386.spiceqxl.diff	2012-10-02 12:01:28.417851450 +0400
@@ -0,0 +1,11 @@
+--- xserver-xorg-video-qxl-0.0.17/src/spiceqxl_io_port.c	2012-03-14 20:49:59.000000000 +0400
++++ xserver-xorg-video-qxl-0.0.17.fix/src/spiceqxl_io_port.c	2012-10-01 21:13:13.263088419 +0400
+@@ -172,7 +172,7 @@
+ static void qxl_set_mode(qxl_screen_t *qxl, int modenr)
+ {
+     struct QXLMode *mode = qxl->modes + modenr;
+-    uint64_t devmem = (uint64_t)qxl->ram;
++    intptr_t devmem = (intptr_t)qxl->ram;
+     QXLSurfaceCreate surface = {
+         .width      = mode->x_res,
+         .height     = mode->y_res,
diff -urwN xserver-xorg-video-qxl-0.0.17/debian/patches/series xserver-xorg-video-qxl-0.0.17.fix/debian/patches/series
--- xserver-xorg-video-qxl-0.0.17/debian/patches/series	1970-01-01 03:00:00.000000000 +0300
+++ xserver-xorg-video-qxl-0.0.17.fix/debian/patches/series	2012-10-02 11:46:38.590214899 +0400
@@ -0,0 +1 @@
+i386.spiceqxl.diff
diff -urwN xserver-xorg-video-qxl-0.0.17/debian/rules xserver-xorg-video-qxl-0.0.17.fix/debian/rules
--- xserver-xorg-video-qxl-0.0.17/debian/rules	2012-04-15 13:34:09.000000000 +0400
+++ xserver-xorg-video-qxl-0.0.17.fix/debian/rules	2012-10-02 11:56:25.951335770 +0400
@@ -25,8 +25,12 @@
 ifeq ($(DEB_HOST_GNU_TYPE), x86_64-linux-gnu)
 	dh_auto_configure -- --enable-xspice 
 else
+ifeq ($(DEB_HOST_GNU_TYPE), i486-linux-gnu)
+	dh_auto_configure -- --enable-xspice 
+else
 	dh_auto_configure 
 endif	
+endif
 
 %:
 	dh $@ --with quilt,autoreconf,xsf,python2 --builddirectory=build/

Reply to: