Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/5] package/qt: Add optional support for OpenGL
@ 2016-06-12 20:07 Bernd Kuhls
  2016-06-12 20:07 ` [Buildroot] [PATCH v2 2/5] package/libv4l: qt4 support depends on OpenGL Bernd Kuhls
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Bernd Kuhls @ 2016-06-12 20:07 UTC (permalink / raw)
  To: buildroot

OpenGL support is only available for the desktop variant of Qt4 and not
the embedded one: http://code.qt.io/cgit/qt/qt.git/tree/configure#n6612

This patch is needed to fix a compile error with libv4l which depends
on OpenGL support if qt4 is used by libv4l as optional dependency.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: Added "none" option (Yann)

 package/qt/Config.in | 20 ++++++++++++++++++++
 package/qt/qt.mk     |  3 +++
 2 files changed, 23 insertions(+)

diff --git a/package/qt/Config.in b/package/qt/Config.in
index 0ab8417..14b13ce 100644
--- a/package/qt/Config.in
+++ b/package/qt/Config.in
@@ -350,6 +350,24 @@ config BR2_PACKAGE_QT_PHONON_BACKEND
 	  Build the platform Phonon plugin.
 	  If unsure, say n.
 
+choice
+	prompt "OpenGL API"
+	help
+	  Select OpenGL API.
+
+config BR2_PACKAGE_QT_OPENGL_NONE
+	bool "No OpenGL support"
+
+comment "Desktop OpenGL not available (needs Qt standard (X11))"
+	depends on !BR2_PACKAGE_QT_X11
+
+config BR2_PACKAGE_QT_OPENGL_GL_DESKTOP
+	bool "Desktop OpenGL"
+	depends on BR2_PACKAGE_HAS_LIBGL
+	depends on BR2_PACKAGE_QT_X11
+	help
+	  Use desktop OpenGL.
+
 config BR2_PACKAGE_QT_OPENGL_ES
 	bool "OpenGL ES v2.x support"
 	depends on BR2_PACKAGE_HAS_LIBGLES
@@ -357,6 +375,8 @@ config BR2_PACKAGE_QT_OPENGL_ES
 	help
 	  Enable the OpenGL ES v2.x support.
 
+endchoice
+
 endif
 
 config BR2_PACKAGE_QT_DBUS
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index f29a671..d56fe7e 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -336,6 +336,9 @@ QT_DEPENDENCIES += libgles libegl
 QT_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags egl`
 QT_CXXFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags egl`
 QT_LDFLAGS += `$(PKG_CONFIG_HOST_BINARY) --libs egl`
+else ifeq ($(BR2_PACKAGE_QT_OPENGL_GL_DESKTOP),y)
+QT_CONFIGURE_OPTS += -opengl desktop
+QT_DEPENDENCIES += libgl
 else
 QT_CONFIGURE_OPTS += -no-opengl
 endif
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 2/5] package/libv4l: qt4 support depends on OpenGL
  2016-06-12 20:07 [Buildroot] [PATCH v2 1/5] package/qt: Add optional support for OpenGL Bernd Kuhls
@ 2016-06-12 20:07 ` Bernd Kuhls
  2016-06-12 20:15   ` Yann E. MORIN
  2016-06-12 20:07 ` [Buildroot] [PATCH v2 3/5] package/libv4l: add optional support for alsa-lib Bernd Kuhls
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 11+ messages in thread
From: Bernd Kuhls @ 2016-06-12 20:07 UTC (permalink / raw)
  To: buildroot

Fixes
http://autobuild.buildroot.net/results/8fc/8fc8cbc85dacebce5cb6ab13f5ff3b0764117471/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: no changes

 package/libv4l/libv4l.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk
index bdd28bf..d0a0369 100644
--- a/package/libv4l/libv4l.mk
+++ b/package/libv4l/libv4l.mk
@@ -54,7 +54,7 @@ LIBV4L_CONF_ENV += \
 	ac_cv_prog_MOC=$(HOST_DIR)/usr/bin/moc \
 	ac_cv_prog_RCC=$(HOST_DIR)/usr/bin/rcc \
 	ac_cv_prog_UIC=$(HOST_DIR)/usr/bin/uic
