Re: [Spice-devel] ARM support problem

2011-05-25 Thread Shuxiang Lim
Hi,Longchao! What do you want to build for arm? The client,server,or both? The server support only x86_64 now while the client has achieved the support of the cross-compile for arm. Rgrds. On Thu, May 26, 2011 at 2:35 PM, Longchao Dong wrote: > Hi, > > I am using spice-0.8.1 and try to compile

Re: [Spice-devel] androidSpice-0.1.6 released

2011-05-16 Thread Shuxiang Lim
That's right,I hope I can have time to fix the alignment issues in spice(such as in generated_marshallers.c and quic.s,etc..),or some guys can try this now? On Mon, May 16, 2011 at 6:27 PM, Christophe Fergeau wrote: > On Mon, May 16, 2011 at 05:12:10PM +0800, Shuxiang Lim wrote: &g

Re: [Spice-devel] androidSpice-0.1.6 released

2011-05-16 Thread Shuxiang Lim
Yep,I've checked this before and its instructions such as __packed pointer did not work for me. On Mon, May 16, 2011 at 6:21 PM, Christophe Fergeau wrote: > On Mon, May 16, 2011 at 12:19:50PM +0300, Yaniv Kaul wrote: > > > > Assuming this happens because of non-aligned memory access, perhaps > >

Re: [Spice-devel] androidSpice-0.1.6 released

2011-05-16 Thread Shuxiang Lim
14, 2011 at 12:51 AM, The Ha wrote: > I just want personally to thank you for this hard work > Great job > > Thanks > Cheers > The Ha > > > On Fri, 13 May 2011, Shuxiang Lim wrote: > > Hi,All! >> Since the dilemma I faced in the use of QXL worked around

[Spice-devel] androidSpice-0.1.6 released

2011-05-13 Thread Shuxiang Lim
Hi,All! Since the dilemma I faced in the use of QXL worked around and the client bugs fixed,I'm glad to release the androidSpice-0.1.6 on google code under LGPL: http://code.google.com/p/spice-client-android/ You shall check the wiki page of it for the build/install/use of it or download the .

Re: [Spice-devel] jpeg and jpeg_alpha in spice

2011-05-03 Thread Shuxiang Lim
Ok, I've found a simple way in gcc manual, just disable all optimization option in gcc by "-O0" will help this,but I'm not sure whether it's the final solution. Rgrds. On Wed, May 4, 2011 at 10:33 AM, Shuxiang Lim wrote: > Hi,Alon! > Thanks,but now I decide

Re: [Spice-devel] jpeg and jpeg_alpha in spice

2011-05-03 Thread Shuxiang Lim
o *#define write_int8(ptr,v) {int8_t val=v;memcpy(ptr,&val,sizeof(int8_t)); } * then it's safe, but seems ugly and clumsy. So, is there any simple,elegant and safe way to do this? Best regards. On Tue, May 3, 2011 at 11:40 PM, Alon Levy wrote: > On Tue, May 03, 2011 at 11:48:59

[Spice-devel] jpeg and jpeg_alpha in spice

2011-05-02 Thread Shuxiang Lim
Hi,All! I've found a problem that when 1. using qxl,thus the image type will be SPICE_BITMAP_FMT_RGBA; 2. and forcing the use of red_jpeg_compress_image ('cause I want to get only JPEG in client) in spice server then SPICE_IMAGE_TYPE_JPEG_ALPHA will be produced,but this will cause the color d

Re: [Spice-devel] androidSpice-0.1.4 released

2011-04-27 Thread Shuxiang Lim
On Wed, Apr 27, 2011 at 5:28 PM, Alon Levy wrote: > On Wed, Apr 27, 2011 at 04:54:55PM +0800, Shuxiang Lim wrote: > > Yep,it's really nasty. > >But if I want to leverage FULL spice image ability,I have to: > > 1.Fix the bugs of sigbus in quic.c on Android by rewr

Re: [Spice-devel] androidSpice-0.1.4 released

2011-04-27 Thread Shuxiang Lim
pe. Any ideas to access the memory block of image buffer allocated by C(libspicec.so) directly in Java,instantly and swiftly? ...One more time I want to curse Android and disdain Java... Best regards. On Wed, Apr 27, 2011 at 4:20 PM, Alon Levy wrote: > On Wed, Apr 27, 2011 at 10:30:18AM +080

