Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] espeak : depends on MMU
@ 2014-08-11  7:38 arnaud at intelibre.fr
  2014-08-11  8:11 ` Thomas De Schampheleire
  0 siblings, 1 reply; 4+ messages in thread
From: arnaud at intelibre.fr @ 2014-08-11  7:38 UTC (permalink / raw)
  To: buildroot

From: Arnaud Aujon <arnaud@intelibre.fr>

Fixes autobuild http://autobuild.buildroot.net/results/dae/dae5c59dfa127e1c3f9e3885cdd1b97e54d8fe41/
and http://autobuild.buildroot.net/results/fa0/fa04a0fe7d7a201c5f733bd798c0da50ffb81271/

espeak uses fork(), don't work on non-MMU platforms

Signed-off-by: Arnaud Aujon <arnaud@intelibre.fr>
---
 package/espeak/Config.in | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/package/espeak/Config.in b/package/espeak/Config.in
index ec81893..57c7d18 100644
--- a/package/espeak/Config.in
+++ b/package/espeak/Config.in
@@ -1,17 +1,19 @@
-comment "espeak needs a toolchain w/ C++, wchar, threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
-
 config BR2_PACKAGE_ESPEAK
 	bool "espeak"
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_USE_MMU # fork()
 	help
 	  espeak is a speech synthesizer software for English and
 	  other languages.
 
 	  http://espeak.sourceforge.net/
 
+comment "espeak needs a toolchain w/ C++, wchar, threads"
+        depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+        depends on BR2_USE_MMU
+
 if BR2_PACKAGE_ESPEAK
 
 choice
@@ -26,14 +28,14 @@ config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA
 	select BR2_PACKAGE_PORTAUDIO
 	select BR2_PACKAGE_PORTAUDIO_CXX
 
-comment "pulseaudio backend needs a toolchain with largefile"
-	depends on !BR2_LARGEFILE
-
 config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO
 	bool "pulseaudio"
 	select BR2_PACKAGE_PULSEAUDIO
 	depends on BR2_LARGEFILE # pulseaudio
 
+comment "pulseaudio backend needs a toolchain with largefile"
+        depends on !BR2_LARGEFILE
+
 endchoice
 
 endif # BR2_PACKAGE_ESPEAK
-- 
1.9.3

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

* [Buildroot] [PATCH 1/1] espeak : depends on MMU
  2014-08-11  7:38 [Buildroot] [PATCH 1/1] espeak : depends on MMU arnaud at intelibre.fr
@ 2014-08-11  8:11 ` Thomas De Schampheleire
  2014-08-11 11:06   ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas De Schampheleire @ 2014-08-11  8:11 UTC (permalink / raw)
  To: buildroot

Hi Arnaud,

arnaud at intelibre.fr schreef:
>From: Arnaud Aujon <arnaud@intelibre.fr>
>
>Fixes autobuild http://autobuild.buildroot.net/results/dae/dae5c59dfa127e1c3f9e3885cdd1b97e54d8fe41/
>and http://autobuild.buildroot.net/results/fa0/fa04a0fe7d7a201c5f733bd798c0da50ffb81271/
>
>espeak uses fork(), don't work on non-MMU platforms
>
>Signed-off-by: Arnaud Aujon <arnaud@intelibre.fr>
>---
> package/espeak/Config.in | 14 ++++++++------
> 1 file changed, 8 insertions(+), 6 deletions(-)
>
>diff --git a/package/espeak/Config.in b/package/espeak/Config.in
>index ec81893..57c7d18 100644
>--- a/package/espeak/Config.in
>+++ b/package/espeak/Config.in
>@@ -1,17 +1,19 @@
>-comment "espeak needs a toolchain w/ C++, wchar, threads"
>-	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
>-
> config BR2_PACKAGE_ESPEAK
> 	bool "espeak"
> 	depends on BR2_INSTALL_LIBSTDCPP
> 	depends on BR2_USE_WCHAR
> 	depends on BR2_TOOLCHAIN_HAS_THREADS
>+	depends on BR2_USE_MMU # fork()
> 	help
> 	  espeak is a speech synthesizer software for English and
> 	  other languages.
> 
> 	  http://espeak.sourceforge.net/
> 
>+comment "espeak needs a toolchain w/ C++, wchar, threads"
>+        depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
>+        depends on BR2_USE_MMU
>+