-else ifeq ($(BR2_PACKAGE_QT_GUI_MODULE),y)
+else ifeq ($(BR2_PACKAGE_QT_OPENGL_GL_DESKTOP),y)
 LIBV4L_CONF_OPTS += --enable-qv4l2
 LIBV4L_DEPENDENCIES += qt
 else
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 3/5] package/libv4l: add optional support for alsa-lib
  2016-06-12 20:07 [Buildroot] [PATCH v2 1/5] package/qt: Add optional support for OpenGL Bernd Kuhls
  2016-06-12 20:07 ` [Buildroot] [PATCH v2 2/5] package/libv4l: qt4 support depends on OpenGL Bernd Kuhls
@ 2016-06-12 20:07 ` Bernd Kuhls
  2016-06-12 20:16   ` Yann E. MORIN
  2016-06-12 20:07 ` [Buildroot] [PATCH v2 4/5] package/libv4l: add optional support for libgl Bernd Kuhls
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 11+ messages in thread
From: Bernd Kuhls @ 2016-06-12 20:07 UTC (permalink / raw)
  To: buildroot

Add alsa-lib as optional dependency to get a reproducable build.
Without this patch configure logs:

checking for ALSA... no
configure: WARNING: ALSA library not available

After this patch alsa-lib was built before libv4l:
checking for ALSA... yes

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: no changes

 package/libv4l/libv4l.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk
index d0a0369..e7a57f0 100644
--- a/package/libv4l/libv4l.mk
+++ b/package/libv4l/libv4l.mk
@@ -18,6 +18,10 @@ LIBV4L_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
 LIBV4L_LICENSE = GPLv2+ (utilities), LGPLv2.1+ (libraries)
 LIBV4L_LICENSE_FILES = COPYING COPYING.libv4l lib/libv4l1/libv4l1-kernelcode-license.txt
 
+ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
+LIBV4L_DEPENDENCIES += alsa-lib
+endif
+
 ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
 LIBV4L_DEPENDENCIES += argp-standalone
 LIBV4L_LIBS += -largp
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 4/5] package/libv4l: add optional support for libgl
  2016-06-12 20:07 [Buildroot] [PATCH v2 1/5] package/qt: Add optional support for OpenGL Bernd Kuhls
  2016-06-12 20:07 ` [Buildroot] [PATCH v2 2/5] package/libv4l: qt4 support depends on OpenGL Bernd Kuhls
  2016-06-12 20:07 ` [Buildroot] [PATCH v2 3/5] package/libv4l: add optional support for alsa-lib Bernd Kuhls
