[Bug 693074] [NEW] %update_icon_cache should not be gtk+2 specific
Elan Ruusamäe
693074 at bugs.launchpad.net
Tue Dec 21 17:41:55 CET 2010
Public bug reported:
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
** Affects: pld-linux
Importance: Wishlist
Assignee: Elan Ruusamäe (glen666)
Status: In Progress
** Changed in: pld-linux
Importance: Undecided => Wishlist
** Changed in: pld-linux
Status: New => In Progress
** Changed in: pld-linux
Assignee: (unassigned) => Elan Ruusamäe (glen666)
--
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:
In Progress
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
More information about the pld-bugs
mailing list