Re: [Spice-devel] androidSpice-0.1.4 released

2011-04-26 Thread Shuxiang Lim
- access to server w/o password not supported? > > - access w/ password produces a "force kill" after a vibration > > - some traffic is seen on the spice-server side though > > > > (couldn’t connect therefore) > > > > Any logfiles I can provide? >

Re: [Spice-devel] androidSpice-0.1.4 released

2011-04-26 Thread Shuxiang Lim
Released with src & .apk files with button-double-click fixed. --Lin-- On 4/26/11, Shuxiang Lim wrote: > Hi,all! > After I workaround the bug "input will choke output",I'm glad to > release the USABLE androidSpice-0.1.4 on google code: > > http://code.google.c

[Spice-devel] androidSpice-0.1.4 released

2011-04-25 Thread Shuxiang Lim
Hi,all! After I workaround the bug "input will choke output",I'm glad to release the USABLE androidSpice-0.1.4 on google code: http://code.google.com/p/spice-client-android/ You shall check the wiki page of it for the build/install/use of it. Any use or improvement will be appreciated! Best Reg

Re: [Spice-devel] Release the androidSpice-0.1.3 experimental.

2011-04-25 Thread Shuxiang Lim
ata from server,thus the choking and yieldto()-->abort()-->segfault will not happen any more,cheers! BTW,is there any danger in such gory modification? Is there some better way? Today will be a gorgeous spring day! Best Regards. --Lin--林---- On 4/26/11, Shuxiang Lim w

Re: [Spice-devel] Release the androidSpice-0.1.3 experimental.

2011-04-25 Thread Shuxiang Lim
Now confirmed,it will fall in dead loop in spice_channel_iterate() for g_io_wait_interruptable()-->coroutine_yield()-->coroutine_swap() because coroutine_swap() always returns NULL, how to fix this? Any spice-gtk guys can help me? Rgrds. On Mon, Apr 25, 2011 at 9:08 PM, Shuxiang Lim

Re: [Spice-devel] Release the androidSpice-0.1.3 experimental.

2011-04-25 Thread Shuxiang Lim
this... Rgrds. 2011/4/25 Mosebach Kai > Too bad, that’s exactly what I was thinking of though (totally native, > leaving out JNI hybrid) => for use in an applet for instance… > > But thanks for the insight! > > From: Shuxiang Lim mailto:shohyang...@gmail.com>> > Da

Re: [Spice-devel] Release the androidSpice-0.1.3 experimental.

2011-04-25 Thread Shuxiang Lim
thing happens only on android,how can I fix this,or how can I disable such Swapping? Any ideas? Rgrds. On 4/25/11, Shuxiang Lim wrote: > Hi,all! >I'm happy to release the experimental androidSpice under LGPL,welcome to > improve! >The source and wiki now dwell in google code

[Spice-devel] Release the androidSpice-0.1.3 experimental.

2011-04-24 Thread Shuxiang Lim
Hi,all! I'm happy to release the experimental androidSpice under LGPL,welcome to improve! The source and wiki now dwell in google code site here: http://code.google.com/p/spice-client-android/ All introductions of porting can be found or redirected in the wiki page. The structure of an

Re: [Spice-devel] Porting snappy/libspicec-glib.so onto Android-ARM

2011-03-31 Thread Shuxiang Lim
-31 15:54 libspicec.so -rwxr-xr-x 1 root root 62K 2011-03-31 15:54 snappy now the libspicec has "NO" dependences at all! Namaarie! * On Thu, Mar 31, 2011 at 3:15 PM, Shuxiang Lim wrote: > Hi, > I wonder if there anybody has tried my solution,for I've got no feedbac

Re: [Spice-devel] Porting snappy/libspicec-glib.so onto Android-ARM

2011-03-31 Thread Shuxiang Lim
i, Mar 25, 2011 at 3:52 PM, Shuxiang Lim wrote: > Hi! > There already exist libssl.so and libcrypto.so in Android (in > /system/lib/ of my device), > but my snappy/libspicec.so got only SEGFAULT if using them,I hope someone > has time to check why. > Besides these. All the

Re: [Spice-devel] Porting snappy/libspicec-glib.so onto Android-ARM