@ 2016-06-12 20:07 ` Bernd Kuhls
  2016-06-12 20:19   ` Yann E. MORIN
  2016-06-12 20:07 ` [Buildroot] [PATCH v2 5/5] package/libv4l: add optional support for libglu Bernd Kuhls
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 11+ messages in thread
From: Bernd Kuhls @ 2016-06-12 20:07 UTC (permalink / raw)
  To: buildroot

libv4l has optional support for OpenGL:
https://git.linuxtv.org/v4l-utils.git/tree/configure.ac#n160

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: no changes

 package/libv4l/libv4l.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk
index e7a57f0..a73b6cf 100644
--- a/package/libv4l/libv4l.mk
+++ b/package/libv4l/libv4l.mk
@@ -36,6 +36,10 @@ else
 LIBV4L_CONF_OPTS += --without-jpeg
 endif
 
+ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
+LIBV4L_DEPENDENCIES += libgl
+endif
+
 ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
 LIBV4L_CONF_OPTS += --with-libudev
 LIBV4L_DEPENDENCIES += udev
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 5/5] package/libv4l: add optional support for libglu
  2016-06-12 20:07 [Buildroot] [PATCH v2 1/5] package/qt: Add optional support for OpenGL Bernd Kuhls
                   ` (2 preceding siblings ...)
  2016-06-12 20:07 ` [Buildroot] [PATCH v2 4/5] package/libv4l: add optional support for libgl Bernd Kuhls
@ 2016-06-12 20:07 ` Bernd Kuhls
  2016-06-12 20:20   ` Yann E. MORIN
  2016-06-12 20:14 ` [Buildroot] [PATCH v2 1/5] package/qt: Add optional support for OpenGL Yann E. MORIN
  2016-06-13  7:26 ` Thomas Petazzoni
  5 siblings, 1 reply; 11+ messages in thread
From: Bernd Kuhls @ 2016-06-12 20:07 UTC (permalink / raw)
  To: buildroot

libv4l has optional support for libglu:
https://git.linuxtv.org/v4l-utils.git/tree/configure.ac#n166

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: no changes

 package/libv4l/libv4l.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk
index a73b6cf..d0a3f2b 100644
--- a/package/libv4l/libv4l.mk
+++ b/package/libv4l/libv4l.mk
@@ -47,6 +47,10 @@ else
 LIBV4L_CONF_OPTS += --without-libudev
 endif
 
+ifeq ($(BR2_PACKAGE_LIBGLU),y)
+LIBV4L_DEPENDENCIES += libglu
+endif
+
 ifeq ($(BR2_PACKAGE_LIBV4L_UTILS),y)
 LIBV4L_CONF_OPTS += --enable-v4l-utils
 # clock_gettime is used, which is provided by librt for glibc < 2.17
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 1/5] package/qt: Add optional support for OpenGL
  2016-06-12 20:07 [Buildroot] [PATCH v2 1/5] package/qt: Add optional support for OpenGL Bernd Kuhls
                   ` (3 preceding siblings ...)
  2016-06-12 20:07 ` [Buildroot] [PATCH v2 5/5] package/libv4l: add optional support for libglu Bernd Kuhls
@ 2016-06-12 20:14 ` Yann E. MORIN
  2016-06-13  7:26 ` Thomas Petazzoni
  5 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2016-06-12 20:14 UTC (permalink / raw)
  To: buildroot

Bernd, All,

On 2016-06-12 22:07 +0200, Bernd Kuhls spake thusly:
> OpenGL support is only available for the desktop variant of Qt4 and not
> the embedded one: http://code.qt.io/cgit/qt/qt.git/tree/configure#n6612
> 
> This patch is needed to fix a compile error with libv4l which depends
> on OpenGL support if qt4 is used by libv4l as optional dependency.
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
> v2: Added "none" option (Yann)
> 
>  package/qt/Config.in | 20 ++++++++++++++++++++
>  package/qt/qt.mk     |  3 +++
>  2 files changed, 23 insertions(+)
> 
> diff --git a/package/qt/Config.in b/package/qt/Config.in
> index 0ab8417..14b13ce 100644
> --- a/package/qt/Config.in
> +++ b/package/qt/Config.in
> @@ -350,6 +350,24 @@ config BR2_PACKAGE_QT_PHONON_BACKEND
>  	  Build the platform Phonon plugin.
>  	  If unsure, say n.
>  
> +choice
> +	prompt "OpenGL API"
> +	help
> +	  Select OpenGL API.
> +
> +config BR2_PACKAGE_QT_OPENGL_NONE
> +	bool "No OpenGL support"
> +
> +comment "Desktop OpenGL not available (needs Qt standard (X11))"
> +	depends on !BR2_PACKAGE_QT_X11
> +
> +config BR2_PACKAGE_QT_OPENGL_GL_DESKTOP
> +	bool "Desktop OpenGL"
> +	depends on BR2_PACKAGE_HAS_LIBGL
> +	depends on BR2_PACKAGE_QT_X11
> +	help
> +	  Use desktop OpenGL.
> +
>  config BR2_PACKAGE_QT_OPENGL_ES
>  	bool "OpenGL ES v2.x support"
>  	depends on BR2_PACKAGE_HAS_LIBGLES
> @@ -357,6 +375,8 @@ config BR2_PACKAGE_QT_OPENGL_ES
>  	help
>  	  Enable the OpenGL ES v2.x support.
>  
> +endchoice
> +
>  endif
>  
>  config BR2_PACKAGE_QT_DBUS
> diff --git a/package/qt/qt.mk b/package/qt/qt.mk
> index f29a671..d56fe7e 100644
> --- a/package/qt/qt.mk
> +++ b/package/qt/qt.mk
> @@ -336,6 +336,9 @@ QT_DEPENDENCIES += libgles libegl
>  QT_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags egl`
>  QT_CXXFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags egl`
>  QT_LDFLAGS += `$(PKG_CONFIG_HOST_BINARY) --libs egl`
> +else ifeq ($(BR2_PACKAGE_QT_OPENGL_GL_DESKTOP),y)
> +QT_CONFIGURE_OPTS += -opengl desktop
> +QT_DEPENDENCIES += libgl
>  else
>  QT_CONFIGURE_OPTS += -no-opengl
>  endif
> -- 
> 2.8.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  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] 11+ messages in thread

* [Buildroot] [PATCH v2 2/5] package/libv4l: qt4 support depends on OpenGL
  2016-06-12 20:07 ` [Buildroot] [PATCH v2 2/5] package/libv4l: qt4 support depends on OpenGL Bernd Kuhls
