/srv/irclogs.ubuntu.com/2017/03/01/#ubuntu-touch.txt

=== Jucato_ is now known as Jucato
falconhello people, I'm new here and want to port ubuntu touch for Zuk Z1. Can anyone get me started?04:18
falconAnyone?04:54
lotuspsychjefalcon: repeat your issue plz?04:54
falconhello people, I'm new here and want to port ubuntu touch for Zuk Z1. Can anyone get me started?04:55
falconthe wiki is a little bit blunt04:55
lotuspsychjefalcon: porting ubuntu touch isnt very easy mate04:55
lotuspsychjefalcon: perhaps try the XDA forums and try to find an existing project?04:55
lotuspsychjefalcon: another way around is too sell your device and buy a supported ubuntu touch device04:56
falconI have ported Sailfish OS. Same with libhybris. Their build wiki was good.04:56
lotuspsychjefalcon: we alway looking for porters, makes it good for the community04:57
falconSo I guessed this will be worth the try.04:57
lotuspsychjefalcon: try the XDA forums and mariogrip website04:57
falconNot to sound very aggressive here. But mariogrip's ubports community has some serious psychos out there. I'll try though04:58
falcon_just a question is ubuntu's source compatible with cm-12.1 abi? (Lollipop)??05:01
lotuspsychjefalcon_: dont know that one mate05:01
lotuspsychjebut latest OTA should be more android friendly so i read05:02
falcon_But I'll say porting wiki is really inadequate.05:03
lotuspsychjefalcon_: unfortunately porting isnt very easy, we need some breakthrough worldwide still in my opinion05:05
lotuspsychjefalcon_: im waiting for ubuntu-touch could be installed on ANY device, would rock my world totaly05:05
falcon_even me.05:05
falcon_I have tried almost all other open oses (ffos,sfos,all android variants, maemo/meego,iOS) etc., Only ubuntu is pending.05:06
lotuspsychjefalcon_: perhaps your the one that will lead us further :p05:07
falcon_I ported only one of em.... But then who knows. :P05:07
DylanTrying to install on a OnePlus X...got to the point to install and select a channel but I get "Device MSM8974 not found on server". Any help?08:43
DylanTrying to install on a OnePlus X...got to the point to install and select a channel but I get "Device MSM8974 not found on server". Any help?08:56
=== JamesTait is now known as Guest95749
=== Guest95749 is now known as JamesTait
=== JanC is now known as Guest86538
=== JanC_ is now known as JanC
=== tosky_ is now known as tosky
Siliciumhi there11:25
taiebotHey LoquiIm on the store :)13:30
kenvandinemterry, is there anyway i can get apps launching in the unity8-session with strict confinement?13:48
mterrykenvandine: yeah...  should be working?  I had it working when I was testing the unity8 interface, maybe you need that snapd branch to land first...  But you tried it with the mir and unity7 interfaces and it didn't work?13:48
kenvandineright13:49
kenvandinemterry, it wasn't working for me last week and tedg suggested you might have something working13:49
mterrykenvandine: ok I guess you have to wait for a unity8 PR to land13:49
mterryWhich is stuck in review issues right now13:49
kenvandineor i can merge that into my branch :)13:49
mterrykenvandine: oh it's not a unity8 PR but a unity8-interface PR for snapd -- which is... here: https://github.com/snapcore/snapd/pull/278713:50
kenvandineyeah, i have a snapd branch for the content-transfer interface13:50
kenvandinewhich is what i'm trying to test13:50
mterrykenvandine: if it doens't work after that, let me know13:50
kenvandinemterry, thx13:50
dobeywhoot13:57
mterrytedg: is there a way for UAL to be able to tell an app its own AppID?14:14
mterryI think it sets APP_ID in Touch?  But I don't think that's true in snappy14:15
mterryBecause it doesn't really control that launch14:15
mterryContent Hub is relying on APP_ID right now14:15
mterryBut maybe if there were an api it could call to get its appid from UAL?14:15
mterrytedg: I guess an app could do it now by iterating the running apps and checking if its own pid matches any of them14:20
javier4I got this error trying to cross-compile wpa for armhf on a x86_64 host.14:27
javier4"/usr/include/qt4/QtCore/qatomic_armv5.h:131: Error: no such instruction: `swpb %al,%bpl,[%rbx]'"14:27
dobeymterry: why would the app even need to know it's own full app id?14:27
javier4Reading online it seems to be due to an incorrect setup of qmake. In particular it seems to not find the arm toolchain.14:27
mterrydobey: content hub uses it to talk to peers over dbus14:27
javier4I'm totally ignorant in QT developing. The only file that I think could be a config for qmake is the wpa_gui.pro that qmake should use to generate its makefile.14:27
javier4https://www.irccloud.com/pastebin/ni0ymJpB/14:28
dobeymterry: ah so you mean the content-hub api that the app is using, needs to know the app id?14:31
mterrydobey: yeah, libcontenthub or whatever14:31
dobeymterry: i think kenvandine added some API in the last UAL landing specifically for that14:34
dobeyor at least, to find the application by pid, and focus it14:35
mterryI see Application::findInstance(pid_t)14:35
mterryWhich yeah I can call for each running application14:35
dobeyyeah, and then Application::appId() gives you that14:36
dobeyjavier4: not sure what you're trying to do exactly there, but it looks like that is using qt4, and we don't use qt4 on the phone14:37
tedgmterry: for snaps they get everything but the app name as variables from snapd14:38
tedgmterry: apps don't generally have permission to use UAL, requires a bunch of access to systemd.14:38
mterrytedg: ah including the ability to list running apps?14:39
mterrymakes sense if confined14:39
tedgmterry: I think we could still set the envvar, but would love to avoid it.14:40
javier4dobey: I'm trying to build a customized version of wpa package. Even the standard one includes a qt gui. I don't care if it doesn't get used.14:40
mterrytedg: well I would propose that (A) we get snappy to expose the current command in env and (B) add an api to UAL to get the current appid (and then it composes those pieces together, so that apps don't need to know format of appid parts)14:40
tedgmterry: running app list is an information leak... could find out you have the Fox News app running and tell all your friends 😉14:41
dobeyjavier4: disable building the qt gui then?14:41
mterryYeah makes sense14:41
javier4dobey, commenting out this target from main wpa_supplicant Makefile should be enough, right?14:45
javier4wpa_gui-qt4: wpa_gui-qt4/Makefile wpa_gui-qt4/lang/wpa_gui_de.qm14:45
javier4$(MAKE) -C wpa_gui-qt414:45
kenvandinetedg, lol... i swear i don't have a fox news app :)14:45
kenvandinemterry, yeah, the content-hub service gets the pid of the connecting app from dbus and calls findInstance(pid_t)14:46
kenvandineat least for where we need it in the service now14:46
dobeyjavier4: i guess so, yes14:47
javier4dobey: I'll try. Thanks.14:47
mterrykenvandine: yeah I'm thinking app-side though, where it exposes its own appid path on dbus14:47
kenvandinemterry, yeah, i think I might need that too14:48
dobeyhrmm14:49
kenvandinefor libcontent-hub used on the app side14:49
kenvandinei think right now it checks APP_ID in the env14:49
dobeyprobably some issues there with having multiple versions of an app, too14:49
mterrykenvandine: right that's exactly where I'm looking actually  :P  (working on a patch to contenthub to use UAL for parsing appids instead of embedding format knowledge there)14:49
kenvandinemterry, excellent... that will be a welcome patch :)14:49
kenvandinemterry, i'm probably close to running into that issue :)14:50
dobeymterry: well you can just assemble the appid using ual API, if you have the three individual pieces14:51
dobeymterry: and it sounds like snapd already sets env vars that provide two of the pieces?14:51
mterryyeah you can call discover() and give the three pieces -- but you would have to know you're on snappy and what the env vars are14:52
mterryand do something else if you're not on snappy14:52
dobeywell, on deb there is only one piece14:53
mterryPoint is, it's a complicated landscape that apps shouldn't have to care about.  UAL knows about whether an app is in libertine or whatever.  apps shouldn't have to piece that together themsevles14:54
dobeysure, so i think you need to call findInstance() and work back from that then, and we need to solve the confinement problems there14:57
taiebotDid not realise but with the updated linux support i can make videocalls on skype now with the Skype (unofficial) app http://www.omgubuntu.co.uk/2017/03/skype-linux-beta-video-calling19:44
=== iahmad_ is now known as iahmad
=== Elleo_ is now known as Elleo
=== Jucato_ is now known as Jucato

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!