From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@openembedded.org
Subject: Re: [PATCH] Fix qt4-embedded compilation
Date: Thu, 23 Jul 2009 18:45:24 +0200 [thread overview]
Message-ID: <h4a435$9sd$1@ger.gmane.org> (raw)
In-Reply-To: <200907231733.14601.holger+oe@freyther.de>
On 23-07-09 17:33, Holger Hans Peter Freyther wrote:
> Hey,
>
> I need the below patch to be able to compile qt4-embedded without trying to
> download a PowerVR sdk for the OMAP when building on x86...
Can't you just bbmask it out?
>
> I think the gles/OpenVG backend can be added back whenever the normal build is
> not broken, or maybe someone finds the time to find out why it broke.
>
> holger
>
>
> From 36d8a5f1daf3aab9ad1b4faa672d796dadfe906d Mon Sep 17 00:00:00 2001
> From: Holger Hans Peter Freyther<zecke@selfish.org>
> Date: Thu, 23 Jul 2009 17:27:33 +0200
> Subject: [PATCH] qt4-embedded: Fix compilation of qt4-embedded
>
> The addition of the qt4-embedded-gles recipe broke the normal
> plain qt4-embedded build. A plain bitbake qt4-embedded will attempt
> to build both due some magic I don't yet understand.
> ---
> recipes/qt4/qt4-embedded-gles-4.5.2/sgx-hack.patch | 18 --------------
> recipes/qt4/qt4-embedded-gles_4.5.2.bb | 25
> --------------------
> 2 files changed, 0 insertions(+), 43 deletions(-)
> delete mode 100644 recipes/qt4/qt4-embedded-gles-4.5.2/sgx-hack.patch
> delete mode 100644 recipes/qt4/qt4-embedded-gles_4.5.2.bb
>
> diff --git a/recipes/qt4/qt4-embedded-gles-4.5.2/sgx-hack.patch
> b/recipes/qt4/qt4-embedded-gles-4.5.2/sgx-hack.patch
> deleted file mode 100644
> index c3bf39f..0000000
> --- a/recipes/qt4/qt4-embedded-gles-4.5.2/sgx-hack.patch
> +++ /dev/null
> @@ -1,18 +0,0 @@
> ---- /tmp/qglscreen_qws.h 2009-07-09 09:39:40.000000000 +0200
> -+++ qt-embedded-linux-opensource-src-4.5.2/src/opengl/qglscreen_qws.h
> 2009-07-09 09:40:11.000000000 +0200
> -@@ -60,7 +60,6 @@
> - #else
> - #include<GLES/egl.h>
> - #endif
> --#if !defined(EGL_VERSION_1_3)&& !defined(QEGL_NATIVE_TYPES_DEFINED)
> - #undef EGLNativeWindowType
> - #undef EGLNativePixmapType
> - #undef EGLNativeDisplayType
> -@@ -68,7 +67,6 @@
> - typedef NativePixmapType EGLNativePixmapType;
> - typedef NativeDisplayType EGLNativeDisplayType;
> - #define QEGL_NATIVE_TYPES_DEFINED 1
> --#endif
> -
> - QT_BEGIN_HEADER
> -
> diff --git a/recipes/qt4/qt4-embedded-gles_4.5.2.bb b/recipes/qt4/qt4-embedded-
> gles_4.5.2.bb
> deleted file mode 100644
> index 31bfe0f..0000000
> --- a/recipes/qt4/qt4-embedded-gles_4.5.2.bb
> +++ /dev/null
> @@ -1,25 +0,0 @@
> -# recipe to build GLES gfxdriver
> -
> -FILESPATHPKG =. "qt4-embedded-${PV}:qt4-embedded:"
> -
> -QT_CONFIG_FLAGS += "-D QT_QWS_CLIENTBLIT -depths 16,24,32 -opengl es1 -
> plugin-gfx-powervr"
> -
> -require qt4-embedded_${PV}.bb
> -
> -DEPENDS += "virtual/egl"
> -SRC_URI += "file://sgx-hack.patch;patch=1"
> -
> -export EXTRA_QMAKE_MUNGE = " glmunge "
> -
> -glmunge() {
> - sed -e /QMAKE_INCDIR_OPENGL/d -e /QMAKE_LIBDIR_OPENGL/d -e
> /QMAKE_LIBS_OPENGL/d -e /QMAKE_LIBS_OPENGL_QT/d -i
> mkspecs/${OE_QMAKE_PLATFORM}/qmake.conf
> -
> - echo "QMAKE_INCDIR_OPENGL = ${STAGING_INCDIR}/GLES/">>
> mkspecs/${OE_QMAKE_PLATFORM}/qmake.conf
> - echo "QMAKE_LIBDIR_OPENGL = ${STAGING_LIBDIR}">>
> mkspecs/${OE_QMAKE_PLATFORM}/qmake.conf
> - echo "QMAKE_LIBS_OPENGL = -lEGL -lGLES_CM -lIMGegl -lsrv_um">>
> mkspecs/${OE_QMAKE_PLATFORM}/qmake.conf
> - echo "QMAKE_LIBS_OPENGL_QT = -lEGL -lGLES_CM -lIMGegl -lsrv_um">>
> mkspecs/${OE_QMAKE_PLATFORM}/qmake.conf
> - sed -i -e s:MBX_SYNC:HW_SYNC:g
> ${S}/src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwswsegl.c
> -}
> -
> -
> -
next prev parent reply other threads:[~2009-07-23 16:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-23 15:33 [PATCH] Fix qt4-embedded compilation Holger Hans Peter Freyther
2009-07-23 16:45 ` Koen Kooi [this message]
2009-07-24 3:17 ` Holger Hans Peter Freyther
2009-07-24 6:19 ` Koen Kooi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='h4a435$9sd$1@ger.gmane.org' \
--to=k.kooi@student.utwente.nl \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.