Forum: Ruby-Gnome 2 WebKit, GTK & Ruby

Posted by Cristian Molina (Guest)
on 2008-03-04 14:46
(Received via mailing list)
Hi!
  Is someone working in bindings for WebKit-Gtk? It seems like a better
alternative to moz-embed. It allready has bindings for C#, Python, and 
Vala.

Thanks!
[0]
http://arstechnica.com/news.ars/post/20080303-crea...
Posted by Philipp Goetzinger (pgoetzin)
on 2008-04-23 20:19
i got a segment fault with mozembedded after i create a window , 
destroyed it, and created a new one ....



but check this out ..
http://www.daniellucraft.com/blog/category/ruby-webkit/

ruby and webrick ..

i tried it and it works !!

the only thing i need now is swf/flash support in webkit .. right now 
its not working
Posted by Philipp Goetzinger (pgoetzin)
on 2008-04-23 20:20
damm i mean ...

ruby and webkit ..



and not webrick ;-)
Posted by Martin Vales (martin_gnu)
on 2008-04-24 01:09
> i got a segment fault with mozembedded after i create a window , 
> destroyed it, and created a new one ....
> 
> 
> 
> but check this out ..
> http://www.daniellucraft.com/blog/category/ruby-webkit/
> 
> ruby and webrick ..
> 
> i tried it and it works !!
> 
> the only thing i need now is swf/flash support in webkit .. right now 
> its not working

GNOME people have under Technologies for Consideration to Mozilla-gecko 
and webkit.
http://browser.garage.maemo.org/

moz-embed and gtkhtml are dead it´s seems.

Regards.
Posted by Mikael Hallendal (Guest)
on 2008-04-24 09:08
(Received via mailing list)
Awesome, thanks for sharing Philipp!

I was wondering about whether someone had looked into creating
bindings for Webkit/GTK+ yet.

Cheers,
   Mikael Hallendal

23 apr 2008 kl. 20.19 skrev Philipp Goetzinger:
> i tried it and it works !!
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p...
> _______________________________________________
> ruby-gnome2-devel-en mailing list
> ruby-gnome2-devel-en@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ruby-...

--
Imendio AB, http://www.imendio.com
Posted by Marc Heiler (shevegen)
on 2009-06-27 18:28
Anyone by chance knows where ruby webkit can be found now? The link at 
the ~beginning no longer seems to work.
Posted by Daniel Lucraft (lucraft)
on 2009-06-28 08:31
(Received via mailing list)
rbwebkitgtk is here:

http://github.com/danlucraft/rbwebkitgtk/tree/master

best,
Dan
____________________________________
Daniel Benjamin Lucraft

www.daniellucraft.com/blog
twitter.com/danlucraft



2009/6/27 Marc Heiler <ruby-forum-incoming@andreas-s.net>:
Posted by Marc Heiler (shevegen)
on 2009-06-28 14:57
Thanks!
Posted by Tulnor Belefaroth (ppibburr)
on 2010-02-07 07:59
http://ppibburr.heliohost.org/doc/index.html is some rdoc for a new fork 
of rbwebkitgtk.

http://github.com/ppibburr/rbwebkitgtk is the source.

However these are 'stable', it seems that installation is not 
streamed-lined yet.

The c code is auto-generated from a custom code generator wrote in ruby.
These bindings bind not only the webkit api but as well the gdom glib 
bindings to webkit.

That means DOM, events, XmlHttpRequests etc ...

Cheers, ppibburr.
Posted by Ebru Akagunduz (ebruakagunduz)
on 2013-01-24 11:52
hi, while i was installing to webkit, i took some error. I wrote "
sudo gem install gtk-webkit-ruby" command but i couldn't install. Its
output like this

Building native extensions.  This could take a while...
ERROR:  Error installing gtk-webkit-ruby:
        ERROR: Failed to build gem native extension.

        /usr/bin/ruby1.9.1 extconf.rb
....

Provided configuration options:
        --with-opt-dir
..

I am using gtk library. How can i install webkit gem?
Posted by Geoff Youngs (Guest)
on 2013-01-24 16:09
(Received via mailing list)
Hi Ebru,

On 24 January 2013 10:52, Ebru Akagunduz
<ruby-forum-incoming@andreas-s.net> wrote:
>
> hi, while i was installing to webkit, i took some error. I wrote "
> sudo gem install gtk-webkit-ruby" command but i couldn't install. Its
> output like this
>
> Building native extensions.  This could take a while...
> ERROR:  Error installing gtk-webkit-ruby:
>         ERROR: Failed to build gem native extension.
>
> ...

Did the gtk2 gem install ok?  If so, you may be missing the webkit gtk
development files (package libwebkitgtk-dev on Debian/Ubuntu).

You can check by running "pkg-config --modversion webkit-1.0" (without
the quotes), which should report a version number (e.g. 1.10.2).

If that's not the problem, if you can attach the mkmf.log, it should
contain more clues as to why the install failed.

HTH,


Geoff.
--
Random Musing - http://www.frafferz.com/
Geek Blog - http://geoffyoungs.github.com/
Posted by Ebru Akagunduz (ebruakagunduz)
on 2013-01-24 16:23
Attachment: mkmf.log (18,9 KB)
Already i had installed "libwebkitgtk-dev" and i had installed gem. I 
use Ubuntu 12.10. "pkg-config --modversion webkit-1.0" command give 
"1.10.0" output. I added Webkit mkmf.log file.
Posted by Geoff Youngs (Guest)
on 2013-01-24 19:52
(Received via mailing list)
Hi,

You're running the same version of Ubuntu as me - so that should be fine 
:)

I've found an error that occurs with the default compilation flags on
the system ruby install on Ubuntu 12.10 (I use rvm/gems for
everything). Could you try the latest version?

gem install -v 0.0.5 gtk-webkit-ruby

If it doesn't fix it, could please you attach the output of
gem_make.out from the install directory?

Thanks,


Geoff.
Posted by Ebru Akagunduz (ebruakagunduz)
on 2013-01-24 19:59
Thank you for  your help :) i could install webkit.
Posted by Ebru Akagunduz (ebruakagunduz)
on 2013-02-01 14:10
Attachment: v0.0.5 (2,48 KB)
hi, Now i am trying to install gem gtk-webkit-ruby on Fedora. Again same
error. Also i tried as your suggestion with version information. But i
couldn't install it. Can you help me again? :( I added mkmkf.log file.
Posted by Ebru Akagunduz (ebruakagunduz)
on 2013-02-01 14:14
Also i installed below rpm packages for webkit installation
ruby-devel
rubygem-gtk2-devel
webkitgtk3-devel
ruby-gnome2-devel
Posted by Ebru Akagunduz (ebruakagunduz)
on 2013-02-02 17:44
and ruby-gnome2-devel package
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.