Re: desktop file handling question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Neal Becker wrote:

> Does this look correct?
> (Note, make install already installed into the same path. I'm assuming
> desktop-file-install is OK with source==dest and --delete-original)
> 
> desktop-file-install  --vendor fedora \
>         --dir $RPM_BUILD_ROOT%{_datadir}/applnk/.hidden \
>         --delete-original \
>         $RPM_BUILD_ROOT%{_datadir}/applnk/.hidden/kdiff3plugin.desktop

I'd recommend instead:
 desktop-file-install  --vendor="" \
     --dir $RPM_BUILD_ROOT%{_datadir}/applnk/.hidden
     $RPM_BUILD_ROOT%{_datadir}/applnk/.hidden/kdiff3plugin.desktop

Or (prefered)
echo "NoDisplay=true" >> \
$RPM_BUILD_ROOT%{_datadir}/applnk/.hidden/kdiff3plugin.desktop
 desktop-file-install  --vendor="" \
     --dir $RPM_BUILD_ROOT%{_datadir}/applications/kde
     --delete-original \
     $RPM_BUILD_ROOT%{_datadir}/applnk/.hidden/kdiff3plugin.desktop

and talk to upstream about making the latter change, so as not to use the
legacy applnk dirs at all.

-- Rex

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux