public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Orlitzky <mjo@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] Global USE=gui
Date: Tue, 7 Jun 2016 14:29:58 -0400	[thread overview]
Message-ID: <575712A6.3030602@gentoo.org> (raw)
In-Reply-To: <20160607182053.68fe547e.mgorny@gentoo.org>

On 06/07/2016 12:20 PM, Michał Górny wrote:
> 
> So many weird ideas... while the simplest one is a proper REQUIRED_USE
> with gui being the control flag, and IUSE defaults to select
> the preferred toolkit.
> 

This is what came to my mind.

The underlying problem that we are hitting (a la Patrick) is that USE
flags are supposed to be a user-interface for building software from
source, but implementation details are an important part of configuring
the software to be built.

It would be nice if USE=gui meant "build a GUI" and that was all the
input that we needed from the user. But if the upstream package supports
both QT and GTK and we need to pass either --with-qt or --with-gtk to
the build system, then there is an unavoidable choice to be made. We can
prefer one, but both options need to be available.

If we want the best of both worlds -- a nice user-interface and full
configurability -- then we can use "the user wants a GUI" as a trigger
for the implementation choice. If there's a default implementation and
the user doesn't care, no further interference should be necessary.
Otherwise the presence of the generic USE=gui will let us know, so we
can let the user know, that he needs to pick one.



  reply	other threads:[~2016-06-07 18:30 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-01 14:29 [gentoo-dev] [RFC] Global USE=gui Mart Raudsepp
2016-06-01 15:19 ` NP-Hardass
2016-06-01 15:26   ` Damien Levac
2016-06-01 16:52   ` Ian Stakenvicius
2016-06-01 16:59     ` NP-Hardass
2016-06-01 17:49       ` Raymond Jennings
2016-06-01 16:15 ` Daniel Campbell (zlg)
2016-06-01 16:21 ` Michał Górny
2016-06-01 16:36   ` NP-Hardass
2016-06-01 16:55   ` Daniel Campbell
2016-06-01 17:53 ` waltdnes
2016-06-01 17:56   ` Michał Górny
2016-06-02  2:13     ` waltdnes
2016-06-02  5:31       ` Michał Górny
2016-06-02  5:50       ` Graham Murray
2016-06-02 19:36         ` waltdnes
2016-06-03  8:52           ` Michał Górny
2016-06-03 15:44             ` Patrick Lauer
2016-06-02 13:31       ` Damien Levac
2016-06-02 19:42         ` waltdnes
2016-06-02 19:57           ` Damien Levac
2016-06-02 21:27             ` Daniel Campbell
2016-06-02 21:55               ` Rich Freeman
2016-06-03  1:18                 ` Daniel Campbell
2016-06-03 13:06               ` Damien Levac
2016-06-03 14:22                 ` Gordon Pettey
2016-06-03 14:15               ` Ian Stakenvicius
2016-06-02 20:25           ` Ian Stakenvicius
2016-06-02 20:37             ` waltdnes
2016-06-02 20:46               ` Michał Górny
2016-06-02 21:20                 ` Igor Savlook
2016-06-02 21:29                   ` Rich Freeman
2016-06-02 21:21                 ` Rich Freeman
2016-06-05  1:58                   ` NP-Hardass
2016-06-02 21:41                 ` Daniel Campbell
2016-06-02 14:20       ` Ian Stakenvicius
2016-06-02 15:08         ` Raymond Jennings
2016-06-03  1:48           ` Nick Vinson
2016-06-03 14:35             ` Ian Stakenvicius
2016-06-03 19:34               ` waltdnes
2016-06-03 20:13                 ` Alan McKinnon
2016-06-03 20:23                   ` M. J. Everitt
2016-06-03 21:33                   ` Nick Vinson
2016-06-03 22:18                     ` Alan McKinnon
2016-06-04  4:24                     ` Michał Górny
2016-06-04  3:26               ` Nick Vinson
2016-06-04  4:07                 ` Ian Stakenvicius
2016-06-04  5:40                   ` Daniel Campbell
2016-06-05  3:07                     ` Mart Raudsepp
2016-06-06 14:53                     ` Ian Stakenvicius
2016-06-07  9:19                       ` Patrick Lauer
2016-06-07  9:27                         ` James Le Cuirot
2016-06-07 11:23                           ` Alexander Berntsen
2016-06-07 11:27                             ` James Le Cuirot
2016-06-07 11:29                               ` Alexander Berntsen
2016-06-07 14:19                         ` Ian Stakenvicius
2016-06-07 14:22                           ` Ian Stakenvicius
2016-06-07 16:20                       ` Michał Górny
2016-06-07 18:29                         ` Michael Orlitzky [this message]
2016-06-07 19:03                           ` Brian Dolbec
2016-06-07 21:44                             ` David Seifert
2016-06-07 22:26                             ` Rich Freeman
2016-06-09 16:32                             ` Michał Górny
2016-06-09 20:24                               ` Ulrich Mueller
2016-06-09 20:42                                 ` Michał Górny
2016-06-09 20:50                                   ` Chí-Thanh Christopher Nguyễn
2016-06-09 22:18                                   ` Ulrich Mueller
2016-06-10 12:29                                     ` Ciaran McCreesh
2016-06-10 12:50                                       ` Ulrich Mueller
2016-06-07 18:50                         ` Michael Orlitzky
2016-06-07 18:57                           ` Michał Górny
2016-06-07 20:31                             ` Michael Orlitzky
2016-06-07 20:59                               ` Michał Górny
2016-06-07 21:06                                 ` Ciaran McCreesh
2016-06-07 21:31                                 ` Michael Orlitzky
2016-06-08  6:34                                   ` Michał Górny

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=575712A6.3030602@gentoo.org \
    --to=mjo@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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