https://bugzilla.novell.com/show_bug.cgi?id=365649 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c19 --- Comment #19 from Stanislav Brabec <sbrabec@novell.com> 2008-02-29 06:18:35 MST ---
- Patch gtk to search icon everywhere, if it is not found in cache. Will have an impact on performance.
Yes, it will. Icon lookup may require to check 530 directories: find /usr/share/icons/hicolor /usr/share/icons/gnome /usr/share/icons/Tango -type d | wc -l 529
I'm not an expert, but triggers do look like the right solution.
These triggers don't exist yet (Depending on opinion of RPM developers, they will or will not appear in future. It's implementation is not popular, as it would require to check all symbols, not only package names.) Maybe it is possible to move this function to libzypp - simply keep SuSEconfig scripts as they are, and change a way they are called: directory /etc/zypper-conf.d: gtk2.conf: final_trigger_recursive /usr/share/icons /sbin/conf.d/SuSEconfig.gtk2 desktop-file-utils.conf: final_trigger /usr/share/applications/*.desktop /sbin/conf.d/SuSEconfig.desktop-file-utils gnome-vfs2.conf: final_trigger /usr/share/applications/*.desktop /sbin/conf.d/SuSEconfig.gnome-vfs2 It can even be extended with other similar use cases: fonts.conf: final_trigger_recursive /usr/share/fonts /sbin/conf.d/SuSEconfig.fonts glibc.conf: transaction_trigger /lib/*.so* /sbin/ldconfig transaction_trigger /usr/lib/*.so* /sbin/ldconfig transaction_trigger /opt/*/lib/*.so* /sbin/ldconfig -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.