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

2014-03-13 Thread Erik Ridderby
Hi, How is this $XDG_CACHE_HOME created? Is that something you setup in the yaml-file? Because even though /var/log is read only /var/log/my-app can be read and write without problem. I think that if the installer can create $XDG_CACHE_HOME and put the right permissions it would work. BR Erik

Re: [SailfishDevel] requiring libpulse.so.0

2014-03-13 Thread Victor Mataré
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 ;-) On Friday, 14.03.2014 01:03:13 Victor Mataré wrote: > Hi all, > > I'm writing an app that provides a GUI for the PulseAudio network

[SailfishDevel] requiring libpulse.so.0

2014-03-13 Thread Victor Mataré
Hi all, I'm writing an app that provides a GUI for the PulseAudio network transparency features (i.e. module-tunnel-sink, possibly add RTP support later), but in https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/master/allowed_requires.conf I see that I can't require libpulse.so.0.

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

2014-03-13 Thread Artem Marchenko
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 On Fri, Mar 14, 2014 at 12:55 AM, Artem Marchenko wrote: > Hi All > > /var/log is not writable by user nemo, so what is

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

2014-03-13 Thread Artem Marchenko
Hi All /var/log is not writable by user nemo, so what is a good location for my log files then? I log certain events to journalctl, but I also would want app specific log file(s) for longer term analysis. /var/log looked like a good place, because it is standard and cleaned once in a while, so I

Re: [SailfishDevel] Scheduling code for execution at x seconds since epoch

2014-03-13 Thread Thomas Tanghus
On Thursday 13 March 2014 20:45 Arvid Fahlström Myrman wrote: > Hi, > > Does anyone know if it is possible to schedule code for execution at x > seconds since epoch, with guaranteed execution even when in sleep mode? > Currently I am using libiphb (through tanghus's Insomniac QML plugin), but > li

[SailfishDevel] Scheduling code for execution at x seconds since epoch

2014-03-13 Thread Arvid Fahlström Myrman
Hi, Does anyone know if it is possible to schedule code for execution at x seconds since epoch, with guaranteed execution even when in sleep mode? Currently I am using libiphb (through tanghus's Insomniac QML plugin), but libiphb only seems to support waiting for a specified number of seconds,

Re: [SailfishDevel] Folder permissions

2014-03-13 Thread Jonni Rainisto
Did you remember to add %ghost in .spec files for rpm to claim ownership for files that you created? Afaik with that remove will also remove the files when package is uninstalled. From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on b

Re: [SailfishDevel] Folder permissions

2014-03-13 Thread Iosif Hamlatzis
Thank you very much, I've just tested my game using the XDG basedir and it worked so I can continue my port of the game by modifying the rest of the code. Just one question, will the folders under .config/.cache/.local be removed if I uninstall the game? I've noticed that using the XDG basedir to

Re: [SailfishDevel] SilicaListView.scrollToBottom() after appending to a listmodel

2014-03-13 Thread chriswilty
Well, the response was underwhelming... In any case, I sort of solved my issue by using the currentItem/Index way, although when adding the first new item, I do get a strange delay before the animation kicks in. When adding items after that, it works fine. Chris On Fri, 28 Feb 2014 11:12: