* [Buildroot] mesa gles2 under buildroot
@ 2012-01-17 8:53 Ozgun
2012-01-21 2:32 ` [Buildroot] [PATCH 0/3] Fix Mesa3D with OpenGL-ES support Arnout Vandecappelle
2012-01-23 13:13 ` [Buildroot] mesa gles2 under buildroot Ozgun
0 siblings, 2 replies; 8+ messages in thread
From: Ozgun @ 2012-01-17 8:53 UTC (permalink / raw)
To: buildroot
The configuration options --enable-gles1, --enable-gles2 are valid above
mesa 7.10.1.
So I incresed the mesa version form mesa.mk.
But now mesa gives import libxml2 error on python.
I chose the python and libxml2 packages as well. But the default libxml2
package package configuation has a --without-python option. So that it
doesn't compile libxml2 python packages.
Then I switched them to --with-python on libxml2.mk file.
But still libxml2 python libraries are absent.
How can I add libxml2 python libraries?
Eventually ;
I need a QT with 3D library.
QT needs QtOpenGl.
QtOpenGl needs opengl es2
opengl es comes with mesa3d 7.10.1.
mesa3d 7.10.1 needs xorg
mesa3d 7.10.1 needs libxml2 python.
libxml2 python --->
.....
...
..
.
Date: Thu, 12 Jan 2012 10:36:35 +0200
> From: Ozgun <ozgun.gunay@gmail.com>
> To: undisclosed-recipients:;
> Subject: [Buildroot] mesa gles2 under buildroot
> Message-ID:
> <CAPeX=+soNee6absBROUkCUUkWC_OLXURB1D_kqE5mq6Thray8Q@mail.gmail.com
> >
> Content-Type: text/plain; charset="utf-8"
>
> I'm trying to use QT with opengl support.
> The opengl comes with mesa, and mesa comes with xorg.
> I select them from buildroot configuration.
> The buildroot created rootfs successfully without opengl es support.
> libGL and libGLU files are exist but the libGLES_CM and the libGLESv2
> files (which are the essential files for QT opengl) are absent.
> Then I examined the mesa config.log file;
>
> --------
> $ ./configure --target=i686-linux --host=i686-linux
> --build=i686-pc-linux-gnu --prefix=/usr --exec-prefix=/usr
> --sysconfdir=/etc --disable-gtk-doc --disable-nls --disable-ipv6
> --enable-egl --enable-glu --disable-glw --disable-glut --enable-gles1
> --enable-gles2 --disable-gallium --with-driver=dri
> --with-dri-drivers=swrast --disable-static
>
>
> configure:9068: WARNING: unrecognized options: --disable-gtk-doc,
> --disable-nls, --disable-ipv6, --enable-gles1, --enable-gles2
>
> --------
>
> Why the mesa doesn't recognize --enable-gles2 option?
>
>
> Also I tried to configure mesa from mesa3d.mk file under buildroot, but
> buildroot still uses the above options.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.busybox.net/pipermail/buildroot/attachments/20120112/35855967/attachment-0001.html
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120117/564eb079/attachment.html>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH 0/3] Fix Mesa3D with OpenGL-ES support
2012-01-17 8:53 [Buildroot] mesa gles2 under buildroot Ozgun
@ 2012-01-21 2:32 ` Arnout Vandecappelle
2012-01-21 2:32 ` [Buildroot] [PATCH 1/3] xproto_glproto: bump version to 1.4.14 Arnout Vandecappelle
` (2 more replies)
2012-01-23 13:13 ` [Buildroot] mesa gles2 under buildroot Ozgun
1 sibling, 3 replies; 8+ messages in thread
From: Arnout Vandecappelle @ 2012-01-21 2:32 UTC (permalink / raw)
To: buildroot
Hoi Ozgun,
It's indeed not so easy to get the new mesa3d to compile... This patch
series should fix things for you.
Could you test them, and then reply to the final mail with a
Tested-by: Ozgun Gunay <ozgun.gunay@gmail.com>
Also report on which processor and toolchain you tested it.
Oh, and if you need further patches to fix QtOpenGL, please contribute
them!
Regards,
Arnout
---
Arnout Vandecappelle (Essensium/Mind) (3):
xproto_glproto: bump version to 1.4.14
host-python: build shared library
mesa3d: bump to 7.10.1 and add support for OpenGL-ES
package/libxml2/libxml2.mk | 7 ++++---
package/python/python.mk | 1 +
package/x11r7/mesa3d/Config.in | 6 ++++++
package/x11r7/mesa3d/mesa3d.mk | 12 ++++++++----
package/x11r7/xproto_glproto/xproto_glproto.mk | 2 +-
5 files changed, 20 insertions(+), 8 deletions(-)
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [PATCH 1/3] xproto_glproto: bump version to 1.4.14
2012-01-21 2:32 ` [Buildroot] [PATCH 0/3] Fix Mesa3D with OpenGL-ES support Arnout Vandecappelle
@ 2012-01-21 2:32 ` Arnout Vandecappelle
2012-01-21 2:32 ` [Buildroot] [PATCH 2/3] host-python: build shared library Arnout Vandecappelle
2012-01-21 2:32 ` [Buildroot] [PATCH 3/3] mesa3d: bump to 7.10.1 and add support for OpenGL-ES Arnout Vandecappelle
2 siblings, 0 replies; 8+ messages in thread
From: Arnout Vandecappelle @ 2012-01-21 2:32 UTC (permalink / raw)
To: buildroot
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
package/x11r7/xproto_glproto/xproto_glproto.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/x11r7/xproto_glproto/xproto_glproto.mk b/package/x11r7/xproto_glproto/xproto_glproto.mk
index d5816cd..36e74a6 100644
--- a/package/x11r7/xproto_glproto/xproto_glproto.mk
+++ b/package/x11r7/xproto_glproto/xproto_glproto.mk
@@ -4,7 +4,7 @@
#
################################################################################
-XPROTO_GLPROTO_VERSION = 1.4.10
+XPROTO_GLPROTO_VERSION = 1.4.14
XPROTO_GLPROTO_SOURCE = glproto-$(XPROTO_GLPROTO_VERSION).tar.bz2
XPROTO_GLPROTO_SITE = http://xorg.freedesktop.org/releases/individual/proto
XPROTO_GLPROTO_INSTALL_STAGING = YES
--
1.7.8.3
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH 2/3] host-python: build shared library
2012-01-21 2:32 ` [Buildroot] [PATCH 0/3] Fix Mesa3D with OpenGL-ES support Arnout Vandecappelle
2012-01-21 2:32 ` [Buildroot] [PATCH 1/3] xproto_glproto: bump version to 1.4.14 Arnout Vandecappelle
@ 2012-01-21 2:32 ` Arnout Vandecappelle
2012-01-21 2:32 ` [Buildroot] [PATCH 3/3] mesa3d: bump to 7.10.1 and add support for OpenGL-ES Arnout Vandecappelle
2 siblings, 0 replies; 8+ messages in thread
From: Arnout Vandecappelle @ 2012-01-21 2:32 UTC (permalink / raw)
To: buildroot
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
This is required for building compiled python packages, e.g. libxml2.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
package/python/python.mk | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/package/python/python.mk b/package/python/python.mk
index 78895d4..3bc0c97 100644
--- a/package/python/python.mk
+++ b/package/python/python.mk
@@ -15,6 +15,7 @@ PYTHON_SITE = http://python.org/ftp/python/$(PYTHON_VERSION)
# third-party Python modules.
HOST_PYTHON_CONF_OPT += \
+ --enable-shared \
--without-cxx-main \
--disable-sqlite3 \
--disable-tk \
--
1.7.8.3
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH 3/3] mesa3d: bump to 7.10.1 and add support for OpenGL-ES
2012-01-21 2:32 ` [Buildroot] [PATCH 0/3] Fix Mesa3D with OpenGL-ES support Arnout Vandecappelle
2012-01-21 2:32 ` [Buildroot] [PATCH 1/3] xproto_glproto: bump version to 1.4.14 Arnout Vandecappelle
2012-01-21 2:32 ` [Buildroot] [PATCH 2/3] host-python: build shared library Arnout Vandecappelle
@ 2012-01-21 2:32 ` Arnout Vandecappelle
2 siblings, 0 replies; 8+ messages in thread
From: Arnout Vandecappelle @ 2012-01-21 2:32 UTC (permalink / raw)
To: buildroot
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
Some source files are generated by python scripts and use libxml2.
Therefore, python support is added to host-libxml2.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
package/libxml2/libxml2.mk | 7 ++++---
package/x11r7/mesa3d/Config.in | 6 ++++++
package/x11r7/mesa3d/mesa3d.mk | 12 ++++++++----
3 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk
index 0687137..7f084ed 100644
--- a/package/libxml2/libxml2.mk
+++ b/package/libxml2/libxml2.mk
@@ -21,9 +21,10 @@ endef
LIBXML2_POST_INSTALL_STAGING_HOOKS += LIBXML2_STAGING_LIBXML2_CONFIG_FIXUP
-HOST_LIBXML2_DEPENDENCIES = host-pkg-config
-
-HOST_LIBXML2_CONF_OPT = --without-debug --without-python
+# mesa3d requires libxml2 python support; too bad for other users of libxml2...
+# and the python libxml2 libraries don't work without debug.
+HOST_LIBXML2_DEPENDENCIES = host-pkg-config host-python
+HOST_LIBXML2_CONF_OPT = --with-debug --with-python
define LIBXML2_REMOVE_CONFIG_SCRIPTS
$(RM) -f $(TARGET_DIR)/usr/bin/xml2-config
diff --git a/package/x11r7/mesa3d/Config.in b/package/x11r7/mesa3d/Config.in
index 596eea3..7a98ccb 100644
--- a/package/x11r7/mesa3d/Config.in
+++ b/package/x11r7/mesa3d/Config.in
@@ -13,3 +13,9 @@ config BR2_PACKAGE_MESA3D
help
Mesa 3D, an open-source implementation of the OpenGL specification.
+config BR2_PACKAGE_MESA3D_GLES
+ bool "Mesa 3D OpenGL-ES support"
+ depends on BR2_PACKAGE_MESA3D
+ default y
+ help
+ Include OpenGL-ES 1 and 2 support.
diff --git a/package/x11r7/mesa3d/mesa3d.mk b/package/x11r7/mesa3d/mesa3d.mk
index 095d66d..fe621bc 100644
--- a/package/x11r7/mesa3d/mesa3d.mk
+++ b/package/x11r7/mesa3d/mesa3d.mk
@@ -3,13 +3,17 @@
# mesa3d
#
#############################################################
-MESA3D_VERSION:=7.6.1
+MESA3D_VERSION:=7.10.1
MESA3D_SOURCE:=MesaLib-$(MESA3D_VERSION).tar.gz
MESA3D_SITE:=ftp://ftp.freedesktop.org/pub/mesa/$(MESA3D_VERSION)
-
-MESA3D_CONF_OPT = --disable-egl --disable-glu --disable-glw --disable-glut --disable-gallium --with-driver=dri --with-dri-drivers=swrast
MESA3D_INSTALL_STAGING = YES
-MESA3D_DEPENDENCIES = xproto_glproto xlib_libXxf86vm xlib_libXdamage xlib_libXfixes xproto_dri2proto libdrm expat
+MESA3D_CONF_OPT = --disable-static --disable-egl --disable-glu --disable-glw --disable-glut --disable-gallium --with-driver=dri --with-dri-drivers=swrast
+
+ifeq ($(BR2_PACKAGE_MESA3D_GLES),y)
+MESA3D_CONF_OPT += --enable-gles1 --enable-gles2
+endif
+
+MESA3D_DEPENDENCIES = xproto_glproto xlib_libXxf86vm xlib_libXdamage xlib_libXfixes xproto_dri2proto libdrm expat host-xutil_makedepend host-python host-libxml2
$(eval $(call AUTOTARGETS))
--
1.7.8.3
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] mesa gles2 under buildroot
2012-01-17 8:53 [Buildroot] mesa gles2 under buildroot Ozgun
2012-01-21 2:32 ` [Buildroot] [PATCH 0/3] Fix Mesa3D with OpenGL-ES support Arnout Vandecappelle
@ 2012-01-23 13:13 ` Ozgun
2012-01-23 13:46 ` Peter Korsgaard
1 sibling, 1 reply; 8+ messages in thread
From: Ozgun @ 2012-01-23 13:13 UTC (permalink / raw)
To: buildroot
I'm using buildroot-2011.11 on ubuntu 11.10 for pc104 card with atom
processor.
The patches and the following patches solved the problem.
diff --git a/package/x11r7/xutil_makedepend/xutil_makedepend.mkb/package/x11r7/xutil_makedepend/
xutil_makedepend.mk
index b0bbafd..a69d21f 100644
--- a/package/x11r7/xutil_makedepend/xutil_makedepend.mk<http://git.buildroot.org/buildroot/tree/package/x11r7/xutil_makedepend/xutil_makedepend.mk?id=8086dfa32fafb91102be5b7516088cde9f2b8699>
+++ b/package/x11r7/xutil_makedepend/xutil_makedepend.mk<http://git.buildroot.org/buildroot/tree/package/x11r7/xutil_makedepend/xutil_makedepend.mk?id=c034b33f241ca90918cfbb0901160f0e874e0c24>
@@ -4,14 +4,11 @@
#
################################################################################
-XUTIL_MAKEDEPEND_VERSION = 1.0.1
+XUTIL_MAKEDEPEND_VERSION = 1.0.2
XUTIL_MAKEDEPEND_SOURCE = makedepend-$(XUTIL_MAKEDEPEND_VERSION).tar.bz2
XUTIL_MAKEDEPEND_SITE = http://xorg.freedesktop.org/releases/individual/util
-XUTIL_MAKEDEPEND_AUTORECONF = NO
-XUTIL_MAKEDEPEND_INSTALL_STAGING = NO
-XUTIL_MAKEDEPEND_INSTALL_TARGET = YES
-HOST_XUTIL_MAKEDEPEND_DEPENDENCIES = host-xproto-xproto
+XUTIL_MAKEDEPEND_DEPENDENCIES = xproto_xproto
-$(eval $(call AUTOTARGETS,package/x11r7,xutil_makedepend))
-$(eval $(call AUTOTARGETS,package/x11r7,xutil_makedepend,host))
+$(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120123/27d53b77/attachment.html>
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] mesa gles2 under buildroot
2012-01-23 13:13 ` [Buildroot] mesa gles2 under buildroot Ozgun
@ 2012-01-23 13:46 ` Peter Korsgaard
0 siblings, 0 replies; 8+ messages in thread
From: Peter Korsgaard @ 2012-01-23 13:46 UTC (permalink / raw)
To: buildroot
>>>>> "Ozgun" == Ozgun <ozgun.gunay@gmail.com> writes:
Ozgun> I'm using buildroot-2011.11 on ubuntu 11.10 for pc104 card with atom processor.
Ozgun> The patches and the following patches solved the problem.
Ehh, what is this against? You seem to be changing the file from
something old to the current state of git head?
Ozgun> diff --git a/package/x11r7/xutil_makedepend/xutil_makedepend.mk b/package/x11r7
Ozgun> /xutil_makedepend/xutil_makedepend.mk
Ozgun> index b0bbafd..a69d21f 100644
Ozgun> --- a/package/x11r7/xutil_makedepend/xutil_makedepend.mk
Ozgun> +++ b/package/x11r7/xutil_makedepend/xutil_makedepend.mk
Ozgun> @@ -4,14 +4,11 @@
Ozgun> #
Ozgun> ###############################################################################
Ozgun> #
Ozgun> -XUTIL_MAKEDEPEND_VERSION = 1.0.1
Ozgun> +XUTIL_MAKEDEPEND_VERSION = 1.0.2
Ozgun> XUTIL_MAKEDEPEND_SOURCE = makedepend-$(XUTIL_MAKEDEPEND_VERSION).tar.bz2
Ozgun> XUTIL_MAKEDEPEND_SITE = http://xorg.freedesktop.org/releases/individual/util
Ozgun> -XUTIL_MAKEDEPEND_AUTORECONF = NO
Ozgun> -XUTIL_MAKEDEPEND_INSTALL_STAGING = NO
Ozgun> -XUTIL_MAKEDEPEND_INSTALL_TARGET = YES
Ozgun> -HOST_XUTIL_MAKEDEPEND_DEPENDENCIES = host-xproto-xproto
Ozgun> +XUTIL_MAKEDEPEND_DEPENDENCIES = xproto_xproto
Ozgun> -$(eval $(call AUTOTARGETS,package/x11r7,xutil_makedepend))
Ozgun> -$(eval $(call AUTOTARGETS,package/x11r7,xutil_makedepend,host))
Ozgun> +$(eval $(call AUTOTARGETS))
Ozgun> +$(eval $(call AUTOTARGETS,host))
Ozgun> _______________________________________________
Ozgun> buildroot mailing list
Ozgun> buildroot at busybox.net
Ozgun> http://lists.busybox.net/mailman/listinfo/buildroot
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] mesa gles2 under buildroot
@ 2012-01-12 8:36 Ozgun
0 siblings, 0 replies; 8+ messages in thread
From: Ozgun @ 2012-01-12 8:36 UTC (permalink / raw)
To: buildroot
I'm trying to use QT with opengl support.
The opengl comes with mesa, and mesa comes with xorg.
I select them from buildroot configuration.
The buildroot created rootfs successfully without opengl es support.
libGL and libGLU files are exist but the libGLES_CM and the libGLESv2
files (which are the essential files for QT opengl) are absent.
Then I examined the mesa config.log file;
--------
$ ./configure --target=i686-linux --host=i686-linux
--build=i686-pc-linux-gnu --prefix=/usr --exec-prefix=/usr
--sysconfdir=/etc --disable-gtk-doc --disable-nls --disable-ipv6
--enable-egl --enable-glu --disable-glw --disable-glut --enable-gles1
--enable-gles2 --disable-gallium --with-driver=dri
--with-dri-drivers=swrast --disable-static
configure:9068: WARNING: unrecognized options: --disable-gtk-doc,
--disable-nls, --disable-ipv6, --enable-gles1, --enable-gles2
--------
Why the mesa doesn't recognize --enable-gles2 option?
Also I tried to configure mesa from mesa3d.mk file under buildroot, but
buildroot still uses the above options.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120112/35855967/attachment.html>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-01-23 13:46 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-17 8:53 [Buildroot] mesa gles2 under buildroot Ozgun
2012-01-21 2:32 ` [Buildroot] [PATCH 0/3] Fix Mesa3D with OpenGL-ES support Arnout Vandecappelle
2012-01-21 2:32 ` [Buildroot] [PATCH 1/3] xproto_glproto: bump version to 1.4.14 Arnout Vandecappelle
2012-01-21 2:32 ` [Buildroot] [PATCH 2/3] host-python: build shared library Arnout Vandecappelle
2012-01-21 2:32 ` [Buildroot] [PATCH 3/3] mesa3d: bump to 7.10.1 and add support for OpenGL-ES Arnout Vandecappelle
2012-01-23 13:13 ` [Buildroot] mesa gles2 under buildroot Ozgun
2012-01-23 13:46 ` Peter Korsgaard
-- strict thread matches above, loose matches on Subject: below --
2012-01-12 8:36 Ozgun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox