[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:       Stephan Kulow <coolo () kde ! org>
Date:       2002-01-29 16:04:52
[Download RAW message or body]

On Tuesday, 29. January 2002 16:54, Albert Chin wrote:
> 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

That won't work. You can have difference prefixes, but not different 
suffixes. The suffix is given by kdelibs.

Greetings, Stephan
 
>> 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