[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bad install defaults for KDElibs



On Friday 12 December 2003 13:31, Thomas Zander wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> in the package kdelibs-data the /etc/kderc file is present (its a 
> symlink), this is not very nice since that means it becomes impossible to 
> have another version of KDE running on the same machine.

Right.  I usualy delete the file.  dpkg-divert did not work (tried long ago).

> KDE allows multiple versions by using the KDEDIR env-var to be set before 
> calling startkde.  Unfortunately the new (own-compiled) version will then

KDEDIR is no solution for Debian because debian follows the fhs and can't
install everything under a common root KDEDIR.   Next environment var are
fragile and error prone.

> find the paths to the /usr/bin and /usr/lib and start using that, getting 
> a nice mix of versions on my desktop.
> 
> I recommend to use KDEDIR and friends instead of the kderc file.

No need for KDEDIR(S):  KDE std dir lookup includes

  a) /etc/kderc				# used by all KDE installations
  b) $kdeconf_dir/system.kdeglobals	# aka /etc/kde3/ on Debian
  c) hardcoded stuff in kstandarddirs.cpp(.in)

As a) points to b),  a) is just a duplicate but at the same time
confuses other parallel KDE
installations.  AFAIR remember most (if not all) vars in system.kdeglobals
are identical to compiled in values in kstandarddirs.cpp(.in).  All derived from
debian/debiandirs file.

Summary: get rid of /etc/kderc, Debians KDE will not notice.

Achim
> 
> See also:
> http://bugs.kde.org/show_bug.cgi?id=70208
> 
> - -- 
> Thomas Zander
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> 
> iD8DBQE/2bUVCojCW6H2z/QRAj3fAKCwsoTUqn3a6Hfu00ooi8H4yKHIJQCfSMad
> GVbzYuNbQwsKSIo8R8pyXts=
> =s6cU
> -----END PGP SIGNATURE-----

-- 
  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



Reply to: