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] xserver_xorg-server: Change default to X.org modular server
Date: Sat, 11 Apr 2015 20:35:12 +0200	[thread overview]
Message-ID: <20150411183512.GM4221@free.fr> (raw)
In-Reply-To: <20150411201805.4bac425d@free-electrons.com>

Thomas, All,

On 2015-04-11 20:18 +0200, Thomas Petazzoni spake thusly:
> Dear Yann E. MORIN,
> 
> On Sat, 11 Apr 2015 20:13:30 +0200, Yann E. MORIN wrote:
> 
> > I would not mind much doing the switch to the modular Xserver by
> > default. But that would mean proper dependency propagation (i.e. C++).
> 
> I don't understand what you mean here.

See below...

> > However, an alternative solution would be to remove the 'default' clause
> > altogether from the choice:
> > 
> >   - if C++ is available, the modular Xserver is enabled by default,
> >     being the first option in the choice;
> > 
> >   - if C++ is not enabled, then KDrive is enabled, being the only option
> >     in the choice.
> 
> Well, Bernd's patch is doing that in a perfectly fine way. If C++ is
> available, the default on modular will work. If C++ is not available,
> since the modular option will not be available, the only remaining
> option in the choice will be Kdrive, and it will be the selected option.
> 
> Am I missing something?

No, not really.

Even though 'default' in Kconfig is not authoritative, and that's not
even a warning to default to an option that has unmet dependencies, I
still find it odd to default to that option.

And since the default is defaulting to the first entry in the choice, it
is no longer needed at all.

At best, we could add a comment summarising the situation.

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:[~2015-04-11 18:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-11 17:13 [Buildroot] [PATCH v2 1/1] xserver_xorg-server: Change default to X.org modular server Bernd Kuhls
2015-04-11 17:58 ` Thomas Petazzoni
2015-04-11 18:13   ` Yann E. MORIN
2015-04-11 18:18     ` Thomas Petazzoni
2015-04-11 18:35       ` Yann E. MORIN [this message]
2015-04-13 23:09         ` Arnout Vandecappelle
2015-04-11 18:19     ` Bernd Kuhls

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=20150411183512.GM4221@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