Subject: CVS commit: pkgsrc
From: Patrick Welche
Date: 2017-06-14 18:23:10
Message id: 20170614162310.3E5F4FAB8@cvs.NetBSD.org

Log Message:
Essentially from OBATA Akio in private mail, June 2015:

Introduce Icon Theme cache handling framework

Icon Theme cache files are used by GTK+ and maintained with the
gtk-update-icon-cache tool.  Each Icon Theme package duplicates
its own maintainance scripts: only the specified icon theme directory
differs.  With this framework, if packages have ICON_THEMES=yes,
associated icon themes will be detected and their cache files will
be maintained automatically.

Change cache handling behaviour as follows:
* Icon theme caches will be updated if either gtk2+ or gtk3+
  gtk-update-icon-cache tool is available.
* With installation of gtk2+ package, not only hicolor icon theme but
  also any other icon theme cache files will be updated.
* Prevent removal of icon caches at deinstall, gtk3+ may be installed and
  using them.
* Ditto with gtk3+, gtk2+ may not be installed now, so caches must be
  maintained by gtk3+.

Files:
RevisionActionfile
1.8modifypkgsrc/graphics/adwaita-icon-theme/Makefile
1.101modifypkgsrc/graphics/gnome-icon-theme/Makefile
1.21modifypkgsrc/graphics/gnome-icon-theme/buildlink3.mk
1.23modifypkgsrc/graphics/hicolor-icon-theme/Makefile
1.20modifypkgsrc/graphics/hicolor-icon-theme/buildlink3.mk
1.5modifypkgsrc/pkgtools/pkglint4/files/makevars.map
1.5modifypkgsrc/pkgtools/pkglint4/files/pkglint.pl
1.286modifypkgsrc/x11/gtk2/Makefile
1.2modifypkgsrc/x11/gtk2/files/icon-cache.tmpl
1.93modifypkgsrc/x11/gtk3/Makefile