Patchwork [meta-kde,RFC] qt4-x11-free_4.8.0.bbappend: Fix Plasma Active by adding undocumented configure flag (--reduce-exports)

login
register
mail settings
Submitter Samuel Stirtzel
Date May 29, 2012, 3:08 p.m.
Message ID <1338304125-5922-1-git-send-email-s.stirtzel@googlemail.com>
Download mbox | patch
Permalink /patch/28891/
State Superseded
Headers show

Comments

Samuel Stirtzel - May 29, 2012, 3:08 p.m.
No more "Declarative scriptengine not found" errors

Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
---
 recipes-misc-support/qt4-x11-free_4.8.0.bbappend |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
Samuel Stirtzel - May 29, 2012, 3:18 p.m.
2012/5/29 Samuel Stirtzel <s.stirtzel@googlemail.com>:
> No more "Declarative scriptengine not found" errors
>
> Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
> ---
>  recipes-misc-support/qt4-x11-free_4.8.0.bbappend |    5 ++++-
>  1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/recipes-misc-support/qt4-x11-free_4.8.0.bbappend b/recipes-misc-support/qt4-x11-free_4.8.0.bbappend
> index 4895893..beeb49f 100644
> --- a/recipes-misc-support/qt4-x11-free_4.8.0.bbappend
> +++ b/recipes-misc-support/qt4-x11-free_4.8.0.bbappend
> @@ -1,3 +1,6 @@
> +QT_CONFIG_FLAGS_append = " --reduce-exports"
> +
> +# Build OpenGL/ES support if available
>  QT_GLFLAGS_omap3 = "-opengl es2 "
>  DEPENDS_append_omap3 = " libgles-omap3"
>  DEPENDS_append_ti33x = " libgles-omap3"
> @@ -5,4 +8,4 @@ DEPENDS_append_ti33x = " libgles-omap3"
>  # Needed by kdelibs
>  QT_DISTRO_FLAGS = "-accessibility -sm"
>
> -PRINC := "${@int(PRINC) + 2}"
> +PRINC := "${@int(PRINC) + 3}"
> --
> 1.7.5.4
>

Hi,
just to let you know, Qt export visibility caused Plasma Active to fail.
This "undocumented" flag will enable KDE plugins to work again.

With this patch Plasma Active is working (to some extend).
It still has some flaws but I'm about to iron them out.

However this patch might impact other applications and I'm still
looking through my buildhistory diffs to see if anything behaves odd.
Until now I did not meet any misbehavior of other Qt applications, but
I'll double check to be sure.


After testing this will go to master with more descriptions / documentation.

Patch

diff --git a/recipes-misc-support/qt4-x11-free_4.8.0.bbappend b/recipes-misc-support/qt4-x11-free_4.8.0.bbappend
index 4895893..beeb49f 100644
--- a/recipes-misc-support/qt4-x11-free_4.8.0.bbappend
+++ b/recipes-misc-support/qt4-x11-free_4.8.0.bbappend
@@ -1,3 +1,6 @@ 
+QT_CONFIG_FLAGS_append = " --reduce-exports"
+
+# Build OpenGL/ES support if available
 QT_GLFLAGS_omap3 = "-opengl es2 "
 DEPENDS_append_omap3 = " libgles-omap3"
 DEPENDS_append_ti33x = " libgles-omap3"
@@ -5,4 +8,4 @@  DEPENDS_append_ti33x = " libgles-omap3"
 # Needed by kdelibs
 QT_DISTRO_FLAGS = "-accessibility -sm"
 
-PRINC := "${@int(PRINC) + 2}"
+PRINC := "${@int(PRINC) + 3}"