diff mbox

[2/2] package/webkit: Broken on raspberry pi

Message ID 1401366393-5815-3-git-send-email-bernd.kuhls@t-online.de
State Deferred
Headers show

Commit Message

Bernd Kuhls May 29, 2014, 12:26 p.m. UTC
Linking libwebkitgtk-1.0.so fails

./.libs/libwebkitgtk-1.0.so: undefined reference to `WebCore::GLContext::GLContext()'
./.libs/libwebkitgtk-1.0.so: undefined reference to `WebCore::GLContext::sharedX11Display()'
./.libs/libwebkitgtk-1.0.so: undefined reference to `WebCore::GLContext::~GLContext()'
./.libs/libwebkitgtk-1.0.so: undefined reference to `WebCore::GLContext::makeContextCurrent()'

This link error occurred after fixing the configure problem
http://autobuild.buildroot.net/results/bc0/bc0f9114f9dacf68a510f1e01f2dc3661c34f536/

webkit-1.x apparently is missing support for raspberry pi.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/webkit/Config.in |    1 +
 1 file changed, 1 insertion(+)

Comments

Thomas Petazzoni May 29, 2014, 2:31 p.m. UTC | #1
Dear Bernd Kuhls,

On Thu, 29 May 2014 14:26:33 +0200, Bernd Kuhls wrote:
> Linking libwebkitgtk-1.0.so fails
> 
> ./.libs/libwebkitgtk-1.0.so: undefined reference to `WebCore::GLContext::GLContext()'
> ./.libs/libwebkitgtk-1.0.so: undefined reference to `WebCore::GLContext::sharedX11Display()'
> ./.libs/libwebkitgtk-1.0.so: undefined reference to `WebCore::GLContext::~GLContext()'
> ./.libs/libwebkitgtk-1.0.so: undefined reference to `WebCore::GLContext::makeContextCurrent()'
> 
> This link error occurred after fixing the configure problem
> http://autobuild.buildroot.net/results/bc0/bc0f9114f9dacf68a510f1e01f2dc3661c34f536/
> 
> webkit-1.x apparently is missing support for raspberry pi.

What makes you think this is RasberryPi specific? It looks more like
the OpenGL support in libwebkitgtk assumes it's OpenGL under X.org, and
not OpenGL with EGL, no?

Thomas
diff mbox

Patch

diff --git a/package/webkit/Config.in b/package/webkit/Config.in
index c86eb94..95c621d 100644
--- a/package/webkit/Config.in
+++ b/package/webkit/Config.in
@@ -6,6 +6,7 @@  config BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS
 	default y if BR2_i386 || BR2_mips || BR2_mipsel || \
 		BR2_sh || BR2_sparc || BR2_x86_64
 	depends on BR2_USE_MMU # libgail -> pango -> libglib2
+	depends on !BR2_PACKAGE_RPI_USERLAND
 
 # disabled on powerpc due to bug https://bugs.webkit.org/show_bug.cgi?id=113638