Reply
Thread Tools
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#1
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
Attached Files
File Type: zip rules.zip (799 Bytes, 144 views)
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here

Last edited by marmistrz; 2012-07-17 at 11:07.
 

The Following 12 Users Say Thank You to marmistrz For This Useful Post:
Posts: 1,067 | Thanked: 2,383 times | Joined on Jan 2012 @ Finland
#2
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 Following 8 Users Say Thank You to rainisto For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#3
Originally Posted by rainisto View Post
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?
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#4
Flash Player was apparently using softfp2hardfp emulation in Harmattan, maybe it's the same case for Kaboom.
 

The Following 3 Users Say Thank You to ivgalvez For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#5
Originally Posted by ivgalvez View Post
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
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 115 | Thanked: 98 times | Joined on Aug 2011
#6
Maybe we can make 'preenv-like' software from here without porting any MeeGo's components.
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#7
Originally Posted by AWasisto View Post
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
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following 3 Users Say Thank You to marmistrz For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#8
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.
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here

Last edited by marmistrz; 2012-04-12 at 13:18.
 

The Following User Says Thank You to marmistrz For This Useful Post:
ammyt's Avatar
Posts: 1,918 | Thanked: 3,118 times | Joined on Oct 2010 @ My pants
#9
This looks like a nice experiment marmistrz, any updates?
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#10
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.
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here

Last edited by marmistrz; 2012-04-15 at 11:19.
 

The Following 3 Users Say Thank You to marmistrz For This Useful Post:
Reply

Tags
fremantle, harmattan, meego, optify, porting

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:45.