From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Andreas Ziegler <br015@umbiko.net>
Cc: YANN E MORIN <yann.morin.1998@free.fr>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 2/4] package/mpd: add/enhance (kconfig + code) comments
Date: Sun, 6 Aug 2023 21:45:33 +0200 [thread overview]
Message-ID: <20230806214533.512bac85@windsurf> (raw)
In-Reply-To: <20221005091032.3014-3-br015@umbiko.net>
Hello Andreas,
On Wed, 5 Oct 2022 11:10:30 +0200
Andreas Ziegler <br015@umbiko.net> wrote:
> Align kconfig comments with descriptions in the mpd manual.
> Add a kconfig comment to highlight the impact of ogg/vorbis selection.
> Add comments to makefile to explain remaining multiple dependency creation.
>
> Signed-off-by: Andreas Ziegler <br015@umbiko.net>
> ---
> Changes v1 -> v2:
> - make this a separate patch
>
> package/mpd/Config.in | 9 ++++++---
> package/mpd/mpd.mk | 2 ++
> 2 files changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/package/mpd/Config.in b/package/mpd/Config.in
> index 8f0af7b2d3..2606008e90 100644
> --- a/package/mpd/Config.in
> +++ b/package/mpd/Config.in
> @@ -33,7 +33,7 @@ config BR2_PACKAGE_MPD_SQLITE
> select BR2_PACKAGE_SQLITE
> help
> Enable sqlite database support.
> - If you don't use sqlite it will use an ASCII database.
Why is this removed?
> + This is mandatory for the sticker database.
Not sure what the sticker database is :-)
>
> config BR2_PACKAGE_MPD_ZZIP
> bool "zzip"
> @@ -81,8 +81,8 @@ comment "Decoder plugins"
> config BR2_PACKAGE_MPD_DSD
> bool "dsd"
> help
> - Enable Digital Speech Decoder (DSD) support to play audio
> - files encoded in a digital speech format.
> + Direct Stream Digital (DSD) support to play audio
> + files encoded in single bit format.
Is this change really relevant ?
>
> config BR2_PACKAGE_MPD_FAAD2
> bool "faad2"
> @@ -210,6 +210,9 @@ config BR2_PACKAGE_MPD_TWOLAME
> help
> Enable TwoLAME mp2 encoding.
>
> +comment "for ogg/vorbis encoding enable vorbis decoder"
> + depends on !BR2_PACKAGE_MPD_VORBIS
I don't understand why this comment is needed. We usually don't put
comments about all dependencies on other packages. Why for this one?
If you want to play Ogg/Vorbis files, it's quite obvious that the
"vorbis" option needs to be enabled.
> +# opus needs to be encapsulated in a container format, here ogg
Yes, and?
> ifeq ($(BR2_PACKAGE_MPD_OPUS),y)
> MPD_DEPENDENCIES += opus libogg
> MPD_CONF_OPTS += -Dopus=enabled
> @@ -317,6 +318,7 @@ else ifeq ($(BR2_PACKAGE_MPD_UPNP_DISABLED),y)
> MPD_CONF_OPTS += -Dupnp=disabled
> endif
>
> +# handle decoder and encoder simultaneously
Yes, and?
Sorry, but I don't really understand the value of the changes proposed
in this commit. I'll mark it as Changes Requested for the time being.
Feel free to resubmit with more details if needed. Also, look at other
Buildroot packages, we try to do things consistently, so doing
something "special" in MPD is unlikely to be accepted.
Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-08-06 19:46 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-31 13:22 [Buildroot] [PATCH 1/1] package/mpd: explicitly disable features to avoid collision with host packages Andreas Ziegler
2022-04-04 17:38 ` Arnout Vandecappelle
2022-04-08 13:22 ` Andreas Ziegler
2022-04-09 15:41 ` [Buildroot] User-visible Config.in feature sub-options [was: Re: [PATCH 1/1] package/mpd: explicitly disable features to avoid collision with host packages] Arnout Vandecappelle
2022-04-09 16:09 ` Yann E. MORIN
2022-04-10 5:44 ` Andreas Ziegler
2022-04-21 14:45 ` Andreas Ziegler
2022-10-05 9:10 ` [Buildroot] [PATCH v2 0/4] User-visible Config.in feature sub-options Andreas Ziegler
2022-10-05 9:10 ` [Buildroot] [PATCH v2 1/4] package/mpd: fix reversed logic in tcp disable Andreas Ziegler
2023-08-06 19:42 ` Thomas Petazzoni via buildroot
2023-09-11 7:22 ` Peter Korsgaard
2022-10-05 9:10 ` [Buildroot] [PATCH v2 2/4] package/mpd: add/enhance (kconfig + code) comments Andreas Ziegler
2023-08-06 19:45 ` Thomas Petazzoni via buildroot [this message]
2023-08-08 8:14 ` Andreas Ziegler
2022-10-05 9:10 ` [Buildroot] [PATCH v2 3/4] package/mpd: introduce id3tag feature dependency Andreas Ziegler
2023-08-06 19:46 ` Thomas Petazzoni via buildroot
2023-09-11 7:23 ` Peter Korsgaard
2022-10-05 9:10 ` [Buildroot] [PATCH v2 4/4] package/mpd: introduce sub-options for expat and yajl Andreas Ziegler
2023-08-06 20:45 ` Thomas Petazzoni via buildroot
2023-09-11 7:23 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230806214533.512bac85@windsurf \
--to=buildroot@buildroot.org \
--cc=br015@umbiko.net \
--cc=thomas.petazzoni@bootlin.com \
--cc=yann.morin.1998@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox