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

List:       kde-devel
Subject:    Re: kio_help searchs /usr/share/doc instead of ${prefix}/share/doc
From:       Achim Bohnet <ach () mpe ! mpg ! de>
Date:       2001-06-20 1:10:20
[Download RAW message or body]

On Tuesday 19 June 2001 23:44, David Faure wrote:

> On Wednesday 20 June 2001 00:31, Eric Laffoon wrote:
> > On Tuesday 19 June 2001 02:40 pm, Achim Bohnet wrote:
> > 
> > > But why is /etc/kderc hardcoded in kconfigbackend.cpp?
> > > What's wrong $(sysconfdir)?
> > 
> > And what if you have two installs? One stable and one cvs. 
> 
> Then don't use /etc/kderc, there are plenty of other ways to enter prefixes
> (e.g. $KDEDIRS).

The /etc/kderc here is from Debians kdelibs 2.1.2 package.  I wasn't aware
that I use it until Coolo pointed it out.  I'll ask later on debian-kde
why it's there at all >:}


> The advantage of /etc/kderc is that it's standard. Have a look at the
> koffice's "install from source" instructions, there I say that if you install
> koffice into a different prefix, you simply have to add two lines to /etc/kderc.
> 
> sysconfdir = ${prefix}/etc 
> Hey, this is a recursive problem, isn't it ? If I have to add prefixes to
> something that's inside a prefix, how does KDE know it has to look there ?

It's not recursive but a '... add two lines to ${use_sysconfdir_used_during_kdelibs\
_configure_time_and_used_to_link_this_koffice_build}/kderc' can't be called
'simple' ;)

Well, I'll investigate if Debian KDE really relies on /etc/kderc (look like :( )
in the meantime I've the source so I can
s|/etc/kderc|/path/to/my/kde/cvs/build/etc/kderc| in kconfigbackend.cpp
and rebuild kdecore.

Achim
-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- reddy@lion.austin.ibm.com
 
>> Visit http://master.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