Dominique Devriese writes: domi> Daniel Stone writes: Daniel> On Tue, May 13, 2003 at 08:09:11PM +0100, David Pye wrote: >>> While perhaps related to debian, and packaging, I'd like to add >>> that third party KDE-based apps also seem unable to locate other >>> files, such as .ui files, which locate themselves in >>> /usr/local/kde/share/apps/<appname>.
Daniel> *sigh*, this isn't anything to do with the packages. export Daniel> KDEDIRS=/usr:/usr/local. KDE has no clue that you've Daniel> installed JuK to /usr/local, so you're going to have to tell Daniel> it, if you decide to split your KDE installation over two Daniel> prefixes. domi> Why can't the packages just set KDEDIRS ( or the corresponding domi> option ) to "/usr/:/usr/local:/usr/local/kde", so that users domi> won't have to deal with problems like the above ? This question seems to have gotten lost in the discussion about the kde_htmldir thing.. What are your opinions on this, why not apply the following patch ? Index: kstandarddirs.cpp =================================================================== RCS file: /home/kde/kdelibs/kdecore/kstandarddirs.cpp,v retrieving revision 1.158 diff -u -b -r1.158 kstandarddirs.cpp --- kstandarddirs.cpp 19 May 2003 11:04:25 -0000 1.158 +++ kstandarddirs.cpp 19 May 2003 13:35:24 -0000 @@ -1018,6 +1018,9 @@ } kdedirList.append(KDEDIR); + kdedirList.append( "/usr/local" ); + kdedirList.append( "/usr/local/kde" ); + #ifdef __KDE_EXECPREFIX QString execPrefix(__KDE_EXECPREFIX); if (execPrefix!="NONE") This makes it so that users won't have to mess with their KDEDIRS variable, which is something that they don't figure out for themselves most of the time.. thanks domi -- Q: Why did Menachem Begin invade Lebanon? A: To impress Jodie Foster.