[meta-freescale] building WebkitGtk 2.4.4 against EGL on Wandboard quad, kernel 3.10.17, Yocto1.6?

Seifert, Thomas (T.) tbruenck at visteon.com
Mon Jul 28 02:04:32 PDT 2014


Hello Community

I’m trying to build WebkitGtk 2.4.4 against EGL and GLES2. During the do_configure phase of the build I got:

checking for EGL/egl.h… no
checking whether to enable EGL support… configure: error: --enable-egl specified, but not available

The configure script does see GLES2. But not EGL.

EGL is in my target rootfs. I can build and run a standalone  OpenGLES / EGL app.

My Question:  How to point to the right rootfs in the bb file that webkitgtk does see EGL?

My *.bb file
SUMMARY = "WebKit web rendering engine for the GTK+ platform"
HOMEPAGE = "http://www.webkitgtk.org/"
BUGTRACKER = "http://bugs.webkit.org/"
LICENSE = "BSD & LGPLv2+"
PR = "r1"
# Choice of language backends - icu has issues on Big Endian machines so use pango
ICU_LIB = "icu"
ICU_LIB_powerpc = "pango"
DEPENDS = "virtual/libgles2 virtual/egl zlib enchant libsoup-2.4 curl libxml2 cairo libxslt libxt libidn gnutls \
           gtk+ gstreamer gst-plugins-base flex-native gperf-native perl-native-runtime sqlite3 ${ICU_LIB} libwebp"
SRC_URI = "\
  http://www.webkitgtk.org/releases/webkitgtk-${PV}.tar.xz<http://www.webkitgtk.org/releases/webkitgtk-$%7bPV%7d.tar.xz> \
 "
SRC_URI[md5sum] = "79edd28d32172abc17a8861622cc274f"
SRC_URI[sha256sum] = "58cbfc7e352ae1e1f5e383f9f766795794d88483e9a52377a295f56eedf53ab9"
# webkit-gtk can NOT be built on MIPS64 with n32 ABI
COMPATIBLE_HOST_mips64 = "mips64.*-linux$"
inherit autotools lib_package gtk-doc pkgconfig
S = "${WORKDIR}/webkitgtk-${PV}/"
#EXTRA_OEMAKE += "--disable-glx --enable-egl --enable-gles2"
EXTRA_OECONF = "\
                --enable-debug=no \
                --enable-svg \
                --enable-icon-database=yes \
                --enable-fullscreen-api \
                --enable-image-resizer \
                --enable-link-prefetch \
                --with-gtk=2.0 \
                --disable-geolocation \
        --enable-webgl \
        --enable-accelerated-compositing \
        --disable-glx \
        --enable-egl \
        --enable-gles2 \
                UNICODE_CFLAGS=-D_REENTRANT \
               "
#default unicode backend icu breaks in cross-compile when target and host are different endian type
EXTRA_OECONF_append_powerpc = " --with-unicode-backend=glib"
CPPFLAGS_append_powerpc = " -I${STAGING_INCDIR}/pango-1.0 \
                            -I${STAGING_LIBDIR}/glib-2.0/include \
                            -I${STAGING_INCDIR}/glib-2.0"
# ld can run out of memory linking libwebkitgtk!
#
LDFLAGS += "-Wl,--no-keep-memory"
EXTRA_AUTORECONF = " -I Source/autotools "

ARM_INSTRUCTION_SET = "arm"


Best regards
Thomas Seifert
Visteon.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140728/9229b6f6/attachment.html>


More information about the meta-freescale mailing list