icon-theme.cache and Apps Using GTK

Ryan Schmidt ryandesign at macports.org
Mon Sep 26 12:24:22 PDT 2011


On Sep 26, 2011, at 10:14, Jeremy Lavergne wrote:

> As mentioned recently, pspp-devel creates a cache file by running
> gtk-update-icon-cache after installing its application icons. This file is
> manipulated across several ports, none of which should own it.
> 
> Is adding this command to activate phase of every package with GTK icons
> what we want to do?
> 
> Seems MacPorts itself would be better suited to updating the cache file
> after an install, provided gtk is installed [1]. Is routinely running
> gtk-update-icon-cache something we might consider adding to base or
> perhaps a gtk portgroup?
> 
> [1] http://forums.gentoo.org/viewtopic-t-318622.html

Again, I don't think it's any business of MacPorts base to know the details about gtk or about any other specific port. It sounds like something that should be in individual ports. If there's common code you find yourself adding to many ports, then that's a good time to consider factoring it out into a portgroup.






More information about the macports-dev mailing list