[arch-dev-public] Hooks rebuild #1

Doug Newgard scimmia at archlinux.info
Thu Apr 28 16:38:20 UTC 2016

On Thu, 28 Apr 2016 09:29:49 -0700
Anatol Pomozov <anatol.pomozov at gmail.com> wrote:

> Hi
> On Wed, Apr 27, 2016 at 11:36 PM, Balló György <ballogyor at gmail.com> wrote:
> > 2016-04-28 6:28 GMT+02:00 keenerd <keenerd at gmail.com>:
> >  
> >> Namcap 3.2.7 is released.  It removes the old .install warnings and
> >> adds a new one if the .install does anything covered by a hook.
> >>  
> >
> > Note that checks for shared-mime-info and desktop-file-utils dependencies
> > are still needed. Please restore them.  
> I disagree.
> Dependencies like gtk-update-icon-cache/desktop-file-utils should be
> installed by those who *needs* the tool functionality. Not by the
> packages that *provide* icons/desktop files.
> It this case desktop environment should depend on desktop-file-utils
> that maintains the cache up-to-date. And if a user has no UI (headless
> setup) then no point in updating this cache.

While I agree completely, Allan brought up the case of installing the tool
after the fact, which won't necessarily trigger the hook. In the example you
gave, the desktop mime cache wouldn't be created until you install something
else with a .desktop file.

More things would need the desktop mime cache, though, such as xdg-utils. This
would pull it in on many more systems.

More information about the arch-dev-public mailing list