2011-03-25 Thread Shuxiang Lim
primary canvas (snappy:3157): GSpice-DEBUG: snappy.c:44 primary_create: 640x480, format 32 wrote screen shot to ahoo.ppm * Best Rgrds. On Fri, Mar 25, 2011 at 3:17 PM, Shuxiang Lim wrote: > > All the files bz2ed. > > On Fri, Mar 25, 2011 at 2:58 PM, Shuxiang Lim wrote: > >&g

Re: [Spice-devel] Porting snappy/libspicec-glib.so onto Android-ARM

2011-03-24 Thread Shuxiang Lim
amakefile attathed. On Fri, Mar 25, 2011 at 2:41 PM, Shuxiang Lim wrote: > Hi,guys! >This is my instructions and patches for porting snappy/libspicec-glib.so > extracted from spicec-gtk-0.5 onto Android-ARM. >It's still nascent and raw though, more hacking is needed!

[Spice-devel] Porting snappy/libspicec-glib.so onto Android-ARM

2011-03-24 Thread Shuxiang Lim
Hi,guys! This is my instructions and patches for porting snappy/libspicec-glib.so extracted from spicec-gtk-0.5 onto Android-ARM. It's still nascent and raw though, more hacking is needed! These are my steps, suppose you're familiar with cross compiling. 1.I use the android NDK provided b

Re: [Spice-devel] Success in porting snappy of spicec-gtk onto Android

2011-03-24 Thread Shuxiang Lim
time permitted, I will file and share them soon as possible. Welcome to use, debug and improve! Best Regards. On Wed, Mar 23, 2011 at 7:25 PM, Alon Levy wrote: > On Wed, Mar 23, 2011 at 06:03:50PM +0800, Shuxiang Lim wrote: > > Hi,everyone! > >The problems of full glib

Re: [Spice-devel] Success in porting snappy of spicec-gtk onto Android

2011-03-24 Thread Shuxiang Lim
Hi,Christophe, Yes, I will share it and release my solution soon after some filing. Rgrds. On Wed, Mar 23, 2011 at 6:56 PM, Christophe Fergeau wrote: > Hi Shuxiang, > > On Wed, Mar 23, 2011 at 06:03:50PM +0800, Shuxiang Lim wrote: > >And also after some hacking on spice-gt

[Spice-devel] Success in porting snappy of spicec-gtk onto Android

2011-03-23 Thread Shuxiang Lim
Hi,everyone! The problems of full glib porting I mentioned in the previous mails have been solved, you may reference this: http://www.listware.net/201103/gtk-devel-list/55247-full-glib-porting-onto-android.html And also after some hacking on spice-gtk(mostly on the SIGBUS/SEGFAULT issues,such

Re: [Spice-devel] New thread: problems in porting glib2.0 and snappy onto android

2011-03-22 Thread Shuxiang Lim
e sigbus 2. The danger in the patching of the definitions from arpa/nameser*.h which may cause segfault. Anybody can give me some instructions of testing libg*? Appreciating. On Mon, Mar 21, 2011 at 6:30 PM, Alon Levy wrote: > On Mon, Mar 21, 2011 at 06:13:12PM +0800, Shuxiang Lim

[Spice-devel] New thread: problems in porting glib2.0 and snappy onto android

2011-03-21 Thread Shuxiang Lim
Hi, I open this new thread to clearly describe my condition: 1.I use the android NDK provided by Mozzila which has nearly full C++ support: http://ftp.mozilla.org/pub/mozilla.org/mobile/source/android-ndk-r4c-0moz3.tar.bz2 and I have modified Andrew Ross's agcc to partner with this NDK: http://blo

Re: [Spice-devel] Try to port spicec into Android

2011-03-17 Thread Shuxiang Lim
than rewrite the typecast statements into memcpy()?(There are huge amount of such statements in glib.). The -O0 option doesnot work. Rgrds. On Fri, Mar 18, 2011 at 11:52 AM, Shuxiang Lim wrote: > Hi,all,caution of the radioactive rays! > I feel rather frustrated though...Now I have ported lib

Re: [Spice-devel] Try to port spicec into Android

2011-03-17 Thread Shuxiang Lim
e step 1 or step 2 above? Or, the simplest: the way to safely turn off locale and i18n in glib? Pardon my whining and wish me Goodluck! And again I shall desperately curse Android and bless Meego! Regards. On Thu, Mar 10, 2011 at 9:07 AM, Shuxiang Lim wrote: > > That's tru

