public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* AW: [gentoo-dev] Proposal for advanced useflag-syntax
@ 2006-08-07 15:04 Noack, Sebastian
  2006-08-07 15:21 ` Luca Barbato
  2006-08-07 20:18 ` Enrico Weigelt
  0 siblings, 2 replies; 37+ messages in thread
From: Noack, Sebastian @ 2006-08-07 15:04 UTC (permalink / raw
  To: gentoo-dev

> > > Well, I don't consider reducing complexity "frivolous" ;-o
> >
> > Which reduction for which complexity? Do you want to bring
everyone's
> > systems to a grinding halt, just because you can't understand the
> > "complexity" of useflags.
> 
> I just want to keep things simple. We're talking about introducing
> new (additional) logic.

Is a need to have dozens of lines in your /etc/portage/package.use a
simple approach? Maybe it is, if for you, simplicity means only "less
number of lines of code in the core of the application". But wasn't you
the one who told me that quantity isn't the same like complexity? Well
you could say that only source code and scripts contain logic and
therefore numbers of lines in the config files doesn't means complexity,
but what do I do by the config files of portage actually? I use them for
example to instruct portage to enable useflag A but not for ebuild and
useflag B but just for ebuild b. Do you claim that this is no logic?


> Rember: we started with the thesis, "grandma wants graphical
> frontends whereever possible". This is in fact not an technical
> issue, instead a matter of personal taste, or lets say, an individual
> system configuration. Grandma wants to click, okay, so she should
> use graphical applications. She's not interested what sits behind,
> she just wants to have a buch of applications. And she also doesn't
> wann have anything to do with emerge and useflags. She just wants
> to have a choice between a bunch of end-user applications.
> That's the job of an Grandma-(sub-)distro.

That was never the point where "we" started. That was just the point,
you used to confuse this discussion. The grandma scenario should just be
a funny example for a requirement of such a advanced portage syntax I
could really need on my own systems and I'm not female, but male and not
80 but 18 years old. ;)


I know that my proposed syntax isn't a perfect solution. But I think the
current state of portage isn't a perfect solution, too. And I hoped when
I started this thread, that we will find together a good solution.

Best Regards
Sebastian Noack

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 37+ messages in thread
* AW: [gentoo-dev] Proposal for advanced useflag-syntax
@ 2006-08-04  6:21 Noack, Sebastian
  2006-08-07 13:26 ` Enrico Weigelt
  0 siblings, 1 reply; 37+ messages in thread
From: Noack, Sebastian @ 2006-08-04  6:21 UTC (permalink / raw
  To: gentoo-dev

> > Today the solution would be to enable the kde, qt, qt3, qt4, gtk,
etc.
> > -useflag. But this solution is crappy, because of some ebuilds for
> 
> These flags are crap at all. It already is crap that certain packages
> contain backend and frontends for several GUIs (more precisely: based
> on several widget toolkits) alltogether.  They actually should be
> different. Yeah, many packages tend to do such crap in the upstream,
> but we shouldn't let this pass into the portage tree.
> 
> For example: mplayer
> It has it's gui-less player and an gtk-based frontend in one package.
> We should split this into two packages: mplayer and gmplayer.
> The chances to get this done in the upstream *before* some major
> distro like gentoo does the split by its own are quite low.

Hey, come on. We're not Debian! Unnecessary and senseless splitting of
packages is against the philosophy of Gentoo.

> > (kde || qt4 || qt3 || qt || gtk) (arts || alsa) (asf && win32codecs)
> 
> IMHO unnecessary complexity which introduces more point of failure
> and confusion.

At the first sight this approach seems to add complexity, but actual it
would remove a lot of complexity on Gentoo systems. For example on my
own system here I have approx. 40 lines in my /etc/portage/package.use
which could be reduced to less than 10 lines by using such a syntax like
above in the /etc/make.conf for global useflag configuration.

> With you suggestion, the package maintainers have to take care of
> Grandma's special conditions. This shouldn't be their job.
> 
> Granma's Box cries for an special Grandma-Distro, Grandma-Gentoo !
> This should be maintained by an separate team, which is specialized
> on the needs of those users.

In the described scenario, it wasn't mentioned that she has a
grandchild, so where do you know from that she is a grandma? ;) Doesn't
matter, btw it was in any case just an example where such a syntax would
be useful. Another szenario would be a server with several
database-based apps on it, where an expression like "(postgres ||
mysql)" might be useful.

Regards
Sebastian Noack

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 37+ messages in thread
* [gentoo-dev] Proposal for advanced useflag-syntax
@ 2006-08-03 11:31 Noack, Sebastian
       [not found] ` <20060803153407.GA19696@nibiru.local>
  0 siblings, 1 reply; 37+ messages in thread
