maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [Announce] [Beta] Applauncher port for Fremantle - launch apps faster and more economically (https://talk.maemo.org/showthread.php?t=85716)

kraker_abhy 2013-09-30 15:09

Re: [Announce] [Beta] Applauncher port for Fremantle - launch apps faster and more economically
 
Great work marmistrz, looking forward to it. I am not a developer so when it will be safe enough for me to test it?

marmistrz 2013-09-30 18:32

[Help needed with porting] Applauncherd port for Fremantle - launch apps faster and more economically
 
Quote:

Originally Posted by kraker_abhy (Post 1377796)
Great work marmistrz, looking forward to it. I am not a developer so when it will be safe enough for me to test it?

Well, more borked version is already in meecolay, so it's really safe ;D

@mods: I cannot change the thread title. it should be
Code:

[Help needed with porting] Applauncherd port for Fremantle - launch apps faster and more economically

kraker_abhy 2013-09-30 19:58

Re: [Help needed with porting] Applauncherd port for Fremantle - launch apps faster and more economically
 
Quote:

Originally Posted by marmistrz (Post 1377847)
Well, more borked version is already in meecolay, so it's really safe ;D

Thank you so much. I will give a try

marmistrz 2013-10-02 15:24

Re: [Announce] [Beta] Applauncher port for Fremantle - launch apps faster and more economically
 
Well, miracle! :) The example apps are working. Pushing to devel. Test deps are broken, I'm gonna take care of it soon. And you need to
Code:

sudo run-standalone.sh applauncherd
manually. (Daemon mode not tested)

kraker_abhy 2013-10-02 22:52

Re: [Announce] [Beta] Applauncher port for Fremantle - launch apps faster and more economically
 
Quote:

Originally Posted by marmistrz (Post 1378233)
Well, miracle! :) The example apps are working. Pushing to devel. Test deps are broken, I'm gonna take care of it soon. And you need to
Code:

sudo run-standalone.sh applauncherd
manually. (Daemon mode not tested)

That's great news. Thanks for your hardwork.

I have below doubts though:
1. As i know it should share lib among apps and make device running faster and smoother (let me know if i am wrong) but i don't notice any difference, whether it need to be started manually through some script after each restart or something?

2. After the above command it just showed blank screen and nothing more happed. do we need to keep that background window open and use device.

3. which example apps? does it share libs among specific apps only?

iceskateclog 2013-10-03 06:02

Re: [Announce] [Beta] Applauncher port for Fremantle - launch apps faster and more economically
 
Looks like applications need to be aware of applauncherd? Also isn't it quite useless in Fremantle? Single instance support is through DBus, Qt is used by few programs, but is shared library, etc?

Quote:

The exec booster is a generic booster for all kinds of applications. Unlike the other boosters (MeeGo Touch, QML and Qt boosters), this booster does not help to start up the application more quickly. It is basically a booster that only exec()'s the given binary. It can be used to launch any application even if the application is not a library.
http://harmattan-dev.nokia.com/docs/...html/main.html

marmistrz 2013-10-03 15:53

Re: [Announce] [Beta] Applauncher port for Fremantle - launch apps faster and more economically
 
@kraker_abhy:
1. Well, from my experience it depends on usage: if you use only one app, then you won't benefit from applauncherd. But if all Qt and QML apps use it, then it'll be a great benefit.
2. you need to use invoker and the app needs to be linked with applauncherd (currently the only ones are the testapps - the best example is fala_qml_wl - with invoker it start blitz-fast ;) ) QML apps take ultra long to launch, it's why it's a good idea.
3. The terminal window is left there because it's an alpha stage (I can't change the title ;( ). I'll work on daemon mode and autostart later
4. applauncherd-testapps
@iceskateclog
5. Yes the app needs to be aware of applauncherd. But even now you can add simple commands like
Code:

invoker -s --type=d /opt/myapp/bin/myapp || /opt/myapp/bin/myapp
. If the invoker fails (not installed, broken, whatever), then it'll be launched without it.
6. single instance is useless for menu, but useful for control-panel, useful for running apps with a script. Or can it be achieved with maemo-launcher?
7. Plain Qt is not that uncommon, QtDeclarative is indeed uncommon.
8. Exec booster is something else. It's for splash screen and single instance. And Qt devs should use the Qt booster.
9. Well, a gtk booster should be written someday :)

marmistrz 2013-10-14 13:57

Re: [Announce] [Beta] Applauncher port for Fremantle - launch apps faster and more economically
 
The full featured qml apps still crash. Just add the qdeclarative-boostable flag to UserAgentTool to qmake. Via ebooster they run ok, so it's probably a qdeclarative booster problem.

elros34 2015-04-21 20:18

Re: [Announce] [Beta] Applauncher port for Fremantle - launch apps faster and more economically
 
Great work marmistrz. It really makes the apps start faster.
Is there any way to use MDeclarativeCache when using subclassed qapplication or qdeclarativeview?
Is there a cached version of qwidget?

marmistrz 2015-04-24 14:18

Re: [Announce] [Beta] Applauncher port for Fremantle - launch apps faster and more economically
 
Sorry, I did it 2 years ago, barely remember the details :) I gave it up due to the lack of interest.

Thus,

1. If you want to take care of the whole package and develop it further, I'll aid you whenever you ask. But I'm not planning to develop it further myself.
2. To support qwidget, you'd have to modify the library-helper.py and rebuild. Maybe some changes in a booster would have to be made but I doubt so. Building sometimes stalls, then you just have cancel it and start anew. This doesn't happen in the autobuilder, though.
3. I guess the C++ inheriting shouldn't prohibit it using MDeclarativeCache. But I really don't know.

Please overtake the development if you wish.


All times are GMT. The time now is 11:35.

vBulletin® Version 3.8.8