* [Buildroot] [PATCH 0/4] mpd: Fix config options
@ 2014-08-11 11:42 Jörg Krause
2014-08-11 11:42 ` [Buildroot] [PATCH 1/4] mpd: Fix config option for plugin FAAD2 Jörg Krause
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Jörg Krause @ 2014-08-11 11:42 UTC (permalink / raw)
To: buildroot
The config options in mpd.mk for plugin FAAD2 and FLAC are wrong and fixed
with the first to patches.
In mpd.mk some plugin options are explicitly enabled and some are explicitly
disabled. When building mpd the most plugin options are autoselected if an
appropriate library exist in the build system. This may lead to an undesired
behaviour if a plugin option is not selected in the Config menu by the user,
but mpd will be build with this plugin. The third patch fixes this issue.
In Config.in is an option for BR2_PACKAGE_MPD_MAD, but in mpd.mk this config
option is missing. The fourth patch fixes this issue.
J?rg Krause (4):
mpd: Fix config option for plugin FAAD2
mpd: Fix config option for plugin FLAC
mpd: Set enable/disable config option for all plugins
mpd: Add missing config option for plugin MAD
package/mpd/mpd.mk | 35 +++++++++++++++++++++++++++++++++--
1 file changed, 33 insertions(+), 2 deletions(-)
--
2.0.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/4] mpd: Fix config option for plugin FAAD2
2014-08-11 11:42 [Buildroot] [PATCH 0/4] mpd: Fix config options Jörg Krause
@ 2014-08-11 11:42 ` Jörg Krause
2014-08-11 11:42 ` [Buildroot] [PATCH 2/4] mpd: Fix config option for plugin FLAC Jörg Krause
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Jörg Krause @ 2014-08-11 11:42 UTC (permalink / raw)
To: buildroot
Signed-off-by: J?rg Krause <jkrause@posteo.de>
---
package/mpd/mpd.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
index e2ee760..cd18754 100644
--- a/package/mpd/mpd.mk
+++ b/package/mpd/mpd.mk
@@ -48,7 +48,7 @@ endif
ifeq ($(BR2_PACKAGE_MPD_FAAD2),y)
MPD_DEPENDENCIES += faad2
else
-MPD_CONF_OPT += --disable-faad2
+MPD_CONF_OPT += --disable-aac
endif
ifeq ($(BR2_PACKAGE_MPD_FLAC),y)
--
2.0.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/4] mpd: Fix config option for plugin FLAC
2014-08-11 11:42 [Buildroot] [PATCH 0/4] mpd: Fix config options Jörg Krause
2014-08-11 11:42 ` [Buildroot] [PATCH 1/4] mpd: Fix config option for plugin FAAD2 Jörg Krause
@ 2014-08-11 11:42 ` Jörg Krause
2014-08-11 11:42 ` [Buildroot] [PATCH 3/4] mpd: Set enable/disable config option for all plugins Jörg Krause
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Jörg Krause @ 2014-08-11 11:42 UTC (permalink / raw)
To: buildroot
Signed-off-by: J?rg Krause <jkrause@posteo.de>
---
package/mpd/mpd.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
index cd18754..cddcfb2 100644
--- a/package/mpd/mpd.mk
+++ b/package/mpd/mpd.mk
@@ -54,7 +54,7 @@ endif
ifeq ($(BR2_PACKAGE_MPD_FLAC),y)
MPD_DEPENDENCIES += flac
else
-MPD_CONF_OPT += --without-flac --disable-oggflac
+MPD_CONF_OPT += --disable-flac
endif
ifeq ($(BR2_PACKAGE_MPD_CURL),y)
--
2.0.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 3/4] mpd: Set enable/disable config option for all plugins
2014-08-11 11:42 [Buildroot] [PATCH 0/4] mpd: Fix config options Jörg Krause
2014-08-11 11:42 ` [Buildroot] [PATCH 1/4] mpd: Fix config option for plugin FAAD2 Jörg Krause
2014-08-11 11:42 ` [Buildroot] [PATCH 2/4] mpd: Fix config option for plugin FLAC Jörg Krause
@ 2014-08-11 11:42 ` Jörg Krause
2014-08-11 11:42 ` [Buildroot] [PATCH 4/4] mpd: Add missing config option for plugin MAD Jörg Krause
2014-08-17 19:27 ` [Buildroot] [PATCH 0/4] mpd: Fix config options Thomas Petazzoni
4 siblings, 0 replies; 6+ messages in thread
From: Jörg Krause @ 2014-08-11 11:42 UTC (permalink / raw)
To: buildroot
Signed-off-by: J?rg Krause <jkrause@posteo.de>
---
package/mpd/mpd.mk | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
index cddcfb2..2c2f74f 100644
--- a/package/mpd/mpd.mk
+++ b/package/mpd/mpd.mk
@@ -21,6 +21,7 @@ endif
ifeq ($(BR2_PACKAGE_MPD_ALSA),y)
MPD_DEPENDENCIES += alsa-lib
+MPD_CONF_OPT += --enable-alsa
else
MPD_CONF_OPT += --disable-alsa
endif
@@ -28,91 +29,111 @@ endif
ifeq ($(BR2_PACKAGE_MPD_AO),y)
MPD_DEPENDENCIES += libao
MPD_CONF_OPT += --enable-ao
+else
+MPD_CONF_OPT += --disable-ao
endif
ifeq ($(BR2_PACKAGE_MPD_AUDIOFILE),y)
MPD_DEPENDENCIES += audiofile
MPD_CONF_OPT += --enable-audiofile
+else
+MPD_CONF_OPT += --disable-audiofile
endif
ifeq ($(BR2_PACKAGE_MPD_PULSEAUDIO),y)
MPD_DEPENDENCIES += pulseaudio
MPD_CONF_OPT += --enable-pulse
+else
+MPD_CONF_OPT += --disable-pulse
endif
ifeq ($(BR2_PACKAGE_MPD_BZIP2),y)
MPD_DEPENDENCIES += bzip2
MPD_CONF_OPT += --enable-bzip2
+else
+MPD_CONF_OPT += --disable-bzip2
endif
ifeq ($(BR2_PACKAGE_MPD_FAAD2),y)
MPD_DEPENDENCIES += faad2
+MPD_CONF_OPT += --enable-aac
else
MPD_CONF_OPT += --disable-aac
endif
ifeq ($(BR2_PACKAGE_MPD_FLAC),y)
MPD_DEPENDENCIES += flac
+MPD_CONF_OPT += --enable-flac
else
MPD_CONF_OPT += --disable-flac
endif
ifeq ($(BR2_PACKAGE_MPD_CURL),y)
MPD_DEPENDENCIES += libcurl
+MPD_CONF_OPT += --enable-curl
else
MPD_CONF_OPT += --disable-curl
endif
ifeq ($(BR2_PACKAGE_MPD_LAME),y)
MPD_DEPENDENCIES += lame
+MPD_CONF_OPT += --enable-lame-encoder
else
MPD_CONF_OPT += --disable-lame-encoder
endif
ifeq ($(BR2_PACKAGE_MPD_LIBSAMPLERATE),y)
MPD_DEPENDENCIES += libsamplerate
+MPD_CONF_OPT += --enable-lsr
else
MPD_CONF_OPT += --disable-lsr
endif
ifeq ($(BR2_PACKAGE_MPD_LIBSNDFILE),y)
MPD_DEPENDENCIES += libsndfile
+MPD_CONF_OPT += --enable-sndfile
else
MPD_CONF_OPT += --disable-sndfile
endif
ifeq ($(BR2_PACKAGE_MPD_OPUS),y)
MPD_DEPENDENCIES += opus
+MPD_CONF_OPT += --enable-opus
else
MPD_CONF_OPT += --disable-opus
endif
ifeq ($(BR2_PACKAGE_MPD_VORBIS),y)
MPD_DEPENDENCIES += libvorbis
+MPD_CONF_OPT += --enable-vorbis --enable-vorbis-encoder
else
MPD_CONF_OPT += --disable-vorbis --disable-vorbis-encoder
endif
ifeq ($(BR2_PACKAGE_MPD_MPG123),y)
MPD_DEPENDENCIES += libid3tag mpg123
+MPD_CONF_OPT += --enable-mpg123
else
MPD_CONF_OPT += --disable-mpg123
endif
ifeq ($(BR2_PACKAGE_MPD_MUSEPACK),y)
MPD_DEPENDENCIES += musepack
+MPD_CONF_OPT += --enable-mpc
else
MPD_CONF_OPT += --disable-mpc
endif
ifeq ($(BR2_PACKAGE_MPD_SOUNDCLOUD),y)
MPD_DEPENDENCIES += yajl
+MPD_CONF_OPT += --enable-soundcloud
else
MPD_CONF_OPT += --disable-soundcloud
endif
ifeq ($(BR2_PACKAGE_MPD_SQLITE),y)
MPD_DEPENDENCIES += sqlite
+MPD_CONF_OPT += --enable-sqlite
else
MPD_CONF_OPT += --disable-sqlite
endif
@@ -129,10 +150,13 @@ endif
ifeq ($(BR2_PACKAGE_MPD_TWOLAME),y)
MPD_DEPENDENCIES += twolame
MPD_CONF_OPT += --enable-twolame-encoder
+else
+MPD_CONF_OPT += --disable-twolame-encoder
endif
ifeq ($(BR2_PACKAGE_MPD_WAVPACK),y)
MPD_DEPENDENCIES += wavpack
+MPD_CONF_OPT += --enable-wavpack
else
MPD_CONF_OPT += --disable-wavpack
endif
--
2.0.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 4/4] mpd: Add missing config option for plugin MAD
2014-08-11 11:42 [Buildroot] [PATCH 0/4] mpd: Fix config options Jörg Krause
` (2 preceding siblings ...)
2014-08-11 11:42 ` [Buildroot] [PATCH 3/4] mpd: Set enable/disable config option for all plugins Jörg Krause
@ 2014-08-11 11:42 ` Jörg Krause
2014-08-17 19:27 ` [Buildroot] [PATCH 0/4] mpd: Fix config options Thomas Petazzoni
4 siblings, 0 replies; 6+ messages in thread
From: Jörg Krause @ 2014-08-11 11:42 UTC (permalink / raw)
To: buildroot
Signed-off-by: J?rg Krause <jkrause@posteo.de>
---
package/mpd/mpd.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
index 2c2f74f..df94035 100644
--- a/package/mpd/mpd.mk
+++ b/package/mpd/mpd.mk
@@ -110,6 +110,13 @@ else
MPD_CONF_OPT += --disable-vorbis --disable-vorbis-encoder
endif
+ifeq ($(BR2_PACKAGE_MPD_MAD),y)
+MPD_DEPENDENCIES += libid3tag libmad
+MPD_CONF_OPT += --enable-mad
+else
+MPD_CONF_OPT += --disable-mad
+endif
+
ifeq ($(BR2_PACKAGE_MPD_MPG123),y)
MPD_DEPENDENCIES += libid3tag mpg123
MPD_CONF_OPT += --enable-mpg123
--
2.0.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 0/4] mpd: Fix config options
2014-08-11 11:42 [Buildroot] [PATCH 0/4] mpd: Fix config options Jörg Krause
` (3 preceding siblings ...)
2014-08-11 11:42 ` [Buildroot] [PATCH 4/4] mpd: Add missing config option for plugin MAD Jörg Krause
@ 2014-08-17 19:27 ` Thomas Petazzoni
4 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2014-08-17 19:27 UTC (permalink / raw)
To: buildroot
Dear J?rg Krause,
On Mon, 11 Aug 2014 13:42:50 +0200, J?rg Krause wrote:
> The config options in mpd.mk for plugin FAAD2 and FLAC are wrong and fixed
> with the first to patches.
>
> In mpd.mk some plugin options are explicitly enabled and some are explicitly
> disabled. When building mpd the most plugin options are autoselected if an
> appropriate library exist in the build system. This may lead to an undesired
> behaviour if a plugin option is not selected in the Config menu by the user,
> but mpd will be build with this plugin. The third patch fixes this issue.
>
> In Config.in is an option for BR2_PACKAGE_MPD_MAD, but in mpd.mk this config
> option is missing. The fourth patch fixes this issue.
>
> J?rg Krause (4):
> mpd: Fix config option for plugin FAAD2
> mpd: Fix config option for plugin FLAC
> mpd: Set enable/disable config option for all plugins
> mpd: Add missing config option for plugin MAD
Thanks, I've applied the entire series to the master branch.
Technically speaking, the last patch is not really a fix, but since it
wouldn't have applied to the next branch due to conflicts, and it was
fairly simple, I decided to nonetheless apply to the master branch.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-08-17 19:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-11 11:42 [Buildroot] [PATCH 0/4] mpd: Fix config options Jörg Krause
2014-08-11 11:42 ` [Buildroot] [PATCH 1/4] mpd: Fix config option for plugin FAAD2 Jörg Krause
2014-08-11 11:42 ` [Buildroot] [PATCH 2/4] mpd: Fix config option for plugin FLAC Jörg Krause
2014-08-11 11:42 ` [Buildroot] [PATCH 3/4] mpd: Set enable/disable config option for all plugins Jörg Krause
2014-08-11 11:42 ` [Buildroot] [PATCH 4/4] mpd: Add missing config option for plugin MAD Jörg Krause
2014-08-17 19:27 ` [Buildroot] [PATCH 0/4] mpd: Fix config options Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox