All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/cegui: disable Python SWIG extension modules when OpenGL renderer is disabled
@ 2021-06-15 19:45 Bartosz Bilas
  2021-07-18 20:27 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Bartosz Bilas @ 2021-06-15 19:45 UTC (permalink / raw)
  To: buildroot

Those modules need OpenGL renderer so disable them when it's missing.

Fixes:
 - http://autobuild.buildroot.net/results/592/592fcffb226c8b44ada5fa3cdb8ab15c627f29dc/
 - http://autobuild.buildroot.net/results/9ad/9ad768b7e2a3c59833e03986c245f2f4b5d25dcd/

  and more...

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
---
 package/cegui/cegui.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/cegui/cegui.mk b/package/cegui/cegui.mk
index 747ebbb953..c5ff45818e 100644
--- a/package/cegui/cegui.mk
+++ b/package/cegui/cegui.mk
@@ -38,7 +38,8 @@ CEGUI_CONF_OPTS += -DCEGUI_USE_EPOXY=ON -DCEGUI_USE_GLEW=OFF \
 else
 CEGUI_CONF_OPTS += -DCEGUI_USE_EPOXY=OFF -DCEGUI_USE_GLEW=OFF \
 	-DCEGUI_BUILD_RENDERER_OPENGL=OFF \
-	-DCEGUI_BUILD_RENDERER_OPENGL3=OFF
+	-DCEGUI_BUILD_RENDERER_OPENGL3=OFF \
+	-DCEGUI_BUILD_PYTHON_MODULES_SWIG=OFF
 endif
 
 ifeq ($(BR2_PACKAGE_EXPAT),y)
-- 
2.32.0

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

* [Buildroot] [PATCH] package/cegui: disable Python SWIG extension modules when OpenGL renderer is disabled
  2021-06-15 19:45 [Buildroot] [PATCH] package/cegui: disable Python SWIG extension modules when OpenGL renderer is disabled Bartosz Bilas
@ 2021-07-18 20:27 ` Thomas Petazzoni
  2021-07-19  8:08   ` Bartosz Biłas
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2021-07-18 20:27 UTC (permalink / raw)
  To: buildroot

Hello Bartosz,

On Tue, 15 Jun 2021 21:45:36 +0200
Bartosz Bilas <b.bilas@grinn-global.com> wrote:

> Those modules need OpenGL renderer so disable them when it's missing.
> 
> Fixes:
>  - http://autobuild.buildroot.net/results/592/592fcffb226c8b44ada5fa3cdb8ab15c627f29dc/
>  - http://autobuild.buildroot.net/results/9ad/9ad768b7e2a3c59833e03986c245f2f4b5d25dcd/
> 
>   and more...
> 
> Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
> ---
>  package/cegui/cegui.mk | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/package/cegui/cegui.mk b/package/cegui/cegui.mk
> index 747ebbb953..c5ff45818e 100644
> --- a/package/cegui/cegui.mk
> +++ b/package/cegui/cegui.mk
> @@ -38,7 +38,8 @@ CEGUI_CONF_OPTS += -DCEGUI_USE_EPOXY=ON -DCEGUI_USE_GLEW=OFF \
>  else
>  CEGUI_CONF_OPTS += -DCEGUI_USE_EPOXY=OFF -DCEGUI_USE_GLEW=OFF \
>  	-DCEGUI_BUILD_RENDERER_OPENGL=OFF \
> -	-DCEGUI_BUILD_RENDERER_OPENGL3=OFF
> +	-DCEGUI_BUILD_RENDERER_OPENGL3=OFF \
> +	-DCEGUI_BUILD_PYTHON_MODULES_SWIG=OFF

Thanks for the patch, but shouldn't we set
-DCEGUI_BUILD_PYTHON_MODULES_SWIG=OFF unconditionally? Indeed, there is
nothing in cegui.mk that ensures that Python/SWIG is available prior to
the cegui build, i.e there is nothing in place to optionally build this
Python SWIG extension.

So if nobody uses it, we should rather disable it unconditionally. Do
you agree ?

Thanks a lot,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH] package/cegui: disable Python SWIG extension modules when OpenGL renderer is disabled
  2021-07-18 20:27 ` Thomas Petazzoni
@ 2021-07-19  8:08   ` Bartosz Biłas
  2021-07-19  8:19     ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Bartosz Biłas @ 2021-07-19  8:08 UTC (permalink / raw)
  To: buildroot

Hello Thomas,

On 7/18/21 10:27 PM, Thomas Petazzoni wrote:
> Hello Bartosz,
>
> On Tue, 15 Jun 2021 21:45:36 +0200
> Bartosz Bilas <b.bilas@grinn-global.com> wrote:
>
>> Those modules need OpenGL renderer so disable them when it's missing.
>>
>> Fixes:
>>   - http://autobuild.buildroot.net/results/592/592fcffb226c8b44ada5fa3cdb8ab15c627f29dc/
>>   - http://autobuild.buildroot.net/results/9ad/9ad768b7e2a3c59833e03986c245f2f4b5d25dcd/
>>
>>    and more...
>>
>> Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
>> ---
>>   package/cegui/cegui.mk | 3 ++-
>>   1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/package/cegui/cegui.mk b/package/cegui/cegui.mk
>> index 747ebbb953..c5ff45818e 100644
>> --- a/package/cegui/cegui.mk
>> +++ b/package/cegui/cegui.mk
>> @@ -38,7 +38,8 @@ CEGUI_CONF_OPTS += -DCEGUI_USE_EPOXY=ON -DCEGUI_USE_GLEW=OFF \
>>   else
>>   CEGUI_CONF_OPTS += -DCEGUI_USE_EPOXY=OFF -DCEGUI_USE_GLEW=OFF \
>>   	-DCEGUI_BUILD_RENDERER_OPENGL=OFF \
>> -	-DCEGUI_BUILD_RENDERER_OPENGL3=OFF
>> +	-DCEGUI_BUILD_RENDERER_OPENGL3=OFF \
>> +	-DCEGUI_BUILD_PYTHON_MODULES_SWIG=OFF
> Thanks for the patch, but shouldn't we set
> -DCEGUI_BUILD_PYTHON_MODULES_SWIG=OFF unconditionally? Indeed, there is
> nothing in cegui.mk that ensures that Python/SWIG is available prior to
> the cegui build, i.e there is nothing in place to optionally build this
> Python SWIG extension.
>
> So if nobody uses it, we should rather disable it unconditionally. Do
> you agree ?

Yup, let's do that. Should I send v2 or will you do that during committing?

Best
Bartek
>
> Thanks a lot,
>
> Thomas
-- 

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

* [Buildroot] [PATCH] package/cegui: disable Python SWIG extension modules when OpenGL renderer is disabled
  2021-07-19  8:08   ` Bartosz Biłas
@ 2021-07-19  8:19     ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2021-07-19  8:19 UTC (permalink / raw)
  To: buildroot

On Mon, 19 Jul 2021 10:08:01 +0200
Bartosz Bi?as <b.bilas@grinn-global.com> wrote:

> > So if nobody uses it, we should rather disable it unconditionally. Do
> > you agree ?  
> 
> Yup, let's do that. Should I send v2 or will you do that during committing?

If you could send a v2, it would be great :)

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2021-07-19  8:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-15 19:45 [Buildroot] [PATCH] package/cegui: disable Python SWIG extension modules when OpenGL renderer is disabled Bartosz Bilas
2021-07-18 20:27 ` Thomas Petazzoni
2021-07-19  8:08   ` Bartosz Biłas
2021-07-19  8:19     ` Thomas Petazzoni

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.