Re: [Spice-devel] Compiling Spice client on Windows

2014-03-07 Thread Cody Chan
Hi, if you just want to get exe file, it's not recommended to build in windows! Cross compiling in linux(fedora/centos/rhel is better) works fine, and is recommended by document , please read mingw-spec* file in source code for dependence ___ Spice-devel

[Spice-devel] Compiling Spice client on Windows

2014-03-07 Thread K F
I'm interested in working on the Windows client for Spice, but before I can do that I need to get the dependencies for it in order so I can actually build it. However, the documentation I've been able to find for building the client on Windows is either less-than-helpful or for an old version of Sp

Re: [Spice-devel] Embedding the Spice Client in Windows

2014-03-07 Thread Lindsay Mathieson
On Fri, 7 Mar 2014 06:05:18 PM Marc-André Lureau wrote: > That's all correct. Qt runs of top of glib mainloop nowadays, afaik, so > spice-glib should do its io and tasks in the background. Excellent, I was wondering about the glib event loop > I can't wait to see your progress on this! The pres

Re: [Spice-devel] Embedding the Spice Client in Windows

2014-03-07 Thread Marc-André Lureau
- Original Message - > On Fri, 7 Mar 2014 09:08:20 AM Marc-André Lureau wrote: > > What you are interested in is the spice-glib library: > > > > http://elmarco.fedorapeople.org/spice-gtk/ch02.html > > > Thanks Marc-André, that looks much simpler than I thought it would, I don't > antic

Re: [Spice-devel] Embedding the Spice Client in Windows

2014-03-07 Thread Lindsay Mathieson
On Fri, 7 Mar 2014 09:08:20 AM Marc-André Lureau wrote: > What you are interested in is the spice-glib library: > > http://elmarco.fedorapeople.org/spice-gtk/ch02.html Thanks Marc-André, that looks much simpler than I thought it would, I don't anticipate any issues wrapping the base api into Qt

Re: [Spice-devel] Embedding the Spice Client in Windows

2014-03-07 Thread Marc-André Lureau
Hi - Original Message - > On Fri, 7 Mar 2014 06:49:56 AM Marc-André Lureau wrote: > > I would recommend wrapping the spice-glib library with Qt > > > Thanks Marc-André, is there an online reference for it anywhere? I just updated this page: http://elmarco.fedorapeople.org/spice-gtk/ Wh

[Spice-devel] [PATCH spice-xpi 2/2] controller: return immediately if already connected

2014-03-07 Thread Marc-André Lureau
From: Marc-André Lureau Do not try again if the unix socket is already connected, but fail immediately. https://bugzilla.redhat.com/show_bug.cgi?id=1073461 --- SpiceXPI/src/plugin/controller-unix.cpp | 2 ++ SpiceXPI/src/plugin/controller.cpp | 2 ++ 2 files changed, 4 insertions(+) diff

[Spice-devel] [PATCH spice-xpi 1/2] controller: try connection every second

2014-03-07 Thread Marc-André Lureau
From: Marc-André Lureau Currently, with 10 tries, it takes up to n(n+1)/2 = 55s before returning failure. The default firefox plugin timeout is 45s, passed that time, the plugin is killed. 10s should be enough in normal usage for the client to setup the unix socket. https://bugzilla.redhat.com/

Re: [Spice-devel] Embedding the Spice Client in Windows

2014-03-07 Thread Lindsay Mathieson
On Fri, 7 Mar 2014 06:49:56 AM Marc-André Lureau wrote: > I would recommend wrapping the spice-glib library with Qt Thanks Marc-André, is there an online reference for it anywhere? -- Lindsay signature.asc Description: This is a digitally signed message part. ___

Re: [Spice-devel] Embedding the Spice Client in Windows

2014-03-07 Thread Marc-André Lureau
Hi - Original Message - > Is there a know way to embed the spice client in a windows app? > (preferably a Qt4/Qt5 Windows app). > > Either the entire remote-viewer app or preferable the GTK widget itself. That doesn't seem very popular these days: http://stackoverflow.com/questions/16919