@ 2016-06-12 20:15   ` Yann E. MORIN
  0 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2016-06-12 20:15 UTC (permalink / raw)
  To: buildroot

Bernd, All,

On 2016-06-12 22:07 +0200, Bernd Kuhls spake thusly:
> Fixes
> http://autobuild.buildroot.net/results/8fc/8fc8cbc85dacebce5cb6ab13f5ff3b0764117471/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

You forgot to carry my reviewed-by tag. Here it is again:

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
> v2: no changes
> 
>  package/libv4l/libv4l.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk
> index bdd28bf..d0a0369 100644
> --- a/package/libv4l/libv4l.mk
> +++ b/package/libv4l/libv4l.mk
> @@ -54,7 +54,7 @@ LIBV4L_CONF_ENV += \
>  	ac_cv_prog_MOC=$(HOST_DIR)/usr/bin/moc \
>  	ac_cv_prog_RCC=$(HOST_DIR)/usr/bin/rcc \
>  	ac_cv_prog_UIC=$(HOST_DIR)/usr/bin/uic
> -else ifeq ($(BR2_PACKAGE_QT_GUI_MODULE),y)
> +else ifeq ($(BR2_PACKAGE_QT_OPENGL_GL_DESKTOP),y)
>  LIBV4L_CONF_OPTS += --enable-qv4l2
>  LIBV4L_DEPENDENCIES += qt
>  else
> -- 
> 2.8.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  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] 11+ messages in thread

* [Buildroot] [PATCH v2 3/5] package/libv4l: add optional support for alsa-lib
  2016-06-12 20:07 ` [Buildroot] [PATCH v2 3/5] package/libv4l: add optional support for alsa-lib Bernd Kuhls
@ 2016-06-12 20:16   ` Yann E. MORIN
  0 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2016-06-12 20:16 UTC (permalink / raw)
  To: buildroot

Bernd, All,

On 2016-06-12 22:07 +0200, Bernd Kuhls spake thusly:
> Add alsa-lib as optional dependency to get a reproducable build.
> Without this patch configure logs:
> 
> checking for ALSA... no
> configure: WARNING: ALSA library not available
> 
> After this patch alsa-lib was built before libv4l:
> checking for ALSA... yes
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

I've had a cursory look at their configure.ac, and it seems there is no
way to explicitly disable support for alsa. Hopefully, it will not pick
up host libs when the target is the same as the host and alsa-libs is
disabled...

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
> v2: no changes
> 
>  package/libv4l/libv4l.mk | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk
> index d0a0369..e7a57f0 100644
> --- a/package/libv4l/libv4l.mk
> +++ b/package/libv4l/libv4l.mk
> @@ -18,6 +18,10 @@ LIBV4L_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
>  LIBV4L_LICENSE = GPLv2+ (utilities), LGPLv2.1+ (libraries)
>  LIBV4L_LICENSE_FILES = COPYING COPYING.libv4l lib/libv4l1/libv4l1-kernelcode-license.txt
>  
> +ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
> +LIBV4L_DEPENDENCIES += alsa-lib
> +endif
> +
>  ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
>  LIBV4L_DEPENDENCIES += argp-standalone
>  LIBV4L_LIBS += -largp
> -- 
> 2.8.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  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] 11+ messages in thread

* [Buildroot] [PATCH v2 4/5] package/libv4l: add optional support for libgl
  2016-06-12 20:07 ` [Buildroot] [PATCH v2 4/5] package/libv4l: add optional support for libgl Bernd Kuhls
