From owner-freebsd-ports@FreeBSD.ORG Mon Sep 22 20:42:40 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D89A16A4B3; Mon, 22 Sep 2003 20:42:40 -0700 (PDT) Received: from lakemtao08.cox.net (lakemtao08.cox.net [68.1.17.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F3D143FA3; Mon, 22 Sep 2003 20:42:38 -0700 (PDT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.37.247]) by lakemtao08.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20030923034236.HUJI16616.lakemtao08.cox.net@mezz.mezzweb.com>; Mon, 22 Sep 2003 23:42:36 -0400 Date: Mon, 22 Sep 2003 22:41:32 -0500 To: Eric Anholt References: <200309220850.13662.andy@athame.co.uk> <200309230836.31602.davidxu@FreeBSD.org> <1064278184.674.316.camel@leguin> From: Jeremy Messenger Content-Type: text/plain; format=flowed; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <1064278184.674.316.camel@leguin> User-Agent: Opera7.20/Linux M2 build 465 cc: davidxu@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: Why is KDE installing in LOCALBASE; not X11BASE? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2003 03:42:40 -0000 On Mon, 22 Sep 2003 17:49:45 -0700, Eric Anholt wrote: > On Mon, 2003-09-22 at 17:36, David Xu wrote: >> On Monday 22 September 2003 13:50, Andy Fawcett wrote: >> > On Monday 22 September 2003 08:39, Jeremy Messenger wrote: >> > > I just found out that KDE and KDE apps install in the /usr/local >> > > instead /usr/X11R6, so I am wondering why is that? I am just curious >> > > and I personal will put them in /usr/X11R6.. >> > >> > From hier(7): >> > >> > /usr/ >> > local/ local executables, libraries, etc. Also used as the >> > default destination for the FreeBSD ports framework. >> > Within local/, the general layout sketched out by hier >> > for /usr should be used. Exceptions are the man >> > directory (directly under local/ rather than under >> > local/share/), ports documentation (in >> > share/doc//), and /usr/local/etc (mimics /etc). >> > >> > X11R6/ X11R6 distribution executables, libraries, etc >> > (optional). >> > bin/ X11R6 binaries (servers, utilities, local >> > packages/ports). >> > etc/ X11R6 configuration files and scripts. >> > include/ X11R6 include files. >> > lib/ X11R6 libraries. >> > man/ X11R6 manual pages. >> > share/ architecture-independent files. >> > >> > So, from this, it's arguable where they should go. >> > >> > KDE isn't part of X11R6, so it should go in /usr/local/, as should >> > Gnome, Windowmaker etc. >> > >> > Of course, you can argue that it is tightly integrated with X, so >> should >> > go under /usr/X11R6. >> > >> > It's all down to your interpretation of the above segment of hier(7) >> > really. >> > >> > Me? I don't care, and I'm not going to bikeshed the issue. >> > >> > A. >> >> Sorry for a bit OT, but why is Trolltech QT installed into /usr/X11R6 ? >> QT obviously does not belong to X11 distribution, and just a third paty >> widget library. Things are messed up. > > And all of gtk+ and gnome is also in /usr/X11R6 afaik. However, there's > always going to be blurring. For example, fontconfig and expat are both > distributed with XFree86 and neither one depends on libX11, but > fontconfig is in /usr/X11R6 and expat is in /usr/local. Both of them > have been taken out of our compiling/installing of the XFree86 > distribution so we can have separate ports of them. Where should they > go then? If XFree86 starts distributing something that we had already > packaged, should it get moved from its previous location in /usr/local > to /usr/X11R6? This may happen a few more times with some new libraries > being written by XFree86-associated folks. > > Basically, this is a bikeshed I don't want to mess with, and I > personally hope nobody else messes with. Well, sorry, I believe some of us will have to mess with those. BSD is one of reason I love, because of standard until when I start to pay attention to the more things on hier(7) in the ports tree. IMO, hier(7) is 'kind of' broke: www/linux-mozilla -> /usr/local Most mozilla and gecko-based -> /usr/X11R6 QT -> /usr/X11R6 KDE -> /usr/local [...goes on...] P.S. Thanks David for add the perfect point on QT/KDE. Cheers, Mezz -- bsdforums.org 's moderator, mezz.