Gentoo Archives: gentoo-dev

From: Dan Armak <danarmak@g.o>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Why the FHS can't be followed
Date: Tue, 02 Jul 2002 13:43:18
Message-Id: 200207022105.20031.danarmak@gentoo.org
In Reply to: Re: [gentoo-dev] gentoo & fhs by Collins
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Tuesday 02 July 2002 05:38, Collins wrote:
5 > OK, that much is clear. So how do you resolve /usr/kde/2 ... with the
6 > prohibition you've cited?
7 >
8 > "Large software packages must not use a direct subdirectory under the
9 > /usr hierarchy."
10
11 <sorry, I sent a personal reply to Collins before realizing I should have used
12 reply-to-list>
13
14 If KDE lives directly in /usr (i.e. binaries in /usr/bin etc.) then you cannot
15 have more than one version of kde installed at a time. More than that, you
16 cannot have more than one version of kdelibs at a time, so if you have kde3
17 in /usr you can't run kde2 apps. And some people need to do just that because
18 not all kde2 apps have been ported to kde3 yet.
19
20 Last autumn we tried to make KDE live in /usr with just kdelibs living
21 separately in /usr/lib/kde/2,3. I spent 3 months trying to make it work to
22 keep the fhs guys happy and came to the conclusion it just isn't meant to be.
23 It may be possible, but it's very ugly.
24
25 This is mainly because some KDE apps work on the assumption that they are
26 installed in the same path as the kdelibs they're linked against. Koffice for
27 one. There are ways around that but they don't always work. Fex. one of the
28 things that never worked was noatun. When I askd the kde devs for help on how
29 to make noatun work when installed outside the kdelibs directory they
30 explicitly told me: it's not supposed to be done (in this case, couldn't be
31 without playing with symlniks - ugh). KDE needs to live in its own dir
32 outside the standard path. That's what $KDEDIR[S] is for and if we don't do
33 it that way we'll come to no good.
34
35 And since we've come to the conclusion we can't put it in /opt, /usr/kde/2,3
36 (or equivalent) is the only option left. The fhs doesn't provide for having
37 more than one version of a package installed at a time but we have to do it
38 with qt2/3 and kdelibs2/3 (and gnome 1.4/2). I prefer that option over 100%
39 FHS compliance.
40
41 End rant mode. I guess I just had leftover frustration stored from the time I
42 actually tried to make this work. Maybe we can put a version of this in a FAQ
43 somewhere because this isn't the first time this question has been asked.
44 Maybe if that fhs guy saw it he'd think twice before blaming us. The fhs just
45 doesn't accomodate certain things.
46
47 - - --
48 Dan Armak
49 Gentoo Linux developer (KDE)
50 Matan, Israel
51
52 -----BEGIN PGP SIGNATURE-----
53 Version: GnuPG v1.0.7 (GNU/Linux)
54
55 iD8DBQE9IfPfUI2RQ41fiVERAn+oAJ98b5HYIcdJeo8y3c8oAno7ePaE9wCffeuH
56 r/z14kJYKb1TlCC/zDo1Zrc=
57 =gV/d
58 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] Why the FHS can't be followed Jean-Michel Smith <jsmith@××××.com>
Re: [gentoo-dev] Why the FHS can't be followed Terje Kvernes <terjekv@××××××××.no>