/srv/irclogs.ubuntu.com/2016/02/08/#ubuntu-app-devel.txt

=== ablasche_ is now known as ablasche
JamesTaitGood morning all!  Happy Monday, and happy Chinese New Year! ๐Ÿ˜ƒ09:53
mweimannHello there, I have a question about unity js scopes. Maybe it's a bug or simply a not yet implemented functionality: When creating a scope, I pass "perform_action" in "runtime_config". According to the docs this should be a callback for preview actions. For me this is not working.10:15
davidcallemarcustomlinson ^ ?10:25
nik90zbenjamin_, ping11:31
popeyballoons: is the jenkins build bot chroot busted again? (samba) https://code.launchpad.net/~popey/ubuntu-filemanager-app/fix-1543058/+merge/28532712:29
popeyballoons: it builds fine locally on my shoddy chroot, but seems to have borked in jenkins chroot12:29
nik90!ping14:10
ubot5`pong!14:10
=== zbenjamin_ is now known as zbenjamin
nik90zbenjamin, ping15:11
zbenjaminnik90: \o/15:11
nik90zbenjamin, hey, how is it going?15:12
zbenjaminnik90: all good, lots of work :D15:12
nik90I am having some trouble with chroots in a fresh 14.04 setup. Need some help with that15:12
zbenjaminnik90: right, its not creatable right15:12
nik90<nik90> appdevs ping (need help setting up qtcreator)15:12
nik90<nik90> I have a new 14.04 setup, I added the sdk release ppa and installed ubuntu-sdk. I couldn't create a armhf chroot due to dependency errors.15:12
nik90<nik90> So I created a amd64 chroot. But when I try to compile a project, it doesn't seem to run on my 14.04 desktop15:12
nik90<nik90> I thought https://developer.ubuntu.com/en/blog/2015/11/19/here-comes-brand-new-ubuntu-sdk-ide-tools/ should make this process easier for LTS users.15:12
nik90I created a amd64 chroot which is creatable15:13
nik90but I cannot use it to build and run apps on my 14.0415:13
nik90I get /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-amd64/usr/lib/x86_64-linux-gnu/qt5/bin/qmlscene: symbol lookup error: /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-amd64/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined symbol: g_option_group_unref15:13
zbenjaminnik90: well the new SDK ships a extra Qt with the ubuntu-sdk-dev package. But it is really only good for the basic QML modules + UITK.15:14
nik90zbenjamin, ah ... strange..installing ubuntu-sdk did not install ubuntu-sdk-dev15:14
nik90or may be that's intentional?15:14
zbenjaminnik90: i think its suggested ...15:14
nik90zbenjamin, If I install ubuntu-sdk-dev will that resolve the symbol error I get?15:15
zbenjaminnik90: you can try to run your app with the ubuntu desktop kit then, but you maybe will miss qml modules15:15
zbenjaminnik90: how do you execute the app now? do you log into the chroot and execute it in there?15:15
nik90zbenjamin, I just created a default cmake template app and then used the ubuntu-sdk-amd64 kit to build and run it.15:16
nik90all using the gui (green triangle)15:16
zbenjaminnik90: running against a chroot is what we are working on right now. We want to get completely rid of supporting to run on the host system libraries15:17
zbenjaminnik90: its just broken and confusing to app devs15:17
nik90agree15:17
zbenjaminnik90: for now you'd need to use a emulator if you want to use the amd64 chroot kit15:17
nik90zbenjamin, oh, I cannot use amd64 chroot kit against the desktop?15:18
nik90http://imgur.com/SLO2ciC15:18
zbenjaminnik90: no, it would try to use the system libraries :/15:18
zbenjaminnik90: except you set LD_LIBRARY_PATH correctly15:18
zbenjaminnik90: but thats probably more painful than anything else15:19
zbenjaminnik90: you can create a chroot for armhf,   add the -k switch (keep broken chroot) then ping me when its done15:20
nik90zbenjamin, I'm in a place where I have a very low internet cap.15:20
nik90chroots eat up so much bandwidth15:21
* popey waves to nik90 15:21
nik90hi popey :)15:21
popeywant me to post you a usb stick full of chroots? :)15:21
* nik90 waves frantically15:21
nik90popey, lol...nah I just need to wait until feb 18th (getting back to netherlands)15:21
popeyOh!15:22
zbenjaminpopey: i think i got a workaround if you really want to create a chroot dynamically15:22
popeyzbenjamin: go on...?15:22
zbenjaminpopey: let me quicky verify15:23
zbenjaminpopey: ok, create the chroot with: "click chroot -a armhf -f ubuntu-sdk-15.04 create -k"     <<< -k == keep broken chroot15:24
popeythanks zbenjamin will try that15:25
zbenjaminpopey: after its done edit the file /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/finish.sh and add the following packages to the apt-get:   liboxideqt-qmlplugin:armhf libandroid-properties1:armhf libhybris:armhf libmedia-hub-client4:armhf liboxideqtquick0:armhf15:25
zbenjaminpopey: last step:  log in the chroot with: schroot -u root -c source:click-ubuntu-sdk-15.04-armhf   and run /finish.sh15:25
popeyok.15:26
* popey makes notes15:26
zbenjaminpopey: http://pastebin.ubuntu.com/14993738/15:27
popeyta15:28
nik90zbenjamin, installed ubuntu-sdk-dev..and I now see Ubuntu Desktop Kit :D15:29
zbenjaminpopey: just wait a sec, dbarth said that workaround has some issues :D15:29
nik90on building though, I get http://paste.ubuntu.com/14993751/15:29
zbenjaminnik90: cool , try to add it to your project and hit run, if you are lucky all modules you need are there :D15:29
zbenjaminnik90: meh :D15:30
nik90:P15:30
popeyballoons: did you see my earlier ping about file manager?16:01
balloonspopey, feel free to repeat it; I don't remember it, it might be in the scrollback16:08
popeyballoons: looks like the chroot is busted, I don't think repeating will fix it16:10
balloonsouch, let's fix it together then if so16:11
popeyballoons: i think it's the usual thing where it can't install samba due to the dependencies16:18
popeyballoons: so maybe it needs your magic script running against it ? (twice)  ๐Ÿ˜ƒ16:18
balloonspopey, I wonder if it broke because of the upgrades that run on the chroot17:37
balloonsotherwise there's no reason it should have changed eh17:37
popeyalmost certainly17:37
popeyi re-ran it and it failed the same way unsurprisingly17:37
balloonsbut if indeed that's the reason it broke, how can we fix it permnanently, heh17:37
balloonsbesides you know, fixing the package :-)17:37
popeyballoons: can you run your magic script to un-break the chroot for now?17:48
balloonsI'm doing so indeed17:48
popeyballoons: medium term we could run that regularly (like, after updates)17:48
balloonsjust thinking aloud17:48
popeyLonger term, yeah, I completely agree, fix that package17:48
balloonsyea, I'll just schedule it to run right after17:48
popey(or the other option is not use debs at all)17:48
popeyand just yank the libs and put them somewhere - which is a horrid solution17:48
balloonssnappy solves everything17:49
popey(C) Ogra 2014-201617:49
popeytoo lazy to dig out the unicode (c)17:49
popeyballoons: I'll dig out the debian bug on samba, and see if we can poke that with a stick17:49
balloonsnot necessarily. most devs use static depends17:49
balloonsonly updating when they need to17:49
popeytrue17:50
popeycould patch samba, and put it in our ppa17:50
popeywhich is what we do for libreoffice effectively17:50
balloonsahh, actually that's a good medium term solution17:50
balloonsput it in the overlay ppa17:50
popeynah, overlay ppa would surely need to be sane packagin17:51
popeythis needs to be a bit insane17:51
ogra_sanity is the ine eye of the beholder :P17:52
balloonsmmm17:53
balloonsfyi, magic script is struggling.. I'm playing with it17:53
popeyactually this highlights an issue17:55
popeythat if there was a samba update, we'd not notice17:55
popey(in the archive)17:55
popey(not that there likely will be in vivid or the overlay)17:55
popeybut I do think we should move the to the community team ppa (or somewhere else sane)17:55
balloonswell, sitting in vivid is a problem actually17:56
balloonsit's past EOL and the archive will go away at some point17:57
popeyballoons: so I'll take a look at building samba in the community team ppa without the odd python parts that it doesn't seem to really need.18:46
popeyballoons: and if that works we can use that instead of the archive version for now18:46
balloonsit should be as simple as repackaging, but changing the depends18:46
balloonsheck, even moving the depends to recommended instead of required would save us18:46
zbenjaminpopey: fyi https://bugs.launchpad.net/oxide/+bug/154321518:48
ubot5`Launchpad bug 1543215 in oxide-qt (Ubuntu) "oxide breaks 15.04 chroot installs?" [Undecided,New]18:48
popeyballoons: ok, will do that18:49
popeyand test18:49
popeyzbenjamin: ta18:49
elijahhola, "Thatโ€™s it, you can go to the store page, and upload your scope.".. where is this store page?19:01
elijahhttps://developer.ubuntu.com/en/scopes/tutorials/prepare-your-scope-for-publication/19:01
elijahIs it this => https://apps.ubuntu.com/cat/ ?19:03
mcphailelijah: https://myapps.developer.ubuntu.com/ is where you publish apps. I haven't published a scope, though. I don't know if it is the same place19:05
elijahmcphail: Thanks, I wonder if it is only accessible on phones right now?19:05
mcphailelijah: don't think so. Seems to be working here19:06
elijahmcphail: I can access that link. But I can't search submitted scopes.19:07
mcphailelijah: aah. That link is just for publishing19:07
elijahmcphail: yeah, do you know where I can find a store of the published apps, scopes.19:08
mcphailhttps://uappexplorer.com/apps?type=scope19:08
elijahmcphail: thank you!19:08
mcphailelijah: enjoy ;)19:08
popeyballoons: did you manage to fix the chroot? shall I re-run?22:23

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