All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/6] package/zynaddsubfx: fix PluginEnable option
@ 2022-03-16 21:22 Fabrice Fontaine
  2022-03-16 21:22 ` [Buildroot] [PATCH 2/6] package/zynaddsubfx: disable tests Fabrice Fontaine
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Fabrice Fontaine @ 2022-03-16 21:22 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain, Fabrice Fontaine

Replace False by OFF when setting PluginEnable option

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/zynaddsubfx/zynaddsubfx.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/zynaddsubfx/zynaddsubfx.mk b/package/zynaddsubfx/zynaddsubfx.mk
index 158b5b4ede..c8d64f5ce8 100644
--- a/package/zynaddsubfx/zynaddsubfx.mk
+++ b/package/zynaddsubfx/zynaddsubfx.mk
@@ -11,7 +11,7 @@ ZYNADDSUBFX_LICENSE = GPL-2.0+
 ZYNADDSUBFX_LICENSE_FILES = COPYING
 
 # There is no package in buildroot using LV2 plugins: disabling
-ZYNADDSUBFX_CONF_OPTS = -DPluginEnable=False
+ZYNADDSUBFX_CONF_OPTS = -DPluginEnable=OFF
 
 ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
 ZYNADDSUBFX_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 2/6] package/zynaddsubfx: disable tests
  2022-03-16 21:22 [Buildroot] [PATCH 1/6] package/zynaddsubfx: fix PluginEnable option Fabrice Fontaine
@ 2022-03-16 21:22 ` Fabrice Fontaine
  2022-03-16 21:22 ` [Buildroot] [PATCH 3/6] package/zynaddsubfx: fix atomic linking Fabrice Fontaine
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Fabrice Fontaine @ 2022-03-16 21:22 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain, Fabrice Fontaine

Disable tests which are enabled by default since the addition of the
package in commit 18a863063735e2c658fa6947a4e540e9dda6c431

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/zynaddsubfx/zynaddsubfx.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/zynaddsubfx/zynaddsubfx.mk b/package/zynaddsubfx/zynaddsubfx.mk
index c8d64f5ce8..b2eb1921fa 100644
--- a/package/zynaddsubfx/zynaddsubfx.mk
+++ b/package/zynaddsubfx/zynaddsubfx.mk
@@ -11,7 +11,7 @@ ZYNADDSUBFX_LICENSE = GPL-2.0+
 ZYNADDSUBFX_LICENSE_FILES = COPYING
 
 # There is no package in buildroot using LV2 plugins: disabling
-ZYNADDSUBFX_CONF_OPTS = -DPluginEnable=OFF
+ZYNADDSUBFX_CONF_OPTS = -DCompileTests=OFF -DPluginEnable=OFF
 
 ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
 ZYNADDSUBFX_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 3/6] package/zynaddsubfx: fix atomic linking
  2022-03-16 21:22 [Buildroot] [PATCH 1/6] package/zynaddsubfx: fix PluginEnable option Fabrice Fontaine
  2022-03-16 21:22 ` [Buildroot] [PATCH 2/6] package/zynaddsubfx: disable tests Fabrice Fontaine
@ 2022-03-16 21:22 ` Fabrice Fontaine
  2022-03-16 21:22 ` [Buildroot] [PATCH 4/6] package/zynaddsubfx: fix alsa-lib handling Fabrice Fontaine
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Fabrice Fontaine @ 2022-03-16 21:22 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain, Fabrice Fontaine

Fix the following build failure raised since the addition of the package
in commit 18a863063735e2c658fa6947a4e540e9dda6c431:

/home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: libzynaddsubfx_core.a(Master.cpp.o): in function `.L1880':
Master.cpp:(.text+0x7cc0): undefined reference to `__atomic_exchange_1'

Fixes:
 - http://autobuild.buildroot.org/results/91b5959ca0eb136c1609462e71d109ff09cca5e5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/zynaddsubfx/zynaddsubfx.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/zynaddsubfx/zynaddsubfx.mk b/package/zynaddsubfx/zynaddsubfx.mk
index b2eb1921fa..db0459ce62 100644
--- a/package/zynaddsubfx/zynaddsubfx.mk
+++ b/package/zynaddsubfx/zynaddsubfx.mk
@@ -14,7 +14,7 @@ ZYNADDSUBFX_LICENSE_FILES = COPYING
 ZYNADDSUBFX_CONF_OPTS = -DCompileTests=OFF -DPluginEnable=OFF
 
 ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
-ZYNADDSUBFX_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
+ZYNADDSUBFX_CONF_OPTS += -DOS_LIBRARIES=-latomic
 endif
 
 ZYNADDSUBFX_DEPENDENCIES = \
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 4/6] package/zynaddsubfx: fix alsa-lib handling
  2022-03-16 21:22 [Buildroot] [PATCH 1/6] package/zynaddsubfx: fix PluginEnable option Fabrice Fontaine
  2022-03-16 21:22 ` [Buildroot] [PATCH 2/6] package/zynaddsubfx: disable tests Fabrice Fontaine
  2022-03-16 21:22 ` [Buildroot] [PATCH 3/6] package/zynaddsubfx: fix atomic linking Fabrice Fontaine
