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-11 08:51

[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.mk
include /usr/share/cdbs/1/class/autotools.mk

INSTALL_TARGETS := $(foreach pkg,$(DEB_ALL_PACKAGES),install/$(pkg))
MAKEBUILDDIR_TARGETS := $(foreach pkg,$(DEB_ALL_PACKAGES),makebuilddir/$(pkg))

# scratchbox currently supports only compat level 5, and
# got this rule file only working on compat 4. This uses
# "debian/*.files" and "dh_movefiles". On compat 7, this
# special target can be removed and package should use
# only "debian/*.install" files (no "debian/*.files"!).

# single package does not use debian/tmp on compat 4
#$(INSTALL_TARGETS)::
#        dh_movefiles -p$(notdir $@)

clean::
        -rm debian/configure-stamp

$(MAKEBUILDDIR_TARGETS):: debian/configure-stamp

debian/configure-stamp:
        [ ! -f Makefile ] || $(MAKE) distclean
        autoreconf -i -f -s
        touch $@

where should maemo-optify command be put?
Thanks in advance
marmistrz

rainisto 2012-04-11 12:48

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.

marmistrz 2012-04-11 13:11

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

Originally Posted by rainisto (Post 1190730)
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.

The problem isn't surely that serious, as some MeeGo apps run unmodified on N900 - Kaboom! Trial for example: http://talk.maemo.org/showpost.php?p...87&postcount=9

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?

ivgalvez 2012-04-11 13:30

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.

marmistrz 2012-04-11 14:06

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

Originally Posted by ivgalvez (Post 1190741)
Flash Player was apparently using softfp2hardfp emulation in Harmattan, maybe it's the same case for Kaboom.

Maybe, but at least there will be a subset of MeeGo apps which will run smoothly, as there's with preenv

AWasisto 2012-04-11 14:50

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.

marmistrz 2012-04-11 16:11

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

Originally Posted by AWasisto (Post 1190779)
Maybe we can make 'preenv-like' software from here without porting any MeeGo's components.

Maybe...
I found this approach usable
Code:

override_dh_gencontrol:
        dh_gencontrol
        maemo-optify

Works with arename, will try with aegis-builder

marmistrz 2012-04-12 12:06

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.

ammyt 2012-04-15 08:17

Re: [Help needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
This looks like a nice experiment marmistrz, any updates?

marmistrz 2012-04-15 09:56

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.

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

marmistrz 2012-04-27 16:44

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 -f

export PATH := /usr/bin:$(PATH)
export SBOX_REDIRECT_IGNORE = /usr/bin/python

PATH:=/usr/bin/dh7:/usr/bin:$(PATH)
export PATH
SBOX_REDIRECT_IGNORE=/usr/bin/perl
export SBOX_REDIRECT_IGNORE

override_dh_auto_configure:
        autoreconf -v -f -i
        dh_auto_configure

%:
        dh $@

override_dh_gencontrol:
        dh_gencontrol
        maemo-optify

config.log is:
Code:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by XCB Proto configure 1.6, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --build=arm-linux-gnueabi --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/xcb-proto --disable-maintainer-mode --disable-dependency-tracking

## --------- ##
## Platform. ##
## --------- ##

hostname = marcin
uname -m = arm
uname -r = 2.6.32-5-amd64
uname -s = Linux
uname -v = #1 SMP Thu Mar 22 17:26:33 UTC 2012

/usr/bin/uname -p = unknown
/bin/uname -X    = unknown

/bin/arch              = arm
/usr/bin/arch -k      = arm
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine          = unknown
/usr/bin/oslevel      = unknown
/bin/universe          = unknown

PATH: /usr/bin/dh7
PATH: /usr/bin
PATH: /usr/bin
PATH: /host_usr/bin
PATH: /scratchbox/devkits/apt-https/bin
PATH: /scratchbox/devkits/git/bin
PATH: /scratchbox/devkits/svn/bin
PATH: /scratchbox/devkits/doctools/bin
PATH: /scratchbox/devkits/debian-etch/bin
PATH: /scratchbox/devkits/perl/bin
PATH: /scratchbox/devkits/qemu/bin
PATH: /scratchbox/tools/bin
PATH: /targets/links/arch_tools/bin
PATH: /scratchbox/compilers/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /sbin
PATH: /usr/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1703: checking for a BSD-compatible install
configure:1759: result: /usr/bin/install -c
configure:1770: checking whether build environment is sane
configure:1813: result: yes
configure:1870: checking for gawk
configure:1886: found /usr/bin/gawk
configure:1897: result: gawk
configure:1908: checking whether make sets $(MAKE)
configure:1929: result: yes
configure:2112: checking for xmllint
configure:2130: found /usr/bin/xmllint
configure:2143: result: /usr/bin/xmllint
configure:2198: checking for a Python interpreter with version >= 2.5
configure:2213: python -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
configure:2216: $? = 1
configure:2213: python2 -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
./configure: line 2214: python2: command not found
configure:2216: $? = 127
configure:2213: python2.4 -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
./configure: line 2214: python2.4: command not found
configure:2216: $? = 127
configure:2213: python2.3 -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
configure:2216: $? = 1
configure:2213: python2.2 -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
./configure: line 2214: python2.2: command not found
configure:2216: $? = 127
configure:2213: python2.1 -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
./configure: line 2214: python2.1: command not found
configure:2216: $? = 127
configure:2213: python2.0 -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
./configure: line 2214: python2.0: command not found
configure:2216: $? = 127
configure:2213: python1.6 -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
./configure: line 2214: python1.6: command not found
configure:2216: $? = 127
configure:2213: python1.5 -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
./configure: line 2214: python1.5: command not found
configure:2216: $? = 127
configure:2223: result: none
configure:2275: error: no suitable Python interpreter found

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=arm-linux-gnueabi
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_XMLLINT=/usr/bin/xmllint
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
am_cv_pathless_PYTHON=none

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/marcin/libxi6/xcb-proto-1.6-2/missing --run aclocal-1.8'
AMTAR='${SHELL} /home/marcin/libxi6/xcb-proto-1.6-2/missing --run tar'
AUTOCONF='${SHELL} /home/marcin/libxi6/xcb-proto-1.6-2/missing --run autoconf'
AUTOHEADER='${SHELL} /home/marcin/libxi6/xcb-proto-1.6-2/missing --run autoheader'
AUTOMAKE='${SHELL} /home/marcin/libxi6/xcb-proto-1.6-2/missing --run automake-1.8'
AWK='gawk'
CYGPATH_W='echo'
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
HAVE_XMLLINT_FALSE='#'
HAVE_XMLLINT_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/marcin/libxi6/xcb-proto-1.6-2/missing --run makeinfo'
PACKAGE='xcb-proto'
PACKAGE_BUGREPORT='xcb@lists.freedesktop.org'
PACKAGE_NAME='XCB Proto'
PACKAGE_STRING='XCB Proto 1.6'
PACKAGE_TARNAME='xcb-proto'
PACKAGE_VERSION='1.6'
PATH_SEPARATOR=':'
PYTHON=':'
PYTHON_EXEC_PREFIX=''
PYTHON_PLATFORM=''
PYTHON_PREFIX=''
PYTHON_VERSION=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.6'
XMLLINT='/usr/bin/xmllint'
am__leading_dot='.'
bindir='${exec_prefix}/bin'
build_alias='arm-linux-gnueabi'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${prefix}/share/info'
install_sh='/home/marcin/libxi6/xcb-proto-1.6-2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${prefix}/lib/xcb-proto'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${prefix}/share/man'
mkdir_p='mkdir -p -- .'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgpyexecdir=''
pkgpythondir=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
pyexecdir=''
pythondir=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''
xcbincludedir=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "XCB Proto"
#define PACKAGE_TARNAME "xcb-proto"
#define PACKAGE_VERSION "1.6"
#define PACKAGE_STRING "XCB Proto 1.6"
#define PACKAGE_BUGREPORT "xcb@lists.freedesktop.org"
#define PACKAGE "xcb-proto"
#define VERSION "1.6"

configure: exit 1

How can I fix it? I've never programmed in python, and don't have an idea what to do with it.

ravent-n900 2012-04-27 17:10

Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
didnt find python or not recognize python version

marmistrz 2012-04-27 17:43

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.

marmistrz 2012-04-27 18:39

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

ravent-n900 2012-04-27 18:48

Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
can you post your python version ?

marmistrz 2012-04-27 19:00

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

Originally Posted by ravent-n900 (Post 1198336)
can you post your python version ?

Sure,
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.

ravent-n900 2012-04-27 19:02

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

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

mine 2.5.4

marmistrz 2012-04-28 08:26

Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
mine is 2.5.4 too.

ravent-n900 2012-04-28 09:12

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

mine 2.5.4
scratchbox has 2.5.4 or n900?

MartinK 2012-04-28 10:32

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.

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 08:57.

vBulletin® Version 3.8.8