From owner-freebsd-ports@FreeBSD.ORG Fri Aug 25 17:30:28 2006 Return-Path: X-Original-To: ports@freebsd.org 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 CA94116A4DA; Fri, 25 Aug 2006 17:30:28 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from centrmmtao03.cox.net (centrmmtao03.cox.net [70.168.83.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id F05AC43D46; Fri, 25 Aug 2006 17:30:27 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by centrmmtao03.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060825173026.ZIMH27431.centrmmtao03.cox.net@eastrmimpo02.cox.net>; Fri, 25 Aug 2006 13:30:26 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo02.cox.net with bizsmtp id EHWQ1V00K4iy4EG0000000 Fri, 25 Aug 2006 13:30:24 -0400 Date: Fri, 25 Aug 2006 12:30:58 -0500 To: "Andrew Pantyukhin" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: User-Agent: Opera Mail/9.01 (Linux) Cc: FreeBSD Ports , Stanislav Sedov , portmgr@freebsd.org Subject: Re: BSD.local.dist - share/locale X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Aug 2006 17:30:28 -0000 On Fri, 25 Aug 2006 00:24:08 -0500, Andrew Pantyukhin = wrote: > On 8/25/06, Jeremy Messenger wrote: >> On Thu, 24 Aug 2006 09:50:52 -0500, Andrew Pantyukhin >> wrote: >> >> > On 8/24/06, Jeremy Messenger wrote: >> >> On Thu, 24 Aug 2006 08:26:53 -0500, Andrew Pantyukhin >> >> wrote: >> >> >> >> > I can't help thinking that the way we're trying to deal with >> >> > locale directories is far from optimal. IMHO, there are >> >> > several ways to improve the state of things: >> >> >> >> I think the current how we handle locale is a bit silly, so I = >> personal >> >> in >> >> favor of create localehier like misc/gnomehier than four suggested= >> >> below.. >> >> Honestly, I would be more rather to put mtree that is for ports in= >> >> somewhere of /usr/ports/ than /etc/mtree/ that way any version of >> >> FreeBSD >> >> won't have any of left over directories problem. >> > >> > It's a good idea, but we're back at the second question - >> > what if someone fancies to pkg_delete -xf gnomehier? >> > There will be no way to get a clean system after that >> > other than by reinstalling gnomehier and deleting it after >> > all the ports requiring it. >> >> Why would someone want to delete it when it is need? Same things with= = >> why >> would someone delete library when apps need it? I think it's not our >> problem as I haven't seen anyone do that with gnomehier. > > Okay, another example. Like Stanislav said, imagine you've > installed gnomehier into PREFIX=3DA and now you're installing > gfoo into PREFIX=3DB (A!=3DB). How will gnomehier ensure that > when both gfoo and gnomehier are deinstalled, nothing is left > behind? Okay, good point. I haven't check in your four suggests again.... So... = I = was thinking about maybe can do something like what we (FreeBSD GNOME = Team) did with INSTALLS_OMF in bsd.gnome.mk (747 line). Tweak it then pu= t = it under USE_GETTEXT or create a new one called INSTALLS_LOCALE. I think= , = it should works very well. Cheers, Mezz -- = mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org