** Description changed:
+ SRU:
+ 1. Because of this bug prelinking doesn't work properly in KDE, to enable
this feature the attached patch is necessary.
+ 2. The bug did not get addressed in the development branch at all, since the
affected patch is not applied on the KDE 4 packages (which replace the affected
package in Intrepid)
+ 3 . Patch attached
+ 4. TEST CASE:
+ * install patched package
+ * install prelink package
+ * ensure PRELINKING is set to yes in /etc/default/prelink
+ * start KDE
+ * the command 'env | grep PRELINK' on a prompt should output
+ KDE_IS_PRELINKED=1
+ thus improving KDE's speed
+ 5. There is no regression potential since currently this feature doesn't work
at all, so it can't get any worse really ;-)
+
+ --------------------------------
+
Binary package hint: ksmserver
In ~/.xsession-errors one can see
[: 41: ==: unexpected operator
It turns out that it's a bashism in /usr/bin/startkde that causes it.
--- kubuntu_17_check_for_prelinking.diff 2007-12-31 20:44:54.000000000
-0500
+++ kubuntu_17_check_for_prelinking.diff.fixed 2007-12-31 20:45:56.000000000
-0500
@@ -9,7 +9,7 @@
+# loading KDE.
+if test -f /etc/default/prelink; then
+ . /etc/default/prelink
-+ if [ "$PRELINKING" == yes ]; then
++ if [ "$PRELINKING" = yes ]; then
+ export KDE_IS_PRELINKED=1
+ fi
+fi
--
{kubuntu} bashism in /usr/bin/startkde
https://bugs.launchpad.net/bugs/179631
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs