Re: [SailfishDevel] Error installing .desktop file

2019-08-19 Thread Thomas Tanghus


"Thomas Tanghus"  – 20. august 2019 08:28
> > On 20.8.2019 2.23, Thomas Tanghus wrote:
> > > The .pro and .yaml file are at 
> > gist.github.com/tanghus/840ce2ad46ea691f2b932e796dade0d8
> > >
> "Ville Nummela"  – 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 ;)

I tried to remove the line in the .pro and .spec files, and it gets me to:

error: File not found: 
/home/deploy/installroot/usr/share/harbour-currencyconverter/icons
RPM build errors:
error: File not found: 
/home/deploy/installroot/usr/share/icons/hicolor/*/apps/harbour-currencyconverter.png
File not found: 
/home/deploy/installroot/usr/share/harbour-currencyconverter/icons
File not found: 
/home/deploy/installroot/usr/share/icons/hicolor/*/apps/harbour-currencyconverter.png

And yes, they are there as well.
 
--
 /Thomas

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Error installing .desktop file

2019-08-19 Thread Андрей Кожевников
So, where is your pro file with relevant desktop file entry?

вт, 20 авг. 2019 г., 9:28 Thomas Tanghus :

>
>
> > 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"  – 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?
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Error installing .desktop file

2019-08-19 Thread Thomas Tanghus


> 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"  – 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?

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Error installing .desktop file

2019-08-19 Thread Ville Nummela

Hi,

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.


Do you actually have a .desktop file?

 -Ville


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: 
https://lists.sailfishos.org/pipermail/devel/2013-November/001118.html and that 
doesn't really apply here?

The .pro and .yaml file are at 
https://gist.github.com/tanghus/840ce2ad46ea691f2b932e796dade0d8

/Thomas

I hope this gets thru. Kmail has decided not to send emails, so I'm using 
Nextclouds web mail.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Error installing .desktop file

2019-08-19 Thread Thomas Tanghus
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: 
https://lists.sailfishos.org/pipermail/devel/2013-November/001118.html and that 
doesn't really apply here?

The .pro and .yaml file are at 
https://gist.github.com/tanghus/840ce2ad46ea691f2b932e796dade0d8

/Thomas

I hope this gets thru. Kmail has decided not to send emails, so I'm using 
Nextclouds web mail.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org