public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Duncan" <1i5t5.duncan@cox.net>
To: gentoo-amd64@lists.gentoo.org
Subject: [gentoo-amd64]  Re: recommended USE flags
Date: Sat, 12 Aug 2006 12:39:03 +0000 (UTC)	[thread overview]
Message-ID: <ebki57$sb2$1@sea.gmane.org> (raw)
In-Reply-To: 200608121113.01942.prh@gotadsl.co.uk

Peter Humphrey <prh@gotadsl.co.uk> posted
200608121113.01942.prh@gotadsl.co.uk, excerpted below, on  Sat, 12 Aug
2006 11:13:01 +0100:

>  Examples: 
> 
> -- 
> ~ # grep wmf /usr/portage/profiles/use.desc
> wmf - Adds support for the wmf vector image format
> ~ # grep X /usr/portage/profiles/use.desc
> X - Adds support for X11
> -- 
> 
> In the wmf case, only a small amount of code is affected, but in the X case 
> you get the entire X Window System!
> 
> Besides, the "adds support for foo" construction reminds me of BASIC 
> programs we used to see 25 years ago, in which the programmer had included 
> such gems as:
> 
> LET X=0;	REM set X to 0

/Yah!/  Those sorts of programs are always "interesting"!  :(
Unfortunately, the USE flag thing likewise.

> What's needed is a brief explanation of what including foo implies, and I 
> thought a plan was in place to do that. I'd be happy to help out with such 
> an effort.

The trouble, IMO, is in global vs. local flags.  "Support for X", fine,
and as varied as that support might be, that's about as detailed as one
can get in use.desc and stay accurate for all packages.  What's actually
needed is a use.local.desc that includes all packages with all flag
listings and a description of what each does in each package.  If it
means building against xlib, thus not only forcing xlib and its
dependencies in, but potentially meaning the program won't run if X is
hosed (the reason I have -X in package.use for links, I want it to
function as a text browser even -- /especially/ -- when X isn't working,
tho X support would be nice, it's not critical as is the functionality
when X fails), that's /entirely/ different than simply including a few
icons and a *.desktop file, when USE=X, excluding them when USE=-X.

Another example is net-nntp/pan, which I have some personal knowledge of
as I'm not only using it to post this message, but I'm involved upstream. 
The new 0.1xx betas of the 1.0 to be released probably early next month,
make use of USE=gnome to determine whether to pull in and build against
gnomelib (which pulls in a whole host of other gnome foundation
dependencies) or not.  However, the link against gnomelib is used for only
/one/, that's 1 as in /only/ one, thing -- whether pan checks the
configured gnome browser or uses the $BROWSER environmental variable.
That's /all/ it uses it for.  Now even some folks using gnome may prefer
the flexibility of using the $BROWSER var, thus allowing pan to be
configured for a browser other than that configured for gnome.
Additionally, it may be useful to keep such a trival libgnome linkage out,
as with the links/X example above, so pan can continue to be used with
other desktop environments if gnome is screwed up for some reason or
another.

If gnome support meant something rather fancier, say integration of some
gnome applets or something, or at least use of the gnome mimetype database
to determine what to run for all sorts of stuff, not just the browser,
that's rather different than simple browser-choice-determination-only
support, and it'd be nice if there were some way to say exactly what the
USE=gnome actually did.

Be that as it may, I don't believe anything of the sort is likely to
happen for Gentoo in general.  Maybe ufed or similar will integrate such
detailed explanations at some point (I've never used it, maybe it does
now?), but I've seen nothing on gentoo-dev suggesting there's a movement
to support such a thing in general, and I'm sure I would have if there
were serious discussion of such a thing.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

-- 
gentoo-amd64@gentoo.org mailing list



  reply	other threads:[~2006-08-12 12:41 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-11 12:29 [gentoo-amd64] recommended USE flags Rafael Barrera Oro
2006-08-11 16:47 ` Ahmed Ammar
2006-08-11 17:03   ` Dan Clark
2006-08-11 18:31     ` Sam Barlow
2006-08-11 17:01 ` Roman Zilka
2006-08-11 22:01   ` [gentoo-amd64] " Duncan
2006-08-11 22:01 ` [gentoo-amd64] " Hemmann, Volker Armin
2006-08-12 10:13   ` Peter Humphrey
2006-08-12 12:39     ` Duncan [this message]
2006-08-12 12:49       ` [gentoo-amd64] " Simon Stelling
2006-08-12 18:44         ` [gentoo-amd64] " Duncan
2006-08-12 17:35       ` [gentoo-amd64] " Peter Humphrey
2006-08-12 18:35         ` [gentoo-amd64] " Duncan
2006-08-12 20:18           ` Hemmann, Volker Armin
2006-08-12 20:45             ` Vladimir G. Ivanovic
2006-08-12 20:58               ` Hemmann, Volker Armin
2006-08-13  8:48                 ` Peter Humphrey
2006-08-14  9:22                   ` Peter Humphrey
2006-08-13 10:17                 ` Simon Stelling
2006-08-13 10:20             ` [gentoo-amd64] " Duncan
2006-08-13 16:56               ` Hemmann, Volker Armin
2006-08-13 19:34                 ` [gentoo-amd64] " Duncan
2006-08-13 16:45           ` [gentoo-amd64] " Hemmann, Volker Armin
2006-08-14 12:16   ` [gentoo-amd64] " Conway S. Smith
2006-08-12  0:05 ` Richard Fish
2006-08-12 20:18   ` J'raxis 270145
2006-08-13  8:57     ` Peter Humphrey
2006-08-13 10:20       ` Simon Stelling
2006-08-13 10:43         ` Peter Humphrey

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='ebki57$sb2$1@sea.gmane.org' \
    --to=1i5t5.duncan@cox.net \
    --cc=gentoo-amd64@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