**** BEGIN LOGGING AT Sat Sep 26 02:59:59 2015 Sep 26 07:34:46 morning Sep 26 07:44:45 Morning Sep 26 07:45:19 Herrie|2: Analyzing deeper the crash, it seems WebEngine doesn't find any font Sep 26 07:49:13 And as the code very rarely checks if the pointers are valid..... Sep 26 08:06:13 Herrie|2: found it! Sep 26 08:07:23 fontconfig is not configured correctly; it looks for font in /usr/share/fonts, but our fonts are in /usr/lib/fonts... A simple symlink on the device and webengine works! Sep 26 08:08:32 Of course the correct fix is to properly configure fontconfig, but I guess it will be pretty simple. Sep 26 08:10:20 :D Sep 26 08:10:27 That's a relatively simple fix indeed Sep 26 08:10:47 I guess symlink might be better because we don't need to patch things, but then again a simple patch during build would be fine too Sep 26 08:11:20 It's not really a patch, more changing a default in the bb file Sep 26 08:11:42 currently for fontconfig we have EXTRA_OECONF = " --disable-docs --with-default-fonts=${datadir}/fonts --with-cache-dir=${FONTCONFIG_CACHE_DIR}" Sep 26 08:12:06 Ah Sep 26 08:12:07 And ${datadir}/fonts is likely to be the culprit Sep 26 08:12:18 Well that's fairly simple Sep 26 08:13:01 Just that we use different paths compared to other OE builds I guess Sep 26 08:13:17 So I guess it's up to JaMa to say what he believes is proper for us/ Sep 26 08:13:18 ? Sep 26 08:13:54 Good idea, he may know the proper way to fix this Sep 26 08:14:20 We can do some fix in our build now, because I guess he'll be back after the weekend only ;) Sep 26 08:14:27 And would be nice to have it working at least :P Sep 26 08:14:43 See if our testing builds work again Sep 26 08:14:51 Yesterday failed connecting to GH all the time :S Sep 26 08:15:43 So... a bbappend to fix this EXTRA_OECONF ? Sep 26 08:16:05 I don't know where the current BB is? meta-qt5? or in our repos? Sep 26 08:16:12 openembedded Sep 26 08:16:55 YOu have link to recipe? Sep 26 08:17:22 one moment Sep 26 08:18:41 https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-graphics/fontconfig/fontconfig_2.11.94.bb Sep 26 08:18:44 morning Sep 26 08:18:56 Herrie: it's at the bottom Sep 26 08:18:58 nizovn: morning! Sep 26 08:19:33 on my webOS touchpad fonts are in /usr/share/fonts Sep 26 08:20:03 ah ? ok, that's a hint Sep 26 08:20:19 Let me check mine :P Sep 26 08:20:20 /usr/lib/fonts comes from qtbase-fonts Sep 26 08:20:41 So it may be qtbase that is not correctly configured Sep 26 08:26:00 Yeah for me also in /usr/share/fonts on TP Sep 26 08:26:23 And on 2.x too Sep 26 08:26:30 Ok, yes, qtbase build puts the fonts in /usr/lib/fonts, and the recipe keeps it like that Sep 26 08:26:31 Checked the Doctor Sep 26 08:27:09 Well I guess symlink might be the easiest then? I guess other parts of QT might look for usr/lib/fonts? Or that's flexible path? Sep 26 08:27:42 Not sure how flexible it is Sep 26 08:34:38 I made a qtbase_git.bbappend, let me test a bit Sep 26 08:38:39 :) Sep 26 08:57:13 https://github.com/webOS-ports/meta-webos-ports/pull/148 should work until JaMa proposes a better way Sep 26 08:58:01 Tofe: LGTM Sep 26 08:58:29 Tofe: btw. is qtwebengine already running today? Sep 26 08:59:04 morphis: since an hour, yes Sep 26 08:59:31 wow Sep 26 08:59:41 good work! Sep 26 08:59:50 Thanks! Sep 26 09:00:10 But debugging qtwebengine really shortens one's life :) Sep 26 09:00:44 Tofe: according to http://doc.qt.io/qt-5/qml-qtwebengine-webengineview.html it looks a bit like they still hide the messaging bits behind a experimental flag Sep 26 09:00:50 Tofe: I can imagine .. Sep 26 09:00:56 it doen't makefun Sep 26 09:01:19 :) oh well, in this case it went well, in the end Sep 26 09:01:38 hehe Sep 26 09:01:55 so currently working only with the nano browser or the Lune browser too? Sep 26 09:02:12 The Lune browser Sep 26 09:03:15 It was actually easier to debug that one, as we could start with a blank page (i.e. no crash), and then attach the debugger to the WebEngineProcess before it crashes when loading another page Sep 26 09:04:27 morphis: any thoughts about gps support? Sep 26 09:04:27 i think we can't add libhybris support directly to geoclue2 because we need to manage start/stop gps in menu Sep 26 09:04:54 nizovn: what do mean with "menu"? Sep 26 09:05:01 system menu Sep 26 09:05:33 at least we should be able to start/stop gps somehow Sep 26 09:05:55 ah Sep 26 09:06:16 nizovn: there needs to be some global switch somewhere Sep 26 09:06:23 to disable the resource GPS Sep 26 09:06:32 geoclue2 doesn't have something like this? Sep 26 09:12:22 morphis: where do you see experimental messaging on that page Sep 26 09:12:23 ? Sep 26 09:12:32 Tofe: nowhere Sep 26 09:12:39 ah, ok :) Sep 26 09:13:14 http://code.qt.io/cgit/qt/qtwebengine.git/tree/src/webengine/api/qquickwebengineview_p_p.h?h=v5.5.0 <-- there is not much under experimental actuall Sep 26 09:13:16 y Sep 26 09:16:25 Tofe: No experimental on 5.5 is very limited Sep 26 09:16:37 Most QtWebkit experimentals like dialogs etc work out of box on desktop Sep 26 09:16:41 Just need to try on device :P Sep 26 09:16:55 With webengine Sep 26 09:17:06 hm, QQuickWebEngineScript support is really necessary for us Sep 26 09:17:26 Tofe: YOu can try this one: http://www.w3schools.com/js/js_popup.asp Sep 26 09:17:39 That required experimentals for webkit, worked fine without in QtCreator for me Sep 26 09:17:40 ah... Sep 26 09:17:43 Tofe: http://code.qt.io/cgit/qt/qtwebengine.git/tree/src/webengine/api/qquickwebengineview_p.h?h=v5.5.0#n90 Sep 26 09:17:47 we need the webchannel Sep 26 09:18:01 morphis: already used :) https://github.com/webOS-ports/org.webosports.app.browser/commit/667cd40a00d0153e7c0f29902be31b2b47db4495 Sep 26 09:18:04 that will be the way to do the PalmSystem etc. integration Sep 26 09:18:15 ah nice Sep 26 09:18:19 I didn't understand yet what a WebChannel was Sep 26 09:18:25 (I was talking about Script) Sep 26 09:18:39 WEbChannel is a way to let the user of the WebView communicate with the HTML page Sep 26 09:19:02 what we have in QtWebkit under navigator.qt Sep 26 09:20:17 Tofe: the real critical thing will be the PalmServiceBridge Sep 26 09:20:18 Ah ok, that's great indeed Sep 26 09:20:37 which we have currently directly built into qtwebkit Sep 26 09:20:48 would be the easiest if we can do that the same way with qtwebengine Sep 26 09:20:50 Yes, it will be much cleaner on WebEngine, I feel Sep 26 09:21:34 I'll try to find some doc about WebChannel and how to hook it Sep 26 09:22:01 byw I began the webappamanger migration too: https://github.com/Tofee/luna-webappmanager/commit/f823d173fade27c522f3eb6f6193281d5cc51d91 Sep 26 09:22:32 Totally untested, probably doesn't even build. Sep 26 09:23:18 (Ah, yes, I remember it builds.) Sep 26 09:25:33 Tofe: We need to do anything else for the bbappend or bb will pick this up automatically? Sep 26 09:26:15 Herrie: it will pick it up Sep 26 09:26:19 ka6sox: ping Sep 26 09:26:32 Seems we still cannot reach GH from Bonaire so no builds :( Sep 26 09:34:54 morphis: if i understand correctly, geoclue2 doens't support enabling/disabling particular source Sep 26 09:34:54 it supports only modem gps, and recent version adds support for network NMEA source, Sep 26 09:34:54 which i think the only way we can use. Sep 26 09:34:54 geoclue2 even has no plan to support gps managers(gpsd, gypsy), which we need if we want to support bluetooth gps devices Sep 26 09:35:33 morphis: if I understand correctly our bridging, the only thing to migrate will be webos-api.js, right? Sep 26 09:36:00 nizovn: hm Sep 26 09:36:12 Tofe: yes Sep 26 09:36:22 but PalmServiceBridge will be a different thing Sep 26 09:36:30 nizovn: you looked how other platforms handle this? Sep 26 09:36:38 due they just deny access to GPS in that case? Sep 26 09:40:10 i saw that sailfish and tizen(maybe ubuntu too) use geoclue1 with provider plugin Sep 26 09:41:05 i mean geoclue 0.12 with libhybris plugin Sep 26 09:48:21 nizovn: yeah but what do they use to "enable/disable" GPS? Sep 26 09:54:59 morphis: for PalmServiceBridge, I guess the migration should be done accordingly with this doc: https://www.chromium.org/developers/web-idl-interfaces Sep 26 10:08:02 Tofe: yeah Sep 26 10:55:24 morphis: i can't find info about that, but seems they just exec/kill provider plugin Sep 26 13:00:44 morphis: With WebEngine I have 920MB used on my TP Sep 26 13:05:44 So I guess that's quite acceptable. I guess we'd need to make sure that the Wiki instructions should say 2GB instead of 1GB space just Sep 26 13:12:12 Herrie: what about RAM? somehow i though 920MB applies to it :) Sep 26 13:30:31 Nizovn I couldn't really check it because it wouldn't run on device before :P Sep 26 13:30:35 So need to test that too Sep 26 13:32:16 Let me reboot TP create the symlink and try Sep 26 13:56:45 Hmmz still doesn't load pages on my TP :S Sep 26 14:04:27 even after a reboot? Sep 26 14:06:36 Here I get a score of 479 at html5test Sep 26 14:10:49 TOfe: Yeah Sep 26 14:10:55 Well maybe I need to flash again something Sep 26 14:10:57 Dunno Sep 26 14:11:05 ka6sox: You awake already :P ? Sep 26 14:14:23 barely Sep 26 14:14:35 I really need cofffee first Sep 26 14:17:35 OK Sep 26 14:17:52 ka6sox: Seems Bonaire cannot connect to GitHub since yesterday or so Sep 26 14:18:00 Tried to run a nightly connection times out all the time Sep 26 14:18:22 http://jenkins.nas-admin.org/job/luneos-testing_workspace-cleanup/lastBuild/console Sep 26 14:19:36 morphis, you still here? Sep 26 14:24:23 ka6sox: Tofe said stuff works OK for him locally so I guess it's the connectin between Bonaire and GitHub somehow? Sep 26 14:26:04 the router had some changes yesterday....seems we lost the NAT rule Sep 26 14:27:57 Not sure if it was yesterday or before, just tried yesterday to build and connection started to fail Sep 26 14:28:24 Seems we were OK on 22nd still Sep 26 14:33:33 okay routing fixed :P Sep 26 14:34:29 Let me trigger a build to try :D Sep 26 14:34:52 Yeah that looks better :D Sep 26 14:36:53 all this *before* the coffee was done :P Sep 26 14:38:43 :D Sep 26 14:38:55 I got a quick coffee machine :P Fill up with fresh water, 30 seconds and done :P Sep 26 14:39:35 You don't even lose time in putting coffee I see :p Sep 26 14:40:13 Ok, now I want coffee. Sep 26 14:42:15 Latte i guess? Sep 26 14:44:10 Excatly ;) Sep 26 14:46:41 I'm more for either very strong espresso or capuccino ;) Sep 26 14:48:44 if I had the coffee they gave me while travelling on the Amazon River I would be awake now... Sep 26 14:50:17 30 cc is all you need for a day Sep 26 14:50:46 Ok, let's fork QtWebEngine... yeppeee Sep 26 14:55:32 anything else before I try to ease into this day? Sep 26 14:56:10 ka6sox: I got this one: http://static.webshopapp.com/shops/012202/files/022519975/nescafe-dolce-gusto-espresso-barista.jpg or https://frogcoffee.de/media/image/thumbnail/1024025216a-png_720x600.png ;) Strong but nice :) Fairly decent coffee for the price ;) Sep 26 14:56:18 ka6sox: No I guess we're OK Sep 26 14:56:22 We'll be trying some builds :) Sep 26 15:13:33 Hacking around on a project with 500MB of source code, I anticipate some great fun :) Sep 26 16:24:55 Tofe: Was qtwebkit that much smaller? Sep 26 16:25:44 I don't know... I don't want to know... :) Sep 26 16:35:20 LOL ;) Sep 26 16:35:41 I hope things are relatively easy to migrate and you don't need to reinvent the complete wheel :P Sep 26 16:39:45 Well, chromium is also based on WebKit, so that's a good thing Sep 26 16:40:45 but it uses a completely different build system, that doesn't help, and it's pretty sure the headers of WebKit have been changed a lot Sep 26 16:41:44 Hopefully, the heart of PalmSystemBridge is quite well isolated in the source tree Sep 26 16:41:58 We'll see Sep 26 16:45:20 So far, I've managed to include it in the compilation, without adapting the code. So it doesn't build, but at least it tries. Sep 26 17:10:59 Tofe: Well that aint too bad I guess. Sep 26 17:54:31 Tofe: "ERROR: QA Issue: FILES in qtbase-fonts recipe should not contain the ${D} variable as it references the local build directory not the target filesystem, best solution is to remove the ${D} reference [expanded-d]" Sep 26 17:55:30 Ah, mh, right Sep 26 18:00:51 Did the build fail because of that error, or did it continue? Sep 26 18:07:02 No failed because of it Sep 26 18:07:21 Well it continued but the build failed ;) Sep 26 18:11:10 https://github.com/webOS-ports/meta-webos-ports/pull/149 Sep 26 18:11:45 (I can't test it on my machine, I'm in the middle of WebEngine...) Sep 26 18:30:15 Tofe: Looks straightforward enough, will give it a go :) **** ENDING LOGGING AT Sun Sep 27 02:59:59 2015