desktop-file-install problem

Rex Dieter rdieter at math.unl.edu
Sun Jun 4 02:12:56 UTC 2006


Paul wrote:

> desktop-file-install --vendor fedora \
>         --dir %{buildroot}%{_datadir}/applications \
>         --add-category X-Fedora \
>         %{SOURCE1}
> 
> where Source1 is monodevelop.desktop
> 
> When it builds, both the fedora-monodevelop.desktop and
> monodevelop.desktop are installed into
> %{buildroot}%{_datadir}/applications which is wrong - only the
> fedora-monodevelop one should be there.
...
> To get around this, after the file install, I just have a line
> 
> rm -f %{buildroot}%{_datadir}/applications/monodevelop.desktop
> 
> and all is happy in the world.
> 
> Have I found a problem with desktop-file-install or am I simply not
> doing things correctly?

I'd venture to guess the regular install process 'make install ...' is
installing it's own .desktop file.

-- Rex




More information about the fedora-extras-list mailing list