Re: [OE-core] [PATCH 3/6] libepoxy: DEPENDS on virtual/mesa

2015-04-15 Thread Andreas Müller
On Wed, Apr 15, 2015 at 9:08 PM, Burton, Ross wrote: > > On 15 April 2015 at 18:27, Andreas Müller > wrote: >> >> Patch [1]: util-macros no more required in DEPENDS > > > What's the point of this? util-macros adds functionality and doesn't depend > on X in any way, it's just some m4 macros. redu

Re: [OE-core] [PATCH 3/6] libepoxy: DEPENDS on virtual/mesa

2015-04-15 Thread Burton, Ross
On 15 April 2015 at 18:27, Andreas Müller wrote: > Patch [1]: util-macros no more required in DEPENDS > What's the point of this? util-macros adds functionality and doesn't depend on X in any way, it's just some m4 macros. > Patch [2]: allow build for x-less environments > I'm glad this demo

Re: [OE-core] [PATCH 3/6] libepoxy: DEPENDS on virtual/mesa

2015-04-15 Thread Andreas Müller
On Wed, Apr 15, 2015 at 11:37 AM, Burton, Ross wrote: > > On 15 April 2015 at 10:30, Robert Yang wrote: >> >> +DEPENDS = "util-macros virtual/egl virtual/libx11" > > > This means we can't build GTK+ without X11 (eg core-image-weston with x11 > removed from DISTRO_FEATURES), as gtk+3 will depend o

Re: [OE-core] [PATCH 3/6] libepoxy: DEPENDS on virtual/mesa

2015-04-15 Thread Burton, Ross
On 15 April 2015 at 11:21, Robert Yang wrote: > AFAIK, libx11 is a must for libepoxy when building on linux host. > Which is a problem, so we should fix it. The code appears to be modular enough, we just need to add an option to configure.ac so that GLX can be disabled on Linux hosts. Ross --

Re: [OE-core] [PATCH 3/6] libepoxy: DEPENDS on virtual/mesa

2015-04-15 Thread Robert Yang
On 04/15/2015 05:37 PM, Burton, Ross wrote: On 15 April 2015 at 10:30, Robert Yang mailto:liezhi.y...@windriver.com>> wrote: +DEPENDS = "util-macros virtual/egl virtual/libx11" This means we can't build GTK+ without X11 (eg core-image-weston with x11 removed from DISTRO_FEATURES), as gt

Re: [OE-core] [PATCH 3/6] libepoxy: DEPENDS on virtual/mesa

2015-04-15 Thread Burton, Ross
On 15 April 2015 at 10:30, Robert Yang wrote: > +DEPENDS = "util-macros virtual/egl virtual/libx11" > This means we can't build GTK+ without X11 (eg core-image-weston with x11 removed from DISTRO_FEATURES), as gtk+3 will depend on libepoxy which will depend on libx11 which will refuse to build a

Re: [OE-core] [PATCH 3/6] libepoxy: DEPENDS on virtual/mesa

2015-04-15 Thread Robert Yang
On 04/15/2015 04:32 PM, Burton, Ross wrote: On 15 April 2015 at 02:44, Robert Yang mailto:liezhi.y...@windriver.com>> wrote: virtual/mesa or virtual/egl depends on virtual/libx11, so I didn't add virtual/libx11, I updated virtual/mesa -> virtual/egl in the repo. That's not strictly

Re: [OE-core] [PATCH 3/6] libepoxy: DEPENDS on virtual/mesa

2015-04-15 Thread Burton, Ross
On 15 April 2015 at 09:28, Jussi Kukkonen wrote: > As a learning exercise, what would have been the correct (and least > destructive) way for me to test that I hadn't forgotten a dependency > like this? I assume the problem is that I already had the correct > headers and pkg-config files in the s

Re: [OE-core] [PATCH 3/6] libepoxy: DEPENDS on virtual/mesa