From: Noack, Sebastian @ 2006-08-03 11:31 UTC (permalink / raw
  To: gentoo-dev

Hi,

following szenario: Somebody installs a kde desktop and because of it is
an 80 years old woman ;), she wants to have graphical frontends where
ever possible.

Today the solution would be to enable the kde, qt, qt3, qt4, gtk, etc.
-useflag. But this solution is crappy, because of some ebuilds for
example app-office/openoffice have support for multiple widget libraries
and because our 80 years old female person has a kde desktop, she would
prefer kde-support about gtk+. Today she would have to decide if she
wants to make an entry in /etc/portage/package.use for each ebuild that
comes with multiple widget library support or if she wants to compile
each such ebuild preventive with support for every available widget
library, which would be against the sense of useflags.

To prevent such szenarios I propose following extended syntax for
useflag configuration:

(kde || qt4 || qt3 || qt || gtk) (arts || alsa) (asf && win32codecs)

This expression would affect that only if a kde-useflag isn't provided
the qt4 useflag, becomes used and if this isn't also provided the qt3
useflag becomes used and so on. The same for arts and alsa, where it is
nonsense to support both but better to support arts. And the last
segment of this expression would affect that win32codecs and asf becomes
enabled for each ebuild that supports asf. This would for example be
useful in the case of media-libs/xine-lib if you want have asf-support
but you want avoid win32codecs as much as possible, because of xine-lib
needs win32codecs to support asf.

Best Regards
Sebasitan Noack

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2006-08-08 21:40 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-07 15:04 AW: [gentoo-dev] Proposal for advanced useflag-syntax Noack, Sebastian
2006-08-07 15:21 ` Luca Barbato
2006-08-07 20:18 ` Enrico Weigelt
  -- strict thread matches above, loose matches on Subject: below --
2006-08-04  6:21 AW: " Noack, Sebastian
2006-08-07 13:26 ` Enrico Weigelt
2006-08-07 14:53   ` Thomas Cort
2006-08-07 18:48     ` Enrico Weigelt
2006-08-07 20:09   ` Marius Mauch
2006-08-07 21:14     ` Paul de Vrieze
2006-08-03 11:31 Noack, Sebastian
     [not found] ` <20060803153407.GA19696@nibiru.local>
2006-08-03 18:38   ` Luca Barbato
     [not found]     ` <20060807131642.GF25236@nibiru.local>
2006-08-07 13:40       ` Paul de Vrieze
2006-08-07 14:18         ` Enrico Weigelt
2006-08-07 10:58           ` Alec Warner
2006-08-07 21:08           ` Paul de Vrieze
2006-08-08 10:30             ` Enrico Weigelt
2006-08-08 10:39               ` Simon Stelling
2006-08-08 10:58                 ` Enrico Weigelt
2006-08-08 10:57               ` Jakub Moc
2006-08-04  7:54   ` Simon Stelling
2006-08-04  9:01     ` Brian Harring
2006-08-07 13:48       ` Enrico Weigelt
2006-08-07 14:08         ` Stephen P. Becker
2006-08-08  1:44         ` W.Kenworthy
2006-08-08  2:14           ` Mike Frysinger
2006-08-08 10:34             ` Enrico Weigelt
2006-08-08  2:50           ` Donnie Berkholz
2006-08-08 10:40             ` Enrico Weigelt
2006-08-08 12:37               ` Jan Kundrat
2006-08-08 14:50                 ` Enrico Weigelt
2006-08-08 15:06                   ` Lance Albertson
2006-08-08 20:17                     ` Enrico Weigelt
2006-08-08 20:37                       ` Lance Albertson
2006-08-08 20:46                       ` Jan Kundrát
2006-08-08 21:22                       ` Curtis Napier
2006-08-08 15:12                   ` Thomas Cort
2006-08-08 20:22                     ` Enrico Weigelt
2006-08-08 21:02                       ` Richard Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox