[Proposal] Mass change: remove executing gtk-update-icon-cache in %post/%postu/%postrans to update hicolor theme cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to follow procedure described on
https://fedoraproject.org/wiki/Mass_package_changes

Description of the current state
=======================

At the moment more than many spec files have %post/%postu/%postrans
scriptles in which is done updating hicolor theme cache by calling:

gtk-update-icon-cache -f %{_datadir}/icons/hicolor

All those scriptles are no longer needed because in hicolor-icon-theme
package has file triggers updating theme cache on any change in single
dnf/rpm transaction.

$ rpm -q --filetriggers hicolor-icon-theme
transfiletriggerin scriptlet (using /bin/sh) -- /usr/share/icons/hicolor
gtk-update-icon-cache --force /usr/share/icons/hicolor &>/dev/null || :
transfiletriggerpostun scriptlet (using /bin/sh) -- /usr/share/icons/hicolor
gtk-update-icon-cache --force /usr/share/icons/hicolor &>/dev/null || :

Remove all those %post/%postu/%postrans scriptles will speedup install
and upgrades as only one time gtk-update-icon-cache will be executed
as hicolor-icon-theme transaction action.

List of affected packages
===================
On the list is more than 1300 packages.
List has been generated in directory with all spec files extracted
from git repos using command:

$ grep 'gtk-update-icon-cache.*hicolor' * | grep -v hicolor-icon-theme
| awk -F\. '{print $1}' | uniq > gtk-update-icon-cache_hicolor.lst

gtk-update-icon-cache_hicolor.lst has been added as the attachment in
this email.


If it will be no more comments about this proposal I'll try in a week
follow next steps of the procedure described on Fedora wiki sending
final proposal to devel-announce list and after this raise ticket in
BTS.

PS. Please advise how to implement change without raising +1300
tickets on bugzilla (I'm not going to sped weeks or months on
introduce such simple change)

kloczek
-- 
Tomasz Kłoczko | LinkedIn: http://lnkd.in/FXPWxH

Attachment: gtk-update-icon-cache_hicolor.lst
Description: Binary data

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux