Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209371 - kde-base/kdebase-startkde overrides KDEDIRS variable
Summary: kde-base/kdebase-startkde overrides KDEDIRS variable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-08 18:27 UTC by mren
Modified: 2008-09-29 16:41 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mren 2008-02-08 18:27:59 UTC
startkde overwrites the KDEDIRS-settings of /etc/env.d/45kdepaths-3.5. W/ that standard settings some icons are not displayed, for example konsole icon in task bar, or all icons in amarok (play, stop, ...)
For testing I setted KDEDIRS before starting amarok (KDEDIRS="/usr/kde:/usr/kde/3.5:/usr:/usr/local" amaork), after I found the "right" setting I changed /usr/kde/3.5/bin/startkde to that value and restarted KDE -- now all icons are displayed.

Reproducible: Always
Comment 1 mren 2008-05-20 14:17:24 UTC
Next kde update, next messed up icons :(
If I change the order to
export KDEDIRS=${KDEDIR}:/usr:/usr/local
all icons are displayed as they should
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-05-20 15:40:49 UTC
This bug was introduced with 

  18 Jan 2008; Wulf C. Krueger <philantrop@gentoo.org>
  +files/gentoo-startkde.patch:
  Added patches.


All this variable rewriting looks highly suspecious to me, but placing the KDE install dir at the end of KDEDIRS is definitely a bug. KDE implicitly ecxpects it to be the first one listed, so this a hard requirement.


Taking a look at this later today (hopefully).
Comment 3 Denis Pesotsky 2008-09-28 12:52:27 UTC
After upgrading to startkde-3.5.10-r1 there is line "export KDEDIRS=${_KDEDIR}:/usr/local". In 3.5.10 there was "export KDEDIRS=${_KDEDIR}:/usr:/usr/local". This change breaks amarok, ktorrent addons and more.
startkde shouldn't rewrite KDEDIRS anyway, it should be read from env.d! Please fix it :)
Comment 4 Yar Odin 2008-09-28 15:09:12 UTC
(In reply to comment #0)
> startkde overwrites the KDEDIRS-settings of /etc/env.d/45kdepaths-3.5. W/ that
> standard settings some icons are not displayed, for example konsole icon in
> task bar, or all icons in amarok (play, stop, ...)
> For testing I setted KDEDIRS before starting amarok
> (KDEDIRS="/usr/kde:/usr/kde/3.5:/usr:/usr/local" amaork), after I found the
> "right" setting I changed /usr/kde/3.5/bin/startkde to that value and restarted
> KDE -- now all icons are displayed.
> 
> Reproducible: Always
> 

(In reply to comment #3)
> After upgrading to startkde-3.5.10-r1 there is line "export
> KDEDIRS=${_KDEDIR}:/usr/local". In 3.5.10 there was "export
> KDEDIRS=${_KDEDIR}:/usr:/usr/local". This change breaks amarok, ktorrent addons
> and more.
> startkde shouldn't rewrite KDEDIRS anyway, it should be read from env.d! Please
> fix it :)
> 

same to me
Comment 5 Hans Meier 2008-09-28 18:11:16 UTC
I have with kdebase-startkde-3.5.10-r1 have Probs with all Koffice Programms such as KWord, KSpread and others Kaffeine, K3B...

Please don't give in Portage bad Versions.
Comment 6 Marcus D. Hanwell (RETIRED) gentoo-dev 2008-09-28 18:31:41 UTC
startkde has to override these variables. If you are using the testing branch then I am afraid mistakes sometimes creep in. kdebase-startkde-3.5.10-r2 should work as before. Please sync, emerge the latest version and log in/out.
Comment 7 Chuck Wegrzyn 2008-09-29 16:31:02 UTC
I just installed startkde-3.5.10-r2 and have the problem!
Comment 8 Chuck Wegrzyn 2008-09-29 16:41:30 UTC
Forget it! I logged out and back end and everything works as before! Thanks.