All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: "Stiffler, Jacob" <j-stiffler@ti.com>
Cc: "meta-arago@arago-project.org" <meta-arago@arago-project.org>
Subject: Re: [PATCH 2/4] qtbase: Use DISTRO_FEATURES to set appropriate qpa.
Date: Thu, 12 Mar 2015 10:13:23 -0400	[thread overview]
Message-ID: <20150312141323.GE24885@edge> (raw)
In-Reply-To: <4B26FB5A64EBA14C87266869E037F95814107DC6@DFLE09.ent.ti.com>

On Thu, Mar 12, 2015 at 09:58:38AM -0400, Stiffler, Jacob wrote:
> I'm not sure of the history, it just seemed more complete to only depend on 
> wayland if wayland is a feature.

Yeah, it makes sense logically, but unfortunately the way GFX SDK is built it 
will break w/o wayland libs, I'm afraid.


> -----Original Message-----
> From: Dmytriyenko, Denys 
> Sent: Thursday, March 12, 2015 9:56 AM
> To: Stiffler, Jacob
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH 2/4] qtbase: Use DISTRO_FEATURES to set appropriate qpa.
> 
> On Thu, Mar 12, 2015 at 08:55:55AM -0400, Jacob Stiffler wrote:
> > * If wayland is in DISTRO_FEATURES, then configure '-qpa wayland'
> > * Otherwise configure '-qpa eglfs'
> > 
> > Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> > ---
> >  meta-arago-distro/recipes-qt/qt5/qtbase/qt_env.sh  |    1 -
> >  .../recipes-qt/qt5/qtbase_5.4.1.bbappend           |    9 ++++++---
> >  2 files changed, 6 insertions(+), 4 deletions(-)
> > 
> > diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase/qt_env.sh 
> > b/meta-arago-distro/recipes-qt/qt5/qtbase/qt_env.sh
> > index 1e8c196..f888d50 100644
> > --- a/meta-arago-distro/recipes-qt/qt5/qtbase/qt_env.sh
> > +++ b/meta-arago-distro/recipes-qt/qt5/qtbase/qt_env.sh
> > @@ -2,4 +2,3 @@
> >  
> >  ### QT Environment Variables ###
> >  export QT_QPA_GENERIC_PLUGINS=Auto
> > -export QT_QPA_PLATFORM=wayland
> > diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend 
> > b/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
> > index a466581..5a00800 100644
> > --- a/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
> > +++ b/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
> > @@ -1,13 +1,16 @@
> >  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> >  
> >  GLES_EXTRA_DEPS = ""
> > -GLES_EXTRA_DEPS_omap-a15 = "libdrm wayland"
> > +GLES_EXTRA_DEPS_omap-a15 = " \
> > +    libdrm \
> > +    ${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} 
> > +\ "
> 
> I meant to comment to the previous revision about this part above ^^^ I don't think it will work (not that it will be tested) - the way OMAP5 GFX is built, it has hardcoded dependency on wayland libs, hence it's added above...
> That said, I'm not sure you can get eglfs on OMAP5 platforms working cleanly w/o any wayland libs. But aren't you only doing it for AM3/4 anyway?
> 
> 
> >  PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl ${GLES_EXTRA_DEPS}"
> >  
> > -PR_append = "-arago3"
> > +PR_append = "-arago4"
> >  
> > -QT_CONFIG_FLAGS += "-qpa wayland"
> > +QT_CONFIG_FLAGS += "-qpa ${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland', 'eglfs', d)}"
> >  
> >  SRC_URI += "file://qt_env.sh"
> >  
> > --
> > 1.7.9.5
> > 
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


  reply	other threads:[~2015-03-12 14:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-12 12:55 [PATCH 0/4] Implment the wayland DISTRO_FEATURE Jacob Stiffler
2015-03-12 12:55 ` [PATCH 1/4] packagegroup-*: Include wayland/weston if specified in DISTRO_FEATURES Jacob Stiffler
2015-03-12 12:55 ` [PATCH 2/4] qtbase: Use DISTRO_FEATURES to set appropriate qpa Jacob Stiffler
2015-03-12 13:55   ` Denys Dmytriyenko
2015-03-12 13:58     ` Stiffler, Jacob
2015-03-12 14:13       ` Denys Dmytriyenko [this message]
2015-03-12 12:55 ` [PATCH 3/4] arago.conf: Include wayland in DISTRO_FEATURES by default Jacob Stiffler
2015-03-12 13:20   ` Cooper Jr., Franklin
2015-03-12 13:24     ` Cooper Jr., Franklin
2015-03-12 14:00     ` Denys Dmytriyenko
2015-03-12 12:55 ` [PATCH 4/4] branding-processor-sdk: Add processor-sdk brand Jacob Stiffler
2015-03-12 13:56   ` Denys Dmytriyenko
2015-03-12 14:00     ` Stiffler, Jacob
2015-03-12 14:20       ` Denys Dmytriyenko
2015-03-12 14:25         ` Stiffler, Jacob
2015-03-12 14:30           ` Denys Dmytriyenko
2015-03-12 17:29             ` Stiffler, Jacob
2015-03-12 17:34               ` Denys Dmytriyenko

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=20150312141323.GE24885@edge \
    --to=denys@ti.com \
    --cc=j-stiffler@ti.com \
    --cc=meta-arago@arago-project.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.