All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: "Cooper Jr., Franklin" <fcooper@ti.com>
Cc: "meta-arago@arago-project.org" <meta-arago@arago-project.org>
Subject: Re: [PATCH 2/4] qtbase: add additional dependencies for GLES check on omap-a15 platforms
Date: Wed, 6 Aug 2014 19:54:44 -0400	[thread overview]
Message-ID: <20140806235441.GU23523@edge> (raw)
In-Reply-To: <8F29D6B095ED194EA1980491A5E029710C6F5F23@DFLE08.ent.ti.com>

On Wed, Aug 06, 2014 at 07:45:18PM -0400, Cooper Jr., Franklin wrote:
> Ahh I think I get it now. I was getting confused since I didn't have this 
> issue with AM335x. But it seems like this is a dependency on the Graphics 
> package since libIMGegl needs drm and wayland.
> Although the omap15 graphics SDK is weird since it's a prebuilt but wouldn't 
> it be better to add that dependency on the Graphics package? We can avoid 
> situations like this for any package that needs egl/gles2.

I thought about that at first, but it's rather weird, as graphics SDK doesn't 
have build dependency on those packages, mostly because it's already 
pre-built...

I was going to experiment with it a bit to see if it would be possible to use 
this graphics SDK w/o wayland libs, hence I just wanted to unblock qtbase for 
now, as it's configure test fails.


> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Wednesday, August 06, 2014 6:34 PM
> > To: Cooper Jr., Franklin
> > Cc: Denys Dmytriyenko; meta-arago@arago-project.org
> > Subject: Re: [meta-arago] [PATCH 2/4] qtbase: add additional dependencies
> > for GLES check on omap-a15 platforms
> > 
> > On Wed, Aug 06, 2014 at 11:30:12PM +0000, Cooper Jr., Franklin wrote:
> > > If the graphics SDK provides libdrm and libwayland libraries
> > 
> > Huh? Those libs are not provided by the graphics SDK.
> > 
> > 
> > > why isn't the
> > > dependency on virtual/libgles2 and virtual/egl enough? I see that
> > > omap5-sgx-ddk-um-linux already provides libgles2 and egl.
> > 
> > Because omap5-sgx-ddk-um-linux does not have libdrm and libwayland.
> > Those are provided by the corresponding packages I'm adding into the
> > dependency.
> > 
> > 
> > > > -----Original Message-----
> > > > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > > > bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> > > > Sent: Wednesday, August 06, 2014 5:54 PM
> > > > To: meta-arago@arago-project.org
> > > > Subject: [meta-arago] [PATCH 2/4] qtbase: add additional dependencies
> > for
> > > > GLES check on omap-a15 platforms
> > > >
> > > > From: Denys Dmytriyenko <denys@ti.com>
> > > >
> > > > GLES libraries for omap-a15 platforms come in binary form and are pre-
> > built
> > > > against libdrm and libwayland libraries. When qtbase tries to do a check
> > for
> > > > GLES support, it fails to link the test app, when libdrm and libwayland are
> > not
> > > > yet available in sysroots:
> > > >
> > > > | OpenGL ES 2.x auto-detection... ()
> > > > | ...-g++ ... -o opengles2.o
> > > > | .../qtbase-opensource-src-
> > 5.2.1/config.tests/unix/opengles2/opengles2.
> > > > | cpp ...-g++ ... -o opengles2 opengles2.o -lsrv_um -lGLESv2
> > > > | .../bin/ld: warning: libdrm.so.2, needed by .../usr/lib/libsrv_um.so,
> > > > | not found (try using -rpath or -rpath-link)
> > > > | .../bin/ld: warning: libwayland-server.so.0, needed by
> > > > | .../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-link)
> > > > | .../bin/ld: warning: libdrm_omap.so.1, needed by
> > > > | .../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-link) ...
> > > > | collect2: error: ld returned 1 exit status
> > > > | Makefile:103: recipe for target 'opengles2' failed
> > > > | make: *** [opengles2] Error 1
> > > > | OpenGL ES 2.x disabled.
> > > > | The OpenGL ES 2.0 functionality test failed!
> > > >
> > > > Add libdrm and wayland as extra dependencies for qtbase when building
> > on
> > > > omap-a15 with gles flag enabled.
> > > >
> > > > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > > > ---
> > > >  meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend | 6 ++++++
> > > >  1 file changed, 6 insertions(+)
> > > >  create mode 100644 meta-arago-distro/recipes-
> > > > qt/qt5/qtbase_5.2.1.bbappend
> > > >
> > > > diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> > b/meta-
> > > > arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> > > > new file mode 100644
> > > > index 0000000..c879313
> > > > --- /dev/null
> > > > +++ b/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> > > > @@ -0,0 +1,6 @@
> > > > +GLES_EXTRA_DEPS = ""
> > > > +GLES_EXTRA_DEPS_omap-a15 = "libdrm wayland"
> > > > +
> > > > +PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl
> > > > ${GLES_EXTRA_DEPS}"
> > > > +
> > > > +PR_append = "-arago0"
> > > > --
> > > > 2.0.4
> > > >
> > > > _______________________________________________
> > > > meta-arago mailing list
> > > > meta-arago@arago-project.org
> > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


  reply	other threads:[~2014-08-06 23:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-06 22:53 [PATCH 1/4] packagegroups: conditionally disable dual-camera and image-gallery for Qt5 builds Denys Dmytriyenko
2014-08-06 22:53 ` [PATCH 2/4] qtbase: add additional dependencies for GLES check on omap-a15 platforms Denys Dmytriyenko
2014-08-06 23:30   ` Cooper Jr., Franklin
2014-08-06 23:34     ` Denys Dmytriyenko
2014-08-06 23:45       ` Cooper Jr., Franklin
2014-08-06 23:54         ` Denys Dmytriyenko [this message]
2014-08-07  0:00           ` Cooper Jr., Franklin
2014-08-07 12:50   ` Maupin, Chase
2014-08-06 22:53 ` [PATCH 3/4] wayland: remove overlayed recipes, use bbappend for weston instead Denys Dmytriyenko
2014-08-06 23:25   ` Denys Dmytriyenko
2014-08-06 22:53 ` [PATCH 4/4] arago.conf: cleanup and document additional package configuration Denys Dmytriyenko
2014-08-06 23:26   ` Cooper Jr., Franklin
2014-08-07 12:51   ` Maupin, Chase
2014-08-06 23:30 ` [PATCH 1/4] packagegroups: conditionally disable dual-camera and image-gallery for Qt5 builds Cooper Jr., Franklin
2014-08-07 12:48 ` Maupin, Chase

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=20140806235441.GU23523@edge \
    --to=denys@ti.com \
    --cc=fcooper@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.