* [Buildroot] [PATCH v3 1/2] Added mpd-mpc, mpc client to mpd
@ 2014-12-12 21:24 Thierry Bultel
2014-12-12 21:24 ` [Buildroot] [PATCH v3 2/2] mpd: group client and libraries under the same menu Thierry Bultel
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Thierry Bultel @ 2014-12-12 21:24 UTC (permalink / raw)
To: buildroot
---
Changes v2 -> v3
- dependency to host-pkgconf (noticed by J?rg Krause)
- optional dependency to libiconv
- configure environnement for C99 compiler
Changes v1 -> v2
- No needed dependency to mpd (suggested by Thomas)
- Added hash and license information
Signed-off-by: Thierry Bultel <tbultel@free.fr>
---
package/Config.in | 1 +
package/mpd-mpc/Config.in | 7 +++++++
package/mpd-mpc/mpd-mpc.hash | 2 ++
package/mpd-mpc/mpd-mpc.mk | 23 +++++++++++++++++++++++
4 files changed, 33 insertions(+)
create mode 100644 package/mpd-mpc/Config.in
create mode 100644 package/mpd-mpc/mpd-mpc.hash
create mode 100644 package/mpd-mpc/mpd-mpc.mk
diff --git a/package/Config.in b/package/Config.in
index dd3a46e..74ac5b1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -19,6 +19,7 @@ menu "Audio and video applications"
source "package/madplay/Config.in"
source "package/modplugtools/Config.in"
source "package/mpd/Config.in"
+ source "package/mpd-mpc/Config.in"
source "package/mpg123/Config.in"
source "package/mplayer/Config.in"
source "package/musepack/Config.in"
diff --git a/package/mpd-mpc/Config.in b/package/mpd-mpc/Config.in
new file mode 100644
index 0000000..1debc83
--- /dev/null
+++ b/package/mpd-mpc/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_MPD_MPC
+ bool "mpd-mpc"
+ select BR2_PACKAGE_LIBMPDCLIENT
+ help
+ A minimalist command line interface to MPD.
+
+ http://www.musicpd.org/clients/mpc/
diff --git a/package/mpd-mpc/mpd-mpc.hash b/package/mpd-mpc/mpd-mpc.hash
new file mode 100644
index 0000000..d1fa7b1
--- /dev/null
+++ b/package/mpd-mpc/mpd-mpc.hash
@@ -0,0 +1,2 @@
+# No upstream hashes for the following:
+sha1 dd1577cfff1d8324bc27c97fb26d88b845118800 mpc-0.26.tar.xz
diff --git a/package/mpd-mpc/mpd-mpc.mk b/package/mpd-mpc/mpd-mpc.mk
new file mode 100644
index 0000000..70eab69
--- /dev/null
+++ b/package/mpd-mpc/mpd-mpc.mk
@@ -0,0 +1,23 @@
+################################################################################
+#
+# mpd-mpc
+#
+################################################################################
+
+MPD_MPC_VERSION_MAJOR = 0
+MPD_MPC_VERSION = $(MPD_MPC_VERSION_MAJOR).26
+MPD_MPC_SITE = http://www.musicpd.org/download/mpc/$(MPD_MPC_VERSION_MAJOR)
+MPD_MPC_SOURCE = mpc-$(MPD_MPC_VERSION).tar.xz
+MPD_MPC_LICENSE = GPLv2+
+MPD_MPC_LICENSE_FILES = COPYING
+MPD_MPC_DEPENDENCIES = host-pkgconf libmpdclient
+MPD_MPC_CONF_ENV = ac_cv_prog_cc_c99='-std=c99'
+
+ifeq ($(BR2_PACKAGE_LIBICONV),y)
+MPD_MPC_DEPENDENCIES += libiconv
+MPD_MPC_CONF_OPTS += --enable-iconv
+else
+MPD_MPC_CONF_OPTS += --disable-iconv
+endif
+
+$(eval $(autotools-package))
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH v3 2/2] mpd: group client and libraries under the same menu
2014-12-12 21:24 [Buildroot] [PATCH v3 1/2] Added mpd-mpc, mpc client to mpd Thierry Bultel
@ 2014-12-12 21:24 ` Thierry Bultel
2014-12-12 23:55 ` Jörg Krause
2015-01-10 16:53 ` Thomas Petazzoni
2014-12-12 23:38 ` [Buildroot] [PATCH v3 1/2] Added mpd-mpc, mpc client to mpd Jörg Krause
2015-01-02 16:16 ` Thomas Petazzoni
2 siblings, 2 replies; 7+ messages in thread
From: Thierry Bultel @ 2014-12-12 21:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Thierry Bultel <tbultel@free.fr>
---
package/Config.in | 6 ------
package/mpd/Config.in | 21 +++++++++++++++++++++
2 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/package/Config.in b/package/Config.in
index 74ac5b1..3339ca5 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -19,11 +19,9 @@ menu "Audio and video applications"
source "package/madplay/Config.in"
source "package/modplugtools/Config.in"
source "package/mpd/Config.in"
- source "package/mpd-mpc/Config.in"
source "package/mpg123/Config.in"
source "package/mplayer/Config.in"
source "package/musepack/Config.in"
- source "package/ncmpc/Config.in"
source "package/on2-8170-libs/Config.in"
source "package/opus-tools/Config.in"
source "package/pulseaudio/Config.in"
@@ -31,13 +29,11 @@ menu "Audio and video applications"
source "package/tidsp-binaries/Config.in"
source "package/tstools/Config.in"
source "package/twolame/Config.in"
- source "package/upmpdcli/Config.in"
source "package/vlc/Config.in"
source "package/vorbis-tools/Config.in"
source "package/wavpack/Config.in"
source "package/xbmc/Config.in"
source "package/yavta/Config.in"
- source "package/ympd/Config.in"
endmenu
menu "Compressors and decompressors"
@@ -571,8 +567,6 @@ menu "Audio/Sound"
source "package/liblo/Config.in"
source "package/libmad/Config.in"
source "package/libmodplug/Config.in"
- source "package/libmpd/Config.in"
- source "package/libmpdclient/Config.in"
source "package/libreplaygain/Config.in"
source "package/libsamplerate/Config.in"
source "package/libsndfile/Config.in"
diff --git a/package/mpd/Config.in b/package/mpd/Config.in
index 0e115f6..a885a17 100644
--- a/package/mpd/Config.in
+++ b/package/mpd/Config.in
@@ -1,3 +1,5 @@
+menu "mpd"
+
menuconfig BR2_PACKAGE_MPD
bool "mpd"
depends on BR2_INSTALL_LIBSTDCPP
@@ -309,8 +311,27 @@ config BR2_PACKAGE_MPD_UPNP
endif
+
+
comment "mpd needs a toolchain w/ C++, threads, wchar"
depends on BR2_USE_MMU
depends on !(BR2_avr32 || BR2_sparc)
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE
+
+menu "mpd frontends"
+ source "package/upmpdcli/Config.in"
+endmenu
+
+menu "mpd libraries"
+ source "package/libmpd/Config.in"
+ source "package/libmpdclient/Config.in"
+endmenu
+
+menu "mpd clients"
+ source "package/mpd-mpc/Config.in"
+ source "package/ncmpc/Config.in"
+ source "package/ympd/Config.in"
+endmenu
+
+endmenu
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH v3 1/2] Added mpd-mpc, mpc client to mpd
2014-12-12 21:24 [Buildroot] [PATCH v3 1/2] Added mpd-mpc, mpc client to mpd Thierry Bultel
2014-12-12 21:24 ` [Buildroot] [PATCH v3 2/2] mpd: group client and libraries under the same menu Thierry Bultel
@ 2014-12-12 23:38 ` Jörg Krause
2015-01-02 16:16 ` Thomas Petazzoni
2 siblings, 0 replies; 7+ messages in thread
From: Jörg Krause @ 2014-12-12 23:38 UTC (permalink / raw)
To: buildroot
On Fr, 2014-12-12 at 22:24 +0100, Thierry Bultel wrote:
> ---
>
> Changes v2 -> v3
> - dependency to host-pkgconf (noticed by J?rg Krause)
> - optional dependency to libiconv
> - configure environnement for C99 compiler
>
> Changes v1 -> v2
> - No needed dependency to mpd (suggested by Thomas)
> - Added hash and license information
>
> Signed-off-by: Thierry Bultel <tbultel@free.fr>
Looks good to me!
Builds successfully on ARM target with musl.
Tested-by: J?rg Krause <jkrause@posteo.de>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH v3 2/2] mpd: group client and libraries under the same menu
2014-12-12 21:24 ` [Buildroot] [PATCH v3 2/2] mpd: group client and libraries under the same menu Thierry Bultel
@ 2014-12-12 23:55 ` Jörg Krause
2014-12-13 6:42 ` Thierry Bultel
2015-01-10 16:53 ` Thomas Petazzoni
1 sibling, 1 reply; 7+ messages in thread
From: Jörg Krause @ 2014-12-12 23:55 UTC (permalink / raw)
To: buildroot
On Fr, 2014-12-12 at 22:24 +0100, Thierry Bultel wrote:
> diff --git a/package/Config.in b/package/Config.in
> index 74ac5b1..3339ca5 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -19,11 +19,9 @@ menu "Audio and video applications"
> source "package/madplay/Config.in"
> source "package/modplugtools/Config.in"
> source "package/mpd/Config.in"
> - source "package/mpd-mpc/Config.in"
> source "package/mpg123/Config.in"
> source "package/mplayer/Config.in"
> source "package/musepack/Config.in"
> - source "package/ncmpc/Config.in"
> source "package/on2-8170-libs/Config.in"
> source "package/opus-tools/Config.in"
> source "package/pulseaudio/Config.in"
> @@ -31,13 +29,11 @@ menu "Audio and video applications"
> source "package/tidsp-binaries/Config.in"
> source "package/tstools/Config.in"
> source "package/twolame/Config.in"
> - source "package/upmpdcli/Config.in"
> source "package/vlc/Config.in"
> source "package/vorbis-tools/Config.in"
> source "package/wavpack/Config.in"
> source "package/xbmc/Config.in"
> source "package/yavta/Config.in"
> - source "package/ympd/Config.in"
> endmenu
>
> menu "Compressors and decompressors"
> @@ -571,8 +567,6 @@ menu "Audio/Sound"
> source "package/liblo/Config.in"
> source "package/libmad/Config.in"
> source "package/libmodplug/Config.in"
> - source "package/libmpd/Config.in"
> - source "package/libmpdclient/Config.in"
> source "package/libreplaygain/Config.in"
> source "package/libsamplerate/Config.in"
> source "package/libsndfile/Config.in"
> diff --git a/package/mpd/Config.in b/package/mpd/Config.in
> index 0e115f6..a885a17 100644
> --- a/package/mpd/Config.in
> +++ b/package/mpd/Config.in
> @@ -1,3 +1,5 @@
> +menu "mpd"
> +
> menuconfig BR2_PACKAGE_MPD
> bool "mpd"
> depends on BR2_INSTALL_LIBSTDCPP
> @@ -309,8 +311,27 @@ config BR2_PACKAGE_MPD_UPNP
>
> endif
>
> +
> +
> comment "mpd needs a toolchain w/ C++, threads, wchar"
> depends on BR2_USE_MMU
> depends on !(BR2_avr32 || BR2_sparc)
> depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
> !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE
> +
> +menu "mpd frontends"
> + source "package/upmpdcli/Config.in"
> +endmenu
> +
> +menu "mpd libraries"
> + source "package/libmpd/Config.in"
> + source "package/libmpdclient/Config.in"
> +endmenu
> +
> +menu "mpd clients"
> + source "package/mpd-mpc/Config.in"
> + source "package/ncmpc/Config.in"
> + source "package/ympd/Config.in"
> +endmenu
> +
> +endmenu
Thinking about this again and trying this patch, I suggest we leave it
as it is. It is not in the sense of Buildroot, because these are
individual packages and not package options. But many thanks for the
effort!
Btw: This patch should be a seperate patch, there was no v1 or v2 for
this one.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH v3 2/2] mpd: group client and libraries under the same menu
2014-12-12 23:55 ` Jörg Krause
@ 2014-12-13 6:42 ` Thierry Bultel
0 siblings, 0 replies; 7+ messages in thread
From: Thierry Bultel @ 2014-12-13 6:42 UTC (permalink / raw)
To: buildroot
Le 13/12/2014 00:55, J?rg Krause a ?crit :
> On Fr, 2014-12-12 at 22:24 +0100, Thierry Bultel wrote:
>> diff --git a/package/Config.in b/package/Config.in
>> index 74ac5b1..3339ca5 100644
>> --- a/package/Config.in
>> +++ b/package/Config.in
>> @@ -19,11 +19,9 @@ menu "Audio and video applications"
>> source "package/madplay/Config.in"
>> source "package/modplugtools/Config.in"
>> source "package/mpd/Config.in"
>> - source "package/mpd-mpc/Config.in"
>> source "package/mpg123/Config.in"
>> source "package/mplayer/Config.in"
>> source "package/musepack/Config.in"
>> - source "package/ncmpc/Config.in"
>> source "package/on2-8170-libs/Config.in"
>> source "package/opus-tools/Config.in"
>> source "package/pulseaudio/Config.in"
>> @@ -31,13 +29,11 @@ menu "Audio and video applications"
>> source "package/tidsp-binaries/Config.in"
>> source "package/tstools/Config.in"
>> source "package/twolame/Config.in"
>> - source "package/upmpdcli/Config.in"
>> source "package/vlc/Config.in"
>> source "package/vorbis-tools/Config.in"
>> source "package/wavpack/Config.in"
>> source "package/xbmc/Config.in"
>> source "package/yavta/Config.in"
>> - source "package/ympd/Config.in"
>> endmenu
>>
>> menu "Compressors and decompressors"
>> @@ -571,8 +567,6 @@ menu "Audio/Sound"
>> source "package/liblo/Config.in"
>> source "package/libmad/Config.in"
>> source "package/libmodplug/Config.in"
>> - source "package/libmpd/Config.in"
>> - source "package/libmpdclient/Config.in"
>> source "package/libreplaygain/Config.in"
>> source "package/libsamplerate/Config.in"
>> source "package/libsndfile/Config.in"
>> diff --git a/package/mpd/Config.in b/package/mpd/Config.in
>> index 0e115f6..a885a17 100644
>> --- a/package/mpd/Config.in
>> +++ b/package/mpd/Config.in
>> @@ -1,3 +1,5 @@
>> +menu "mpd"
>> +
>> menuconfig BR2_PACKAGE_MPD
>> bool "mpd"
>> depends on BR2_INSTALL_LIBSTDCPP
>> @@ -309,8 +311,27 @@ config BR2_PACKAGE_MPD_UPNP
>>
>> endif
>>
>> +
>> +
>> comment "mpd needs a toolchain w/ C++, threads, wchar"
>> depends on BR2_USE_MMU
>> depends on !(BR2_avr32 || BR2_sparc)
>> depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
>> !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE
>> +
>> +menu "mpd frontends"
>> + source "package/upmpdcli/Config.in"
>> +endmenu
>> +
>> +menu "mpd libraries"
>> + source "package/libmpd/Config.in"
>> + source "package/libmpdclient/Config.in"
>> +endmenu
>> +
>> +menu "mpd clients"
>> + source "package/mpd-mpc/Config.in"
>> + source "package/ncmpc/Config.in"
>> + source "package/ympd/Config.in"
>> +endmenu
>> +
>> +endmenu
>
> Thinking about this again and trying this patch, I suggest we leave it
> as it is. It is not in the sense of Buildroot, because these are
> individual packages and not package options. But many thanks for the
> effort!
>
with the patch, they keep independent, but are just under a "mpd" menu.
> Btw: This patch should be a seperate patch, there was no v1 or v2 for
> this one.
>
yes, I was asking myself how to do, because patch 2 is dependent of
patch 1 (need the mpd-mpc line).
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH v3 1/2] Added mpd-mpc, mpc client to mpd
2014-12-12 21:24 [Buildroot] [PATCH v3 1/2] Added mpd-mpc, mpc client to mpd Thierry Bultel
2014-12-12 21:24 ` [Buildroot] [PATCH v3 2/2] mpd: group client and libraries under the same menu Thierry Bultel
2014-12-12 23:38 ` [Buildroot] [PATCH v3 1/2] Added mpd-mpc, mpc client to mpd Jörg Krause
@ 2015-01-02 16:16 ` Thomas Petazzoni
2 siblings, 0 replies; 7+ messages in thread
From: Thomas Petazzoni @ 2015-01-02 16:16 UTC (permalink / raw)
To: buildroot
Dear Thierry Bultel,
On Fri, 12 Dec 2014 22:24:39 +0100, Thierry Bultel wrote:
> ---
>
> Changes v2 -> v3
> - dependency to host-pkgconf (noticed by J?rg Krause)
> - optional dependency to libiconv
> - configure environnement for C99 compiler
>
> Changes v1 -> v2
> - No needed dependency to mpd (suggested by Thomas)
> - Added hash and license information
>
> Signed-off-by: Thierry Bultel <tbultel@free.fr>
Committed, thanks, with a few changes:
[Thomas:
- Changed hash file to use SHA256
- Remove libiconv handling, since the iconv detection in mpc is
broken: if it's not available in the C library, it expects to find
iconv() in libintl (from gettext). But it's actually libiconv that
provides iconv() for non-locale capable uClibc toolchains. But
since anyway the package builds fine without iconv() support and
properly detects when it's available, don't bother with this.]
If you can report to upstream the libiconv detection problem, it would
be good.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH v3 2/2] mpd: group client and libraries under the same menu
2014-12-12 21:24 ` [Buildroot] [PATCH v3 2/2] mpd: group client and libraries under the same menu Thierry Bultel
2014-12-12 23:55 ` Jörg Krause
@ 2015-01-10 16:53 ` Thomas Petazzoni
1 sibling, 0 replies; 7+ messages in thread
From: Thomas Petazzoni @ 2015-01-10 16:53 UTC (permalink / raw)
To: buildroot
Dear Thierry Bultel,
On Fri, 12 Dec 2014 22:24:40 +0100, Thierry Bultel wrote:
> Signed-off-by: Thierry Bultel <tbultel@free.fr>
> ---
> package/Config.in | 6 ------
> package/mpd/Config.in | 21 +++++++++++++++++++++
> 2 files changed, 21 insertions(+), 6 deletions(-)
We don't typically try to create categories for such a small number of
packages. I've asked Yann and Gustavo, and they agree with this
opinion. So I'm sorry, but we'll reject this patch.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-01-10 16:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-12 21:24 [Buildroot] [PATCH v3 1/2] Added mpd-mpc, mpc client to mpd Thierry Bultel
2014-12-12 21:24 ` [Buildroot] [PATCH v3 2/2] mpd: group client and libraries under the same menu Thierry Bultel
2014-12-12 23:55 ` Jörg Krause
2014-12-13 6:42 ` Thierry Bultel
2015-01-10 16:53 ` Thomas Petazzoni
2014-12-12 23:38 ` [Buildroot] [PATCH v3 1/2] Added mpd-mpc, mpc client to mpd Jörg Krause
2015-01-02 16:16 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox