Hi David, the rules regarding single executable haven't changed, to my knowledge. That particular problem was solved for my case by writing a wrapper and called either QML main or the main I wanted to use from Valhalla ( https://github.com/rinigus/osmscout-server-route/blob/master/src/harbour-osmscout-server-module-route.cpp#L19). This solution would work, but its a touch harder to maintain. In the end, its up to you whether you want to have the app in the harbour or not. After all, its your decision. However, I would suggest to consider distribution via OpenRepos and not waste too much time for working around Harbour rules.
Best wishes, Rinigus PS: Ironically, few month later, I had to pull out of Harbour anyway due to the changes in systemd API On Mon, May 14, 2018 at 4:12 PM, David Llewellyn-Jones <da...@flypig.co.uk> wrote: > Hi, > > The Harbour rpmvalidator is currently highlighting problems with my app > because it has more than one executable packaged with it. I get errors > like this: > > ERROR [/usr/share/harbour-getiplay/lib/bin/rtmpdump] ELF binary in wrong > location (must be /usr/bin/harbour-getiplay) > > ERROR [/usr/share/harbour-getiplay/lib/bin/rtmpdump] File must not be > executable (current permissions: 755) > > Is there any way to create a Harbour-compatible package that includes > more than one executable? From the validator, it looks to be impossible, > but the FAQ doesn't say anything about it, so I'm still hopeful :) > > For context, my app is just a UI wrapper around a separate executable > that I call using QProcess. Since the underlying executable isn't > written by me (and itself calls several other executables), integrating > them into a single executable would be hard. > > David > > P.S. I checked the mailing list archives and together.jolla.com, and > although this has come up before (e.g. > https://lists.sailfishos.org/pipermail/devel/2017-May/007898.html) I > didn't see any clear solutions or conclusions. > -- > Website: http://www.flypig.co.uk > _______________________________________________ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscribe@lists. > sailfishos.org
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org