[Mageia-dev] rpmbuild error

Pascal Terjan pterjan at gmail.com
Mon Apr 9 14:40:54 CEST 2012


On Mon, Apr 9, 2012 at 13:39, Pascal Terjan <pterjan at gmail.com> wrote:
> On Mon, Apr 9, 2012 at 13:36, Pascal Terjan <pterjan at gmail.com> wrote:
>> On Mon, Apr 9, 2012 at 13:26, paiiou <paiiou at free.fr> wrote:
>>> Pascal Terjan <pterjan at ...> writes:
>>>
>>>> > /home/georges/rpm/BUILDROOT/thunar-1.3.1-
>>> 3.mga2.x86_64/usr/share/applications/
>>>> > thunar-settings.desktop: error: (will be fatal in the future): value
>>>> > "FileManager" in key "Categories" in group "Desktop Entry" requires another
>>>> > category to be present among the following categories: System;FileTools
>>>> > Error on file "/home/georges/rpm/BUILDROOT/thunar-1.3.1-
>>> 3.mga2.x86_64/usr/share/
>>>> > applications/thunar-settings.desktop": Failed to validate the created
>>> desktop
>>>> > file error: Bad exit status from /home/georges/rpm/tmp/rpm-tmp.6MrRb6
>>> (%install)
>>>> >
>>>> > Any idee?
>>>> >
>>>>
>>>> Yes, as the message says
>>>> /usr/share/applications/thunar-settings.desktop is not valid
>>>> See http://standards.freedesktop.org/menu-spec/latest/apa.html
>>>> FileManager is an Additionnal category and can only be used together
>>>> with System or FileTools
>>>>
>>>>
>>> Thank you Pascal.
>>> If I indeed understand, one of both categories (System, FileTools) must be
>>> present.
>>>
>>> But I am a novice on the subject.
>>> There it a dependence which misses?
>>
>> No
>>
>>> Is a question it of a lack in the archive Thunar-1.3.1?
>>
>> This is a bug in the .desktop file provided by thunar.
>> It should be patched and sent to thunar developpers, or reported to
>> them and wait for a fix.
>
> Hmm they don't have FileManager, I don't know why you have it
> http://git.xfce.org/xfce/thunar/tree/thunar/thunar-settings.desktop.in

Ah, the spec contains :

138	desktop-file-install \
139	    --add-category="FileManager" \
140	    --add-only-show-in="XFCE" \
141	    --dir %{buildroot}%{_datadir}/applications
%{buildroot}%{_datadir}/applications/thunar-settings.desktop

Which is not correct


More information about the Mageia-dev mailing list