Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/brltty: disable features and add optional dependencies
@ 2017-12-18  9:51 Mario Lang
  2017-12-18 10:01 ` Thomas Petazzoni
  2017-12-18 14:57 ` Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Mario Lang @ 2017-12-18  9:51 UTC (permalink / raw)
  To: buildroot

* --without-midi-package should fix a number of autobuild failures.
* Disable a number of speech drivers to avoid build failures
  if they are installed on the host.
* Optional dependency on espeak and flite fixes builds where
  espeak or flite are installed on the host.

Signed-off-by: Mario Lang <mlang@blind.guru>
---
 package/brltty/brltty.mk | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/package/brltty/brltty.mk b/package/brltty/brltty.mk
index 5ce0684168..7214f10fa0 100644
--- a/package/brltty/brltty.mk
+++ b/package/brltty/brltty.mk
@@ -18,7 +18,10 @@ BRLTTY_CONF_OPTS = \
 	--disable-lisp-bindings \
 	--disable-ocaml-bindings \
 	--disable-python-bindings \
-	--disable-tcl-bindings
+	--disable-tcl-bindings \
+	--without-midi-package \
+	--without-mikropuhe --without-speechd --without-swift \
+	--without-theta --without-viavoice
 
 ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
 BRLTTY_DEPENDENCIES += bluez5_utils
@@ -27,6 +30,20 @@ else
 BRLTTY_CONF_OPTS += --without-bluetooth-package
 endif
 
+ifeq ($(BR2_PACKAGE_ESPEAK),y)
+BRLTTY_DEPENDENCIES += espeak
+BRLTTY_CONF_OPTS += --with-espeak=$(TARGET_DIR)/usr
+else
+BRLTTY_CONF_OPTS += --without-espeak
+endif
+
+ifeq ($(BR2_PACKAGE_FLITE),y)
+BRLTTY_DEPENDENCIES += flite
+BRLTTY_CONF_OPTS += --with-flite=$(STAGING_DIR)/usr
+else
+BRLTTY_CONF_OPTS += --without-flite
+endif
+
 ifeq ($(BR2_PACKAGE_ICU),y)
 BRLTTY_DEPENDENCIES += icu
 BRLTTY_CONF_OPTS += --enable-icu
-- 
2.15.0

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

* [Buildroot] [PATCH] package/brltty: disable features and add optional dependencies
  2017-12-18  9:51 [Buildroot] [PATCH] package/brltty: disable features and add optional dependencies Mario Lang
@ 2017-12-18 10:01 ` Thomas Petazzoni
  2017-12-18 11:31   ` Mario Lang
  2017-12-18 14:57 ` Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2017-12-18 10:01 UTC (permalink / raw)
  To: buildroot

Hello,

Thanks for this fixup patch. A few comments/questions below.

On Mon, 18 Dec 2017 10:51:43 +0100, Mario Lang wrote:
> * --without-midi-package should fix a number of autobuild failures.

Which ones? We like to have references to autobuilder failures.

> * Disable a number of speech drivers to avoid build failures
>   if they are installed on the host.
> * Optional dependency on espeak and flite fixes builds where
>   espeak or flite are installed on the host.

Autobuilder failure references ?

Thanks!

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

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

* [Buildroot] [PATCH] package/brltty: disable features and add optional dependencies
  2017-12-18 10:01 ` Thomas Petazzoni
@ 2017-12-18 11:31   ` Mario Lang
  0 siblings, 0 replies; 4+ messages in thread
From: Mario Lang @ 2017-12-18 11:31 UTC (permalink / raw)
  To: buildroot

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

> On Mon, 18 Dec 2017 10:51:43 +0100, Mario Lang wrote:
>> * --without-midi-package should fix a number of autobuild failures.
>
> Which ones? We like to have references to autobuilder failures.

At least these two:
http://autobuild.buildroot.net/results/0c4f557c2ad276b1ed065119532af37c0af5f014
http://autobuild.buildroot.net/results/ea82b7c7732821368746ddddb5d529e97c9b6c16

>> * Disable a number of speech drivers to avoid build failures
>>   if they are installed on the host.
>> * Optional dependency on espeak and flite fixes builds where
>>   espeak or flite are installed on the host.
>
> Autobuilder failure references ?

These failures didn't show up on any autobuilder, as autobuilders
typically don't have commercial speech synthesizers or espeak/flite
installed on the host.  But these build failures showed up during builds
of BRLTTY users.  In particular, espeak, flite and speechd were
accidentally picked up from the host during configure.

-- 
CYa,
  ????? | Blog: <https://blind.guru/>  GitHub: <https://github.com/mlang/>
  .''`. | Twitter: @blindbird23        FaceBook: disyled
 : :' : | SoundCloud: <soundcloud.com/mario-lang>
 `. `'  | YouTube: <youtube.com/user/mlang23>
   `-

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

* [Buildroot] [PATCH] package/brltty: disable features and add optional dependencies
  2017-12-18  9:51 [Buildroot] [PATCH] package/brltty: disable features and add optional dependencies Mario Lang
  2017-12-18 10:01 ` Thomas Petazzoni
@ 2017-12-18 14:57 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2017-12-18 14:57 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 18 Dec 2017 10:51:43 +0100, Mario Lang wrote:
> * --without-midi-package should fix a number of autobuild failures.
> * Disable a number of speech drivers to avoid build failures
>   if they are installed on the host.
> * Optional dependency on espeak and flite fixes builds where
>   espeak or flite are installed on the host.
> 
> Signed-off-by: Mario Lang <mlang@blind.guru>
> ---
>  package/brltty/brltty.mk | 19 ++++++++++++++++++-
>  1 file changed, 18 insertions(+), 1 deletion(-)

Applied to master after adding the references to the autobuilder
failures.

Thanks!

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

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

end of thread, other threads:[~2017-12-18 14:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-18  9:51 [Buildroot] [PATCH] package/brltty: disable features and add optional dependencies Mario Lang
2017-12-18 10:01 ` Thomas Petazzoni
2017-12-18 11:31   ` Mario Lang
2017-12-18 14:57 ` Thomas Petazzoni

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