Re: [Spice-devel] Try to port spicec into Android

2011-03-09 Thread Shuxiang Lim
ould you maybe give access to other devs to aid the development? > > Rgrds, > > Attila > > > On Wed, Mar 9, 2011 at 11:18 AM, Shuxiang Lim wrote: > >> Yep, I walked around this but to face more chored and nasty troubles in >> porting Pulseaudio lib, time l

Re: [Spice-devel] Try to port spicec into Android

2011-03-09 Thread Shuxiang Lim
Yes,my said spicec is the spicec-gtk because I changed to for it's safer than the C++ spicec. On Wed, Mar 9, 2011 at 6:26 PM, Alon Levy wrote: > On Wed, Mar 09, 2011 at 06:18:50PM +0800, Shuxiang Lim wrote: > > Yep, I walked around this but to face more chored and nasty troubles

Re: [Spice-devel] Try to port spicec into Android

2011-03-09 Thread Shuxiang Lim
brary: [libgthread-2.0.so.0] 0x0010 (SYMBOLIC) 0x0 Now comes the last adventure of Native interfaces exposing and UI building! Regards. On Wed, Mar 9, 2011 at 3:57 PM, Shuxiang Lim wrote: > Well, I think I may try the "--with-coroutine=gthread" in spice-gt

Re: [Spice-devel] Try to port spicec into Android

2011-03-08 Thread Shuxiang Lim
Well, I think I may try the "--with-coroutine=gthread" in spice-gtk configuring to walk around that... On Wed, Mar 9, 2011 at 11:10 AM, Shuxiang Lim wrote: > Hi,I need help! > Now I've managed to divided spicec-gtk into two parts libspicec.so(based > on libpixma

Re: [Spice-devel] Try to port spicec into Android

2011-03-08 Thread Shuxiang Lim
manually write setcontext from scratch? RGRDs. On Mon, Mar 7, 2011 at 5:14 PM, Alon Levy wrote: > On Mon, Mar 07, 2011 at 09:08:28AM +0800, Shuxiang Lim wrote: > > Option 1: use spice-gtk with a gtk android backend > > a) compiling gtk for it would be possible. > > b) write a

Re: [Spice-devel] Try to port spicec into Android

2011-03-06 Thread Shuxiang Lim
aemo/Meego.) Regards. On Fri, Mar 4, 2011 at 7:04 PM, Alon Levy wrote: > On Fri, Mar 04, 2011 at 06:21:19PM +0800, Shuxiang Lim wrote: > > Hi, friends, > > Thanks for your replies. It's definitely right till now I've been > > working a tougher way compared t

Re: [Spice-devel] Try to port spicec into Android

2011-03-04 Thread Shuxiang Lim
AndroidVNCViewer) libspicec.so(do most jobs) <==finishedimages/audio>>===<spicec.java.ui(only UI) Am I right? Is there any design that will frustrate this in spicec or spice-gtk? Regards. On Fri, Mar 4, 2011 at 4:36 PM, Alon Levy wrote: > On Fri, Mar 04, 2011 at 03:38:51PM +0

[Spice-devel] Try to port spicec into Android

2011-03-03 Thread Shuxiang Lim
Hi all, I'm trying these days to port spicec into Android.But it's a rather TOUGH way to go because the structure of spicec and android are desperately inappropriate:the linux version of spicec is based on the X11,which is not available in Android,thus the UI of spicec should be rewritten from s

[Spice-devel] where ? Repo of VDAgent-0.6.3-win32

2010-10-27 Thread Shuxiang Lim
Hi all! I want to update my vdagent-win32 solution to 0.6.3 to do some fix on it, but I can find only the repo of 0.6.0 in http://git.freedesktop.org/git/spice/win32/vd_agent and the exe of vdagent-0.6.3 (I wanna the source file.), where is the current source files of vdagent-0.6.3? thanks. ___

[Spice-devel] Spice_Ubuntu_Install_Error

2010-07-11 Thread Shuxiang Lim
Hi,all! I'm a fresher in spice who try to install the spice C\S in Ubuntu 9.04 under the instructions in http://docs.cslabs.clarkson.edu/wiki/SPICE, fluent first, the spice client is well installed, yet I got the error in the step of # install vdesktop when in vdesktop/ I do "sudo ./configure --ena