While the moving of this comment seems to be the right thing to do, I believe this will break the indentation/nesting of the suboptions of espeak.

Best regards,
Thomas

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

* [Buildroot] [PATCH 1/1] espeak : depends on MMU
  2014-08-11  8:11 ` Thomas De Schampheleire
@ 2014-08-11 11:06   ` Peter Korsgaard
  2014-08-11 12:32     ` Arnaud Aujon
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2014-08-11 11:06 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin@gmail.com> writes:

 > Hi Arnaud,
 > arnaud at intelibre.fr schreef:
 >> From: Arnaud Aujon <arnaud@intelibre.fr>
 >> 
 >> Fixes autobuild http://autobuild.buildroot.net/results/dae/dae5c59dfa127e1c3f9e3885cdd1b97e54d8fe41/
 >> and http://autobuild.buildroot.net/results/fa0/fa04a0fe7d7a201c5f733bd798c0da50ffb81271/
 >> 
 >> espeak uses fork(), don't work on non-MMU platforms
 >> 
 >> Signed-off-by: Arnaud Aujon <arnaud@intelibre.fr>
 >> ---
 >> package/espeak/Config.in | 14 ++++++++------
 >> 1 file changed, 8 insertions(+), 6 deletions(-)
 >> 
 >> diff --git a/package/espeak/Config.in b/package/espeak/Config.in
 >> index ec81893..57c7d18 100644
 >> --- a/package/espeak/Config.in
 >> +++ b/package/espeak/Config.in
 >> @@ -1,17 +1,19 @@
 >> -comment "espeak needs a toolchain w/ C++, wchar, threads"
 >> -	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
 >> -
 >> config BR2_PACKAGE_ESPEAK
 >> bool "espeak"
 >> depends on BR2_INSTALL_LIBSTDCPP
 >> depends on BR2_USE_WCHAR
 >> depends on BR2_TOOLCHAIN_HAS_THREADS
 >> +	depends on BR2_USE_MMU # fork()
 >> help
 >> espeak is a speech synthesizer software for English and
 >> other languages.
 >> 
 >> http://espeak.sourceforge.net/
 >> 
 >> +comment "espeak needs a toolchain w/ C++, wchar, threads"
 >> +        depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
 >> +        depends on BR2_USE_MMU
 >> +

 > While the moving of this comment seems to be the right thing to do, I believe this will break the indentation/nesting of the suboptions of espeak.

Indeed. Comments should go at the very top or bottom of the file. Care
to send a reworked patch that leaves the comment at the top?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 1/1] espeak : depends on MMU
  2014-08-11 11:06   ` Peter Korsgaard
@ 2014-08-11 12:32     ` Arnaud Aujon
  0 siblings, 0 replies; 4+ messages in thread
From: Arnaud Aujon @ 2014-08-11 12:32 UTC (permalink / raw)
  To: buildroot

Hi,
On 08/11/2014 01:06 PM, Peter Korsgaard wrote:
>   >> http://espeak.sourceforge.net/
>   >>
>   >> +comment "espeak needs a toolchain w/ C++, wchar, threads"
>   >> +        depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
>   >> +        depends on BR2_USE_MMU
>   >> +
>
>   > While the moving of this comment seems to be the right thing to do, I believe this will break the indentation/nesting of the suboptions of espeak.
>
> Indeed. Comments should go at the very top or bottom of the file. Care
> to send a reworked patch that leaves the comment at the top?
>

Yes sure, I will re-send shortly.
I moved the comment to match the xbmc package Config.in, so I guess 
there is maybe a few other packages to fix the same way.

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

end of thread, other threads:[~2014-08-11 12:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-11  7:38 [Buildroot] [PATCH 1/1] espeak : depends on MMU arnaud at intelibre.fr
2014-08-11  8:11 ` Thomas De Schampheleire
2014-08-11 11:06   ` Peter Korsgaard
2014-08-11 12:32     ` Arnaud Aujon

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