On Wednesday, October 16, 2013 11:18:52 AM UTC-7, C Anthony Risinger wrote:
>
> On Wed, Oct 16, 2013 at 1:00 PM, Sarvi Shanmugham 
> <sarv...@gmail.com<javascript:>
> > wrote:
>
>> Can you point me to some documentation on how to get this giwebkit 
>> compiling 
>> from scratch so that I can give it a go on the mac.
>>
>> So far in looking for document I have been confused between
>>   pywebkitgtk, then pythonwebkit and no giwebkit
>>
>> pywebkitgtk is a standard port I can find in my mac port repo
>> From what I read pythonwebkit is an old branch of webkit with luke's 
>> python changes/wrappers.
>>
>> what is this giwebkit? Is it a standard part of webkit? or is it a branch 
>> of like pythonwebkit?
>>
>
>  * pywebkitgtk is (was?) a python binding to webkitgtk that i think uses 
> pygtk2
>  * pythonwebkit is webkitgtk + luke's patches for direct python bindings
>  * giwebkit is `pyjs/runners/giwebkit.py` (a dynamic binding to a 
> GI-enabled webkitgtk build)
>
> ...`giwebkit` is just the name i gave it, but it should work out-of-the 
> box with any recent (last 2 yrs or so) webkitgtk build so long as it was 
> built with `--enable-introspection`
>
> the missing piece (addEventListener) is used pretty early so it might fail 
> to boot, but it should be pretty easy to temporarily fake it.
>
> from python you must be able to do this:
>     from gi.repository import WebKit
>
> you need [upstream!] GTK3 and webkitgtk (libwebkitgtk-3.0.so.*) to make it 
> work.
>
I see the following 2 choices in mac ports. From my read 
of pyjs/runners/giwebkit.py
I think I need the following
----------------
localhost:pyjs sarvi$ sudo port info webkit-gtk3
webkit-gtk3 @2.0.4_2 (www, gnome)
Variants:             quartz, universal, [+]video

Description:          Apple's WebKit HTML rendering library for GTK+
Homepage:             http://webkitgtk.org/

Extract Dependencies: xz
Build Dependencies:   gtk-doc, pkgconfig, autoconf, automake, libtool
Library Dependencies: glib2, bison, flex, enchant, geoclue, 
gobject-introspection, harfbuzz-icu, libxslt, libpng, libsecret, libsoup, 
mesa,
                      sqlite3, webp, xorg-libXt, gtk3, 
gstreamer1-gst-plugins-base
Platforms:            darwin, freebsd
License:              LGPL-2+ BSD
Maintainers:          jerem...@macports.org, dev...@macports.org
------------

So It looks like I should be picking the later i.e "sudo port info 
webkit-gtk3"

So I can go ahead and install this and don't have to patch it before 
compiling right?

After I install webkit-gtk3, and lets say I have the latest pyjs sources 
from git.
What else do I need to do?

Sarvi
PS: If I get this to work, I promise I will do the documentation for pyjd 
on MacOS


 

>
> -- 
>
> C Anthony 
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Pyjs.org Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyjs-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to