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-05-09 17:06

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

Originally Posted by MartinK (Post 1198555)
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.

I know what's the problem. I was overwriting the SBOX_REDIRECT_IGNORE
It should've been (without dh7)
Code:

export SBOX_REDIRECT_IGNORE = /usr/bin/python
with dh7:
Code:

export SBOX_REDIRECT_IGNORE = /usr/bin/perl:/usr/bin/python

marmistrz 2012-05-12 17:19

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()':
aegis_storage.cpp:1088: error: 'inotify_init1' was not declared in this scope

The patch for the first error is attached.

Does anybody know how this error can be fixed?

libbb5-dev shouldn't be required, as libmaemosec-something shhould have the needed files.

ivgalvez 2012-05-12 17:35

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?

marmistrz 2012-05-12 19:33

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

Originally Posted by ivgalvez (Post 1205777)
Why the hell would you like to port AEGIS to N900?

I read a bit more about it, and it's for sure not a good idea :)

So one more question,
is aegis required to run some apps (as if it was a .so) or is it a install-only framework?

panjgoori 2012-05-25 06:13

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.

AWasisto 2012-05-25 08:22

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

~ $ meecolay
ERROR: ld.so: object '/opt/meecolay/lib/libstdc++.so.6' from LD_PRELOAD cannot be preloaded: ignored.


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $

I realized that /opt/meecolay/lib/ is still empty.

mr_pingu 2012-05-25 08:28

Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
Let me guess, it's still in extras-devel? ;)

marmistrz 2012-05-25 12:21

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

Originally Posted by panjgoori (Post 1212238)
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.

Alright!
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

marmistrz 2012-06-06 19:25

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

Originally Posted by marmistrz (Post 1205767)
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()':
aegis_storage.cpp:1088: error: 'inotify_init1' was not declared in this scope

The patch for the first error is attached.

Does anybody know how this error can be fixed?

libbb5-dev shouldn't be required, as libmaemosec-something shhould have the needed files.

libaegis-crypto1 has to be ported, even if N900 is not using Aegis. For example, forum-tmo is linked with it and libaegis-crypto1 requires newer libc6, so it can't be used as a binary.

Any ideas how to fix it?

marmistrz 2012-06-30 17:37

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

Originally Posted by marmistrz (Post 1218555)
libaegis-crypto1 has to be ported, even if N900 is not using Aegis. For example, forum-tmo is linked with it and libaegis-crypto1 requires newer libc6, so it can't be used as a binary.

Any ideas how to fix it?

In newer aegis-crypto there's no such problem.
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;
The error is:
Code:

/home/marcin/applauncher/meegotouch-meegotouch-applauncherd/src/launcherlib/connection.cpp:356: error: expected unqualified-id before numeric constant
Thanks in advance


All times are GMT. The time now is 02:17.

vBulletin® Version 3.8.8