[gentoo-user] GTK+ HTML5 broadway

2011-10-04 Thread Michal Sroka

Hello,
I would like to run my gtk applications over web-browser using Alexander Larsson's 
gtk+ broadway option http://blogs.gnome.org/alexl/2010/11/23/gtk3-vs-html5/ 
http://blogs.gnome.org/alexl/2010/11/23/gtk3-vs-html5/
1 Have you got any experience with this on gentoo?
2 How can I specify, if to run my application (e.g. gnome-calculator) over gtk+ 
3 or my stable gtk+ version?
3 I can't see any enable-broadway option in gtk+ portage install options. Do 
I have to compile gtk+ 3 from source?
Thank you for any help.
Regards,
Michal



Re: [gentoo-user] GTK+ HTML5 broadway

2011-10-04 Thread Albert W. Hopkins
On Tue, 2011-10-04 at 21:39 +0200, Michal Sroka wrote:
 Hello,
 I would like to run my gtk applications over web-browser using Alexander 
 Larsson's gtk+ broadway option 
 http://blogs.gnome.org/alexl/2010/11/23/gtk3-vs-html5/ 
 http://blogs.gnome.org/alexl/2010/11/23/gtk3-vs-html5/
 1 Have you got any experience with this on gentast 

Currently it doesn't work, at least not with libcanberra.  There is a
but in canberra that causes the app to segfault when using the broadway
backend.

 2 How can I specify, if to run my application (e.g. gnome-calculator) over 
 gtk+ 3 or my stable gtk+ version?

If I understand you correctly, it doesn't work that way.  You can't,
just magically turn a gtk2 app into a gtk3 app. The APIs are different
so the app has to be writen for the gtk3 API.

 3 I can't see any enable-broadway option in gtk+ portage install options. 
 Do I have to compile gtk+ 3 from source?

You can use EXTRA_ECONF but, again, it doesn't currently work anyway.