[SailfishDevel] Harbour: Allow more libraries to link against

Reto Zingg reto.zingg at jolla.com
Thu Jan 2 09:43:46 UTC 2014


Hi,

On 02.01.2014 11:28, Ville Ranki wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2013-12-27 22:16, Alejandro Exojo wrote:
>> In the meantime, correct me if I'm wrong, but I understood that one
>> can ship libraries in the package, as long as you care about
>> setting RPATH (and other packaging issues) yourself.
>
> Can you recommend a tutorial or example on how to do this properly on
> Sailfish?

We didn't had the time yet to write one and I'm not aware if somebody 
form the community has written something.

> Another Harbour question: My app is reported to cause too many
> wakeups per second. The app is completely asynchronous and nothing
> should be happening when it is idle. How can i debug issues like this?
> What tool can i use to measure wakeups?

use powertop:

ssu ar mer-tools
pkcon install powertop

connect over ssh to device, start your app, let the screen blank, wait 
an other 10s, then start the powertop command over ssh, w/o any 
parameters (that's how Harbour QA does it). If wake ups are below 60, 
the app is accepted (that is the current value and not written into 
stone and might change any time), if it's over 60 we research deeper if 
there is a good reason (e.g. Internet Radio app) to still accept it.

If not then we reject it. Most likely you have still some timer running? 
Stop them when your app is not active.

br
Reto

>
> - --
> Ville Ranki <ville.ranki at iki.fi>
> http://www.iki.fi/~cos
> PGP public key: http://www.iki.fi/~cos/vranki_pub.asc
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlLFMSwACgkQVm11nqR7UVwGowCcDq/6s+tNWzdbW1iLAG7s3F0M
> osEAn0HAPR3lX8Zk1VA2wm0PFF96oB2Z
> =oOzQ
> -----END PGP SIGNATURE-----
> _______________________________________________
> SailfishOS.org Devel mailing list
>



More information about the Devel mailing list