Fwd: Patch for rfb.cc for making bochs screen show remotely by using libvncserver

HH LL <[email protected]> Tue, 16 Apr 2013 21:36:34 +0800
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <CAK_ppcj9M2ku4i6MkgHGtZ7M3Rfhuqpw14mjzKuVn7ezmKK96w@mail.gmail.com>
---------- Forwarded message ----------
From: HH LL <[email protected]>
Date: Tue, Apr 16, 2013 at 9:33 PM
Subject: Re: Patch for rfb.cc for making bochs screen show remotely by
using libvncserver
To: Stanislav <[email protected]>



> Is it possible to co-exist current RFB code with the new one

No, this RFB code has been rewroten by using libvncserver API, and current
RFB code should be replaced.This RFB code make bochs can show 24bits color
and higher screen resolution to remote client.( Include HTML5 VNC client in
Brower).

> and conditionally compile new functionality only when libvncserver is
available ?

Yes, current RFB code needs  libvncserver.


>
> Especially under win32 + Cygwin/mingw where I don’t have the libvncserver
L
>
   I think, in windows, you can download a libvncserver and compile it.
That's is not too hard work. By the way, if you compile libvncserver, you
need compile libjpeg or libjpegturbo first. I think these lib can be
compile on any OSes. I have successfully compiled them on MAC OSX and Linux.


>
> If you understand the RFB stuff enough – can you tell what is missing to
make the same to work without libvncserver package ?

If without libvncserver, you have to implement whole RFB protocal, and you
have to do a lot dirty work to handle network events. The old RFB code in
bochs only support 16 color and very low screen  resolution.


> Which modules / functions from the package used by the patch ?

Now this patch will made bochs <== libvncserver <== libjpeg(or
libjpegturbo) <== libz

  (<==  means depend on)


>
> Are familiar with the QEMU VNC interfaces ?

No. Anyway, Is Qemu has vnc interfaces? maybe it is  KVM.


>
> Do they use libvncserver package ? I thought they don’t …

Sorry, I don't know.

More, I wonder that if bochs maintainer can merge this code to trunk, and
in my code repo, I make a directory named 3thparty, and I copy the
libvncsever and libjpegturbo code to there, and I use CMake rewrote the
build system of libvncsever and libjpeg,  which can auto compile them as an
static library and can be link with bochs. If bochs maintainer want to
merge this patch, I'm glad to provide these code.

Thank you!

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

_______________________________________________
bochs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bochs-developers