JanCmcphail: wait, I can run speccy games on my Ubuntu phone now?  :)00:04
JanC& antony_ ^^^00:06
* JanC must have several tapes with speccy apps somewhere on his parent's attic...00:09
mcphailJanC: don't know if there is a speccy emulator yet, but the gameboy emulator runs well so it proves a speccy emulator would work00:13
mcphailJanC: I might look at porting one of the javascript emulators :)00:14
JanCmcphail: although I have fond memories about the Sinclair ZX Spectrum 48K, I don't _really_ intend to run Speccy apps  :)00:21
mcphailJanC: shame on you!00:27
=== chriadam|away is now known as chriadam
kivipopey, pretty sure you qualify for this: https://support.lenovo.com/us/en/documents/hf00412202:24
kivibattery recall for the thinkpad x220, and other models02:24
antony_Fixed the dpad, disabled rotation and zooming02:56
=== chihchun_afk is now known as chihchun
zbenjaminmcphail: why don't you use cross building instead of emulation?06:29
didrockszsombi: hey! so here is the workaround I needed to use due to the ListModel/ModelObject automated casting: https://github.com/didrocks/splitthebill/commit/9d1e72131f7a2842bea08b4e144895ef0a06f4d2#diff-63dd6639b235200e552147bf0a9003b8R5907:07
didrockszsombi: quite ugly I know (as we can't save back in u1db ListModel/ModelObject as they are seen as null), but maybe you would see some room of improvments? I'm opened to any suggestions07:08
dholbachgood morning07:10
dholbachsalut davidcalle07:46
dholbachapart from the missing note for non-current snappy docs, was there anything else that was broken or missing?07:47
dholbachhey popey07:47
davidcalledholbach, popey, morning07:48
davidcalledholbach, well, I'm not sure about the "Snappy" name for landing pages. I haven't found anything else. Oh, maybe the script itself should be renamed to not have snappy in its name.07:49
dholbachok, adding a note07:50
dholbachdavidcalle, ok that looks like it won't be too much work: https://code.launchpad.net/~developer-ubuntu-com-dev/developer-ubuntu-com/snappy-docs-import/+merge/265004 :)07:51
davidcalledholbach, I'd be glad to tackle both this morning07:52
dholbachas you like it :)07:52
mcphailzbenjamin: I do, for most of it, but there isn't a cross-compiler for everything and dependency management for some things in click chroots is impossible if the armhf packages are incompatible with the amd64 ones08:07
didrockszsombi: another question once you are around on the toolkit, do we expose in any way to QML the QStandardPaths? (like the .local for one app, and so on…)08:21
zsombididrocks: nope, we don't08:21
zsombididrocks: we shouldn't, developers should use content providers to store their data08:22
didrockszsombi: importing an image from content hub, the contentitem.move() api wants a path though, is there any example I'm missing?08:23
zsombididrocks: maybe ask kenvandine08:23
didrockszsombi: I think there is a gap missing, if you expect them to do that and they expect you to provide the path, I'll see with him then :p08:24
seb128didrocks, isn't content-hub supposed to provide you the uri?08:32
zsombikalikiana: t1mp: up for a review? https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/configurableColumns/+merge/26752008:33
didrocksseb128: yeah, but it's storing in the cache dir08:34
didrocksseb128: there is a way to say "store in the app scope", but I still don't have the prefix08:34
seb128hum, k08:35
seb128I though content hub was supposed to store in the app private dir08:35
didrocksseb128: by default, it's the cache, there is this app scope, but you don't have access for the .move() to the prefix08:36
seb128you want to move to a specific location?08:36
seb128I know that for e.g settings bg import we just put the file where content-hub does the import and set the gsettings key value to that url08:37
t1mpzsombi: I'll check it out08:37
didrocksseb128: yeah, part of the issue is if you relocate the database to another device for instance (with different user's name then)08:37
zsombit1mp: thx!!! resizing comes after this08:37
didrocksseb128: also, if you don't rename the file, it works the first time, then the second, as the file already exists, it's aborted08:37
seb128that seems like a content-hub issue, it should build unique names/deal with existing filenames in the import location08:38
didrocks(that's why I pinged ken)08:38
seb128reported_bugs+=1 ;-)08:39
=== chriadam is now known as chriadam|away
didrocksseb128: yeah, only the 6th today :p08:39
zbenjaminmcphail: yeah that should be fixed though...08:49
zsombit1mp: kalikiana: one more, a pretty small one: https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/resizableColumns/+merge/26755408:59
zsombit1mp: kalikiana: about resizing the columns08:59
didrocksseb128: FYI, here is the way I workarounded the issue: https://github.com/didrocks/splitthebill/commit/12d380b95a4bf2a1dc58226c814da551dfb2af1309:31
didrocks(doesn't save the "clean old files" though)09:31
seb128didrocks, thanks09:31
davidcalledholbach, pushed some changes, I've done a lot of testing with a dummy branch around what happens when docs are changed, removed, added, renamed, etc. Works great for a first iteration! Good to go on my end.09:43
dholbachI'll take a look in a sec and do some more testing09:44
dholbachthanks a lot for helping with this!09:44
* davidcalle hugs dholbach09:47
davidcalleI'm afk for a moment (errands with Tristan)09:47
dholbachsee you in a bit09:48
dpmdavidcalle, when you're back - someone mentioned to me on G+ that the webapp generator is not working. Are you aware of any known issues?09:52
t1mpzsombi: I have an MR for you as well, to give the MainView and header a white background by default, https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/white/+merge/26727010:02
davidcalledpm, yes, fix is in staging and in the mojo spec, waiting for the next deploy (https://bugs.launchpad.net/developer-ubuntu-com/+bug/1476362) The latest deploy was somehow missing click on the server to actually build packages.10:48
ubot5Ubuntu bug 1476362 in Ubuntu Developer Portal "webapp generator does not work, "This page encountered an error"" [Undecided,Fix committed]10:48
dpmack, thanks davidcalle11:04
t1mpAdaptivePageLayout blog post on https://developer.ubuntu.com/en/blog/2015/08/10/adaptive-page-layouts/11:06
dpmt1mp, nice work11:08
t1mpthanks :)11:09
mardyt1mp: " The contents of virtual columns that are not visible, will be shown in the right-most visible column" -- t's unclear, are they visible or not? :-)11:22
zsombimardy: they will get visible once you put a page into them11:23
zsombimardy: so assume you have a layout fo 2 columns defined, once you add a page using addPageToNextColumn(), the column will be filled. Same with more columns11:24
mardyzsombi: ah, ok. Still, that sentence is quite puzzling11:24
zsombimardy: also, multiple column configuration and resizing is coming, see th eMRs I requested review for11:25
t1mpmardy: the "virtual column" is not visible, but its contents is added to the right-most visible column. If it is on top, it will be visible.11:26
t1mpmardy: right.. I made a distinction between the virtual columns and their contents there. I'm not sure if I can write it down more clearly.11:26
t1mpmardy: I didn't want to discuss every possibility in detail, because that would get boring. Instead I say this in the end: The screenhots do not cover all the possible orders in which the pages left and right can be added, so I encourage you to run the code for yourself and discover its full behavior.11:28
mardyt1mp: here's an attempt: "When a page is added to a virtual column, it will be shown in the right-most visible column"11:28
t1mpmardy: yeah thanks, I'll rewrite it similar to that :)11:29
t1mpmardy: updated. thanks11:31
zsombit1mp: happroved11:38
=== _salem is now known as salem_
dholbachdavidcalle, great work11:50
dholbachdavidcalle, shall we both have a quick look over the code again or shall we just ask for a review from mhall119 once he's back again?11:51
davidcalledholbach, when does he get back?11:53
dholbachin 1.5 weeks or something?11:53
dholbachyep, 1.5 weeks11:54
davidcalledholbach, I talked to him briefly yesterday and he wanted us to test this on staging, so what about having both a last look at the code, merge and we'll attempt a deploy to staging?11:54
JoeyChanhi popey,  pls try this branch:  lp:~qqworini/ubuntu-rssreader-app/reboot-add-cmake12:10
mcphailzbenjamin: there are still some packages (python ones, mostly irrc) where the :armhf package dependecies clash with the :amd64 ones, making the chroot method impossible. But, I agree, the chroot works extremely well for most things and your blog post about it is vital reading12:10
JoeyChanto c if fat package works12:10
popeysure JoeyChan12:10
popeyJoeyChan: it builds!12:13
JoeyChanpopey:   can u run it on device ?12:13
popeyLet me try....12:13
mcphailantony_: The UbuntuBoy update is great! Only problem I'm having now is that a long press on a button brings up a "copy" dialog box. Don't know if this can be javascripted out?12:16
=== salem_ is now known as _salem
=== om26er_ is now known as om26er
zbenjaminmcphail: \o/ thanks :D12:23
mcphailzbenjamin: :)12:24
popeyJoeyChan: http://people.canonical.com/~alan/screenshots/device-2015-08-11-132530.png12:25
popeyJoeyChan: \o/12:25
popeygood work JoeyChan !12:26
JoeyChanpopey:  so, can we set a new trunk now ?  :)12:28
popeyJoeyChan: sure!12:30
JoeyChanpopey:  how ?  just register a new series ?12:31
popeyJoeyChan: yes.12:32
JoeyChanok, do it now12:32
popeyJoeyChan: i think you can do that by just pushing to lp:shorts-app/reboot  ?12:34
popeyunless I'm mistaken12:34
JoeyChanpopey:  no idea ...  :P12:36
dholbachdavidcalle, I read the code again and I think I'm fine with it12:36
dholbachparts of it could be a bit simpler I feel, but for now I think it's good enough12:37
popeyJoeyChan: heh, okay, lets ask dholbach :)12:37
popeydholbach: how do you register a new series in lp?12:37
dholbachpopey: let me check12:37
JoeyChanpopey:  done register a new series:  https://launchpad.net/ubuntu-rssreader-app/reboot12:38
popeyJoeyChan: oh, my bad, I was looking in the wrong place12:38
popeyyeah, duh!12:38
popeyshorts-app confused me12:38
popeydholbach: nvm12:38
popeyJoeyChan: https://launchpad.net/ubuntu-rssreader-app click "Register a series "12:38
dholbachyep, or https://launchpad.net/ubuntu-rssreader-app/+series12:38
popeythat's it, thanks12:39
dholbachI was just looking at an LP project where I wasn't the driver of the project12:39
JoeyChanpopey:   dholbach:   done  :)12:39
dholbachso I wasn't offered the choice :)12:39
dholbachJoeyChan, popey: how's life?12:39
popeystressful whenever launchpad is involved :)12:39
popeynice one JoeyChan :)12:39
* popey goes to eat some haggis for lunch12:40
JoeyChanpopey: dholbach but no branch linked with the series12:40
JoeyChandholbach:  ok,  try it now12:42
dholbachtry what?12:43
JoeyChandholbach:  I don't know which branch to set ?12:43
dholbachhow would I know12:43
dholbachI never worked on the rss reader12:43
dholbachwhat are you trying to do? set a branch for 'reboot'?12:43
dholbachpopey: ^ maybe a new branch needs to be created for this?12:44
dholbachbzr push lp:~ubuntu-rssreader-dev/ubuntu-rssreader-app/reboot12:45
dholbachor something12:45
davidcalledholbach, same for me. Let's merge it :) I'll try the staging deploy this afternoon.12:45
dholbachdavidcalle, you're a hero12:45
davidcalledholbach, barely your sidekick!12:46
dholbachbah..... I'm just toying around most of the time ;-)12:46
davidcalledholbach, approving the merge and pushing to trunk, can you +1 on it?12:47
dholbachdavidcalle, mhall119 said he was planning to get the mojo-ised version deployed and then do a second deployment with the other stuff12:47
davidcalledholbach, hmm12:47
dholbachdavidcalle, I think I remember that he mentioned that a 'production' branch might make sense12:47
davidcalleOk, right12:47
dholbachso we could land stuff in trunk together12:47
davidcalledholbach, ok, creating a "production" branch then, and merging this to trunk12:48
JoeyChandholbach:  done ! thx for your tips :D       https://code.launchpad.net/ubuntu-rssreader-app12:49
dholbachJoeyChan, rock on! :)12:49
JoeyChanpopey:   series setup done ~        https://code.launchpad.net/ubuntu-rssreader-app12:50
dholbachdavidcalle, we probably need a cron entry too :)12:50
dholbachdavidcalle, like on the first lines of https://code.launchpad.net/~dholbach/developer-ubuntu-com/store-data/+merge/26268412:51
davidcalledholbach, probably, yes :) also adding python-something-markdown to the mojo spec12:51
dholbachdavidcalle, I added it to the pip requirements.txt file12:51
davidcalledholbach, oh right then :)12:51
dholbachor do we need to do more?12:51
davidcalledholbach, I don't think so12:51
* dholbach has no clue12:51
davidcalleno no, it's good12:51
dholbachok good O:-)12:52
davidcalle"afaik" :)12:52
dholbach"for funny values of 'get it working'"12:52
davidcalledholbach, I'll try a deploy today then, there is a list of steps involving juju and sacrificing a goat, will be fun :)12:53
dholbachdavidcalle, sorry, I can't see blood12:53
dholbachdavidcalle, can you merge again?12:56
=== _salem is now known as salem_
karnijhodapp: would you know who'd be best to ping regarding support for webp images? (Telegream stickers)13:11
davidcalledholbach, I'm not on top of my cron syntax: when does it happen?13:12
jhodappkarni, I'd ping dbarth, he should be able to point you to the right person13:12
karnijhodapp: cheers13:12
karnidbarth: hey, I'd like to understand what's required for us to support webp images, can you point me to the right person that I could talk to about this?13:13
=== chihchun is now known as chihchun_afk
dholbachdavidcalle, 0:15, 2:15, 4:15, 6:15, ...13:15
dholbachnot sure if that's too much or not enough?13:15
davidcalledholbach, maybe too much since we have a manual importer, but I don't have any strong feelings about it.13:16
dholbachdavidcalle, every 4 hours?13:16
dholbachevery day?13:16
davidcalledholbach, on second thought, it gives a clear message: don't edit these pages, it's reverted every 2h!13:16
dholbachhah, yes :)13:17
davidcalledholbach, let's keep it this way for staging, at least we will see if it fails after a few runs13:17
dholbachthat's right :)13:17
dbarthkarni: hi13:57
karnidbarth: hi13:58
dbarthkarni: webp image support, i would expect that to show up in blink, for the low level parts, and maybe oxide / client apps for mime-types13:58
dbarthkarni: we have the oxide weekly later today, i will put that on the map13:59
karnidbarth: thank you. for the record, what I mean is if I give a QImage a path to a webp image, I'd like that to load. Not talking about oxide here, I believe.13:59
karnidbarth: Telegram stickers are using webp format, and currently they simply don't show up.14:00
dbarththen that's SDK land14:03
dbarthkarni: and for the record, they just show up nicely in webbrowser-app14:04
dbarthkarni: so maybe use a webview for that part of the interface where you need those stickers14:05
karnidbarth: oh! I should review code then, perhaps the paths where somehow incorrect o_O14:05
dbartha bit heavy handed, or maybe not, let me know14:06
=== chihchun_afk is now known as chihchun
karnidbarth: um.. no ;) I mean, that would mean a web view for the whole conversation view, which basically makes it almost a webapp :D and I can't use webview for each sticker separately (too heavy). but good tip, maybe I missed something. Thanks David14:06
dbarthkarni: i read recently that instagram was using (is using?) a webview for most of its, so-called, native app14:07
karnidbarth: I believe that's what gmail did on Android as well14:07
=== chihchun is now known as chihchun_afk
balloonspopey, is this ready to land? https://code.launchpad.net/~mzanetti/reminders-app/uitk-1.3/+merge/26588614:48
balloonsif so, we'll disable utopic.14:48
popeyyes, see my comment :)14:50
popeyballoons: can it be run against vivid?14:51
popeyballoons: because it's all "needs fixing" which doesn't inspire confidence14:51
balloonspopey, sorry, forgot to respond here. I ran it on the device under click, but I can't get to the results atm15:51
balloonswhen the site is back, I'll share. I agree we can remove it, and rely on another run under vivid15:52
popeyballoons: that would be super, thanks15:56
nemomcphail: hey. I'm back kinda16:44
nemomcphail: you around?16:44
nemomcphail: WRT the link errors. koda's speculation was needing to update the libSDL names in SDLh.pas -  the link errors are actual missing functions, not failure to locate the libs, so that makes me think it is linking against wrong SDL16:45
nemodo you have 2 copies on there, and both in the link path picked up by cmake?16:45
nemoor alternatively, maybe cmake found the wrong copy16:45
mcphailnemo: yes - my feeling is it is trying to link against SDL1.2 rather than SDL2, but I'm feeling a bit out of my depth about how to correct it. I'm working until v. late tonight, but if you have any suggestions I'll have a look in my "wind down" time before bed17:36
nemomcphail: well. would help to check the cmake cache to see what it is trying to use17:37
nemomcphail: also, if you could post a build log in verbose mode, that might help see what it is linking against17:38
nemoVERBOSE=1 that is17:38
antony_mcphail the dpad should be working now17:38
mcphailnemo: great - I'll dig those out for you17:39
mcphailantony_: cheers! - downloading...17:40
nemomcphail: thanks17:40
mcphailantony_: seems a bit better, but I'm still getting a "copy" dialog on long button presses17:43
=== jhodapp is now known as jhodapp|errand
mcphailWhat is the command to kill the unneeded click chroots. For some reason I appear to have > 500018:01
mcphailI think bzoltan_ or someone posted something a couple of days ago18:02
davmor2ogra_: d-day would be awesome if it didn't go white-screening on me on the longer games :(18:12
ogra_davmor2, uh, i never had that here ... do you play on arale ?18:22
davmor2ogra_: no krillin18:22
ogra_thats brave ... do you use a looking glass ?18:23
ogra_even on arale the font is hard to read :)18:23
davmor2ogra_: no I can see it fine, try using an xps 13 with no scaling18:23
ogra_i tried ;)18:23
davmor2ogra_: you read things18:23
ogra_well, the announcement messages of new items between the levels18:24
ogra_they use an awful font .. and are nearly unreadable on arale already18:24
ogra_i fear i cant do much about the white screen issue until the browser gets fixed though18:24
davmor2ogra_: 1-7 onwards starts to white screen at the end of the level, 1-10 is neigh on impossible to complete due to white screen :(18:24
ogra_hmm, i should perhapps add a disclaimer to the description then18:25
ogra_"only to play on arale" or some such18:25
ogra_(it didnt strike me that anyone on krillin would actually want to play it since the screen is so tiny ... i actually played 5 levels or so to make sure it runs)18:26
davmor2ogra_: or virgin krillin maybe, I'll try that on my non-dogfood device, it maybe that I have too many apps on there so not enought room18:26
=== jhodapp|errand is now known as jhodapp
ogra_davmor2, unlikely ... the white screen issue is a ram issue18:29
ogra_only open apps should matter18:29
davmor2ogra_: ah okay18:29
tshirtmanmcphail: hey, so i built a modified package, installed it with pkcon install-local --allow-unstrusted, i can run it from command line, but i'm denied running system python, i intend to build and ship python for the app later, for now, can i make apparmor give me access to it?19:15
mcphailtshirtman: change the security profile to unconfined and the world's yours19:15
tshirtmanah, perfect :)19:16
mcphailtshirtman: example - http://termbin.com/w3il19:17
tshirtmanah, template, i was trying in policy_groups19:19
mcphailtshirtman: you can't upload unconfined apps to the store, but they are fine for testing19:21
tshirtmanyeah, that makes sense19:23
tshirtmanbut it doesn't work for me yet19:23
mcphailtshirtman: got to get back to work but good luck with this. Your project looks interesting and I hope you get it working19:24
tshirtmanoh wait, stypid mistake :)19:24
tshirtman"" missing around template >_>19:24
mcphailtshirtman: good old json!19:25
tshirtmanhm, my app seems to take forever to start, and i don't have a log for it in ~/.cache/upstart, weird19:44
tshirtmanmcphail: any idea how to get logs from my app trying to start if there is nothing in .cache/upstart/*myappname*21:15
mcphailtshirtman: I don't think that is quite the correct path. 1 sec...21:16
mcphailtshirtman: ~/.cache/upstart/application-click-blah.blah.blahdeblah21:17
tshirtmanthere was one file of the first package i did there, but its name was wrong (and it contained the errors i had previously), so i removed it and restarted the app21:17
tshirtmanand now, no file21:18
mcphailtshirtman: yes, but the application-click- bit will be prepended to the log name21:18
tshirtmanyes, but * will fill it :)21:18
tshirtmansorry, i realise on irc, it may have been changed to bold21:19
mcphailtshirtman: ha! thought you were irc bolding rather than shell globbing!21:19
mcphailtshirtman: does your app just write to stdout?21:19
tshirtmannp, anyway, my app is starting, write "kivy-test" with a loading symbol, and nothing happens21:20
tshirtmanhm, i didn't change anything about that, i guess i could redirect to a file in run.sh21:20
mcphailtshirtman: no, writing to stdout would be the correct thing to do...21:21
mcphailtshirtman: is this a compiled app or a script?21:22
tshirtmani took your template, changed the content of run.sh to run python ~/path/to/main.py21:23
tshirtmanand used click to build, and pkcon to install-local21:23
tshirtman(changed the other files for name and other things)21:23
mcphailtshirtman: you didn't bundle main.py in the .click?21:24
tshirtmanno, but i guess i could21:24
tshirtmani redirected output, and the file is not created, so i wonder if my command actually runs21:24
mcphailtshirtman: might be worth trying a simple python one-liner bundled in the click first, and build up from there until it breaks. Note that I think only python3 is installed by default21:25
tshirtmani apt install-ed python and a lot of other stuff21:26
mcphailtshirtman: also note that running a click changes the working directory (hence all relative paths) to the click install location21:27
tshirtmanalso, that's probably for other chan, but if there is a way to grow / that would be useful21:27
tshirtmani used ~/ as much as necessary21:27
tshirtmanso it should be ok on that side21:27
tshirtmani could hardcode absolute path, to be sure, though21:27
mcphailtshirtman: try a simple python "hello world" first and build from there. So many things could be causing the breakage21:28
tshirtmanyeah, will do21:29
tshirtmanactually, i'll even test "echo hello world" first21:29
tshirtmanthat should go to the log in .cache, right?21:29
mcphailtshirtman: yes - if you have an unconfined app21:29
tshirtmani should21:29
mcphailtshirtman: as soon as you confine your app, you have to bundle shell commands in the click. That's why my syncthing click bundles sed, for example21:30
tshirtmanhm, nothing, should i reboot the device? :D21:31
mcphailtshirtman: very odd21:32
tshirtmanalso, if i was doing something illegal (app confined), it would crash, right?21:32
tshirtmanhere it's just pretending it's loading the app, and nothing happens, the loading wheel just turns and turns21:33
popeyif the app tries to do anything it shouldn't you'll see apparmor failures in dmesg21:33
mcphailtshirtman: yes - confinement should post error to the log21:33
popeyso "sudo dmesg | grep DEN"21:33
tshirtmani was seeing errors in dmesg before21:33
popeywould show "DENY" style messages with your app name and what it's trying to do21:34
tshirtmanbut not since i have this forever loading one21:34
tshirtmanyeah, i had these before i put uncontained21:34
mcphailtshirtman: can you share your .click?21:34
tshirtmanwhen the device is booted again :)21:34
tshirtmanah, now it crashes again, fun21:35
popeyyeah, lets have a play :)21:35
tshirtman(and the icon got fixed, it was invisible… fun)21:35
mcphailtshirtman: going to have to do a bit of work for 30 mins, so would be great if you could email/send link (my email is in the syncthing manifest file)21:35
tshirtmanwill do21:36
mcphailcheers - see you in a bit21:36
tshirtmanbut it may work now, hello world in file21:36
tshirtmani guess the system was confused somehow21:36
tshirtmanby previous version of the package21:36
tshirtmanbaby steps, baby steps21:36
mcphailtshirtman: I always delete the old package before changing anything21:37
tshirtmanthe .click21:37
tshirtmanor uninstall?21:37
tshirtmani'll do that now21:37
tshirtmanthat broken readline >_<21:39
tshirtmanok, new error, sdl2 - RuntimeError: Failed to created a window surface 0x121:41
tshirtmani guess i can try with the libs pointed at earlier21:42
tshirtmancore dump \o/21:50
popeycovering all the error condition based here tshirtman21:51
tshirtmani guess that must be because my kivy was built against a different version of sdl221:53
tshirtmanso i'll rebuild against the source of these ones21:54
tshirtmanadb push is slow, i got the binaries from github faster than i'm pushing them through usb >_<21:56
tshirtmanorders of magnitude faster21:56
mcphailtshirtman: the version of sdl2 in the repos will segfault in SDL_INIT. Stick my version in the lib/arm-linux-gnueabihf directory and you should be golden22:07
tshirtmanmcphail: i put them in my app's dir /sdl2 and added LD_LIBRARY_PATH=sdl2/ before my python command, so it uses them, so now, instead of being unable to create a window, it segfaults, so i assume it's because of an api mismatch, since i built kivy against the libsdl2-dev from the repos22:10
tshirtmanbut i'll try moving to lib/arm-linux-gnueabihf and remove the LD_LIBRARY_PATH, it's easier to start with22:10
mcphailtshirtman: I don't htink that should happen. The headers are very similar22:11
mcphailtshirtman: (that is lib/arm-linux-gnueabihf within the .click package, btw)22:12
tshirtmanyeah, relative path, so in the source dir that i packager, right?22:12
tshirtmani don't patch the .click manually :D22:13
mcphailtshirtman: you _can_ play with the installed click under /opt/ if you need to22:13
popeyi frequently muck about with the contents in /opt/22:14
tshirtmanhm, that could be a faster way to iterate22:14
mcphailtshirtman: provided you dn't change anything in the .desktop file or .apparmor file you are usually OK22:14
tshirtmanhm, nope, still coredump22:14
tshirtmani guess i can't run it through gdb?22:15
mcphailtshirtman: you can22:15
tshirtmanhm, though, if it coredump, i should be able to take that22:15
mcphailtshirtman: you can install gdbserver and debug remotely22:15
tshirtmanah yeah, forgot about that option22:16
tshirtmanhm, maybe the coredump file is saved somewhere already, though?22:16
mcphailpopey: while you are here, can you remember the command bzoltan_ (or someone) gave to get rid of spurious click chroots?22:18
tshirtmandarn, no ulimit command22:18
mcphailpopey: for some reason I've got >5000 on this device and it is killing bash completion for "mount"22:19
mcphailtshirtman: which version of ubuntu are you running on your device?22:21
popeyi have put it in my tidyup scripts22:21
popeysudo schroot -e --all-session22:21
mcphailpopey: cheers! Maybe I will be able to type "mount <tab>" without my CPU melting now22:22
tshirtmanmcphail: stable, i used "$ ubuntu-device-flash touch --channel=ubuntu-touch/stable/ubuntu --bootstrap" to flash22:22
popeytshirtman: i have ulimit on my device22:22
mcphailtshirtman: ok - so probably using mir0.12?22:23
tshirtmanah, that's some fun, ulimit as a user is found, but not as sudo22:23
tshirtmansudo -s to the rescue22:23
tshirtmanhm, maybe i didn't need sudo actually22:24
mcphailtshirtman: one thing to check would be the mir version. I think my build of sdl only works for <=0.12. 0.13 and above need to be built from a special branch22:25
mcphail(I think)22:26
tshirtmanhm, apt search shows 0.13 versions, for mir-client-platform-* so i must have that22:27
mcphailpopey: what mir version is on the OTAs?22:28
popey0.14 on rc-proposed22:28
tshirtmanand i suppose downgreading is both hard and wrong, so the less hard option will be to rebuild sdl2 and kivy :) hopefuly not too much FUN22:29
popeyup/downgrading isnt hard22:29
popeyyou can switch back and forth easily22:29
tshirtmanfor deb packages?22:29
popeyoh, well, yeah22:29
popeyif the older version is in the repo22:29
popeyapt-get install foo=version22:29
popeybut I wouldn't use apt on the phone22:29
tshirtmantoo late :D22:30
popeyits fine22:30
popeyfor hacking22:30
tshirtmani installed vim git and everything to build kivy already22:30
tshirtmanwell, / is 2GB, so i still have to be careful22:30
tshirtmanmanaged to fill it once already22:30
* mcphail notes it is 0.13 on the default OTA so that theory was wrong22:31
tshirtmanso your build should work?22:32
mcphailtshirtman: yes, I think so. Works here...22:32
tshirtmanok, back to gdp then :)22:33
mcphailtshirtman: can you build and run the sdl-template app from my/sturmflut's github repo?22:33
tshirtmanprobably :)22:34
tshirtmanhttps://github.com/Sturmflut/ubuntu-touch-sdl2-gles2-template ?22:35
tshirtmancan i just clone it in the device and run click build? or do i need to run cmake& make and stuff?22:36
tshirtman(is click magicall for this? :o)22:36
mcphailtshirtman: you'd need to create a click chroot to cross-compile it22:37
mcphailtshirtman: or open it in the sdk qtcreator22:37
tshirtmanright, so stop hacking on the device and install a real dev env :)22:37
tshirtmanhttp://www.theorangenotebook.com/2014/05/building-cross-platform-click-packages.html ?22:41
mcphailtshirtman: https://developer.ubuntu.com/en/blog/2015/04/13/inner-workings-sdk/22:44
tshirtmanbut actually, i installed cmake on the device, because why not, will probably do a real dev env sometime later :) that will help a lot22:46
mcphailtshirtman: no wonder you are running out of space!22:47
tshirtmanstill 57M!22:47
tshirtmancmake is actually not that big, i was surprised22:47
mcphailenough for anyone!22:48
tshirtmanso the demo works22:48
tshirtmanno background to the app, so it's on top of the gui, funny22:48
mcphailgreat - so SDL should work OK22:48
mcphailtshirtman: I think that is a mir bug or something22:48
mcphailtshirtman: transparency/corruption is a problem22:49
tshirtmanohh, the effect when using app switch (left swipe) is very nice, the cube seems to stand out22:49
tshirtmanwell, it's not hard to add a background to the app :)22:50
tshirtmanbut that's great, i guess i can try building my kivy against the source in this one, and see how it goes22:50
* mcphail hopes tshirtman is getting exited about the possibilities of porting to ubuntu touch :)22:50
tshirtmani am :)22:50
tshirtmani hope the ubuntu devs are excited by the idea of getting a load of apps easily ported to ubuntu-touch :P22:51
tshirtmanwell, some kind of a load22:51
mcphailtshirtman: I've got another couple of hours of work to get through before bed so I'll leave you to it for now. Good luck!22:51
tshirtmanthanks a *lot* for your guidance22:51
tshirtmanmuch appreciated22:51
mcphailmy pleasure22:51
=== salem_ is now known as _salem

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