[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KDE 2.2.2 doesn't honor --datadir
From:       Albert Chin <kde-devel () thewrittenword ! com>
Date:       2002-01-29 15:54:30
[Download RAW message or body]

On Wed, Jan 23, 2002 at 06:07:41PM +0100, Stephan Kulow wrote:
> On Wednesday, 23. January 2002 17:44, Albert Chin wrote:
> > I'm just looking for a way to set an alternate $KDEDIR/share directory
> > by *default*. According to configure:
> >   kde_datadir='${prefix}/share/apps'
> >
> > However, it also sets:
> >   kde_htmldir='${prefix}/share/doc/HTML'
> >   kde_appsdir='${prefix}/share/applnk'
> >   kde_icondir='${prefix}/share/icons'
> >   ...
> >
> > If I set these variables in the environment before running configure,
> > will KDE honor them? My intent is to move $KDEDIR/share/* to
> > $KDEDIR/share/foo and have KDE treat $KDEDIR/share/foo as
> > $KDEDIR/share.
> 
> In theory yes, but you should also patch kdelibs/kdecore/kstandarddirs.cpp 
> where the default suffixes are set

Ok, what you suggested worked. However, if I install a 3rd-party KDE
app like kbiff or cervisia, I want to do the same with the share
directory for the app, namely install the 'applnk', 'apps', 'doc',
'icons', etc. files to:
  /opt/kbiff35/share/kbiff35/applnk
  /opt/kbiff35/share/kbiff35/apps
  /opt/kbiff35/share/kbiff35/doc
  /opt/kbiff35/share/kbiff35/icons

In my /opt/kde222/share/kde222/config/kdeglobals file I have:
  [Directories]
  prefixes=/opt/kbiff35

However, KDE attempts to load the icons from:
  /opt/kbiff35/share/kde222/icons

-- 
albert chin (china@thewrittenword.com)
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic