Page MenuHomeFreeBSD

graphics/gtk-update-icon-cache: use triggers
ClosedPublic

Authored by bapt on Sep 14 2021, 3:29 PM.
Tags
None
Referenced Files
F156755005: D31960.id96106.diff
Sat, May 16, 3:15 AM
F156754884: D31960.id96106.diff
Sat, May 16, 3:15 AM
F156754881: D31960.id96630.diff
Sat, May 16, 3:15 AM
F156754878: D31960.id95433.diff
Sat, May 16, 3:15 AM
F156754859: D31960.id95154.diff
Sat, May 16, 3:15 AM
F156754558: D31960.diff
Sat, May 16, 3:12 AM
Unknown Object (File)
Wed, Apr 29, 9:33 PM
Unknown Object (File)
Wed, Apr 29, 2:17 PM

Details

Summary

Use triggers instead of enforcing the INSTALL_ICONS which enforces
gtk-update-icon-cache dependency on every ports installing icons.

The bonus:

  • factorize gtk-update-icon-cache update at the end of the build
  • stop adding a gratuicious dependency on gtk-update-icon-cache on packages which do not need it
  • works on packages where INSTALLS_ICONS were forgotten

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bapt requested review of this revision.Sep 14 2021, 3:29 PM

Create USES=trigger to simplify everything

In D31960#720956, @bapt wrote:

Create USES=trigger to simplify everything

very nice

Mk/Uses/trigger.mk
7

maybe add
defaults to ${PORTNAME}.

I assume the obsolete INSTALLS_ICONS lines in all the other ports are just not part of this review for brevity?

bapt marked an inline comment as done.Sep 23 2021, 7:59 PM

Fix share/icons leftover

This revision was not accepted when it landed; it landed in state Needs Review.Oct 10 2021, 5:47 PM
This revision was automatically updated to reflect the committed changes.