@ 2022-03-16 21:22 ` Fabrice Fontaine
  2022-03-16 21:22 ` [Buildroot] [PATCH 5/6] package/zynaddsubfx: add jack{1, 2} optional dependency Fabrice Fontaine
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Fabrice Fontaine @ 2022-03-16 21:22 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain, Fabrice Fontaine

alsa-lib is optional, not mandatory, since the addition of the package
in commit 18a863063735e2c658fa6947a4e540e9dda6c431

Moreover, alsa support depends on BR2_PACKAGE_ALSA_LIB_SEQ (otherwise,
it is silently disabled)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/zynaddsubfx/Config.in      | 3 +--
 package/zynaddsubfx/zynaddsubfx.mk | 8 +++++++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/package/zynaddsubfx/Config.in b/package/zynaddsubfx/Config.in
index 837a469e7c..f181a23944 100644
--- a/package/zynaddsubfx/Config.in
+++ b/package/zynaddsubfx/Config.in
@@ -2,8 +2,7 @@ config BR2_PACKAGE_ZYNADDSUBFX
 	bool "zynaddsubfx"
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
-	depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib, liblo
-	select BR2_PACKAGE_ALSA_LIB
+	depends on BR2_TOOLCHAIN_HAS_THREADS # liblo
 	select BR2_PACKAGE_FFTW
 	select BR2_PACKAGE_FFTW_SINGLE
 	select BR2_PACKAGE_LIBLO
diff --git a/package/zynaddsubfx/zynaddsubfx.mk b/package/zynaddsubfx/zynaddsubfx.mk
index db0459ce62..aeeb0b6405 100644
--- a/package/zynaddsubfx/zynaddsubfx.mk
+++ b/package/zynaddsubfx/zynaddsubfx.mk
@@ -18,10 +18,16 @@ ZYNADDSUBFX_CONF_OPTS += -DOS_LIBRARIES=-latomic
 endif
 
 ZYNADDSUBFX_DEPENDENCIES = \
-	alsa-lib \
 	fftw-single \
 	liblo \
 	mxml \
 	zlib
 
+ifeq ($(BR2_PACKAGE_ALSA_LIB_SEQ),y)
+ZYNADDSUBFX_DEPENDENCIES += alsa-lib
+ZYNADDSUBFX_CONF_OPTS += -DAlsaEnable=ON
+else
+ZYNADDSUBFX_CONF_OPTS += -DAlsaEnable=OFF
+endif
+
 $(eval $(cmake-package))
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 5/6] package/zynaddsubfx: add jack{1, 2} optional dependency
  2022-03-16 21:22 [Buildroot] [PATCH 1/6] package/zynaddsubfx: fix PluginEnable option Fabrice Fontaine
                   ` (2 preceding siblings ...)
  2022-03-16 21:22 ` [Buildroot] [PATCH 4/6] package/zynaddsubfx: fix alsa-lib handling Fabrice Fontaine
