Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] package/taglib: drop config options to enable MP4/ASF support
Date: Sat, 20 Feb 2021 17:20:59 +0100	[thread overview]
Message-ID: <20210220162059.GL2276@scaer> (raw)
In-Reply-To: <20210217074402.20849-1-joerg.krause@embedded.rocks>

J?rg, All,

On 2021-02-17 08:44 +0100, J?rg Krause spake thusly:
> Both options where removed in git commit dd846904cbc1ef3ee628d77f0c9df88ef8967816
> back in year 2011.
> 
> Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
> ---
> v2: fix missing bool in Config.in.legacy (Oops!)

In fact, in this case, we do not need legacy handling.

Indeed, for people who had those options enabled, nothing changes: they
will still get the features they were asking for.

But for people who had those options off, legacy will not be triggered
(it only depends on the options being enabled), so they will not notice,
as they already had the features enabled since they were not conditional
anyway.

So I dropped the legacy handling, and applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  Config.in.legacy         | 12 ++++++++++++
>  package/taglib/Config.in | 10 ----------
>  package/taglib/taglib.mk |  8 --------
>  3 files changed, 12 insertions(+), 18 deletions(-)
> 
> diff --git a/Config.in.legacy b/Config.in.legacy
> index 9deb67b31f..eeb9738e0a 100644
> --- a/Config.in.legacy
> +++ b/Config.in.legacy
> @@ -146,6 +146,18 @@ endif
>  
>  comment "Legacy options removed in 2021.02"
>  
> +config BR2_PACKAGE_TAGLIB_MP4
> +	bool "taglib mp4 support"
> +	select BR2_LEGACY
> +	help
> +	  mp4 support is enabled in TagLib by default since 2011.
> +
> +config BR2_PACKAGE_TAGLIB_ASF
> +	bool "taglib wma support"
> +	select BR2_LEGACY
> +	help
> +	  asf/wma support is enabled in TagLib by default since 2011.
> +
>  config BR2_PACKAGE_MPD_AUDIOFILE
>  	bool "mpd audiofile support removed"
>  	select BR2_LEGACY
> diff --git a/package/taglib/Config.in b/package/taglib/Config.in
> index 9e6bb707fc..6a87a13215 100644
> --- a/package/taglib/Config.in
> +++ b/package/taglib/Config.in
> @@ -11,15 +11,5 @@ config BR2_PACKAGE_TAGLIB
>  
>  	  http://taglib.org/
>  
> -if BR2_PACKAGE_TAGLIB
> -
> -config BR2_PACKAGE_TAGLIB_MP4
> -	bool "taglib mp4 support"
> -
> -config BR2_PACKAGE_TAGLIB_ASF
> -	bool "taglib wma support"
> -
> -endif
> -
>  comment "taglib needs a toolchain w/ C++, wchar"
>  	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
> diff --git a/package/taglib/taglib.mk b/package/taglib/taglib.mk
> index 9381e16672..738be35756 100644
> --- a/package/taglib/taglib.mk
> +++ b/package/taglib/taglib.mk
> @@ -20,14 +20,6 @@ ifeq ($(BR2_PACKAGE_ZLIB),y)
>  TAGLIB_DEPENDENCIES += zlib
>  endif
>  
> -ifeq ($(BR2_PACKAGE_TAGLIB_ASF),y)
> -TAGLIB_CONF_OPTS += -DWITH_ASF=ON
> -endif
> -
> -ifeq ($(BR2_PACKAGE_TAGLIB_MP4),y)
> -TAGLIB_CONF_OPTS += -DWITH_MP4=ON
> -endif
> -
>  define TAGLIB_REMOVE_DEVFILE
>  	rm -f $(TARGET_DIR)/usr/bin/taglib-config
>  endef
> -- 
> 2.30.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2021-02-20 16:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-17  7:44 [Buildroot] [PATCH v2 1/1] package/taglib: drop config options to enable MP4/ASF support Jörg Krause
2021-02-20 16:20 ` Yann E. MORIN [this message]

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=20210220162059.GL2276@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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