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)

misiak 2013-11-18 10:32

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

Originally Posted by freemangordon (Post 1387240)
Guys, there is more to be fixed besides necko-wifi, I'll try to push what is needed by the end of the day.

Great, thanks! :D

Quote:

Originally Posted by freemangordon (Post 1387240)
Also, a patch is needed for gstreamer support, that can't go into upstream, I'll discuss with romaxa if putting it in debian/patches is a good idea

Please, put in somewhere online and write how to get and apply it, at least... But I don't see why you couldn't add it to debian/patches directory if we're building the deb only for Maemo/MeeGo devices from this branch anyway. However - it's your decision, I would just like to see that patch and be able to apply it and build Mozilla with success ;)

Android_808 2013-11-18 14:59

Re: [WIP] Alopex: a mozilla embedlite implementation on fremantle
 
I'm still waiting for my build of mozilla-central to finish. Gonna have to wait till tomorrow morning to complete. PC upgrade is definitely the next big spend after christmas.

Besides, necko-wifi and gstreamer, I'm not sure if vp8/webm support is working yet, if wanted. Microb config also disables necko:
Code:

#ac_add_options --disable-dbus
...
ac_add_options --enable-dbus # Is it usefull?
...
ac_add_options --disable-necko-wifi

With regards to patches, I don't know if there are some features that can be safely disabled. I've seen some SMS, telephony, battery, contacts objects being compiled, are they really necessary? I know microb has patches to disable filepicker, dropservice and a few more so it might be worth checking over microb config and comparing with the current version, if flags are still valid.

marmistrz 2013-11-18 15:42

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

Originally Posted by Android_808 (Post 1387283)
I'm still waiting for my build of mozilla-central to finish. Gonna have to wait till tomorrow morning to complete. PC upgrade is definitely the next big spend after christmas.

Besides, necko-wifi and gstreamer, I'm not sure if vp8/webm support is working yet, if wanted. Microb config also disables necko:
Code:

#ac_add_options --disable-dbus
...
ac_add_options --enable-dbus # Is it usefull?
...
ac_add_options --disable-necko-wifi

With regards to patches, I don't know if there are some features that can be safely disabled. I've seen some SMS, telephony, battery, contacts objects being compiled, are they really necessary? I know microb has patches to disable filepicker, dropservice and a few more so it might be worth checking over microb config and comparing with the current version, if flags are still valid.

Well, it's a temptation to enable everything. One option is to stick with what MicroB has been configured for. Then please just document all the disabled options. In the end we might enable dbus, as we have it.

