maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [Help Needed] Porting applaucherd from MeeGo to Fremantle to speed up app start time and diminish the amount of RAM taken (https://talk.maemo.org/showthread.php?t=83562)

marmistrz 2012-04-16 16:21

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/

pablocrossa 2012-04-16 16:46

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 :)

pablocrossa 2012-04-16 18:26

Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
Quote:

Originally Posted by pablocrossa (Post 1192854)
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 :)

Does someone have an N9 they can image??

marmistrz 2012-04-16 18:53

Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
Quote:

Originally Posted by pablocrossa (Post 1192900)
Does someone have an N9 they can image??

I dun know whether Nokia will be on the case were distibuting their software... Lets hope not. Its free of charge so there should be no problem (as Nokia is abandoning Meego either)

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.

pablocrossa 2012-04-16 19:35

Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
Quote:

Originally Posted by marmistrz (Post 1192907)
I dun know whether Nokia will be on the case were distibuting their software... Lets hope not. Its free of charge so there should be no problem (as Nokia is abandoning Meego either)

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.

I meant image to try themselves ;)
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 )
dd if=/dev/zero of=/home/user/MyDocs/meego-image bs=1024 count=2097152
mkfs.ext3 /home/user/MyDocs/meego-image
export MEEGO_ROOT="/mnt/meego_root"
mkdir $MEEGO_ROOT
mount -o loop /home/user/MyDocs/meego-image $MEEGO_ROOT
cd $MEEGO_ROOT
cp -rf /bin ./
cp -rf /etc ./
cp -rf /home ./
cp -rf /lib ./
cp -rf /var ./
cp -rf /sbin ./
cp -rf /opt ./
cp -rf /usr ./
umount $MEEGO_ROOT

then copy to your N900 and install easydebian. Then
Code:

export MEEGO_ROOT="/mnt/meego_root"
mkdir $MEEGO_ROOT
mount -o loop /home/user/MyDocs/meego-image $MEEGO_ROOT
cd $MEEGO_ROOT
qchroot 'none' ./ /bin/ash #or whatever the binary is, I believe this qchroot command is correct :)

That should get you running and then running any required apps or services should be trivial/simple. Good luck and someone PLEASE try.

MartinK 2012-04-17 10:23

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. :)

don_falcone 2012-04-17 10:50

Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
Quote:

Originally Posted by marmistrz (Post 1191163)
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.

use LD_PRELOAD

aditya_123412 2012-04-26 15:08

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?

don_falcone 2012-04-26 16:09

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.

marmistrz 2012-04-26 16:25

Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
Quote:

Originally Posted by don_falcone (Post 1193200)

Unfortunately this still loads /usr/lib/libstdc++.so.6
The only usable approach was
Code:

/lib/ld*.so --library-path /opt/meecolay/lib ./executable
But then it complains it can't find XIQueryVersion (it's from libXi.so.6)
We 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:

Originally Posted by aditya_123412 (Post 1197893)
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?

It's not yet finished. When it's finished - maybe. A few apps from MeeGo may run unmodified. Such app is Kaboom Trial.


Quote:

Originally Posted by don_falcone (Post 1197911)
How is it going anyway? Quite silent here. I hope you hadn't experienced another "Symbian moment" in the meantime.

There was a bit stagnation, but I finally managed to go somewhere! Still better than with Symbian. :)


All times are GMT. The time now is 08:57.

vBulletin® Version 3.8.8