[Bug 693074] Re: %update_icon_cache should not be gtk+2 specific

Elan Ruusamäe 693074 at bugs.launchpad.net
Tue Mar 24 06:32:27 CET 2015


no longer valid as gtk-update-icon-cache is in separate package now:

$ rpm -qf /usr/bin/gtk-update-icon-cache
gtk-update-icon-cache-3.14.8-1.x86_64

and current Requires for that includes the package:

http://cvs.pld-linux.org/cgi-bin/viewvc.cgi/cvs/PLD-
doc/BuildRequires.txt?r1=1.154&r2=1.155&

# %update_icon_cache hicolor
BuildRequires:  rpmbuild(macros) >= 1.596
Requires:       hicolor-icon-theme	 Requires:       hicolor-icon-theme
Requires:       gtk-update-icon-cache 

** Changed in: pld-linux
       Status: In Progress => Invalid

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/693074

Title:
  %update_icon_cache should not be gtk+2 specific

Status in PLD Linux Distribution:
  Invalid

Bug description:
  a package places icon into /usr/share/icons/hicolor, it should invoke
  %update_icon_cache

  but currently the macro is dependant on gtk+2 install:
  $ rpm -E %update_icon_cache
  { \
          umask 022; \
          /usr/bin/gtk-update-icon-cache -qf /usr/share/icons/%1; \
  };

  $ rpm -qf /usr/bin/gtk-update-icon-cache
  gtk+2-2.22.1-2.x86_64

  yet icons are not qt-specific, nor gtk+2 specific

  the scriptlet should conditionally invoke cache update, not depend on
  gtk+2 presence:

  the tasklist:
  1. change %update_icon_cache to call gtk-update-icon-cache only if present
  2. make gtk+2 %post call %update_icon_cache
  3. remove Requires(post,postun):  gtk+2 from packages only calling %update_icon_cache

To manage notifications about this bug go to:
https://bugs.launchpad.net/pld-linux/+bug/693074/+subscriptions


More information about the pld-bugs mailing list