Hello, 

Thanks for the help!
I am making changes in the PluginViewGtk.cpp file to add conditional checking 
for "GDK_WINDOWING_X11" and "GDK_WINDOWING_WAYLAND" on the macros which is 
directly calling X11 macros, like.

        #ifdef GDK_WINDOWING_X11
        Display* display = GDK_DISPLAY_XDISPLAY(gdk_display_get_default());
        #endif 
        #ifdef GDK_WINDOWING_WAYLAND
        Display* display = GDK_DISPLAY_WAYLAND(gdk_display_get_default());
        #endif 
 But I am unable to understand following things.
1. Whether gtk2xtbin.h needs to be included? I guess this is using X11 library 
calls. So to moveto wayland this may not require.
2. There is a Macro "GDK_WINDOW_XWINDOW". For this I have not seen any 
equivalent macro in wayland .
3. Is there any other file than "PluginViewGtk.cpp" where I may need to change 
for Wayland plugin?

 

Regards,
Suranjana
________________________________________
From: Mika Boström [[email protected]]
Sent: Thursday, May 31, 2012 5:42 PM
To: Suranjana Bhattacharya (WT01 - Manufacturing & Hi Tech)
Cc: [email protected]
Subject: Re: Build Webkit with Waylnad backend and wayland plugins

On 05/31/12 14:43, [email protected] wrote:
> Hello, I am trying to build webkit 1.8.0 with Wayland backend .
> Following are the configuration I am working with.
>
> 1. Wayland : 0.85
> 2. Webkit : 1.8.0
> 3. gtk +-3.4
>
> I found that webkit is using gtk plugins which is internally
> referring  X11 macro. Can anyone help me which are the files I need
> to look to remove  X11 plugin dependencies from webkit and build it
> with Wayland backend

I've done that once, for an earlier gtkwebkit version. (Can't release
code, as it was done for a client.) You may want to check
https://bugs.webkit.org/show_bug.cgi?id=81456 for some hints I provided
for Darxus.

So you'll need to change the autoconf/automake files a bit, use the
dummy NPAPI implementation and check that all uses of plugins behave
properly.

You'll probably also need to see whether PlatformScreenGtk.cpp works
properly with the modified build flags. It used to call gdk_x11_FOO()
for me. Could be fixed in 1.8.0 but haven't looked recently.

--
 Mika Boström / [email protected]
 Software Architect

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to