From owner-freebsd-ports@FreeBSD.ORG Fri Aug 25 05:24:20 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 397EF16A4DE for ; Fri, 25 Aug 2006 05:24:20 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59EE843D4C for ; Fri, 25 Aug 2006 05:24:19 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so960241pye for ; Thu, 24 Aug 2006 22:24:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=pGqm+oLyZTWDDA8k/3vuzJ33UAaMXZyIoXeK6tsNAUuL3uabty+912ME/e/sHs2KGZsvMljkwsRdCFpCJ2XXf1neFDxeuBDTy39caa1foDEK40Ke/O7Cu0y6GjPAwXIU/7l85HyutK6E5HLmsqPj9cgzUysUQyRLtThIu2H7w90= Received: by 10.35.113.12 with SMTP id q12mr4207647pym; Thu, 24 Aug 2006 22:24:18 -0700 (PDT) Received: by 10.35.105.10 with HTTP; Thu, 24 Aug 2006 22:24:08 -0700 (PDT) Message-ID: Date: Fri, 25 Aug 2006 09:24:08 +0400 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Jeremy Messenger" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: af2f1a5a069a50de 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 05:24:20 -0000 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=A and now you're installing gfoo into PREFIX=B (A!=B). How will gnomehier ensure that when both gfoo and gnomehier are deinstalled, nothing is left behind?