Red Hat Bugzilla – Bug 465370
Last modified: 2009-07-28 14:28:08 EDT
Created attachment 319299 [details]
Here's a tiny optimization to kde4.sh: always avoid one stat of /etc/sysconfig/prelink, and also avoid grepping it if $KDE_IS_PRELINKED is already defined.
If accepted, should also be applied to kdelibs3's kde.sh.
(BTW, I wonder if grepping /etc/sysconfig/prelink is intentionally preferred over sourcing it and then testing $PRELINKING? grepping might be a bit fragile.)
Rex, Kevin, Than handle this with Fedora or bump upstream?
The kde4.sh script is part of Fedora packaging.
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.
More information and reason for this action is here:
We going to act on this or wontfix?
yes, it's a worthwhile sh-specific improvement (dang, and I just touched on kde4.sh yesterday).
CVS ACLs allowed it so I committed this to kdelibs3 as 6:3.5.10-4 in devel (did not tag nor build). kdelibs ACLs don't seem to allow me to do that.
When someone applies this to kde4.sh, while at it, the '-n "$QT_PLUGIN_PATH"' branch below could also be optimized a bit by invoking "kde4-config --path qtplugins" only once and reusing the result.
doh, forgot to close:
* Mon Jan 12 2009 Rex Dieter <email@example.com> - 4.1.96-7
- Slight speedup to profile.d/kde.sh (#465370)
kdelibs3-3.5.10-13.fc10 has been submitted as an update for Fedora 10.
kdelibs3-3.5.10-13.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.