BSD.local.dist - share/locale

Jeremy Messenger mezz7 at cox.net
Fri Aug 25 17:30:28 UTC 2006


On Fri, 25 Aug 2006 00:24:08 -0500, Andrew Pantyukhin  
<infofarmer at FreeBSD.org> wrote:

> On 8/25/06, Jeremy Messenger <mezz7 at cox.net> wrote:
>> On Thu, 24 Aug 2006 09:50:52 -0500, Andrew Pantyukhin
>> <infofarmer at FreeBSD.org> wrote:
>>
>> > On 8/24/06, Jeremy Messenger <mezz7 at cox.net> wrote:
>> >> On Thu, 24 Aug 2006 08:26:53 -0500, Andrew Pantyukhin
>> >> <infofarmer at FreeBSD.org> 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?

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 put  
it under USE_GETTEXT or create a new one called INSTALLS_LOCALE. I think,  
it should works very well.

Cheers,
Mezz


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia at FreeBSD.org


More information about the freebsd-ports mailing list