[SailfishDevel] Error installing .desktop file

Thomas Tanghus thomas at tanghus.net
Tue Aug 20 06:28:40 UTC 2019



> On 20.8.2019 2.23, Thomas Tanghus wrote:
> > I am adding a subproject to my project, and since I did, the build stops
> with:
> >
> > + desktop-file-install --delete-original --dir
> /home/deploy/installroot/usr/share/applications
> '/home/deploy/installroot/usr/share/applications/*.desktop'
> > Error on file "/home/deploy/installroot/usr/share/applications/*.desktop":
> No such file or directory
> > error: Bad exit status from /var/tmp/rpm-tmp.dspzIi (%install)
> >
> > I've been through google, duckduckgo and the list archive, and the only
> thing I could find, that was slightly interesting is: 
> lists.sailfishos.org/pipermail/devel/2013-November/001118.html and that
> doesn't really apply here?
> >
> > The .pro and .yaml file are at 
> gist.github.com/tanghus/840ce2ad46ea691f2b932e796dade0d8
> >
"Ville Nummela" <ville.nummela at jolla.com> – 20. august 2019 06:47
> I think the post you found from 2013 is actually quite relevant.
> 
> Your .yaml file contains a line mentioning a .desktop file, while your 
> .pro file doesn't.

These settings are copied (and modified to fit the project) from a fresh skeleton made by the SDK. And that fresh project builds and deploys just find (as opposed to the plugin library skeleton)
 
> Do you actually have a .desktop file?

Yes ;)

--
 /Thomas

A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?



More information about the Devel mailing list