@ 2016-06-12 20:19   ` Yann E. MORIN
  0 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2016-06-12 20:19 UTC (permalink / raw)
  To: buildroot

Bernd, All,

On 2016-06-12 22:07 +0200, Bernd Kuhls spake thusly:
> libv4l has optional support for OpenGL:
> https://git.linuxtv.org/v4l-utils.git/tree/configure.ac#n160
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Same cursory look, no way to explicitly disable libgl support... :-/
(It would have been nice if you had said so in the commit log, btw...)

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
> v2: no changes
> 
>  package/libv4l/libv4l.mk | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk
> index e7a57f0..a73b6cf 100644
> --- a/package/libv4l/libv4l.mk
> +++ b/package/libv4l/libv4l.mk
> @@ -36,6 +36,10 @@ else
>  LIBV4L_CONF_OPTS += --without-jpeg
>  endif
>  
> +ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
> +LIBV4L_DEPENDENCIES += libgl
> +endif
> +
>  ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
>  LIBV4L_CONF_OPTS += --with-libudev
>  LIBV4L_DEPENDENCIES += udev
> -- 
> 2.8.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  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] 11+ messages in thread

* [Buildroot] [PATCH v2 5/5] package/libv4l: add optional support for libglu
  2016-06-12 20:07 ` [Buildroot] [PATCH v2 5/5] package/libv4l: add optional support for libglu Bernd Kuhls
@ 2016-06-12 20:20   ` Yann E. MORIN
  0 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2016-06-12 20:20 UTC (permalink / raw)
  To: buildroot

Bernd, All,

On 2016-06-12 22:07 +0200, Bernd Kuhls spake thusly:
> libv4l has optional support for libglu:
> https://git.linuxtv.org/v4l-utils.git/tree/configure.ac#n166
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Again, no way to explicitly disable libglu support...

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
> v2: no changes
> 
>  package/libv4l/libv4l.mk | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk
> index a73b6cf..d0a3f2b 100644
> --- a/package/libv4l/libv4l.mk
> +++ b/package/libv4l/libv4l.mk
> @@ -47,6 +47,10 @@ else
>  LIBV4L_CONF_OPTS += --without-libudev
>  endif
>  
> +ifeq ($(BR2_PACKAGE_LIBGLU),y)
> +LIBV4L_DEPENDENCIES += libglu
> +endif
> +
>  ifeq ($(BR2_PACKAGE_LIBV4L_UTILS),y)
>  LIBV4L_CONF_OPTS += --enable-v4l-utils
>  # clock_gettime is used, which is provided by librt for glibc < 2.17
> -- 
> 2.8.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  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] 11+ messages in thread

* [Buildroot] [PATCH v2 1/5] package/qt: Add optional support for OpenGL
  2016-06-12 20:07 [Buildroot] [PATCH v2 1/5] package/qt: Add optional support for OpenGL Bernd Kuhls
                   ` (4 preceding siblings ...)
  2016-06-12 20:14 ` [Buildroot] [PATCH v2 1/5] package/qt: Add optional support for OpenGL Yann E. MORIN
@ 2016-06-13  7:26 ` Thomas Petazzoni
  5 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2016-06-13  7:26 UTC (permalink / raw)
  To: buildroot

Hello,

On Sun, 12 Jun 2016 22:07:18 +0200, Bernd Kuhls wrote:
> OpenGL support is only available for the desktop variant of Qt4 and not
> the embedded one: http://code.qt.io/cgit/qt/qt.git/tree/configure#n6612
> 
> This patch is needed to fix a compile error with libv4l which depends
> on OpenGL support if qt4 is used by libv4l as optional dependency.
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Not sure this is related directly, but it's Qt/OpenGL related, could
you have a look at:

   http://autobuild.buildroot.net/results/2a8/2a8edb18ab7f8a9e324966282858014e9b5bbea0/build-end.log

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-06-13  7:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-12 20:07 [Buildroot] [PATCH v2 1/5] package/qt: Add optional support for OpenGL Bernd Kuhls
2016-06-12 20:07 ` [Buildroot] [PATCH v2 2/5] package/libv4l: qt4 support depends on OpenGL Bernd Kuhls
2016-06-12 20:15   ` Yann E. MORIN
2016-06-12 20:07 ` [Buildroot] [PATCH v2 3/5] package/libv4l: add optional support for alsa-lib Bernd Kuhls
2016-06-12 20:16   ` Yann E. MORIN
2016-06-12 20:07 ` [Buildroot] [PATCH v2 4/5] package/libv4l: add optional support for libgl Bernd Kuhls
2016-06-12 20:19   ` Yann E. MORIN
2016-06-12 20:07 ` [Buildroot] [PATCH v2 5/5] package/libv4l: add optional support for libglu Bernd Kuhls
2016-06-12 20:20   ` Yann E. MORIN
2016-06-12 20:14 ` [Buildroot] [PATCH v2 1/5] package/qt: Add optional support for OpenGL Yann E. MORIN
2016-06-13  7:26 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox