From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from mxout2.netvision.net.il (mxout2.netvision.net.il [194.90.9.21]) by chiba.3jane.net (Postfix) with ESMTP id 3C418AC591 for ; Tue, 2 Jul 2002 13:43:18 -0500 (CDT) Received: from laptop.dan.net ([62.0.71.132]) by mxout2.netvision.net.il (iPlanet Messaging Server 5.2 HotFix 0.7 (built Jun 26 2002)) with ESMTP id <0GYM00ACQXC3BO@mxout2.netvision.net.il> for gentoo-dev@gentoo.org; Tue, 02 Jul 2002 21:43:16 +0300 (IDT) Date: Tue, 02 Jul 2002 21:41:35 +0300 From: Dan Armak In-reply-to: <20020701203819.4e7d6935.erichey2@attbi.com> To: gentoo-dev@gentoo.org Reply-To: danarmak@gentoo.org Message-id: <200207022105.20031.danarmak@gentoo.org> Organization: Gentoo Technologies, Inc. MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT User-Agent: KMail/1.4.2 References: <20020701173735.5d1093ae.erichey2@attbi.com> <20020702034731.3c81463f.spider@gentoo.org> <20020701203819.4e7d6935.erichey2@attbi.com> Subject: [gentoo-dev] Why the FHS can't be followed Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: a14844b6-4678-44ed-b78b-7dd10320eb55 X-Archives-Hash: 6c13e82ead2709fc6df806629981dc37 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 02 July 2002 05:38, Collins wrote: > OK, that much is clear. So how do you resolve /usr/kde/2 ... with the > prohibition you've cited? > > "Large software packages must not use a direct subdirectory under the > /usr hierarchy." If KDE lives directly in /usr (i.e. binaries in /usr/bin etc.) then you cannot have more than one version of kde installed at a time. More than that, you cannot have more than one version of kdelibs at a time, so if you have kde3 in /usr you can't run kde2 apps. And some people need to do just that because not all kde2 apps have been ported to kde3 yet. Last autumn we tried to make KDE live in /usr with just kdelibs living separately in /usr/lib/kde/2,3. I spent 3 months trying to make it work to keep the fhs guys happy and came to the conclusion it just isn't meant to be. It may be possible, but it's very ugly. This is mainly because some KDE apps work on the assumption that they are installed in the same path as the kdelibs they're linked against. Koffice for one. There are ways around that but they don't always work. Fex. one of the things that never worked was noatun. When I askd the kde devs for help on how to make noatun work when installed outside the kdelibs directory they explicitly told me: it's not supposed to be done (in this case, couldn't be without playing with symlniks - ugh). KDE needs to live in its own dir outside the standard path. That's what $KDEDIR[S] is for and if we don't do it that way we'll come to no good. And since we've come to the conclusion we can't put it in /opt, /usr/kde/2,3 (or equivalent) is the only option left. The fhs doesn't provide for having more than one version of a package installed at a time but we have to do it with qt2/3 and kdelibs2/3 (and gnome 1.4/2). I prefer that option over 100% FHS compliance. End rant mode. I guess I just had leftover frustration stored from the time I actually tried to make this work. Maybe we can put a version of this in a FAQ somewhere because this isn't the first time this question has been asked. Maybe if that fhs guy saw it he'd think twice before blaming us. The fhs just doesn't accomodate certain things. - - -- Dan Armak Gentoo Linux developer (KDE) Matan, Israel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9IfPfUI2RQ41fiVERAn+oAJ98b5HYIcdJeo8y3c8oAno7ePaE9wCffeuH r/z14kJYKb1TlCC/zDo1Zrc= =gV/d -----END PGP SIGNATURE-----