[kde-freebsd] extra dirrectories to remove

Michael Nottebrock michaelnottebrock at gmx.net
Fri Dec 10 10:09:16 PST 2004


On Friday, 10. December 2004 18:52, Chuck Swiger wrote:
> [ ...trimmed multiposting between lists somewhat... ]
>
> Michael Nottebrock wrote:
> [ ... ]
>
> >> May be it will better remove them in a "parent" port (kdelibs?, qt?)?
> >> Or each port have to try to remove them?
> >
> > We've been kicking the idea of a kdehier port around (analog to
> > gnomehier), but it's not easy to determine what dirs it should hold
> > (there's no complete canonical directory hierarchy for KDE and things
> > change between releases).
> >
> > So, yes, each port should try to remove them. A plist generated with the
> > standard semi-automatic scripts that have been around for ages or the
> > example will be correct, so it shouldn't be a problem.
>
> I can confirm that "pkg_delete -x kde" will try to remove those files many
> times over, which generates benign warnings that the package packing list
> was incorrectly specified, but otherwise seems to work as expected.
>
> I would be happy to see just a single port responsible for the creation and
> deletion of that directory hierarchy, but, failing that, can't the
> individual ports be made smart enough to notice whether or not they created
> a path and generate a correct packing list dynamicly?

Dynamically created packing lists are very fragile as well, I'd avoid them 
like the plague if at all possible. The upcoming KDE 3.3.2 ports will come 
with a kdehier port tacked on that will (hopefully on first try) own all the 
KDE shared directories, but I still think the warnings pkg_delete emits 
should just be axed.

No other package system I'm aware of emits such a warning - probably because 
the authors were aware of the fact that things like shared directories do 
exist and packages aren't guaruanteed to completely clean up behind 
themselves (and likewise no other package system needs to bother creating 
pseudo-packages to own those directories).

-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20041210/f55b4690/attachment.bin


More information about the freebsd-ports mailing list