Hi i iordanov: I am also trying to build bVNC. Everything goes well, except the dependencies. For example: "/bVNC/jni/src/channel-record.c:416:57: error: 'celt_int16_t' undeclared (first use in this function)" I've already ported 0.11.1 to android, and things like glib(Port glib: http://qinchuan.me/article.php?id=62) and so on. But, what the version of celt you used? If you have time, please make a list showing the versions of the libraries. That will be a great help!
Thanks! linuxqc On Mon, Aug 5, 2013 at 10:12 PM, <spice-devel-requ...@lists.freedesktop.org>wrote: > Send Spice-devel mailing list submissions to > spice-devel@lists.freedesktop.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freedesktop.org/mailman/listinfo/spice-devel > or, via email, send a message with subject or body 'help' to > spice-devel-requ...@lists.freedesktop.org > > You can reach the person managing the list at > spice-devel-ow...@lists.freedesktop.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Spice-devel digest..." > > > Today's Topics: > > 1. ??? porting the virt-viewer onto Android (jojo) > 2. Re: ??? porting the virt-viewer onto Android (i iordanov) > 3. Re: Opus, alternative video codec and hardware acceleration > (Christophe Fergeau) > 4. Re: spice-gtk debugging (Marc-Andr? Lureau) > 5. Re: create spice proxy use spice console to server in web > browser (Marc-Andr? Lureau) > 6. Re: Opus, alternative video codec and hardware acceleration > (Fabio Fantoni) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 5 Aug 2013 10:08:28 +0800 > From: jojo <rjie...@gmail.com> > To: i iordanov <iiorda...@gmail.com> > Cc: spice-devel <spice-devel@lists.freedesktop.org>, Marc-Andr? Lureau > <mlur...@redhat.com>, letterdove <letterd...@yeah.net> > Subject: [Spice-devel] ??? porting the virt-viewer onto Android > Message-ID: <71115070ce264f36957d820119274...@gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi, > Almost of all what you said is right. > > Ok, i have enabled Audio by now, please give me a little more time. > > And it will be much more simple to build aSPICE client with dependence > lib(glib and so on). > > Thanks, > > - Jojo > > > ? 2013?7?26???????3:21?i iordanov ??? > > > Hello! > > > > I've cc'd Jojo with whom we discussed at length building aSPICE and > succeeded in the end to set up a build environment on his machine. Jojo, > please chime in if I forget something. > > > > 1) One needs to build a set of libraries which Jojo and I were able to > build, but so far haven't found the time to put together build > instructions. Jojo, will you be able to do so? It would be of great help at > this time, and it's fresher in your mind. > > > > 2) Yes, the build instructions for the native code are simply ndk-build, > as Jojo (cc'd) can attest. > > > > 3) However there are currently *TWO* places where a boolean "isSpice* > must be set manually to true. This will be fixed in a future release to be > one place. One is in VncCanvas, and the other in CompactBitmapData. This > variable is ordinarily set to true if the package name is aSPICE, however, > if memory serves me right setting the package name to aSPICE (without > moving a bunch of directories around and also run running sed liberally on > the code) may break sqlitegen, a package which sets up all the settings > database-related files. Sqlitegen is left over from android-vnc-viewer. > > > > 4) Finally, since the JNI calls in the project as it appears in github > (as bVNC) will originate from com.iiordanov.bVNC and not > com.iiordanov.aSPICE, there is a sed command I sent to Jojo which can be > used to automatically fix the native code for use in bVNC. I really should > think about how to get rid of this requirement. The command follows: > > > > cd bVNC/eclipse_projects/bVNC/jni/src/android > > sed -i 's/\(com.iiordanov.\)aSPICE/\1bVNC/' * > > > > Jojo, was there anything else that needed to be done? Can you provide > build instructions for the library dependencies? > > > > Thanks! > > iordan > > > > > > > > On Wed, Jul 24, 2013 at 10:16 AM, Marc-Andr? Lureau > > <mlur...@redhat.com(mailto: > mlur...@redhat.com)> wrote: > > > Hi > > > > > > ----- Mensaje original ----- > > > > Dear Miss/Mr, > > > > I am an developer addicted to appliction development on Linux > platform. And I > > > > have been enthusiastic over KVM technoly for while and experienced > the spice > > > > client software virt-viewer. Now I'd like to port the virt-viewer > onto > > > > Android platform. I find it difficult to implement it for me > ,however,since > > > > I am in fact lacking experience on across-platformed transplant. > > > > Additionally I 've not grasped of the vir-viewer thoroughly. I would > > > > appreciate you if you can give me some suggestions. > > > > > > Iordan implemented aSpice, it is part of bVNC > > > > > > https://github.com/iiordanov/bVNC > > > > > > There is no build instructions, but ndk-build should work. However, > you need a bunch of libraries that are difficult to find or cross-compile > yourself. It would be nice to automate this somehow with a cross-build > system like cerbero. > > > > > > > > -- > > The conscious mind has only one thread of execution. > > _______________________________________________ > > Spice-devel mailing list > > Spice-devel@lists.freedesktop.org (mailto: > Spice-devel@lists.freedesktop.org) > > http://lists.freedesktop.org/mailman/listinfo/spice-devel > > > > > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.freedesktop.org/archives/spice-devel/attachments/20130805/2dc5c689/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Mon, 5 Aug 2013 04:55:05 -0400 > From: i iordanov <iiorda...@gmail.com> > To: jojo <rjie...@gmail.com> > Cc: spice-devel <spice-devel@lists.freedesktop.org> > Subject: Re: [Spice-devel] ??? porting the virt-viewer onto Android > Message-ID: > <CAMS0tn1pr_OsbVNbWtU82XAhDR5_nbG7T= > szpzme+ecks3_...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi Jojo, > > On Sun, Aug 4, 2013 at 10:08 PM, jojo <rjie...@gmail.com> wrote: > > > Hi, > > Almost of all what you said is right. > > Ok, i have enabled Audio by now, please give me a little more time. > > > > Good news! I can't wait to see your code! :) > > > > > > And it will be much more simple to build aSPICE client with dependence > > lib(glib and so on). > > > > More good news! Many thanks Jojo, we await your improvements. > > Cheers, > iordan > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.freedesktop.org/archives/spice-devel/attachments/20130805/150a133e/attachment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Mon, 5 Aug 2013 12:25:16 +0200 > From: Christophe Fergeau <cferg...@redhat.com> > To: Gerd Hoffmann <kra...@redhat.com> > Cc: spice-devel@lists.freedesktop.org > Subject: Re: [Spice-devel] Opus, alternative video codec and hardware > acceleration > Message-ID: <20130805102516.gb32...@teriyaki.wifi.vutbr.cz> > Content-Type: text/plain; charset="us-ascii" > > Hey, > > On Fri, Aug 02, 2013 at 09:11:07AM +0200, Gerd Hoffmann wrote: > > Hi, > > > > > And, finally, you actually need someone to do the work. I don't really > > > have a sense how much work the qemu side would be. > > > > Nothing ;) > > > > You just have to get the interface changes in server/spice.h right. > > Basically you'll go bump the interface minor version > > (SPICE_INTERFACE_PLAYBACK_MINOR) from 2 to 3 and change the sample rate > > (SPICE_INTERFACE_PLAYBACK_FREQ) from 44100 to 48000. Same for > > recording. Done. > > > > Then spice-server has to check the minor version field when qemu > > registers a sound interface. When the minor is 2 or smaller qemu was > > compiled against older libspice-server and expects/sends 44.1k samples. > > When it is 3 or greater 48k is used. > > > I've started looking at that. Using either 48k or 44.1 depending on > spice-server is easy. The annoying issue is when the server/qemu > agreed to use 48k internally, but a client only supporting celt tries to > connect, then you need to do some resampling, and this means we need a bit > of refactoring of the existing code to get this to work. > > Christophe > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: not available > Type: application/pgp-signature > Size: 198 bytes > Desc: not available > URL: < > http://lists.freedesktop.org/archives/spice-devel/attachments/20130805/c61c1a60/attachment-0001.pgp > > > > ------------------------------ > > Message: 4 > Date: Mon, 5 Aug 2013 09:01:20 -0400 (EDT) > From: Marc-Andr? Lureau <mlur...@redhat.com> > To: songtianyi <songtianyi...@163.com> > Cc: spice-devel <spice-devel@lists.freedesktop.org> > Subject: Re: [Spice-devel] spice-gtk debugging > Message-ID: > <1634265109.12547556.1375707680898.javamail.r...@redhat.com> > Content-Type: text/plain; charset=utf-8 > > Hi > > ----- Mensaje original ----- > > Hi, > > i am new to spice, it seems no detail documentation in > http://spice-space.org > > ? The only way to deeply undertand spice (data flow) is reading the code? > > -gtk-debug option of spicy offers some useful information, but it seems > not > > very helpful. How should i start? > > You can start with some of the reference doc: > http://www.spice-space.org/documentation.html > > Reading the client code might help to understand the protocol. The server > code is notoriously more difficult. > > There are different kind of channels. The playback channel is probably one > of the easiest. The display or main channels are certainly more complicated. > > What are you interested in? > > > ------------------------------ > > Message: 5 > Date: Mon, 5 Aug 2013 09:04:15 -0400 (EDT) > From: Marc-Andr? Lureau <mlur...@redhat.com> > To: Vasiliy Tolstov <v.tols...@selfip.ru> > Cc: spice-devel@lists.freedesktop.org > Subject: Re: [Spice-devel] create spice proxy use spice console to > server in web browser > Message-ID: > <667744446.12549229.1375707855655.javamail.r...@redhat.com> > Content-Type: text/plain; charset=utf-8 > > > > ----- Mensaje original ----- > > Hello. I want to provide for users console to server like vnc, does it > > possible now via websocket and html5 compatible browser? > > Yes. For a more complete answer, see also > http://www.spice-space.org/page/Html5 > > > Another question - if i want to hide my real virtual servers and > > providefor users single point to enter to their consoles. > > For example users authorized and after that i known to that server i > > need to proxy clients. Where i can find needed docs to create this > > app? Proxy is that tcp proxy or http? > > You can use spice-gtk based client, and set a HTTP CONNECT proxy. Then set > SPICE_PROXY env variable to point to your proxy. > > Or you could use, for example, SSH tunnels (virt-viewer/virt-manager > create them for you). > > > ------------------------------ > > Message: 6 > Date: Mon, 05 Aug 2013 16:12:11 +0200 > From: Fabio Fantoni <fantonifa...@tiscali.it> > To: Jeremy White <jwh...@codeweavers.com> > Cc: spice-devel@lists.freedesktop.org > Subject: Re: [Spice-devel] Opus, alternative video codec and > hardware > acceleration > Message-ID: <51ffb2bb.8090...@tiscali.it> > Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" > > Il 01/08/2013 21:31, Jeremy White ha scritto: > > On 08/01/2013 07:54 AM, Fabio Fantoni wrote: > >> Are there news about these things? > >> - Opus (now stable) implementation and the option to have celt as > >> optional on compile. > >> about celt optional there is already a patch from one debian > maintainer. > > I, too, am interested in this. My survey of the archives suggests three > > issues. One, we have to be over our anger at the celt bait and switch > > and we have to trust that opus will be stable. > > > > Two, we have a sample rate issue, which I think Gerd summarized best > here: > > > http://lists.freedesktop.org/archives/spice-devel/2012-June/009645.html > > > > And, finally, you actually need someone to do the work. I don't really > > have a sense how much work the qemu side would be. The server code > > seems nicely isolated into snd_worker.c. The client side is likely to > > be fairly straight forward as well. > > > > I'm willing to give it the old college try, but I'm going to be out of > > my depth and will likely only work in small bursts here and there. So > > if someone else is planning on working on it, I'll cheerfully stop or > > shift into a supportive role. > > > > Also, just so I make all of my evil intentions plain, I want codecs that > > will work in all browsers. So far as I know, Opus is not yet supported > > in IE. So I may try to generalize the structure so I could add Vorbis > > or mp3 down the road. > > Thanks for your reply. > I think that mp3 is a questionably choice since it is not opensource and > has some license fees. > Actually Opus is the only opensource, royalty-free project and that > seems to be very adactive, optimal for both lan and wan. > For what concerning IE, unfortunately IMHO is a bad browser, in > particular in the implementation of the standards. > In the past when I was doing web programming it gave me a lot of > problems, so best bet for a good choice of a decent codec is to leave IE > concernings at all. > Lets focus instead on better implemented web browsers like firefox > and/or chrome instead. > > > > > Cheers, > > > > Jeremy > > _______________________________________________ > > Spice-devel mailing list > > Spice-devel@lists.freedesktop.org > > http://lists.freedesktop.org/mailman/listinfo/spice-devel > > > > > > ----- > > Nessun virus nel messaggio. > > Controllato da AVG - www.avg.com > > Versione: 2013.0.3392 / Database dei virus: 3209/6543 - Data di > rilascio: 01/08/2013 > > > > > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: smime.p7s > Type: application/pkcs7-signature > Size: 4510 bytes > Desc: Firma crittografica S/MIME > URL: < > http://lists.freedesktop.org/archives/spice-devel/attachments/20130805/f1d5b665/attachment.bin > > > > ------------------------------ > > _______________________________________________ > Spice-devel mailing list > Spice-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/spice-devel > > > End of Spice-devel Digest, Vol 43, Issue 4 > ****************************************** >
_______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel