Re: [SailfishDevel] /var/log is not writable. Where do I create my logs then?

2014-03-14 Thread Reto Zingg
Hi, On 14.03.2014 00:58, Artem Marchenko wrote: P.S. Actually harbour FAQ tells to put at least my cache files to $XDG_CACHE_HOME subdir that is /var/log/harbour-myapp . So I guess having /var/log unwritable is a bug then see https://harbour.jolla.com/faq#2.14.0 If $XDG_CACHE_HOME is either

Re: [SailfishDevel] Folder permissions

2014-03-14 Thread Iosif Hamlatzis
I cannot use the %ghost directive as I don't know the names of the data files that will be created during runtime, can I use the %ghost directive with wildcards?. Also the folder I store my data files according to this link https://harbour.jolla.com/faq#2.14.0 is $XDG_DATA_HOME/MyGameName when I

Re: [SailfishDevel] Regarding %ghost directive

2014-03-14 Thread Iosif Hamlatzis
I've checked the link and as I understand it doesn't take wildcards, so if I don't know beforehand the names of the files that will be created at runtime then I'm in big trouble. Also the folder I store my data files according to this link https://harbour.jolla.com/faq#2.14.0 is

Re: [SailfishDevel] requiring libpulse.so.0

2014-03-14 Thread Reto Zingg
Hi, On 14.03.2014 02:10, Victor Mataré wrote: Ugh sorry, didn't read far enough: https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/master/allowed_libraries.conf Question answered. Have nice day ;-) yes, it was a mistake to not add it to the allowed_requires, sorry. Is now fixed.

Re: [SailfishDevel] Folder permissions

2014-03-14 Thread Iosif Hamlatzis
Thank you, a big burden has been lifted. I can now start debugging the game on the actual device since the emulator doesn't support landscape mode. On 14 March 2014 12:53, Thomas Perl th.p...@gmail.com wrote: On 14 Mar 2014, at 11:37, Ove Kåven o...@arcticnet.no wrote: Den 13. mars 2014

Re: [SailfishDevel] Wrong symbolic link

2014-03-14 Thread Ove Kåven
Den 14. mars 2014 19:37, skrev Iosif Hamlatzis: ssize_t chars = readlink(/proc/self/exe,full_path,PATH_MAX); The usual (portable) way to find the executable name is to use argv[0], not to read /proc/self/exe. (If it's a relative path, then you may need to search for it in the PATH or