@ 2022-03-16 21:22 ` Fabrice Fontaine
  2022-03-16 21:22 ` [Buildroot] [PATCH 6/6] package/zynaddsubfx: add portaudio " Fabrice Fontaine
  2022-03-16 21:44 ` [Buildroot] [PATCH 1/6] package/zynaddsubfx: fix PluginEnable option Yann E. MORIN
  5 siblings, 0 replies; 8+ messages in thread
From: Fabrice Fontaine @ 2022-03-16 21:22 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain, Fabrice Fontaine

jack{1,2} is an optional dependency (enabled by default) since the
addition of the package in commit
18a863063735e2c658fa6947a4e540e9dda6c431

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/zynaddsubfx/zynaddsubfx.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/zynaddsubfx/zynaddsubfx.mk b/package/zynaddsubfx/zynaddsubfx.mk
index aeeb0b6405..461146aae8 100644
--- a/package/zynaddsubfx/zynaddsubfx.mk
+++ b/package/zynaddsubfx/zynaddsubfx.mk
@@ -30,4 +30,11 @@ else
 ZYNADDSUBFX_CONF_OPTS += -DAlsaEnable=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_JACK1)$(BR2_PACKAGE_JACK2),y)
+ZYNADDSUBFX_DEPENDENCIES += $(if $(BR2_PACKAGE_JACK1),jack1,jack2)
+ZYNADDSUBFX_CONF_OPTS += -DJackEnable=ON
+else
+ZYNADDSUBFX_CONF_OPTS += -DJackEnable=OFF
+endif
+
 $(eval $(cmake-package))
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 6/6] package/zynaddsubfx: add portaudio optional dependency
  2022-03-16 21:22 [Buildroot] [PATCH 1/6] package/zynaddsubfx: fix PluginEnable option Fabrice Fontaine
                   ` (3 preceding siblings ...)
  2022-03-16 21:22 ` [Buildroot] [PATCH 5/6] package/zynaddsubfx: add jack{1, 2} optional dependency Fabrice Fontaine
@ 2022-03-16 21:22 ` Fabrice Fontaine
  2022-03-16 21:44 ` [Buildroot] [PATCH 1/6] package/zynaddsubfx: fix PluginEnable option Yann E. MORIN
  5 siblings, 0 replies; 8+ messages in thread
From: Fabrice Fontaine @ 2022-03-16 21:22 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain, Fabrice Fontaine

portaudio is an optional dependency (enabled by default) since the
addition of the package in commit
18a863063735e2c658fa6947a4e540e9dda6c431

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/zynaddsubfx/zynaddsubfx.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/zynaddsubfx/zynaddsubfx.mk b/package/zynaddsubfx/zynaddsubfx.mk
index 461146aae8..aff9ac4bf4 100644
--- a/package/zynaddsubfx/zynaddsubfx.mk
+++ b/package/zynaddsubfx/zynaddsubfx.mk
@@ -37,4 +37,11 @@ else
 ZYNADDSUBFX_CONF_OPTS += -DJackEnable=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_PORTAUDIO),y)
+ZYNADDSUBFX_DEPENDENCIES += portaudio
+ZYNADDSUBFX_CONF_OPTS += -DPaEnable=ON
+else
+ZYNADDSUBFX_CONF_OPTS += -DPaEnable=OFF
+endif
+
 $(eval $(cmake-package))
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/6] package/zynaddsubfx: fix PluginEnable option
  2022-03-16 21:22 [Buildroot] [PATCH 1/6] package/zynaddsubfx: fix PluginEnable option Fabrice Fontaine
                   ` (4 preceding siblings ...)
  2022-03-16 21:22 ` [Buildroot] [PATCH 6/6] package/zynaddsubfx: add portaudio " Fabrice Fontaine
@ 2022-03-16 21:44 ` Yann E. MORIN
  2022-03-20 21:42   ` Peter Korsgaard
  5 siblings, 1 reply; 8+ messages in thread
From: Yann E. MORIN @ 2022-03-16 21:44 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Julien Olivain, buildroot

Fabrice, All,

On 2022-03-16 22:22 +0100, Fabrice Fontaine spake thusly:
> Replace False by OFF when setting PluginEnable option
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Series of 6 patches applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/zynaddsubfx/zynaddsubfx.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/zynaddsubfx/zynaddsubfx.mk b/package/zynaddsubfx/zynaddsubfx.mk
> index 158b5b4ede..c8d64f5ce8 100644
> --- a/package/zynaddsubfx/zynaddsubfx.mk
> +++ b/package/zynaddsubfx/zynaddsubfx.mk
> @@ -11,7 +11,7 @@ ZYNADDSUBFX_LICENSE = GPL-2.0+
>  ZYNADDSUBFX_LICENSE_FILES = COPYING
>  
>  # There is no package in buildroot using LV2 plugins: disabling
> -ZYNADDSUBFX_CONF_OPTS = -DPluginEnable=False
> +ZYNADDSUBFX_CONF_OPTS = -DPluginEnable=OFF
>  
>  ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
>  ZYNADDSUBFX_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
> -- 
> 2.35.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/6] package/zynaddsubfx: fix PluginEnable option
  2022-03-16 21:44 ` [Buildroot] [PATCH 1/6] package/zynaddsubfx: fix PluginEnable option Yann E. MORIN
@ 2022-03-20 21:42   ` Peter Korsgaard
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Korsgaard @ 2022-03-20 21:42 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: Julien Olivain, Fabrice Fontaine, buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > Fabrice, All,
 > On 2022-03-16 22:22 +0100, Fabrice Fontaine spake thusly:
 >> Replace False by OFF when setting PluginEnable option
 >> 
 >> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

 > Series of 6 patches applied to master, thanks.

And to 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-03-20 21:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-16 21:22 [Buildroot] [PATCH 1/6] package/zynaddsubfx: fix PluginEnable option Fabrice Fontaine
2022-03-16 21:22 ` [Buildroot] [PATCH 2/6] package/zynaddsubfx: disable tests Fabrice Fontaine
2022-03-16 21:22 ` [Buildroot] [PATCH 3/6] package/zynaddsubfx: fix atomic linking Fabrice Fontaine
2022-03-16 21:22 ` [Buildroot] [PATCH 4/6] package/zynaddsubfx: fix alsa-lib handling Fabrice Fontaine
2022-03-16 21:22 ` [Buildroot] [PATCH 5/6] package/zynaddsubfx: add jack{1, 2} optional dependency Fabrice Fontaine
2022-03-16 21:22 ` [Buildroot] [PATCH 6/6] package/zynaddsubfx: add portaudio " Fabrice Fontaine
2022-03-16 21:44 ` [Buildroot] [PATCH 1/6] package/zynaddsubfx: fix PluginEnable option Yann E. MORIN
2022-03-20 21:42   ` Peter Korsgaard

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.