https://bugzilla.novell.com/show_bug.cgi?id=365649
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=365649#c14
--- Comment #14 from Stanislav Brabec 2008-02-29 04:14:12 MST ---
I see no way to implement some things in SuSEconfig at packaging level without
increasing installation time for about 2 hours.
gtk-update-icon-cache: It will need to call script in ~300 packages, including
KDE packages and other stuff unrelated to GTK+.
Best-fit application search for GNOME: The same, but it is a bit faster.
update-desktop-database: The same, but it is a bit faster.
There is no support for this type of actions in RPM4:
- Requires to implement triggers started by virtual symbols in RPM (in progress
for RPM5).
- Requires to implement %triggerposttrans and %triggerpretrans scripts in RPM
(not yet started to implement).
- Zypper must install packages in largest possible transaction batches.
If ALL these condition will be true, it will be possible to do:
gtk2.spec:
%triggerpretrans -- has_desktop_file
touch /var/run/needs_gtk2_posttrans_check
%triggerposttrans -- has_desktop_file
if test -f /var/run/needs_gtk2_posttrans_check ; then
rm /var/run/needs_gtk2_posttrans_check
gtk-update-icon-cache
fi
It also requires additional magic in AutoReqProv. Add in find_provides script:
case "$FILE" in
/usr/share/applications/*.desktop )
echo has_desktop_file
;;
esac
--
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.