maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [WIP] Alopex: a mozilla embedlite implementation on fremantle (https://talk.maemo.org/showthread.php?t=89506)

freemangordon 2013-11-20 07:23

Re: [WIP] Alopex: a mozilla embedlite implementation on fremantle
 
Quote:

Originally Posted by marmistrz (Post 1387631)
Well, I did the debian/rules patching, but the adaptation is fremantle-only. Will post the src package when builds in my sb.

you'd better send me the patch, so I can push it on github or clone the repo and request a merge. it doesn't make sense to have piles of differents sources, unless you plan a fork

Android_808 2013-11-20 10:17

Re: [WIP] Alopex: a mozilla embedlite implementation on fremantle
 
Is it worth adding a build depends and/or export for python2.7 in rules when using fremantle target?

freemangordon 2013-11-20 11:05

Re: [WIP] Alopex: a mozilla embedlite implementation on fremantle
 
Quote:

Originally Posted by Android_808 (Post 1387663)
Is it worth adding a build depends and/or export for python2.7 in rules when using fremantle target?

At least for now, I guess it doesn;t make sense, gecko is buildable and it has much serious problems on Fremantle than packaging

marmistrz 2013-11-20 16:53

Re: [WIP] Alopex: a mozilla embedlite implementation on fremantle
 
1 Attachment(s)
It's the patch for debian/rules

Includes python2.7 in fremantle.

rules.orig is the git one.

Android_808 2013-11-21 10:12

Re: [WIP] Alopex: a mozilla embedlite implementation on fremantle
 
I've managed to get it to build up to the linking stage but now I'm getting the following error message. The :12049 error is repeated lots of times before this.

Code:

/scratchbox/compilers/linaro-4.7-2012.07-fremantle-armv7a/bin/../lib/gcc/arm-none-linux-gnueabi/4.7.2/../../../../arm-none-linux-gnueabi/bin/ld: BFD (GNU Binutils) 2.22 assertion fail ../../../sources/binutils-2.22/bfd/elf32-arm.c:12049
make[6]: *** [libxul.so] Error 1
make[6]: Leaving directory `/home/robert/alopex/mozilla-central/objdir-armel/toolkit/library'
make[5]: *** [toolkit/library/libs] Error 2
make[5]: Leaving directory `/home/robert/alopex/mozilla-central/objdir-armel'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/home/robert/alopex/mozilla-central/objdir-armel'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/home/robert/alopex/mozilla-central/objdir-armel'
make[2]: *** [realbuild] Error 2
make[2]: Leaving directory `/home/robert/alopex/mozilla-central'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/robert/alopex/mozilla-central'
make: *** [build-armel-stamp] Error 2


freemangordon 2013-11-21 11:19

Re: [WIP] Alopex: a mozilla embedlite implementation on fremantle
 
make sure you've pulled the latest source form github

Android_808 2013-11-21 16:33

Re: [WIP] Alopex: a mozilla embedlite implementation on fremantle
 
Definitely using latest source. Restarted and piped output into a log file. It seemed like VM was running out of memory during linking (850MB RAM with 700ish swap) as ld teminated with signal 9. Left it whilst doing some shopping with 1GB RAM and 5,7GB swap. Solved.

Build of embedlite-components seems to be missing a few build-deps. Libtool 1.5 in repo has a size mismatch, by passed by installing via dpkg. Then discover it seems to require >2.2.6, 2.2 has no package on its package page, so only logical option is libtool242.

So installed autoconf2.67, automake1.11, libtool242 and now I get

Code:

mv: cannot stat `.deps/libhistory_la-EmbedHistoryListener.Tpo': No such file or directory

marmistrz 2013-11-21 20:13

Re: [WIP] Alopex: a mozilla embedlite implementation on fremantle
 
Quote:

Originally Posted by Android_808 (Post 1387951)
Definitely using latest source. Restarted and piped output into a log file. It seemed like VM was running out of memory during linking (850MB RAM with 700ish swap) as ld teminated with signal 9. Left it whilst doing some shopping with 1GB RAM and 5,7GB swap. Solved.

Build of embedlite-components seems to be missing a few build-deps. Libtool 1.5 in repo has a size mismatch, by passed by installing via dpkg. Then discover it seems to require >2.2.6, 2.2 has no package on its package page, so only logical option is libtool242.

So installed autoconf2.67, automake1.11, libtool242 and now I get

Code:

mv: cannot stat `.deps/libhistory_la-EmbedHistoryListener.Tpo': No such file or directory

Well, I'm fixing my thumb target, and'll proceed with building asap.

marmistrz 2013-11-22 16:00

Re: [WIP] Alopex: a mozilla embedlite implementation on fremantle
 
Well, built successfully and found a bug: debian/rules clean should clean objdir-armel.

Uploading the fixed source and xulrunner package to http://marmistrz.net63.net/public/mozilla/

/edit: the source is too big to be uploaded via my home net. Will push it 2moro

freemangordon 2013-11-22 16:19

Re: [WIP] Alopex: a mozilla embedlite implementation on fremantle
 
Guys, debian packaging and compile scripts are our least problem with embedlite. I am far from telling you what to do with your free time, but there are things like missing UI, bad performance, memory usage, video playback, webgl support, etc, which are better to play with if we want functional browser IMO.

@marmistrz - there is a way to contribute source code to embedlite - clone it on github, make your changes and request merge. That way patches can be reviewed not only by me, but also by romaxa, tatiana, dimitry etc. I wouldn't waste my time doing diff between my tree and the tar.gz you uploaded just to extract a one-line patch.


All times are GMT. The time now is 07:44.

vBulletin® Version 3.8.8