Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2012 10:16:36 +0000 (UTC)
From:      jb <jb.1234abcd@gmail.com>
To:        freebsd-xfce@freebsd.org
Subject:   Re: pkg2ng and ports your are maintain
Message-ID:  <loom.20121011T115822-101@post.gmane.org>
References:  <20121011091752.4aee450b@laptop> <20121011063153.GH62709@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Baptiste Daroussin <bapt <at> FreeBSD.org> writes:

> 
> On Thu, Oct 11, 2012 at 09:17:52AM +0300, Sergey V. Dyatko wrote:
> > Hi,
> > 
> > The ports tree is now using pkgng as the default package manager for
> > HEAD. Thus, I follow instructions from UPDATING (20121010) and got
> > following error: 
> > 
> > Installing xfce4-power-manager-1.2.0...pkg: xfce4-power-manager-1.2.0
> > conflicts with opera-12.02 (installs files into the same place).
> > Problematic file: /usr/local/share/icons/hicolor/icon-theme.cache
> > ...
> > so. question is: does line 'share/icons/hicolor/icon-theme.cache' are
> > needed on pkg_plist ?
> > ...
 
> no icon.cache should be in the plist as it is generated :)
> ...

$ grep -i icon-theme.cache /usr/ports/www/opera/pkg-plist 
share/icons/hicolor/icon-theme.cache

$ grep -i icon-theme.cache /var/db/pkg/opera-12.02/+CONTENTS 
@unexec /bin/rm %D/share/icons/hicolor/icon-theme.cache 2>/dev/null || /usr/bin
/true
share/icons/hicolor/icon-theme.cache

$ man pkg_create
...
     @unexec command
             Execute command as part of the deinstallation process.  Expansion
             of special % sequences is the same as for @exec.  This command is
             not executed during the package add, as @exec is, but rather when
             the package is deleted.  This is useful for deleting links and
             other ancillary files that were created as a result of adding the
             package, but not directly known to the package's table of con-
             tents (and hence not automatically removable).
...

I recently tried to make aware opera port maintainer about it
Maintained by: dinoex@FreeBSD.org
but with no effect.
jb

 
 







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?loom.20121011T115822-101>