Forum: Ruby-Gnome 2 WebKit, GTK & Ruby

1b08e1791e0d3ead8cd996009d8d7b3b?d=identicon&s=25 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...
1769b5ad3e8cfb8f3e78d7a5d2865277?d=identicon&s=25 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
1769b5ad3e8cfb8f3e78d7a5d2865277?d=identicon&s=25 Philipp Goetzinger (pgoetzin)
on 2008-04-23 20:20
damm i mean ...

ruby and webkit ..



and not webrick ;-)
71779ebecf751e63a1f112fdc912619c?d=identicon&s=25 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.
Ba83c2e26acbc90de14053a09d993050?d=identicon&s=25 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
4828d528e2e46f7c8160c336eb332836?d=identicon&s=25 Robert 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.
0158871402c1ecfa57952e8a379cfd10?d=identicon&s=25 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>:
4828d528e2e46f7c8160c336eb332836?d=identicon&s=25 Robert Heiler (shevegen)
on 2009-06-28 14:57
Thanks!
355594f619b5e5290f195f4d05e98305?d=identicon&s=25 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.
Ff312ec21b0fd1d07c8708e29df7d242?d=identicon&s=25 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?
E63ceac0a4a9a299a984f4ccc86fc3a4?d=identicon&s=25 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/
Ff312ec21b0fd1d07c8708e29df7d242?d=identicon&s=25 Ebru Akagunduz (ebruakagunduz)
on 2013-01-24 16:23
Attachment: mkmf.log (20 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.
E63ceac0a4a9a299a984f4ccc86fc3a4?d=identicon&s=25 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.
Ff312ec21b0fd1d07c8708e29df7d242?d=identicon&s=25 Ebru Akagunduz (ebruakagunduz)
on 2013-01-24 19:59
Thank you for  your help :) i could install webkit.
Ff312ec21b0fd1d07c8708e29df7d242?d=identicon&s=25 Ebru Akagunduz (ebruakagunduz)
on 2013-02-01 14:10
Attachment: v0.0.5 (2 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.
Ff312ec21b0fd1d07c8708e29df7d242?d=identicon&s=25 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
Ff312ec21b0fd1d07c8708e29df7d242?d=identicon&s=25 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

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.