Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Apr 2014, 20:06
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Announcements
gtk+-3.0 and something you _didn't_ already know
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Fri 11 Feb 2011, 11:55    Post subject:  gtk+-3.0 and something you _didn't_ already know  

As many of you may have heard, gtk+-3.0 has been released and is _supposed_ to abandon the x11 bindings for cairo (I'll see if it builds with cairo-xcb, but I'm not expecting that to work based on my last source audit) There are several announcements pertaining to this around your favorite nerd news sites, so I won't reiterate the obvious, but I did want to bring everyone's attention to something that could be even better than abandoning X11.

The gtk+-3.X branch now has a separate branch with an experimental html5 backend called "broadway". There is an article here:
http://www.phoronix.com/scan.php?page=news_item&px=ODgzMA
Its a pretty ingenious idea really that could bring cloud computing to the next level. If it is written properly it could have only dependency on the C library and maybe expat or xml since it basically would only need to output formatted text (instead of handling objects directly, they are handled by the browser)

{with this in mind I have started a framework for busybox httpd cgi scripts to automatically generate a simple gui and run apps (similar to gtkdialog) - so far it works with basic command line tools already ... I have no security included yet so no public releases and running only on localhost}

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10730
Location: Ontario Canada,Sydney Australia

PostPosted: Fri 11 Feb 2011, 12:20    Post subject:  

About 4 months ago when I compiled gtk3 I was not impressed at all with it, due to lack of compatibility with gtk2, funny how sfs and gtk don't care about supporting previous works, eg. Gtk 1,2,3, well atleast some gtk2 apps will work on gtk 3, unlike gtk1 vs gtk2. Well this new spin you have on gtk3 looks promising on a ultra thin client, but how would it fit into the big picture? like Gimp and other larger gtk apps.
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Fri 11 Feb 2011, 14:19    Post subject:  

ttuuxxx wrote:
... but how would it fit into the big picture? like Gimp and other larger gtk apps.
ttuuxxx

I've been following the commits and mail list to see if the xcb branch would ever take off or if they would ever get to a full cairo backend (I tried compiling with no X11 and cairo-xcb -- gdkpixbuf build went fine but there were still X11 specific items in gtk) Unless there are _significant_ improvements to an api, I see no reason to use it when we have one that does work. Switching to cairo only or from x11 to xcb, I would consider significant, but mostly they have just replaced some rarely used gtk functions with some more commonly used functions from gnome and other utility libraries (incidently this may actually be a good thing for porting some gnomish things to puppy -- all speculative though)

Here are some of the things I can see with broadway:
Good stuff
1. remote operation of your own apps
2. cloud based hosting of _real_ applications on the cheap (just patch and recompile existing apps ...like gimp, abiword, gnumeric,...)
3. X-free (not Xfree) instant on desktops using webkit on the framebuffer (~1/2 second startup)

Bad stuff
1. Things that may need to be patched may include the file dialogs (unless it uses the <form><input type=file.... type handling that is built into the browser) ... the audio and video should be handled by html5, but other things that use local devices won't work (anything that uses /dev /proc etc... to stat data)
2. Patch fest awaits us anyways for changes to or removing deprecated APIs as part of the 3.X transition
3. Running a full gtk app on a server to interface with a browser would take a lot more resources than a simple static frontpage (or perl, php etc..) I'm hoping I can make my toolkit follow the gtk look to supplement for gtkdialog style functionality (I've almost gotten a basic working version of my woo-ff media converter going)

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Announcements
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0624s ][ Queries: 11 (0.0234s) ][ GZIP on ]