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

Re: Some KDE libs still use .kde4 instead of .kde?



On 2009-10-22, Kevin Krammer <kevin.krammer@gmx.at> wrote:
> --nextPart1851150.tOXHrRtyYf
> Content-Type: Text/Plain;
>   charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> On Thursday, 2009-10-22, George Kiagiadakis wrote:
>
>> This cdbs makefile is no longer used in our packages. What is reading
>> .kde4 is Qt, not kde.
>>=20
>> Take a look at this code:
>> http://qt.gitorious.org/qt/qt/blobs/master/src/gui/kernel/qapplication_x1=
> 1.
>> cpp#line889
>>  http://qt.gitorious.org/qt/qt/blobs/master/src/gui/kernel/qkde.cpp#line59
>>=20
>> In short, Qt prefers reading from .kde4 if it is there, which is the
>> correct thing to do, given that Qt has no idea which is the default
>> KDEHOME.
>
> How can this be considered the right thing to do?
>
> KDEHOME defaults to $HOME/.kde if not set
>
> Checking for whether $HOME/.kde4 exists when KDE is in version 4 could be=20
> considered as a fallback when $KDEHOME is empty and $HOME/.kde does *not*=20
> exist.
>
> The very moment either $KDEHOME is set or $HOME/.kde exists than that path =
> is=20
> the only correct choice.

I guess it depends on the system, but yes, in debian it is the only
correct choice to prefer .kde.

For suse it would be to prefer .kde4.

I guess we should patch this away.

/Sune


Reply to: