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] package/xbmc: Fix broken variable name
Date: Wed, 27 Aug 2014 23:38:42 +0200	[thread overview]
Message-ID: <20140827213842.GB21009@free.fr> (raw)
In-Reply-To: <87wq9tsjoc.fsf@dell.be.48ers.dk>

Peter, All,

On 2014-08-27 23:32 +0200, Peter Korsgaard spake thusly:
> >>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
> 
>  > Bernd, All,
>  > On 2014-08-27 22:41 +0200, Bernd Kuhls spake thusly:
>  >> BR2_PACKAGE_XBMC_DBUS is provided by package/xbmc/Config.in
>  >> 
>  >> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
>  >> ---
>  >> package/xbmc/xbmc.mk |    2 +-
>  >> 1 file changed, 1 insertion(+), 1 deletion(-)
>  >> 
>  >> diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk
>  >> index bdd634e..0bb6724 100644
>  >> --- a/package/xbmc/xbmc.mk
>  >> +++ b/package/xbmc/xbmc.mk
>  >> @@ -64,7 +64,7 @@ XBMC_CONF_ENV += INCLUDES="-I$(STAGING_DIR)/usr/include/interface/vcos/pthreads
>  >> LIBS="-lvcos -lvchostif"
>  >> endif
>  >> 
>  >> -ifeq ($(BR2_PACKAGE_DBUS),y)
>  >> +ifeq ($(BR2_PACKAGE_XBMC_DBUS),y)
>  >> XBMC_DEPENDENCIES += dbus
>  >> endif
> 
>  > No, because the user can still select the package DBUS directly and
>  > since XBMC has no option to disable DBUS, we still want DBUS to be built
>  > before XBMC.
> 
>  > But granted, this is not obvious from the variable name.
> 
> Then we should imho get rid of the XBMC_DBUS option if that option
> doesn't do anything.

That option does select BR2_PACKAGE_DBUS.

All (most of) the XBMC kconfig options were meant so the user could
directly enable XBMC features without hunting down all needed packages.

I know this is unlike most other packages, since our policy is to enable
a package's option if the providing package is enabled.

But for XBMC, the reasoning was that we would not want such a behaviour,
since some dependencies are not trivial (e.g. shairplay, CEC...), so the
kconfig options to XBMC are here to facilitate the user's life.

Regards,
Yann E. MORIN.

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

  reply	other threads:[~2014-08-27 21:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-27 20:41 [Buildroot] [PATCH] package/xbmc: Fix broken variable name Bernd Kuhls
2014-08-27 20:49 ` Yann E. MORIN
2014-08-27 21:11   ` Bernd Kuhls
2014-08-27 21:32   ` Peter Korsgaard
2014-08-27 21:38     ` Yann E. MORIN [this message]
2014-08-28  5:38       ` Bernd Kuhls
2014-08-28  6:54         ` Peter Korsgaard
2014-08-28 10:10         ` Yann E. MORIN
2014-08-28  6:52       ` 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=20140827213842.GB21009@free.fr \
    --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