![]() |
[Help Needed] Porting applaucherd from MeeGo to Fremantle to speed up app start time and diminish the amount of RAM taken
1 Attachment(s)
New post
I changed this post as MeeCoLay can launch MeeGo applauncherd apps. But this way Maemo can't benefit from applauncherd features: shared libraries among many programs - the libraries aren't duplicated in ram, faster app startup time. Comparing to WebOS or MeeGo the apps on N900 start up really slowly. In the last posts I posted what problems I experience. I'm using latest applauncherd source from gitorious (I removed some of the Nokia libs absent in fremantle from the helper script) Old post: Hi One of the missing libraries which is required by many apps (Food Additives, MeeDocs) is applauncherd. (libmdeclarativecache.so, exactly) I'm trying to port some of the deps first. I'd like to use the maemo-optify tool, but I've got a small problem: I can't see any dh_gencontrol or something. It's the imporant part of the debian/rules file (from aegis-builder, but there are similiar rules in other pkgs), I'm attaching the full file Code:
include /usr/share/cdbs/1/rules/debhelper.mkThanks in advance marmistrz |
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
hardfp vs softfp, apps won't run without recompilation. So your wasting your time.
For open source projects its just easier to remove booster/declarative cache from the sources. As applauncher really doesn't do anything than start apps a few hundred milliseconds faster, so it can be safely removed from all apps. |
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Quote:
I wanna recompile the applauncher to let most apps run without recompile. (some apps aren't open) Where should I put maemo-optify in such a debian/rules? |
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Flash Player was apparently using softfp2hardfp emulation in Harmattan, maybe it's the same case for Kaboom.
|
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Quote:
|
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Maybe we can make 'preenv-like' software from here without porting any MeeGo's components.
|
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Quote:
I found this approach usable Code:
override_dh_gencontrol: |
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Is there a possibility to use some library temporarily?
Icy Tower requires newer libstdc++.so.6 I've got some approach in /opt/meecolay/lib (libstdc++6 4.4.0 or newer) Is it possible to execute this way: normally use the stock libstdc++6 for /usr/lib, but for this single app use the one from /opt/meecolay/lib? EDIT: I tried using the preenv approach, but the libstdc++6 isn't reloaded. |
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
This looks like a nice experiment marmistrz, any updates?
|
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
aegis-builder and libcreds2 already compiled.
The problem now is that some libraries which applauncher build-depends on are closed-src pkgs such as liblocationextras. I don't know whether these libs will work w/o recompilation. Would disassembly and reassembly make sense? They may also require newer libstdc++6. It'd be nice if someone would be able to compile the harmattan's ones. I'm talking with one maemo.org user, AapoRantalainen, about gcc-4.6 but this may be not fully compatible EDIT: I'll download the pkgs and try to make something of it. |
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
I managed to compile binutils from MeeGo, which is the first step to get meego's libstdc++6
I'm not uploading this to extras as this is not tested, but it's here (source soon, as it's quite big) http://marmistrz.net63.net/public/gcc-4.4/ |
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Have you tried imaging the whole data in an N9 and mounting/chrooting with some modified easydebian scripts?? I just think it makes more sense than trying to recompile all meego libraries, as some will be closed sourced and some meego apps might depend on newer glibc or whatnot (I have never seen MeeGo so I do not know what library versions or kernel it uses). As the resolutions and CPU are virtually identical this should not be too much trouble :) I just think chrooting makes more sense :)
|
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Quote:
|
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Quote:
Anyway, I came across a package binutils2.22 in devel, so I think theres no use in pushing my build as its older. After all, we could use libstdc++6 in preenv too if it was ported as nfs hp or asphalt 6 uses newer one I bet. |
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Quote:
I am assuming rsync is not available for the N9, if it is then please try it instead :) If the MyDocs folder still exists on the N9 then this could work: Code:
sudo su #(or whatever to be root :D )Code:
export MEEGO_ROOT="/mnt/meego_root" |
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
There is rsync on Harmattan, I'm using it myself. :)
Harmattan deb package PS.:There are many other interesting packages in RzRs repo. :) |
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Quote:
|
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
A noob question:
If this works,is it possible to also have some useful drivers and codecs from meego to work on N900? I mean the other cool stuff that doesnt require multitouch? |
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
How is it going anyway? Quite silent here. I hope you hadn't experienced another "Symbian moment" in the meantime.
|
Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Quote:
The only usable approach was Code:
/lib/ld*.so --library-path /opt/meecolay/lib ./executableWe need to compile libxi6 from meego :( But there's progress anyway! Important question: should I try compiling libxi6 from meego the standard way (replacing the newer ver) or put it somewhere else? EDIT: should I optify it? the version on my n900 is not optified, but... EDIT2: there are more newer libs needed, so I'll need to put 'em standard way. Only the optify question remains Quote:
Quote:
|
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Ok, now I've got definitely a problem.
I'm porting xcb-proto. It's a modified debian/rules: Code:
#!/usr/bin/make -fCode:
This file contains any messages produced by compilers while |
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
didnt find python or not recognize python version
|
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Something like that. I'll post the whole log if it'd help when i'm back on my computer. But it won't be very much more info that here.
|
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
1 Attachment(s)
It's the whole log.
edit: the same happens when using package automake & autoconf instead of automake1.10-autoconf264 & autoconf2.64 |
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
can you post your python version ?
|
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Quote:
python2.5 is certainly present, theres no python1.5 for sure. I'll provide more details as soon as I get on the scratchbox (writing this on n900) - it should be 2moro afternoon cet. |
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Quote:
|
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
mine is 2.5.4 too.
|
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Quote:
|
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
My N900 with CSSU has Python 2.5.4. As IIRC CSSU didn't update Python, also vanilla PR 1.3 should have the same version.
|
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Quote:
It should've been (without dh7) Code:
export SBOX_REDIRECT_IGNORE = /usr/bin/pythonCode:
export SBOX_REDIRECT_IGNORE = /usr/bin/perl:/usr/bin/python |
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
1 Attachment(s)
Hmmm, I tried compiling aegis-crypto, which is a dependency for applauncher
The first error (IN_NONBLOCK not declared) I was able to fix myself but there's another one I've got no idea what to do with. The error is: Code:
aegis_storage.cpp: In member function 'bool aegis::storage::inotify_set_watch()':Does anybody know how this error can be fixed? libbb5-dev shouldn't be required, as libmaemosec-something shhould have the needed files. |
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Why the hell would you like to port AEGIS to N900?
|
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Quote:
So one more question, is aegis required to run some apps (as if it was a .so) or is it a install-only framework? |
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
checked repos today and found a app for running MeeGo apps uploaded by you. How to use it and run MeeGo apps ? HERE is the link for repo.
|
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Code:
~ $ meecolay |
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Let me guess, it's still in extras-devel? ;)
|
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Quote:
I wanted to keep it silent 'til I the library downloading client is ready. But seems it's impossible :)) So I'll unveil what's to be done. Check out the MeeCoLay announce thread, I'll start it very soon! EDIT: It's there http://talk.maemo.org/showthread.php?p=1212356 |
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Quote:
Any ideas how to fix it? |
Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
Quote:
I'm trying to compile applauncherd anyway (it may be useful with limited resources N900 has) What's wrong with that line: Code:
const uint32_t ARG_MAX = 1024;Code:
/home/marcin/applauncher/meegotouch-meegotouch-applauncherd/src/launcherlib/connection.cpp:356: error: expected unqualified-id before numeric constant |
| All times are GMT. The time now is 08:57. |
vBulletin® Version 3.8.8