Categories=XFCE; ?
Nick Schermer
nick at xfce.org
Tue Apr 3 09:07:08 CEST 2012
On 2012-04-03 08:24, Auke Kok wrote:
> On 04/02/2012 11:15 PM, Nick Schermer wrote:
>> On 2012-04-03 00:18, Kevin Fenzi wrote:
>>> Greetings.
>>>
>>> Working on building 4.10pre1 for Fedora and have run into this on
>>> several packages. The have desktop files with "XFCE;" as a
>>> category.
>>>
>>> According to desktop-file-validate that is not a valid category. ;)
>>>
>>> desktop-file-validate
>>>
>>>
>>> /builddir/build/BUILDROOT/xfce4-settings-4.9.4-1.fc18.x86_64/usr/share/applications/xfce-display-settings.desktop
>>>
>>>
>>>
>>> /builddir/build/BUILDROOT/xfce4-settings-4.9.4-1.fc18.x86_64/usr/share/applications/xfce-display-settings.desktop:
>>>
>>> error: value
>>>
>>>
>>> "XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-HardwareSettings;"
>>>
>>> for key "Categories" in group "Desktop Entry" contains an
>>> unregistered
>>> value "XFCE"; values extending the format should start with "X-"
>>>
>>> Should that be 'X-XFCE'?
>>> Or just be removed?
>>>
>>> Or is there a newer spec?
>>
>> I invented it and see no problems.
>
> I'm sure you didn't invent the spec :)
>
> the spec is the spec, correct or not, and Xfce should be referred as
> "X-XFCE" in all desktop file categories, according to it.
>
> So, you can invent stuff, but it's not according to the spec, unless
> you submit a proposal for modification to the spec and it gets
> accepted.
Well then it is discrimination because there are also GNOME and KDE
categories. I really don't see where all the fuzz is about, because
nothing breaks if you add unknown names in categories.
I'll drop the category and let's all obey the broken world of mr Untz
(and his useless desktop-file-validate tool). But if he has balls he
agrees the desktop-categories are useless and they remove GNOME and KDE
from the spec.
Nick
More information about the Xfce4-dev
mailing list