[Spice-devel] [PATCH] support python 2.5.4+ for marshaller/demarshallers

2010-07-29 Thread Alon Levy
Patch adds a from __future__ import that doesn't affect newer python's but allows python 2.5.4 to run the code (tested under scratchbox, n900 build environment) diff --git a/python_modules/codegen.py b/python_modules/codegen.py index af6636b..03c67e6 100644 --- a/python_modules/codegen.py +++

[Spice-devel] [RFC] codegen+demarshal: cast to void** through a temporary

2010-07-29 Thread Alon Levy
Changes var = (void**)val; Into { typeof val* p = val; var = (void**)p; } Which fixes these warnings (we compile with -Werror, any warning breaks compile): warning: dereferencing type-punned pointer will break strict-aliasing rules Warnings were triggered by gcc 4.2.1 used by scratchbox

Re: [Spice-devel] SPICE developers wanted

2010-07-29 Thread Alon Levy
ok, so I just tested that this actually works on my n900. You need to use upstream and apply two patches on top of it, both attached (the first was also sent to the list for review). The resolution is still an issue. Btw what's the cpu on the n800? what does cat /proc/cpuinfo say, and uname -a?

Re: [Spice-devel] SPICE developers wanted

2010-07-29 Thread Attila Sukosd
Yes, I can confirm it works, I've got it compiled and running (kinda) on my n810. I do get a BadWindow (invalid Window parameter) minor 0 request X_ConvertSelection X11 error message when I launch it though. Haven't had time to play around with it too much yet.. It has a 400Mhz TI OMAP 2420.