kde4support: kstandarddirs_unittest fix

Alex Merry kde at randomguy3.me.uk
Fri Dec 27 11:38:08 UTC 2013


On 27/12/13 11:30, Kevin Ottens wrote:
> On Friday 27 December 2013 11:22:57 Alex Merry wrote:
>> On 27/12/13 11:04, Kevin Ottens wrote:
>>> On Monday 23 December 2013 14:51:19 Alex Merry wrote:
>>>> Actually, I think we should just install application files directly in
>>>> share/applications. (ie: change the value of XDG_APPS_INSTALL_DIR in
>>>> KDEInstallDirs.cmake).  It makes everyone's lives more difficult to have
>>>> subdirectories (as I discovered while creating and implementing the
>>>> MPRIS2 spec - how do you tell applications how to find Amarok's desktop
>>>> file: "amarok.desktop" won't work, because it's not in
>>>> share/applications, but "kde4-amarok.desktop" or "kde/amarok.desktop"
>>>> requires knowing something about the buildsystem magic that installs the
>>>> desktop file).
>>>
>>> Definitely something which would need a closer look. I feel that wouldn't
>>> help for co-installability though.
>>
>> Co-installable applications means versioned binary names, at which point
>> it's easy enough to do versioned desktop file names.  But I was under
>> the impression we didn't care about co-installable applications.
> 
> Ah gotcha... stupid me, it's for applications only of course. Then yes, looks 
> like we don't need to deal with that indeed.

Well, there are a couple of edge cases to deal with; specifically, kio
installs kmailservice and ktelnetservice executables with associated
desktop files, but we already have to deal with co-installability for
the executables themselves, so the desktop files are no harder.

Alex



More information about the Kde-frameworks-devel mailing list