2015-04-15 Thread Burton, Ross
On 15 April 2015 at 02:44, Robert Yang wrote: > virtual/mesa or virtual/egl depends on virtual/libx11, so I didn't add > virtual/libx11, I updated virtual/mesa -> virtual/egl in the repo. > That's not strictly true. Mesa depends on libx11 if it's enabled, but EGL doesn't. This should be an exp

Re: [OE-core] [PATCH 3/6] libepoxy: DEPENDS on virtual/mesa

2015-04-15 Thread Jussi Kukkonen
On 15 April 2015 at 04:44, Robert Yang wrote: > On 04/14/2015 09:52 PM, Burton, Ross wrote: >> On 14 April 2015 at 14:50, Andreas Müller > > wrote: >> >> from the error I would DEPEND on virtual/egl >> >> Agreed. And there's no dependency on virtual/libx11

Re: [OE-core] [PATCH 3/6] libepoxy: DEPENDS on virtual/mesa

2015-04-14 Thread Robert Yang
On 04/14/2015 09:52 PM, Burton, Ross wrote: On 14 April 2015 at 14:50, Andreas Müller mailto:schnitzelt...@googlemail.com>> wrote: from the error I would DEPEND on virtual/egl Agreed. And there's no dependency on virtual/libx11 which the readme you quote virtual/mesa or virtual/egl d

Re: [OE-core] [PATCH 3/6] libepoxy: DEPENDS on virtual/mesa

2015-04-14 Thread Andreas Müller
On Tue, Apr 14, 2015 at 4:06 PM, Burton, Ross wrote: > > On 14 April 2015 at 15:03, Andreas Müller > wrote: >> >> 2. In meta-qt5-extra I have libepoxy in for a while - kwin needs it >> [1]. Problem with Xorg-Macros: These are build for x11 in distro >> features only but there are BSPs around (e.g

Re: [OE-core] [PATCH 3/6] libepoxy: DEPENDS on virtual/mesa

2015-04-14 Thread Burton, Ross
On 14 April 2015 at 15:03, Andreas Müller wrote: > 2. In meta-qt5-extra I have libepoxy in for a while - kwin needs it > [1]. Problem with Xorg-Macros: These are build for x11 in distro > features only but there are BSPs around (e.g meta-fsl-arm) supporting > either x11 or wayland - not both toge

Re: [OE-core] [PATCH 3/6] libepoxy: DEPENDS on virtual/mesa

2015-04-14 Thread Andreas Müller
On Tue, Apr 14, 2015 at 3:52 PM, Burton, Ross wrote: > > On 14 April 2015 at 14:50, Andreas Müller > wrote: >> >> from the error I would DEPEND on virtual/egl > > > Agreed. And there's no dependency on virtual/libx11 which the readme you > quote suggests there should be. Presumably that depende

Re: [OE-core] [PATCH 3/6] libepoxy: DEPENDS on virtual/mesa

2015-04-14 Thread Andreas Müller
On Tue, Apr 14, 2015 at 11:09 AM, Robert Yang wrote: > Fixed do_configure error: > configure: error: libX11 headers (libx11-dev) required to build with GLX > support > and do_compile error: > ../include/epoxy/egl_generated.h:10:29: fatal error: EGL/eglplatform.h: No > such file or directory > #

Re: [OE-core] [PATCH 3/6] libepoxy: DEPENDS on virtual/mesa

2015-04-14 Thread Burton, Ross
On 14 April 2015 at 14:50, Andreas Müller wrote: > from the error I would DEPEND on virtual/egl > Agreed. And there's no dependency on virtual/libx11 which the readme you quote suggests there should be. Presumably that dependency - if it's actually required - can be made conditional on the x11

[OE-core] [PATCH 3/6] libepoxy: DEPENDS on virtual/mesa

2015-04-14 Thread Robert Yang
Fixed do_configure error: configure: error: libX11 headers (libx11-dev) required to build with GLX support and do_compile error: ../include/epoxy/egl_generated.h:10:29: fatal error: EGL/eglplatform.h: No such file or directory #include "EGL/eglplatform.h" The dependencies form its README.md: * a