Hi,<div><br></div><div>I've decided to compile virt-viewer under windows. I basically need spice-widget as a .NET windows forms component. Before I worry about .NET i have to figure out how to compile this under windows. Here is what I found out...and having said that I know about zero about C.</div>
<div><br></div><div>Easiest way to compile windows binaries is with the Mingw32 cross-compiler under Fedora. </div><div><br></div><div>What I want to do is to make this work under windows and so far I've reduced number of errors from 8500 to about 2500 ;)</div>
<div><br></div><div>My current setup is </div><div>Ming32 with MSys <a href="http://www.mingw.org/">http://www.mingw.org/</a></div><div>Gtk+ <a href="http://www.gtk.org/download/win32.php">http://www.gtk.org/download/win32.php</a> </div>
<div>Python27 <a href="http://www.python.org/getit/windows/">http://www.python.org/getit/windows/</a></div><div>Eclipse for IDE <a href="http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a></div><div><br>
</div><div>Primary components are:</div><div><br></div><div>spice-gtk</div><div>spice-protocol</div><div>spice-common</div><div><a href="http://cgit.freedesktop.org/spice/">http://cgit.freedesktop.org/spice/</a></div><div>
<br></div><div>additional components I have as of now:</div><div>pixman <a href="http://cgit.freedesktop.org/pixman/">http://cgit.freedesktop.org/pixman/</a></div><div>openssl</div><div><br></div><div>Building instructions page mentions the following components under linux so this will be no  different under windows:</div>
<div><br></div><div><pre style="font-size:14px">pixman-devel 
celt051-devel 
cegui-devel 
libjpeg-devel
alsa-lib-devel 
log4cpp-devel 
openssl-devel 
libXrandr-devel 
libgcrypt-devel
SDL-devel 
dev86 
iasl 
pyparsing</pre></div><div><br></div><div>I have found spice build page (outdated). Talks of windows client build but it means outdated not anymore supportd spicec client (marked in the source as spicec - old client using low level GDI/X)</div>
<div><a href="http://spice-space.org/page/Building_Instructions">http://spice-space.org/page/Building_Instructions</a></div><div><br>Draft of user manual (outdated (c) 2009)</div><div><a href="http://spice-space.org/docs/spice_user_manual.pdf">http://spice-space.org/docs/spice_user_manual.pdf</a></div>
<div><br></div><div>Overall having some hard time figuring out dependencies and building support components from scratch (even before I get to building spice elements).</div><div>Primer on autotools was a must, still not sure if it works properly with MSYS. <br>
<br>I would appreciate any hints as to the structure of things and ability to attach precompiled binaries <a href="http://www.spice-space.org/download/stable/wspice-x86_20110308.zip">http://www.spice-space.org/download/stable/wspice-x86_20110308.zip</a> referenced in the docs as (runtime dependencies of the old SPICE client) So use them or not to use them? Also not sure if "celt" has been modified from original.<br>
<br>What would be really cool would be a pom.xml file for the Maven plugin.</div><div><br></div><div>So here it is and that's what I've learned in about 2-3 days. Anyone on the same or similar track wants to join forces I'm here night and day until it compiles :) Let's put together a list of everything including versions, tools, paths that are required for success build. Its 4:48am... I'm departing.</div>
<div><br></div><div>Kindest Regards,</div><div>Peter Styk (polfilm on #spice)</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On 17 December 2012 18:20, luohao_brian <span dir="ltr"><<a href="mailto:luohao_brian@126.com" target="_blank">luohao_brian@126.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>







<div style="LINE-HEIGHT:1.3;BORDER-RIGHT-WIDTH:0px;MARGIN:12px;BORDER-TOP-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-LEFT-WIDTH:0px" marginheight="0" marginwidth="0">
<div><font color="#000000" size="3" face="微软雅黑">David, </font></div>
<div><font face="微软雅黑"></font> </div>
<div><font face="微软雅黑">Thanks for your reply. BTW, any documents of how to build 
installable virt-viewer for windows from the source 
code? </font></div>
<div> </div>
<div align="left"><font color="#c0c0c0" face="Verdana">2012-12-18</font></div>
<div align="left"><font face="Verdana">
<hr style="WIDTH:122px;min-height:2px" align="left" size="2">
</font></div>
<div align="left"><font color="#c0c0c0" face="Verdana"><span></span></font></div>
<div><font face="Verdana"><font color="#c0c0c0">Hao Luo</font>
<hr>
</font></div>
<div><font face="Verdana"><strong>发件人:</strong>David Jaša</font></div>
<div><font face="Verdana"><strong>发送时间:</strong><a href="tel:2012-12-17%C2%A017" value="+12012121717" target="_blank">2012-12-17 17</a>:56</font></div>
<div><font face="Verdana"><strong>主题:</strong>Re: [Spice-devel] virt-viewer 
windows does not support grabbing mouse</font></div>
<div><font face="Verdana"><strong>收件人:</strong>"luohao_brian"<<a href="mailto:luohao_brian@126.com" target="_blank">luohao_brian@126.com</a>></font></div>
<div><font face="Verdana"><strong>抄送:</strong>"spice-devel"<<a href="mailto:spice-devel@lists.freedesktop.org" target="_blank">spice-devel@lists.freedesktop.org</a>></font></div><div class="im">
<div><font face="Verdana"></font> </div>
<div><font face="Verdana">
<div>luohao_brian píše v Po 17. 12. 2012 v 02:43 +0800: </div>
<div>> I am using virt-viewer 0.53 for windows, which seems not support </div>
<div>> grabbing mouse, but on linux it does. Any plan to support grabbing </div>
<div>> mouse?  </div>
<div> </div>
<div>Hi, you must be hitting some of the bugs that were recently fixed. </div>
<div>Marc-André/Cristophe, could you upload latest remote-viewer binary to <a href="http://spice-space.org" target="_blank">spice-space.org</a>? </div>
<div> </div>
<div>David </div>
<div> </div>
<div>>   </div>
<div>> 2012-12-17 </div>
<div>>  </div>
<div>> ______________________________________________________________________ </div>
<div>> Hao Luo </div>
<div>> _______________________________________________ </div>
<div>> Spice-devel mailing list </div>
<div>> <a href="mailto:Spice-devel@lists.freedesktop.org" target="_blank">Spice-devel@lists.freedesktop.org</a> </div>
<div>> <a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a> </div>
<div> </div>
<div>--  </div>
<div> </div>
<div>David Jaša, RHCE </div>
<div> </div>
<div>SPICE QE based in Brno </div>
<div>GPG Key:     22C33E24  </div>
<div>Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24 </div>
<div> </div>
<div> </div>
<div> </div></font></div></div></div><br>_______________________________________________<br>
Spice-devel mailing list<br>
<a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
<br></blockquote></div><br></div>