Desktop-file-utils 0.11 change

Mamoru Tasaka mtasaka at ioa.s.u-tokyo.ac.jp
Thu Oct 26 11:52:29 UTC 2006


Michael Schwendt wrote:
> On Thu, 26 Oct 2006 14:54:04 +0900, Mamoru Tasaka wrote:
> 
>> Ville Skyttä wrote:
>>> On Thu, 2006-10-26 at 03:17 +0900, Mamoru Tasaka wrote:
>>>> Michael Schwendt wrote:
>>>>> http://buildsys.fedoraproject.org/build-status/job.psp?uid=20286
>>>>>
>>>> Well, this is due to desktop-file-install change (0.10->0.11).
>>>> desktop-file-install 0.11 no longer accepts like X-Fedora or
>>>> X-RedHat-Base...
>>> Huh, really?  That would sound like a bug in desktop-file-install to me.
>> Well, this is real. You can check this by:
>> http://buildsys.fedoraproject.org/logs/fedora-development-extras/20286-jd-1.8.0-0.2.beta061023.fc7/ppc/build.log
> 
> Still, the question is whether to fix desktop-file-install or our
> spec files?
For now I don't know. If fedora want to use "Application" or "X-Fedora"
category, desktop-file-utils should be fixed, otherwise all desktop files
using these categories should be fixed.

> Does desktop-file-validate give the same output?

Actually yes (yes means that desktop-file-validate complaints).
The original (i.e. jd-1.8.0-0.2.beta061023.fc6) desktop file of jd is:
----------------------------------------------
[Desktop Entry]
Name=JD 2ch browser
Comment=JD is a 2ch browser based on gtkmm2.
Exec=jd
Icon=jd.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Application;Network;X-Red-Hat-Base;X-Fedora;
X-Desktop-File-Install-Version=0.10
---------------------------------------------

Checking this by desktop-file-validate (version 0.11) complains about
"Application" "X-Red-Hat-Base" "X-Fedora". Error message is like:

./fedora-jd.desktop: error: Categories values must be one of "Core", <snip> "Java", 
"ConsoleOnly" (found "Application")

Mamoru




More information about the fedora-extras-list mailing list