[00:26] <Aki-Thinkpad> Hey for the qtcreator plugin wizard, what do I specify for the qtcreator-sources and qtcreator-build?
[06:32] <miha> по-русски ктонить балакает?
[06:49] <dpm> morning rpadovani, I tested launching Reminders from Qt Creator using the emulator and the phone as targets, and it seems to work on both. Did you set -DCLICK_MODE=on?
[07:08] <dholbach> good morning
[07:13] <justCarakas> heey
[07:35] <mzanetti> dpm: :D
[07:36] <mzanetti> dpm: You've hit the only other thing in my calendar :D
[07:37] <mzanetti> dpm: however, it's just the daily standup. Won't last longer than 10 mins. I'll jump over to the reminders hangout asap
[07:40] <justCarakas> congrats dpm on the promotion :)
[07:46] <dpm> hi mzanetti, ok, sorry, I generally look at the calendar to see if it conflicts, but this time I just moved it to 30 mins later
[07:46] <dpm> thanks justCarakas :)
[10:38] <dholbach> jdstrand, do you think we should do a click-reviewers-tools upload and push it to the sdk release ppa too?
[11:50] <nik90> mzanetti: hey, can I merge https://code.launchpad.net/~nik90/ubuntu-clock-app/15-world-clocks/+merge/227539 ? I fixed all the comments that you had.
[11:51] <mzanetti> nik90: let me skim over it
[11:52] <mzanetti> nik90: yeah, approved
[11:53] <nik90> mzanetti: thnx.
[11:54] <nik90> dpm: ping (discuss translation issue with regards to city names)
[11:59] <dpm> hey nik90, where did we leave the discussion?
[11:59]  * nik90 doesn't remember
[11:59] <nik90> dpm: but do you know what the situation is though?
[11:59] <nik90> dpm: I can do a short recap :)
[12:00] <nik90> dpm: so we have a XML file which contains a list of popular cities and country names as can be seen at https://code.launchpad.net/~nik90/ubuntu-clock-app/20-world-clocks/+merge/227646
[12:00] <dpm> it's about providing translated city names in the search and on displaying the world clocks, right?
[12:00] <nik90> dpm: the question is how do we get this translated?
[12:00] <nik90> dpm: yes
[12:01] <nik90> unfortunately online results don't help with populating the list, they only help with searches made
[12:02] <nik90> so even If I could use the translated names from geonames.org for instance, it won't help with the translation of the popular city list shown
[12:03] <dpm> nik90, to have translations for these preseeded cities, you'll have to find a way to put them in a QML or JS file. XML is really hard to translate
[12:04] <nik90> dpm: ok that I can do
[12:04] <nik90> dpm: but its gonna be a hard time for translators :/
[12:05] <dpm> how many cities are there, roughly?
[12:05] <dpm> oh
[12:05] <dpm> a lot
[12:05] <dpm> I see
[12:05] <nik90> dpm: yeah...100+
[12:05] <nik90> dpm: I created that list manually..painful process
[12:06] <dpm> nik90, in Ubuntu desktop we've got a package called iso-codes that contains the translations for cities. Apps can use it to show localized city names without the need to translate them in the app. However, I don't know if it's accessible to Qt
[12:08] <dpm> the other option is to use the packaged translations from cldr.org, but I'm not sure if they're accessible to Qt either
[12:10] <dpm> an option would be to fetch the .po files of iso-codes and put them in the clock app's source tree
[12:10] <nik90> dpm: is there anyone who might know about this? I will try hunting through the Qt locale docs
[12:11] <dpm> tsdgeos might know
[12:11] <dpm> so far, I can see two options:
[12:12] <dpm> - Put the preseeded cities in a .js or .qml file and mark them for translation (easiest, but hardest for translators)
[12:13] <dpm> - Fetch the .po files for cities from the iso-codes package, put them in the clock source tree and have the app read those translations
[12:13] <dpm> Actually, something else:
[12:14] <dpm> - Fetch all translated city names from geonames.org and put them on an offline, local database to load cities and their translations from
[12:15] <dpm> these are some of the things I can think of
[12:16] <nik90> hmm I will investigate more on the 2nd and 3rd options
[12:16] <dpm> and actually, option 1 might not be too hard for translators. They'll see suggestions for city name translations in Launchpad, so in most cases it will be a matter of pointing and clicking
[12:16] <dpm> that's because Launchpad presents suggestions from translations in all other projects
[12:17] <nik90> oh
[12:17] <dpm> so if a translation team translated a city name in iso-codes, and that same city is up for translation in clock,
[12:17] <dpm> then the translation will be shown as a suggestion that can be clicked and added as a translation for clock
[12:17] <nik90> ok
[12:18] <dpm> and with this, I'll go for lunch, bbl ;)
[12:19] <nik90> dpm: thnx
[12:43] <tsdgeos> dpm: sorry, can you repeat/summarize?
[12:46] <nik90> tsdgeos: Hi, I can do that
[12:47] <nik90> tsdgeos: In the clock app, we are supposed to provide a local list of popular cities in the world that a user can select from.
[12:47] <nik90> tsdgeos: at the moment, we do this by providing a data model in an xml file. However this file cannot be translated.
[12:47] <nik90> tsdgeos: and we were wondering how best to go about this
[12:48] <nik90> tsdgeos: here is an example of the xml list data, https://bazaar.launchpad.net/~nik90/ubuntu-clock-app/20-world-clocks/view/head:/app/worldclock/world-city-list.xml
[12:49] <tsdgeos> i think easiest (may not be the most engineering smart) is just make the thing that creates the .po file parse that file and with some bash/grep make it end in a fake cpp file that gettext parses
[12:49] <tsdgeos> and then just pass the name you get from the xml thorgh gettext
[12:51] <nik90> ok
[12:51]  * nik90 thinks
[12:54] <nik90> tsdgeos: what do you need the fake cpp file for? Can't gettext parse the xml file directly?
[12:55] <tsdgeos> nik90: not as far as i know
[12:55] <tsdgeos> there's other tools to generate .po files from xml though
[12:55] <tsdgeos> you may want to check them
[12:55] <nik90> tsdgeos: btw shouldn't it be a .pot file instead of .po file so that launchpad can show that template to the translators?
[12:56] <tsdgeos> yes
[12:56] <tsdgeos> pot file
[12:56] <tsdgeos> which you should already have one
[12:56] <tsdgeos> no?
[12:56] <nik90> tsdgeos: not yet, but soon enough. This is for the new clock app reboot which is missing some infrastructure still
[12:57] <nik90> tsdgeos: but yeah I found http://itstool.org which translates xml files
[12:57] <tsdgeos> yeah
[12:57] <tsdgeos> that one will translate it inside the xml file
[12:57] <tsdgeos> it's another option
[12:57] <tsdgeos> then you need to read the xml taking the language into account
[12:58] <tsdgeos> intltool should also help you creating a .pot from xml
[13:00] <jdstrand> dholbach: hi! re 0.8, I think we are close. I'd like https://code.launchpad.net/~jdstrand/click-reviewers-tools/lp1346481 in it (I should finish that today)
[13:00] <jdstrand> dholbach: however I think there is a problem in debian/rules for calling out over the network. have you tried building in a ppa?
[13:01] <dholbach> jdstrand, https://code.launchpad.net/~dholbach/+recipe/click-reviewers-tools-daily looks like it builds just fine
[13:03] <jdstrand> dholbach: right-- that is not using the debian directory from trunk though, right?
[13:04] <dholbach> jdstrand, that should be just trunk
[13:04] <jdstrand> dholbach: specifically, update-frameworks and update-apparmor-policy are not being called in clean
[13:05] <jdstrand> hmm, normally when I set up a daly build, it doesn't use what is in the tree. maybe this is setup different
[13:05] <jdstrand> dholbach: (I don't see those in the build log)
[13:05] <dholbach> jdstrand, yeah - at least speaking for update-frameworks that was intended
[13:05] <dholbach> as there's not net connection on the buildd, I didn't want to run it and have it fail and stop the build - I assumed that it'd be run by a developer locally
[13:05] <jdstrand> dholbach: fyi, I just copied update-apparmor-policy to work like update-frameworks, but I made a note that this may need to move to a new target to work on buildds
[13:06] <jdstrand> dholbach: yes, good thinking-- I just thought clean got called during the build
[13:07] <jdstrand> you can see it does in the build log. eg: rm -rf build *.egg-info .pybuild
[13:07] <jdstrand> you can see the 3 lines before our update scripts
[13:07] <jdstrand> but, the debian/rules for this build seems old
[13:08] <dholbach> jdstrand, I catch the urllib exception (on timeouts, etc.) and let it exit(1) and use  -(python <...>)  in the clean target
[13:08] <dholbach> I thought that was a good way to deal with it
[13:09] <jdstrand> maybe it is all correct and will work right
[13:09] <jdstrand> I just don't see it being called at all in the build log
[13:11] <jdstrand> dholbach: ok, I just checked the source package, it is in there
[13:11] <jdstrand> dholbach: oh, does '-' prepended before the command silence it?
[13:11] <jdstrand> I forget all the makefile fun
[13:11] <dholbach> jdstrand, I assumed that it'd just ignore the return code
[13:12] <jdstrand> well, it seems to be working, so I think we can move on
[13:12] <jdstrand> dholbach: sorry for wasting your time
[13:12] <dholbach> no, don't worry - I'm glad you had a thorough look at it as well
[13:12] <jdstrand> dholbach: I'll work on that other branch, but feel free to test 212~ubuntu14.04.1 if you want
[13:13] <dholbach> ok cool
[13:13] <jdstrand> I did my testing in a shroot without the extra apparmor deps and it all worked well
[14:37] <neasn> Helo every one I am just starting to develop for ubuntu touch.
[14:44] <davmor2> in reminders is there a plan to introduce the checlist function or can you do that already and I haven't figured out how?
[14:45] <justCarakas> welcome neasn
[14:47] <brendand> balloons, hey - about your workaround for calendar-app failures - are you sure there isn't a better way?
[14:47] <dpm> mzanetti, rpadovani http://pastebin.ubuntu.com/7842316/
[14:48] <balloons> brendand, hey.. a "better" way? Sure, fix the helper
[14:48] <balloons> but it's non-trivial
[14:49] <balloons> I predicated my mp with 'hacky' ;)
[14:49] <justCarakas> dpm do you know if someone is working on the multiple google calendars in 1 google account ?
[15:02] <Zanval> Hello, I am a developer who just made his first android development experience and wants to get an overview of the Ubuntu App Development. How would I create a local database (sqlite e.g.) in ubuntu sdk?
[15:03] <Zanval> Maybe I should also not that I am interested in QML as well as HTML5 App Development.
[15:17] <Elleo> Zanval: the QtQuick.LocalStorage module gives you access to that sort of thing in QML: http://qt-project.org/doc/qt-5/qtquick-localstorage-qmlmodule.html
[15:26] <Zanval> Elleo: Thanks, thats exactly what I was looking for. :)
[15:29] <Elleo> Zanval: great :)
[16:30] <mzanetti> kenvandine: hey, I tried to compile VoltAir on the phone. Got stuck when freeglut wanted xinput stuff. Did you perhaps already solve this with your Box2D works?
[16:36] <Elleo> mzanetti: box2d and qml-box2d don't have any dependencies like that, so I'd assume not
[16:55] <kenvandine> mzanetti, i got it to build without messing with the xinput stuff
[16:55] <kenvandine> but it crashes :)
[16:56] <mzanetti> hehe
[16:56] <kenvandine> sorry, i meant without patching out that
[16:57] <kenvandine> it crashes after scene selection i think, maybe that's because it needs xinput
[16:57] <mzanetti> so that VoltAir game has a dependency on liquidfun which seems to contain box2d and freeglut. and freeglut in there uses xinput
[16:57] <kenvandine> yeah
[16:58] <kenvandine> oh... maybe i built it with the system freeglut rather than embedded
[16:58] <kenvandine> i seem to recall running into problems there, and turns out that is only needed for some of the liquidfun examples
[16:59] <kenvandine> mzanetti, just a minute, let me check what i did in my build
[17:00] <mzanetti> I've tried with -DFREEGLUT_GLES2 to make it pick up gles stuff, but that led to the above...  maybe there's some more switches, yeah
[17:01] <kenvandine> http://paste.ubuntu.com/7842893/
[17:01] <kenvandine> mzanetti, that's my diff
[17:01] <kenvandine> specifically to force gles2 headers
[17:02] <mzanetti> hmm... interesting... I guess you're not building the freeglut stuff at all then...
[17:02] <kenvandine> bope
[17:02] <kenvandine> nope
[17:03] <kenvandine> freeglut is only included if you build the liquidfun examples
[17:03] <mzanetti> I thought so too but then I found another place where it gets included
[17:03] <kenvandine> if you disable the examples in liquidfun it skips that
[17:03] <kenvandine> unless they've changed it since i branched :)
[17:04] <mzanetti> I might be wrong too... let me have a look
[17:04] <kenvandine> i haven't updated my branch, my clone was from the 16th
[17:04] <kenvandine> i did have to monkey with paths somewhere
[17:04] <kenvandine> but not seeing that in the diff
[17:04] <kenvandine> oh right... liquidfun was actually missing, they said it was a submodule
[17:04] <kenvandine> but it wasn't :)
[17:05] <mzanetti> yeah, same here
[17:05] <mzanetti> I manually cloned it into there
[17:05] <kenvandine> so i grabbed the tarball and stuck it in the right place
[17:05] <kenvandine> i grabbed the release tarball
[17:05] <mzanetti> hmm, that might make a difference then
[17:05] <mzanetti> probably worth a try running master with your way of building
[17:06] <kenvandine> liquidfun 1.1.0
[17:06] <kenvandine> maybe you can fix the crash :)
[17:06] <mzanetti> :D
[17:22] <kenvandine> mzanetti, i cleaned up my hacks a little and pushed to github
[17:22] <kenvandine> https://github.com/kenvandine/VoltAir
[17:23] <mzanetti> kenvandine: cheers. will give it a try
[17:24] <kenvandine> just added my click bits too
[17:32] <ahayzen> kenvandine, ping
[17:32] <kenvandine> ahayzen, pong
[17:33] <ahayzen> kenvandine, just playing about with the content-hub things ... followed the instructions to use the browser on bug 1347444
[17:33] <ahayzen> kenvandine, and got a url of file:///home/phablet/.cache/com.ubuntu.music/HubIncoming/1/mp32 as the incoming... note there is no file extension? is that correct
[17:34] <ahayzen> kenvandine, i'm wondering if it was supposed to be 2.mp3 ..but something has gone wrong in the browser export?
[17:35] <ahayzen> kenvandine, or whether i've mucked up (which is also possible)
[17:36] <ahayzen> no ^^ path is what contentItem.url.toString() is showing
[17:37] <kenvandine> that sounds like the browser didn't get a proper filename
[17:37] <kenvandine> Elleo, ^^
[17:39] <kenvandine> ls
[17:39] <kenvandine> whoops
[17:39] <ahayzen> Download request for storage-new.newjamendo.com/download/track/1108495/mp32 got cancelled by embedder
[17:39] <ahayzen> file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Content/ContentPeerPicker.qml:233: TypeError: Cannot read property 'peers' of null
[17:40] <ahayzen> kenvandine, noticed ^^ in the end of the browser log
[17:40] <kenvandine> that's normal
[17:40] <ahayzen> kenvandine, ah ok is that as it hands over to the downloader thing?
[17:41] <kenvandine> yeah
[17:41] <kenvandine> we've seen that on some images from google images
[17:41] <kenvandine> the download url doesn't include the extension
[17:41] <ahayzen> kenvandine, firefox figures out the real filename with an extension when going to the url ...
[17:41] <kenvandine> or a proper filename
[17:42] <ahayzen> kenvandine, assume it is sent in the http header?
[17:42] <kenvandine> we get something like "image" from as the filename
[17:42] <kenvandine> yeah, not sure
[17:42] <kenvandine> Elleo knows the details
[17:42] <ahayzen> kenvandine, guess we need to hear from the browser guys
[19:32] <Letozaf_> nik90, hi, I have merged and now running clock app gives me this error: file:///home/letozaf/autopilot-tests/reboot/app/worldclock/UserWorldCityList.qml:20 module "Timezone" is not installed    cannot find how to install it
[19:44] <nik90> Letozaf_: hmm that is one of the custom C++ plugins for clock app
[19:45] <nik90> Letozaf_: if you look at README.developers, it will show how to build the plugin
[19:45] <Letozaf_> nik90, how do I install or get it ?
[19:45] <nik90> Letozaf_: once you do that you should be able to run the clock app
[19:46] <Letozaf_> nik90, sorry didn't read the line before my answer... thanks
[19:47] <nik90> Letozaf_: np, let me know if it works since when I ran your branch this morning, the userWorldCityList.qml file wasn't there yet, so I am hoping you won't run into issues
[19:47] <Letozaf_> nik90, ok
[19:55] <Letozaf_> nik90, I got the libtimezone.so but where do I have to copy it ?
[19:56] <nik90> Letozaf_: I am not sure, normally qtcreator knows where the .so library file
[19:57] <nik90> Letozaf_: what happens when you run autopilot run ubuntu_clock_app ?
[19:57] <Letozaf_> nik90, I got the same error
[19:57] <Letozaf_> nik90, let me past the output
[19:58] <Letozaf_> nik90, http://paste.ubuntu.com/7843705/
[19:58] <Letozaf_> nik90, line 54
[19:59] <nik90> Letozaf_: can you revert the merge and work with the old rev?
[19:59] <Letozaf_> nik90, sure
[19:59] <nik90> Letozaf_: I haven't changed anything alarm wise for the past few revisions. So it should be fine.
[19:59] <nik90> Letozaf_: I will need to figure this out with balloons about what to change in the cmake files
[20:00] <Letozaf_> nik90, ok no problem
[20:01] <balloons> nik90, will the reboot have native code?
[20:01] <nik90> balloons: it already has two c++ plugins
[20:02] <balloons> I should ask differently.. are the plugins external?
[20:02] <balloons> i you have an external plugin, you need to package it and the tests will need it as a depends
[20:03] <nik90> balloons: external? Its part of the clock app. So no separate packages for the c++ plugins
[20:03] <balloons> if it's part of the same project and binary, then that takes care of it, but you'll have to compile it
[20:03] <nik90> balloons: its part of the same project
[20:03] <balloons> I might be failing to speak in the proper terms
[20:03] <nik90> balloons: Letozaf_ compiled it using cmake .. && build
[20:03] <nik90> balloons: no I think I am not that familiar with this stuff :)
[20:03] <balloons> I'll have to actually look at it I guess
[20:04] <nik90> balloons: I used the App with QML Extension Library template from qtcreator if that makes sense
[20:05] <balloons> nik90, sadly that doesn't help me personally.. certainly not without looking, hah
[20:06] <nik90> balloons: this is the branch https://code.launchpad.net/~carla-sella/ubuntu-clock-app/alarm-tests/+merge/227816 that Letozaf_ is working on
[20:06] <balloons> anyways, remind me to have a look.. I can't do it at the moment. cmake requires real brainpower
[20:06] <nik90> balloons: hehe
[20:06] <nik90> balloons: let me know when you want to tackle this. I will tag along
[20:07] <balloons> perhaps this makes a good friday night activity
[20:07] <balloons> I'm so crazy
[20:07] <nik90> :D
[20:07] <Letozaf_> balloons, :D
[20:21] <mzanetti> anyone here has an idea for a name for a tower defense game?
[20:22] <kenvandine> mzanetti, you have some code in your game for level loading right?  i'd love some ideas or help with something general purpose for bacon2d :)
[20:23] <mzanetti> kenvandine: hmm... what I have atm is rather specific for that game... but I guess it should be possible to abstract it. I'm not really familiar with bacon2d yet
[20:24] <kenvandine> mzanetti, yeah, it's one of my longer term goals
[20:24] <kenvandine> provide some general purpose level loading and user saving of levels
[20:24] <mzanetti> how would you need the data in the end? Is there some existing data structure already which needs to be filled?
[20:24] <kenvandine> abstracting as much data out of the code as possible
[20:25] <kenvandine> mzanetti, those are the things i don't know much about...
[20:25] <kenvandine> i want to go through some of the existing game engines that provide it and see how rich that stuff has to be
[20:25] <kenvandine> o
[20:30] <mzanetti> kenvandine: I guess in the end you'd just need some object "Level" that holds all the stuff required to build up the scene
[20:30] <kenvandine> right
[20:30] <mzanetti> like, "backgroundImage", "enemyCount", whatever
[20:30] <mzanetti> a model holding a list of all existing levels
[20:31] <mzanetti> and then the Game {} object maybe a property currentLevel
[20:31] <mzanetti> to change level and get current level's properties
[20:31] <kenvandine> we have a currentScene
[20:31] <kenvandine> and the levels would be scenes
[20:31] <mzanetti> ah
[20:31] <kenvandine> we also have a tiled map branch in the works
[20:31]  * mzanetti looks up Scene docs
[20:31] <kenvandine> to load scenes from tiled maps
[20:32] <mzanetti> yeah well, in the end it doesn't matter what it is...
[20:32] <mzanetti> just holds some strings for urls to image files and integers for game stuff
[20:32] <mzanetti> something like that I'd imagine
[20:32] <kenvandine> just something to make it easier for game developers to create cool games
[20:33] <mzanetti> kenvandine: this is how people can create level packs for my game: http://bazaar.launchpad.net/~mzanetti/+junk/ubuntudefence/files/head:/data/levelpacks/
[20:34] <mzanetti> so this could be parsed in a generic way, reading all properties instead of the predefined I have here
[20:34] <kenvandine> yeah
[20:34] <kenvandine> probably coordinates too, etc
[20:34] <mzanetti> and then building up the model holding all this stuff
[20:35] <mzanetti> would need to do something with bacon2d to find out how it works
[20:35] <kenvandine> mzanetti, cool, i'd love input and/or help :)
[20:36] <kenvandine> we hang out in #bacon2d too :)
[20:36] <mzanetti> wanted to do a simple tanks game anyways when the current projectCount decreases again
[20:37] <kenvandine> cool!
[20:37] <mzanetti> so... I'm still looking for name for the tower defense game
[20:37] <mzanetti> :)
[20:37] <kenvandine> no ideas off hand... sorry :)
[22:43] <gerlowskija> balloons: looks like I've got the tests running on the desktop with a VM setup; thanks for the help!
[23:01] <Elleo> kenvandine, ahayzen__: download manager currently doesn't make use of the filename section of the content-disposition header; there's a bug logged for it here https://bugs.launchpad.net/ubuntu-download-manager/+bug/1205355 last time I spoke to mandel about it it sounded like it might take a while though
[23:05] <ahayzen__> Elleo, hmmm because i *think* this is stopping mediascanner2 picking up the file as it doesn't have an extension
[23:06] <ahayzen__> ...and we need to be able to reload the mediascanner2 models to complete the process anyway as you currently have to restart the app to see changes
[23:07] <Elleo> ahayzen__: quite possibly, we have the gallery append extensions to files that are missing them at the moment to work around this there
[23:07] <Elleo> (using qt's mimetype detection and extension mapping)
[23:07] <ahayzen__> Elleo, hmm but we would have to assume the file extension for the music as we have no way of telling what it is (we are pure QML)
[23:07] <ahayzen__> unless there is a way in QML...
[23:08] <Elleo> ahayzen__: in that case you might want to ping mandel when he's about and see if there's any chance of him bumping that up his priority list
[23:08] <Elleo> personally it's something I'd like to see sooner rather than later, as there are lots of services that give pretty bad filenames from just taking the end of the URL (which is what download manager currently does)
[23:08] <ahayzen__> Elleo, ok thanks which IRC channels does he hang around on?
[23:08] <Elleo> but I know mandel has a lot on his plate already, so it just might not be feasible
[23:09] <Elleo> I think he's usually around on #ubuntu-touch
[23:09] <ahayzen__> Elleo, i can add music-app as also affects and explain the situation, so that it is documented if u want?
[23:09] <Elleo> ahayzen__: yeah, that'd be good
[23:10] <ahayzen__> Elleo, ah yes i spot him, but it is like 1/2am for him so i'll try him tomorrow and add to the bug now :)
[23:10] <Elleo> ahayzen__: okay, great
[23:10] <Elleo> it's 12am here too, and I have to be up at 6 to get off to the sprint again, so I'm going to disappear now too ;)
[23:10] <ahayzen__> Elleo, thanks for ur help :) ... we'll get webbrowser -> music-app working eventually :)
[23:10] <Elleo> no worries :)
[23:10] <ahayzen__> Elleo, yeah i'm in the UK as well
[23:11] <ahayzen__> Elleo, last stage will then be to somehow reload/stream the mediascanner2 models so we can get the metadata as it is indexed
[23:12] <Elleo> yeah, that'd be nice