Or the second way: (which might be better for this case and which I'm for) build as-is. Use the existing qml ui and check what is broken (apart from the ui - which is designed to be broken :) ). When we have working internals, then let's move to the UI stuff.

E.g. when it comes to duicontrolpanel for Harmattan (libsysinfo - proprietary - adds some stuff which isn't necessary - but for some reason has been added (guess - extending))

freemangordon 2013-11-18 16:52

Re: [WIP] Alopex: a mozilla embedlite implementation on fremantle
 
I guess all this discussion would be smarter to happen on #embedlite at mozilla.org

AapoRantalainen 2013-11-18 18:39

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

Originally Posted by Android_808 (Post 1387151)
Might be worth noting python2.7/python2.7-minimal broken.

Package interface shows maemo3.

Yes. Repository cleaned wrong package.

I just tested you can do:
Code:

apt-get install python2.7-minimal=2.7.3~rc2-2.1-maemo5 python2.7=2.7.3~rc2-2.1-maemo5
All versions -maemo5, -maemo6, -maemo7 are the same.

marmistrz 2013-11-18 19:01

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

Originally Posted by AapoRantalainen (Post 1387317)
Yes. Repository cleaned wrong package.

I just tested you can do:
Code:

apt-get install python2.7-minimal=2.7.3~rc2-2.1-maemo5 python2.7=2.7.3~rc2-2.1-maemo5
All versions -maemo5, -maemo6, -maemo7 are the same.

Maybe you can push -maemo8 to fix the installing so that no manual apt-getting is needed?

freemangordon 2013-11-18 21:15

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

Originally Posted by AapoRantalainen (Post 1387317)
Yes. Repository cleaned wrong package.

I just tested you can do:
Code:

apt-get install python2.7-minimal=2.7.3~rc2-2.1-maemo5 python2.7=2.7.3~rc2-2.1-maemo5
All versions -maemo5, -maemo6, -maemo7 are the same.

I hope you got my mails re this problem, in case you don't, please ping me on #maemo, you have to take some decisions.

pierrem 2013-11-19 07:30

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

Originally Posted by marmistrz (Post 1387322)
Maybe you can push -maemo8 to fix the installing so that no manual apt-getting is needed?

@AapoRantalainen: and if you do so, please could you include lxml.etree, thanks

for now symlinking etree.so from python2.5 is OK, but it would be better to have it included in the python2.7 package

the same applies for xml.sax.drivers2 parsers which requires corresponding .so in /opt/python27/lib/python2.7/dist-packages/_xmlplus/parsers/

Android_808 2013-11-19 10:57

Re: [WIP] Alopex: a mozilla embedlite implementation on fremantle
 
Resumed build this morning and I'm finally beginning to get some errors.

GStreamer:
Code:

gst_registry_get_feature_list_cookie' has not been declared
Got another after xulrunner-package/mozilla-central/content/svg/content/src/nsSVGViewBox.cpp but no description of error:
Code:

nsSVGViewBox.o
c++ -o nsSVGViewBox.o -c  -fvisibility=hidden -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL  -DSTATIC_EXPORTABLE_JS_API -DNO_NSPR_10_SUPPORT -DOS_POSIX=1 -DOS_LINUX=1  -I/home/robert/xulrunner-package/mozilla-central/ipc/chromium/src -I/home/robert/xulrunner-package/mozilla-central/ipc/glue -I../../../../ipc/ipdl/_ipdlheaders  -I/home/robert/xulrunner-package/mozilla-central/content/svg/content/src -I. -I../../../../dist/include  -I/home/robert/xulrunner-package/mozilla-central/objdir-armel/dist/include/nspr -I/home/robert/xulrunner-package/mozilla-central/objdir-armel/dist/include/nss    -I/home/robert/xulrunner-package/mozilla-central/content/svg/content/src/../../../xml/content/src -I/home/robert/xulrunner-package/mozilla-central/content/svg/content/src/../../../../dom -I/home/robert/xulrunner-package/mozilla-central/content/svg/content/src/../../../base/src -I/home/robert/xulrunner-package/mozilla-central/content/svg/content/src/../../../../layout/generic -I/home/robert/xulrunner-package/mozilla-central/content/svg/content/src/../../../../layout/xul/base/src -I/home/robert/xulrunner-package/mozilla-central/content/svg/content/src/../../../../layout/svg -I/home/robert/xulrunner-package/mozilla-central/content/svg/content/src/../../../../layout/style -I/home/robert/xulrunner-package/mozilla-central/content/svg/content/src/../../../events/src -I/home/robert/xulrunner-package/mozilla-central/content/svg/content/src/../../../html/content/src -I/home/robert/xulrunner-package/mozilla-central/content/xbl/src -I/home/robert/xulrunner-package/mozilla-central/content/svg/content/src/../../../smil  -fPIC  -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -MD -MP -MF .deps/nsSVGViewBox.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -mthumb -mtune=cortex-a8 -mcpu=cortex-a8 -DFORCE_BASICTILEDTHEBESLAYER=1 -DEGL_HAS_BACKING_SURFACE=1 -DUSE_ANDROID_OMTC_HACKS=1 -mthumb -mfpu=neon -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DNDEBUG -DTRIMMED -ggdb -O2 -Wno-psabi -fomit-frame-pointer  /home/robert/xulrunner-package/mozilla-central/content/svg/content/src/nsSVGViewBox.cpp
make[11]: Leaving directory `/home/robert/xulrunner-package/mozilla-central/objdir-armel/content/svg/content/src'
make[10]: Leaving directory `/home/robert/xulrunner-package/mozilla-central/objdir-armel/content/svg/content'
make[9]: Leaving directory `/home/robert/xulrunner-package/mozilla-central/objdir-armel/content/svg/content'
make[8]: Leaving directory `/home/robert/xulrunner-package/mozilla-central/objdir-armel/content/svg'
make[7]: Leaving directory `/home/robert/xulrunner-package/mozilla-central/objdir-armel/content/svg'
make[6]: Leaving directory `/home/robert/xulrunner-package/mozilla-central/objdir-armel/content'
make[5]: *** [compile] Error 2
make[5]: Leaving directory `/home/robert/xulrunner-package/mozilla-central/objdir-armel/content'
make[4]: *** [compile] Error 2
make[4]: Leaving directory `/home/robert/xulrunner-package/mozilla-central/objdir-armel'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/home/robert/xulrunner-package/mozilla-central/objdir-armel'
make[2]: *** [realbuild] Error 2
make[2]: Leaving directory `/home/robert/xulrunner-package/mozilla-central'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/robert/xulrunner-package/mozilla-central'
make: *** [build-armel-stamp] Error 2

Similar error in WebSpeech.

Edit:Might be my VM setup, disk usage crept to 88%.

freemangordon 2013-11-19 11:58

Re: [WIP] Alopex: a mozilla embedlite implementation on fremantle
 
I'll announce when embedlite gecko is buildable again in SB, hopefully later today. just a bit of patience :)


All times are GMT. The time now is 19:37.

vBulletin® Version 3.8.8