From: Luke Ravitch <luke@dslextreme.com>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Why the FHS can't be followed
Date: Tue, 2 Jul 2002 18:54:24 -0700 [thread overview]
Message-ID: <20020703015424.GB3221@ogremage.dslxtreme.com> (raw)
In-Reply-To: <200207021700.15940.jsmith@kcco.com>
On 2002-07-02 15:04, Jean-Michel Smith <jsmith@kcco.com> wrote:
> This is a problem we're going to keep running into, perhaps more commonly as
> large, free(dom) office suites, new desktops like gnustep and enlightenment,
> etc. mature. Perhaps we should be looking for a more general solution,
> rather than making exceptions for gnome and KDE.
I think the /usr/X11R6 approach scales nicely for things like GNUstep
or maybe XFce (don't know much about XFce). I don't know that E
really calls for its own directory tree yet. If we think that makes
/usr/X11R6 too cluttered, we could always do something like
/usr/X11R6/desktops. However, I prefer /usr/X11R6/gnome,
/usr/X11R6/kde, /usr/X11R6/gnustep, etc.
> I mean, if we've decided the FHS is wrong on this particular point, why not
> make the fix more general and all-encompassing?
We (well, _I_) haven't totally decided that it's wrong. (Still
debating.) By my reading, putting X-based desktop environments (e.g,
Gnome and KDE) in their own trees under /usr/X11R6 is FHS compatible.
Adding a directory directly under /usr is clearly a violation.
> I would prefer to see /usr/X11R6 remain a relatively "pure" X tree (I never
> liked the way Mandrake dumped a lot of non-core 3rd party X apps into
> /usr/X11R6/bin, for example), and I do not think /usr/X11R6 offers a general
The X tree was never really meant to be "pure". Look at the whole
xmkmf thing. "Normal" X programs go in the /usr/X11R6 tree.
> solution. What about a big database or SAP application that has no GUI, but
> is monstrous and demanding of its own tree, yet for whatever reason doesn't
> belong in /opt?
Those seem like exactly why /opt exists. Gnome and KDE are
infrastructure, they aren't really "applications". And, since they
are in many ways extensions on X, I think it makes sense to put them
under the X tree. The home for monstrous _applications_ (like office
suites or database apps) that demand their own trees and are
self-contained (i.e., nothing depends on them) is /opt.
I only see an exception for things like Gnome and KDE. (Because, like
X, other applications depend on them.) And those can't pop up too
often. Also, we should avoid giving things their own directory tree
unless it's really, really justified. (The Stow fans are surely gonna
beat me up over that one ;-)
> I don't have any bright ideas on what the directory should be called, per se,
> and I'm sure someone will think of a more clever name than this, but if we're
> going to deviate from the FHS why not make it for just ONE directory, beneath
> which subdirectories for large, free package suites like KDE, Gnome,
> Enlightenment, etc could reside. Something like:
>
> /usr/sw/kde/2
> /usr/sw/kde/3
> /usr/sw/gnome/1
> /usr/sw/gnome/2
> /usr/sw/enlightenment/16
> /usr/sw/enlightenment/17
>
> and so on. (sw=software, not a very imaginative name. Perhaps the long
> version is better, e.g. /usr/software/kde/2, etc.)
The idea has merit, but I'm too concerned that this would encourage
putting too many things into /usr/software. Stow is fine in the
/usr/local tree for those who like it, but I don't think Gentoo should
embrace it (or something like it) for system packages (i.e., anything
in /usr except for /usr/local).
> In any event, the deviation from the FHS would be limited to one
> directory and more or less isolated from the rest of the filesystem
> tree. Indeed, given that the FHS doesn't consider the possibility
> of keeping around multiple versions of large software suites like
> KDE and Gnome (something which *should* be provided for, as that is
> in keeping with UNIX's tradition of allowing versioned libraries,
> etc. to coexist nicely), perhaps such a solution could be proposed
> as an amendment to the FHS.
Unix is traditionally good at handling multiple library versions, but
there hasn't been great support for multiple application versions.
(Various sysadmin-specific kludges exist.) I think that's okay. I
can run Gnome 1.4 apps under Gnome 2 with only one Gnome tree. But I
only have one version of each Gnome app. Good enough for me.
QT makes things stickier for a source-based distro because it requires
all that precompiling stuff. So, though it's not my absolute
favorite, I'd be okay with something like:
/usr
+--->X11R6
+--->gnome
| +--->1
| +--->2
+--->kde
+--->2
+--->3
Though I'd kinda prefer something like:
/usr
+--->X11R6
+--->gnome1
+--->gnome2
+--->kde2
+--->kde3
That way we don't have to type as many slashes ;-)
With only a couple versions of each desktop environment (or do people
still depend on KDE 1 apps?) and two, three, or four desktop
environments, that's quite manageable.
So I vote for one of the above to layouts. Picking the right one is a
matter of decided which gives the best breadth/depth ratio.
--
Luke
next prev parent reply other threads:[~2002-07-03 1:54 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-01 23:37 [gentoo-dev] gentoo & fhs Collins
2002-07-01 16:06 ` Miguel S. Filipe
2002-07-02 0:50 ` Spider
[not found] ` <20020701190627.28c32c2e.erichey2@attbi.com>
2002-07-02 1:47 ` Spider
2002-07-02 2:38 ` Collins
2002-07-02 12:02 ` Alexander Gretencord
2002-07-02 15:12 ` Karl Trygve Kalleberg
2002-07-02 12:53 ` [gentoo-user] " Grant Goodyear
2001-12-08 13:21 ` Maciek Borowka
2002-07-02 15:55 ` Jean-Michel Smith
2002-07-02 17:00 ` Bart Verwilst
2002-07-02 18:41 ` [gentoo-dev] Why the FHS can't be followed Dan Armak
2002-07-02 19:10 ` Jean-Michel Smith
2002-07-02 20:06 ` Luke Ravitch
2002-07-02 22:00 ` Jean-Michel Smith
2002-07-03 1:54 ` Luke Ravitch [this message]
2002-07-03 3:08 ` Fuper
2002-07-05 16:33 ` [gentoo-dev] Stow (Was: Why the FHS can't be followed) Wout Mertens
2002-07-05 16:59 ` Brian Webb
2002-07-05 22:39 ` Fuper
2002-07-05 17:14 ` Alexander Gretencord
2002-07-02 22:18 ` [gentoo-dev] Why the FHS can't be followed Fuper
2002-07-03 2:05 ` Luke Ravitch
2002-07-03 1:10 ` Peter Ruskin
2002-07-02 20:55 ` Terje Kvernes
2002-07-02 15:09 ` [gentoo-dev] gentoo & fhs Karl Trygve Kalleberg
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=20020703015424.GB3221@ogremage.dslxtreme.com \
--to=luke@dslextreme.com \
--cc=gentoo-dev@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