* [Buildroot] [PATCH v4 1/5] mesa3d: pull out from x11
@ 2014-03-09 19:01 Bernd Kuhls
2014-03-10 16:21 ` Sebastien Bourdelin
2014-03-10 17:39 ` Yann E. MORIN
0 siblings, 2 replies; 10+ messages in thread
From: Bernd Kuhls @ 2014-03-09 19:01 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
v4: rebased v3
v3: Config.in: move package to "Graphic libraries" (Arnout)
v2: rebased v1
v1: rebased Spenser Gilliland?s patch:
http://patchwork.ozlabs.org/patch/278302/
package/Config.in | 1 +
package/{x11r7 => }/mesa3d/Config.in | 0
package/{x11r7 => }/mesa3d/mesa3d-uclibc-locale.patch | 0
package/{x11r7 => }/mesa3d/mesa3d.mk | 0
package/x11r7/Config.in | 1 -
5 files changed, 1 insertion(+), 1 deletion(-)
rename package/{x11r7 => }/mesa3d/Config.in (100%)
rename package/{x11r7 => }/mesa3d/mesa3d-uclibc-locale.patch (100%)
rename package/{x11r7 => }/mesa3d/mesa3d.mk (100%)
diff --git a/package/Config.in b/package/Config.in
index 70e5a7f..b0da653 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -188,6 +188,7 @@ source "package/fbv/Config.in"
source "package/imagemagick/Config.in"
source "package/linux-fusion/Config.in"
source "package/lite/Config.in"
+source "package/mesa3d/Config.in"
source "package/ocrad/Config.in"
source "package/psplash/Config.in"
source "package/sawman/Config.in"
diff --git a/package/x11r7/mesa3d/Config.in b/package/mesa3d/Config.in
similarity index 100%
rename from package/x11r7/mesa3d/Config.in
rename to package/mesa3d/Config.in
diff --git a/package/x11r7/mesa3d/mesa3d-uclibc-locale.patch b/package/mesa3d/mesa3d-uclibc-locale.patch
similarity index 100%
rename from package/x11r7/mesa3d/mesa3d-uclibc-locale.patch
rename to package/mesa3d/mesa3d-uclibc-locale.patch
diff --git a/package/x11r7/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
similarity index 100%
rename from package/x11r7/mesa3d/mesa3d.mk
rename to package/mesa3d/mesa3d.mk
diff --git a/package/x11r7/Config.in b/package/x11r7/Config.in
index 5ef118b..458d09f 100644
--- a/package/x11r7/Config.in
+++ b/package/x11r7/Config.in
@@ -15,7 +15,6 @@ if BR2_PACKAGE_XORG7
endmenu
menu "X11R7 Libraries"
source package/x11r7/libxcb/Config.in
- source package/x11r7/mesa3d/Config.in
source package/x11r7/xcb-util/Config.in
source package/x11r7/xcb-util-image/Config.in
source package/x11r7/xcb-util-keysyms/Config.in
--
1.7.10.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH v4 1/5] mesa3d: pull out from x11
2014-03-09 19:01 [Buildroot] [PATCH v4 1/5] mesa3d: pull out from x11 Bernd Kuhls
@ 2014-03-10 16:21 ` Sebastien Bourdelin
2014-03-10 17:39 ` Yann E. MORIN
1 sibling, 0 replies; 10+ messages in thread
From: Sebastien Bourdelin @ 2014-03-10 16:21 UTC (permalink / raw)
To: buildroot
On 03/09/2014 03:01 PM, Bernd Kuhls wrote:
> Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
> Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
> ---
> v4: rebased v3
> v3: Config.in: move package to "Graphic libraries" (Arnout)
> v2: rebased v1
> v1: rebased Spenser Gilliland?s patch:
> http://patchwork.ozlabs.org/patch/278302/
>
> package/Config.in | 1 +
> package/{x11r7 => }/mesa3d/Config.in | 0
> package/{x11r7 => }/mesa3d/mesa3d-uclibc-locale.patch | 0
> package/{x11r7 => }/mesa3d/mesa3d.mk | 0
> package/x11r7/Config.in | 1 -
> 5 files changed, 1 insertion(+), 1 deletion(-)
> rename package/{x11r7 => }/mesa3d/Config.in (100%)
> rename package/{x11r7 => }/mesa3d/mesa3d-uclibc-locale.patch (100%)
> rename package/{x11r7 => }/mesa3d/mesa3d.mk (100%)
Reviewed-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Regards,
Sebastien.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH v4 1/5] mesa3d: pull out from x11
2014-03-09 19:01 [Buildroot] [PATCH v4 1/5] mesa3d: pull out from x11 Bernd Kuhls
2014-03-10 16:21 ` Sebastien Bourdelin
@ 2014-03-10 17:39 ` Yann E. MORIN
2014-03-10 17:52 ` Bernd Kuhls
2014-03-10 18:20 ` Eric Le Bihan
1 sibling, 2 replies; 10+ messages in thread
From: Yann E. MORIN @ 2014-03-10 17:39 UTC (permalink / raw)
To: buildroot
Bernd, All,
On 2014-03-09 20:01 +0100, Bernd Kuhls spake thusly:
Maybe it would be nice to give in the commit log a bit more details on
why it makes sense to move it out of x11r7.
> Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
> Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
[--SNIP--]
> diff --git a/package/Config.in b/package/Config.in
> index 70e5a7f..b0da653 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -188,6 +188,7 @@ source "package/fbv/Config.in"
> source "package/imagemagick/Config.in"
> source "package/linux-fusion/Config.in"
> source "package/lite/Config.in"
> +source "package/mesa3d/Config.in"
If I understand correctly, mesa3d is an implementation of OpenGL. So,
*maybe* it would make sense to move it along the other OpenGL packages,
into package/opengl/.
But I'd like others to confirm this first.
Otherwise, looks good.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH v4 1/5] mesa3d: pull out from x11
2014-03-10 17:39 ` Yann E. MORIN
@ 2014-03-10 17:52 ` Bernd Kuhls
2014-03-10 18:05 ` Yann E. MORIN
2014-03-10 18:20 ` Eric Le Bihan
1 sibling, 1 reply; 10+ messages in thread
From: Bernd Kuhls @ 2014-03-10 17:52 UTC (permalink / raw)
To: buildroot
Hi,
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote in
news:20140310173941.GA3282 at free.fr:
> Maybe it would be nice to give in the commit log a bit more details on
> why it makes sense to move it out of x11r7.
mesa3d does not depend on x11, it can be used by wayland as well.
> If I understand correctly, mesa3d is an implementation of OpenGL. So,
> *maybe* it would make sense to move it along the other OpenGL packages,
> into package/opengl/.
In package/opengl/ are only virtual packages.
Regards, Bernd
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH v4 1/5] mesa3d: pull out from x11
2014-03-10 17:52 ` Bernd Kuhls
@ 2014-03-10 18:05 ` Yann E. MORIN
0 siblings, 0 replies; 10+ messages in thread
From: Yann E. MORIN @ 2014-03-10 18:05 UTC (permalink / raw)
To: buildroot
Bernd, All,
On 2014-03-10 18:52 +0100, Bernd Kuhls spake thusly:
> Hi,
>
> "Yann E. MORIN" <yann.morin.1998@free.fr> wrote in
> news:20140310173941.GA3282 at free.fr:
>
> > Maybe it would be nice to give in the commit log a bit more details on
> > why it makes sense to move it out of x11r7.
>
> mesa3d does not depend on x11, it can be used by wayland as well.
Just add this in the commit log. ;-)
> > If I understand correctly, mesa3d is an implementation of OpenGL. So,
> > *maybe* it would make sense to move it along the other OpenGL packages,
> > into package/opengl/.
>
> In package/opengl/ are only virtual packages.
Right. Mesa3D is more on the provider-side, indeed. So no need to put it
in package/opengl. OK. ;-)
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH v4 1/5] mesa3d: pull out from x11
2014-03-10 17:39 ` Yann E. MORIN
2014-03-10 17:52 ` Bernd Kuhls
@ 2014-03-10 18:20 ` Eric Le Bihan
2014-03-10 18:41 ` Yann E. MORIN
2014-03-10 18:58 ` Bernd Kuhls
1 sibling, 2 replies; 10+ messages in thread
From: Eric Le Bihan @ 2014-03-10 18:20 UTC (permalink / raw)
To: buildroot
Yann E., All
On Mon, Mar 10, 2014 at 06:39:41PM +0100, Yann E. MORIN wrote:
> > diff --git a/package/Config.in b/package/Config.in
> > index 70e5a7f..b0da653 100644
> > --- a/package/Config.in
> > +++ b/package/Config.in
> > @@ -188,6 +188,7 @@ source "package/fbv/Config.in"
> > source "package/imagemagick/Config.in"
> > source "package/linux-fusion/Config.in"
> > source "package/lite/Config.in"
> > +source "package/mesa3d/Config.in"
>
> If I understand correctly, mesa3d is an implementation of OpenGL. So,
> *maybe* it would make sense to move it along the other OpenGL packages,
> into package/opengl/.
Some quick thoughts:
1. As Mesa3D is an implementation of OpenGL, it will be a provider for the
virtual packages libegl, libgles and libopenvg.
2. Mesa3D also provides libgl, but:
- no package in Buildroot requires full OpenGL.
- Buildroot is unlikely to include packages for AMD/NVidia/Intel drivers
(providers for libgl).
So there is no need for a libgl virtual package.
3. IMHO package/opengl should only contain the definitions of the virtual
packages, not the providers (otherwise sunxi-mali should be moved to
package/opengl too!).
Best regards,
ELB
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH v4 1/5] mesa3d: pull out from x11
2014-03-10 18:20 ` Eric Le Bihan
@ 2014-03-10 18:41 ` Yann E. MORIN
2014-03-12 6:24 ` Arnout Vandecappelle
2014-03-10 18:58 ` Bernd Kuhls
1 sibling, 1 reply; 10+ messages in thread
From: Yann E. MORIN @ 2014-03-10 18:41 UTC (permalink / raw)
To: buildroot
Eric, All,
On 2014-03-10 19:20 +0100, Eric Le Bihan spake thusly:
> Yann E., All
> On Mon, Mar 10, 2014 at 06:39:41PM +0100, Yann E. MORIN wrote:
>
> > > diff --git a/package/Config.in b/package/Config.in
> > > index 70e5a7f..b0da653 100644
> > > --- a/package/Config.in
> > > +++ b/package/Config.in
> > > @@ -188,6 +188,7 @@ source "package/fbv/Config.in"
> > > source "package/imagemagick/Config.in"
> > > source "package/linux-fusion/Config.in"
> > > source "package/lite/Config.in"
> > > +source "package/mesa3d/Config.in"
> >
> > If I understand correctly, mesa3d is an implementation of OpenGL. So,
> > *maybe* it would make sense to move it along the other OpenGL packages,
> > into package/opengl/.
> Some quick thoughts:
>
> 1. As Mesa3D is an implementation of OpenGL, it will be a provider for the
> virtual packages libegl, libgles and libopenvg.
I've looked on my distro, and mesa3d does not provide any file named
libegl*.so or ligles*.so or libopenvg*.so. So I don't think it should
be, *as is*, a provider for libegl, libgles or libopenvg.
> 2. Mesa3D also provides libgl, but:
libgl or libglx ?
On my distro (Ubuntu 13.10), there's no libgl.so, only libglx.so which
is provided by a bumch of different packages, of which the nvidia blobs.
All I have that looks to be from mesa3d if libglapi.so.
> - no package in Buildroot requires full OpenGL.
> - Buildroot is unlikely to include packages for AMD/NVidia/Intel drivers
> (providers for libgl).
Unlikely, but what about a powerfull, game-console-class device using a
NVidia (or Intel, AMD) GPU?
> So there is no need for a libgl virtual package.
Indeed, so no need to provide a virtul package for that as long as we do
not have a real user. It will always be time to add it later. And it's
not like it would be rocket-science to do it! :-)
> 3. IMHO package/opengl should only contain the definitions of the virtual
> packages, not the providers (otherwise sunxi-mali should be moved to
> package/opengl too!).
Yes, I already replied to Bernd in this direction: mesa3d treads on the
provider side. So like other GL providers, it does not really belong to
package/opengl.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH v4 1/5] mesa3d: pull out from x11
2014-03-10 18:20 ` Eric Le Bihan
2014-03-10 18:41 ` Yann E. MORIN
@ 2014-03-10 18:58 ` Bernd Kuhls
1 sibling, 0 replies; 10+ messages in thread
From: Bernd Kuhls @ 2014-03-10 18:58 UTC (permalink / raw)
To: buildroot
Eric Le Bihan <eric.le.bihan.dev@free.fr> wrote in
news:20140310182030.GB18832 at pc-eric:
> 2. Mesa3D also provides libgl, but:
>
> - no package in Buildroot requires full OpenGL.
Hi,
xbmc depends on libGL.so ;)
Regards, Bernd
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH v4 1/5] mesa3d: pull out from x11
2014-03-10 18:41 ` Yann E. MORIN
@ 2014-03-12 6:24 ` Arnout Vandecappelle
2014-03-12 17:31 ` Yann E. MORIN
0 siblings, 1 reply; 10+ messages in thread
From: Arnout Vandecappelle @ 2014-03-12 6:24 UTC (permalink / raw)
To: buildroot
On 03/10/14 19:41, Yann E. MORIN wrote:
>> > 1. As Mesa3D is an implementation of OpenGL, it will be a provider for the
>> > virtual packages libegl, libgles and libopenvg.
> I've looked on my distro, and mesa3d does not provide any file named
> libegl*.so or ligles*.so or libopenvg*.so. So I don't think it should
> be, *as is*, a provider for libegl, libgles or libopenvg.
Have you looked at libegl1-mesa, libgles2-mesa, libopenvg1-mesa?
>
>> > 2. Mesa3D also provides libgl, but:
> libgl or libglx ?
>
> On my distro (Ubuntu 13.10), there's no libgl.so, only libglx.so which
> is provided by a bumch of different packages, of which the nvidia blobs.
That one is in libgl1-mesa-glx.
All that stuff is only installed if you need it - which you usually
don't because glx is enough for desktop use.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH v4 1/5] mesa3d: pull out from x11
2014-03-12 6:24 ` Arnout Vandecappelle
@ 2014-03-12 17:31 ` Yann E. MORIN
0 siblings, 0 replies; 10+ messages in thread
From: Yann E. MORIN @ 2014-03-12 17:31 UTC (permalink / raw)
To: buildroot
On 2014-03-12 07:24 +0100, Arnout Vandecappelle spake thusly:
> On 03/10/14 19:41, Yann E. MORIN wrote:
> >> > 1. As Mesa3D is an implementation of OpenGL, it will be a provider for the
> >> > virtual packages libegl, libgles and libopenvg.
> > I've looked on my distro, and mesa3d does not provide any file named
> > libegl*.so or ligles*.so or libopenvg*.so. So I don't think it should
> > be, *as is*, a provider for libegl, libgles or libopenvg.
>
> Have you looked at libegl1-mesa, libgles2-mesa, libopenvg1-mesa?
Indeed, I was looking for libegl, not libEGL. And apt-file is not smart
enough to do a case-insensitive search by default, so now:
$ apt-file search -i libegl |grep -E '\.so'
[...]
libegl1-mesa: /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1.0.0
[...]
$ apt-file search -i libgles |grep -E '\.so'
[...]
libgles1-mesa: /usr/lib/x86_64-linux-gnu/mesa-egl/libGLESv1_CM.so.1.1.0
[...]
libgles2-mesa: /usr/lib/x86_64-linux-gnu/mesa-egl/libGLESv2.so.2.0.0
[...]
$ apt-file search -i libopenvg |grep -E '\.so'
[...]
libopenvg1-mesa: /usr/lib/x86_64-linux-gnu/mesa-egl/libOpenVG.so.1.0.0
[...]
OK, good. So mesa3d can be added as a provider for libegl, libgles and
libopenvg, indeed. It can be done in a separate patch, later.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2014-03-12 17:31 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-09 19:01 [Buildroot] [PATCH v4 1/5] mesa3d: pull out from x11 Bernd Kuhls
2014-03-10 16:21 ` Sebastien Bourdelin
2014-03-10 17:39 ` Yann E. MORIN
2014-03-10 17:52 ` Bernd Kuhls
2014-03-10 18:05 ` Yann E. MORIN
2014-03-10 18:20 ` Eric Le Bihan
2014-03-10 18:41 ` Yann E. MORIN
2014-03-12 6:24 ` Arnout Vandecappelle
2014-03-12 17:31 ` Yann E. MORIN
2014-03-10 18:58 ` Bernd Kuhls
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox