[00:26] Hey for the qtcreator plugin wizard, what do I specify for the qtcreator-sources and qtcreator-build? [06:32] по-русски ктонить балакает? [06:49] 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] good morning [07:13] heey [07:35] dpm: :D [07:36] dpm: You've hit the only other thing in my calendar :D [07:37] 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] congrats dpm on the promotion :) [07:46] 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] thanks justCarakas :) === chriadam is now known as chriadam|away === renato is now known as Guest25241 [10:38] jdstrand, do you think we should do a click-reviewers-tools upload and push it to the sdk release ppa too? [11:50] 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] nik90: let me skim over it [11:52] nik90: yeah, approved [11:53] mzanetti: thnx. [11:54] dpm: ping (discuss translation issue with regards to city names) [11:59] hey nik90, where did we leave the discussion? [11:59] * nik90 doesn't remember [11:59] dpm: but do you know what the situation is though? [11:59] dpm: I can do a short recap :) [12:00] 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] it's about providing translated city names in the search and on displaying the world clocks, right? [12:00] dpm: the question is how do we get this translated? [12:00] dpm: yes [12:01] unfortunately online results don't help with populating the list, they only help with searches made [12:02] 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] 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] dpm: ok that I can do [12:04] dpm: but its gonna be a hard time for translators :/ [12:05] how many cities are there, roughly? [12:05] oh [12:05] a lot [12:05] I see [12:05] dpm: yeah...100+ [12:05] dpm: I created that list manually..painful process [12:06] 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] the other option is to use the packaged translations from cldr.org, but I'm not sure if they're accessible to Qt either === _salem is now known as salem_ [12:10] an option would be to fetch the .po files of iso-codes and put them in the clock app's source tree [12:10] dpm: is there anyone who might know about this? I will try hunting through the Qt locale docs [12:11] tsdgeos might know [12:11] so far, I can see two options: [12:12] - Put the preseeded cities in a .js or .qml file and mark them for translation (easiest, but hardest for translators) [12:13] - 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] Actually, something else: [12:14] - 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] these are some of the things I can think of [12:16] hmm I will investigate more on the 2nd and 3rd options [12:16] 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] that's because Launchpad presents suggestions from translations in all other projects [12:17] oh [12:17] so if a translation team translated a city name in iso-codes, and that same city is up for translation in clock, === greyback is now known as greyback|lunch [12:17] then the translation will be shown as a suggestion that can be clicked and added as a translation for clock [12:17] ok [12:18] and with this, I'll go for lunch, bbl ;) [12:19] dpm: thnx [12:43] dpm: sorry, can you repeat/summarize? [12:46] tsdgeos: Hi, I can do that [12:47] 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] tsdgeos: at the moment, we do this by providing a data model in an xml file. However this file cannot be translated. [12:47] tsdgeos: and we were wondering how best to go about this [12:48] 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] 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] and then just pass the name you get from the xml thorgh gettext [12:51] ok [12:51] * nik90 thinks [12:54] tsdgeos: what do you need the fake cpp file for? Can't gettext parse the xml file directly? [12:55] nik90: not as far as i know [12:55] there's other tools to generate .po files from xml though [12:55] you may want to check them [12:55] 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] yes [12:56] pot file [12:56] which you should already have one [12:56] no? [12:56] tsdgeos: not yet, but soon enough. This is for the new clock app reboot which is missing some infrastructure still [12:57] tsdgeos: but yeah I found http://itstool.org which translates xml files [12:57] yeah [12:57] that one will translate it inside the xml file [12:57] it's another option [12:57] then you need to read the xml taking the language into account [12:58] intltool should also help you creating a .pot from xml [13:00] 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] 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] jdstrand, https://code.launchpad.net/~dholbach/+recipe/click-reviewers-tools-daily looks like it builds just fine [13:03] dholbach: right-- that is not using the debian directory from trunk though, right? [13:04] jdstrand, that should be just trunk [13:04] dholbach: specifically, update-frameworks and update-apparmor-policy are not being called in clean [13:05] 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] dholbach: (I don't see those in the build log) [13:05] jdstrand, yeah - at least speaking for update-frameworks that was intended [13:05] 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] 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] dholbach: yes, good thinking-- I just thought clean got called during the build [13:07] you can see it does in the build log. eg: rm -rf build *.egg-info .pybuild [13:07] you can see the 3 lines before our update scripts [13:07] but, the debian/rules for this build seems old [13:08] jdstrand, I catch the urllib exception (on timeouts, etc.) and let it exit(1) and use -(python <...>) in the clean target [13:08] I thought that was a good way to deal with it [13:09] maybe it is all correct and will work right [13:09] I just don't see it being called at all in the build log [13:11] dholbach: ok, I just checked the source package, it is in there [13:11] dholbach: oh, does '-' prepended before the command silence it? [13:11] I forget all the makefile fun [13:11] jdstrand, I assumed that it'd just ignore the return code [13:12] well, it seems to be working, so I think we can move on [13:12] dholbach: sorry for wasting your time [13:12] no, don't worry - I'm glad you had a thorough look at it as well [13:12] dholbach: I'll work on that other branch, but feel free to test 212~ubuntu14.04.1 if you want [13:13] ok cool [13:13] I did my testing in a shroot without the extra apparmor deps and it all worked well === greyback|lunch is now known as greyback [14:37] Helo every one I am just starting to develop for ubuntu touch. [14:44] 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] welcome neasn [14:47] balloons, hey - about your workaround for calendar-app failures - are you sure there isn't a better way? [14:47] mzanetti, rpadovani http://pastebin.ubuntu.com/7842316/ [14:48] brendand, hey.. a "better" way? Sure, fix the helper [14:48] but it's non-trivial [14:49] I predicated my mp with 'hacky' ;) [14:49] dpm do you know if someone is working on the multiple google calendars in 1 google account ? [15:02] 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] Maybe I should also not that I am interested in QML as well as HTML5 App Development. [15:17] 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] Elleo: Thanks, thats exactly what I was looking for. :) [15:29] Zanval: great :) [16:30] 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] mzanetti: box2d and qml-box2d don't have any dependencies like that, so I'd assume not [16:55] mzanetti, i got it to build without messing with the xinput stuff [16:55] but it crashes :) [16:56] hehe [16:56] sorry, i meant without patching out that [16:57] it crashes after scene selection i think, maybe that's because it needs xinput [16:57] so that VoltAir game has a dependency on liquidfun which seems to contain box2d and freeglut. and freeglut in there uses xinput [16:57] yeah [16:58] oh... maybe i built it with the system freeglut rather than embedded [16:58] i seem to recall running into problems there, and turns out that is only needed for some of the liquidfun examples [16:59] mzanetti, just a minute, let me check what i did in my build [17:00] 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] http://paste.ubuntu.com/7842893/ [17:01] mzanetti, that's my diff [17:01] specifically to force gles2 headers [17:02] hmm... interesting... I guess you're not building the freeglut stuff at all then... [17:02] bope [17:02] nope [17:03] freeglut is only included if you build the liquidfun examples [17:03] I thought so too but then I found another place where it gets included [17:03] if you disable the examples in liquidfun it skips that [17:03] unless they've changed it since i branched :) [17:04] I might be wrong too... let me have a look [17:04] i haven't updated my branch, my clone was from the 16th [17:04] i did have to monkey with paths somewhere [17:04] but not seeing that in the diff [17:04] oh right... liquidfun was actually missing, they said it was a submodule [17:04] but it wasn't :) [17:05] yeah, same here [17:05] I manually cloned it into there [17:05] so i grabbed the tarball and stuck it in the right place [17:05] i grabbed the release tarball [17:05] hmm, that might make a difference then [17:05] probably worth a try running master with your way of building [17:06] liquidfun 1.1.0 [17:06] maybe you can fix the crash :) [17:06] :D [17:22] mzanetti, i cleaned up my hacks a little and pushed to github [17:22] https://github.com/kenvandine/VoltAir [17:23] kenvandine: cheers. will give it a try [17:24] just added my click bits too [17:32] kenvandine, ping [17:32] ahayzen, pong [17:33] kenvandine, just playing about with the content-hub things ... followed the instructions to use the browser on bug 1347444 [17:33] bug 1347444 in Ubuntu Music App "Music app does not expose download handler" [High,In progress] https://launchpad.net/bugs/1347444 [17:33] 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] kenvandine, i'm wondering if it was supposed to be 2.mp3 ..but something has gone wrong in the browser export? [17:35] kenvandine, or whether i've mucked up (which is also possible) [17:36] no ^^ path is what contentItem.url.toString() is showing [17:37] that sounds like the browser didn't get a proper filename [17:37] Elleo, ^^ [17:39] ls [17:39] whoops [17:39] Download request for storage-new.newjamendo.com/download/track/1108495/mp32 got cancelled by embedder [17:39] file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Content/ContentPeerPicker.qml:233: TypeError: Cannot read property 'peers' of null [17:40] kenvandine, noticed ^^ in the end of the browser log [17:40] that's normal [17:40] kenvandine, ah ok is that as it hands over to the downloader thing? [17:41] yeah [17:41] we've seen that on some images from google images [17:41] the download url doesn't include the extension [17:41] kenvandine, firefox figures out the real filename with an extension when going to the url ... [17:41] or a proper filename [17:42] kenvandine, assume it is sent in the http header? [17:42] we get something like "image" from as the filename [17:42] yeah, not sure [17:42] Elleo knows the details [17:42] kenvandine, guess we need to hear from the browser guys === chihchun is now known as chihchun_afk === boiko_ is now known as boiko [19:32] 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] Letozaf_: hmm that is one of the custom C++ plugins for clock app [19:45] Letozaf_: if you look at README.developers, it will show how to build the plugin [19:45] nik90, how do I install or get it ? [19:45] Letozaf_: once you do that you should be able to run the clock app [19:46] nik90, sorry didn't read the line before my answer... thanks [19:47] 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] nik90, ok [19:55] nik90, I got the libtimezone.so but where do I have to copy it ? [19:56] Letozaf_: I am not sure, normally qtcreator knows where the .so library file [19:57] Letozaf_: what happens when you run autopilot run ubuntu_clock_app ? [19:57] nik90, I got the same error [19:57] nik90, let me past the output [19:58] nik90, http://paste.ubuntu.com/7843705/ [19:58] nik90, line 54 [19:59] Letozaf_: can you revert the merge and work with the old rev? [19:59] nik90, sure [19:59] Letozaf_: I haven't changed anything alarm wise for the past few revisions. So it should be fine. [19:59] Letozaf_: I will need to figure this out with balloons about what to change in the cmake files [20:00] nik90, ok no problem [20:01] nik90, will the reboot have native code? [20:01] balloons: it already has two c++ plugins [20:02] I should ask differently.. are the plugins external? [20:02] i you have an external plugin, you need to package it and the tests will need it as a depends [20:03] balloons: external? Its part of the clock app. So no separate packages for the c++ plugins [20:03] 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] balloons: its part of the same project [20:03] I might be failing to speak in the proper terms [20:03] balloons: Letozaf_ compiled it using cmake .. && build [20:03] balloons: no I think I am not that familiar with this stuff :) [20:03] I'll have to actually look at it I guess [20:04] balloons: I used the App with QML Extension Library template from qtcreator if that makes sense [20:05] nik90, sadly that doesn't help me personally.. certainly not without looking, hah [20:06] 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] anyways, remind me to have a look.. I can't do it at the moment. cmake requires real brainpower [20:06] balloons: hehe [20:06] balloons: let me know when you want to tackle this. I will tag along [20:07] perhaps this makes a good friday night activity [20:07] I'm so crazy [20:07] :D [20:07] balloons, :D [20:21] anyone here has an idea for a name for a tower defense game? [20:22] 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] 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] mzanetti, yeah, it's one of my longer term goals [20:24] provide some general purpose level loading and user saving of levels [20:24] how would you need the data in the end? Is there some existing data structure already which needs to be filled? [20:24] abstracting as much data out of the code as possible [20:25] mzanetti, those are the things i don't know much about... [20:25] 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] o [20:30] 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] right [20:30] like, "backgroundImage", "enemyCount", whatever [20:30] a model holding a list of all existing levels [20:31] and then the Game {} object maybe a property currentLevel [20:31] to change level and get current level's properties [20:31] we have a currentScene [20:31] and the levels would be scenes [20:31] ah [20:31] we also have a tiled map branch in the works [20:31] * mzanetti looks up Scene docs [20:31] to load scenes from tiled maps [20:32] yeah well, in the end it doesn't matter what it is... [20:32] just holds some strings for urls to image files and integers for game stuff [20:32] something like that I'd imagine [20:32] just something to make it easier for game developers to create cool games [20:33] 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] so this could be parsed in a generic way, reading all properties instead of the predefined I have here [20:34] yeah [20:34] probably coordinates too, etc [20:34] and then building up the model holding all this stuff [20:35] would need to do something with bacon2d to find out how it works [20:35] mzanetti, cool, i'd love input and/or help :) [20:36] we hang out in #bacon2d too :) [20:36] wanted to do a simple tanks game anyways when the current projectCount decreases again [20:37] cool! [20:37] so... I'm still looking for name for the tower defense game [20:37] :) [20:37] no ideas off hand... sorry :) === salem_ is now known as _salem === renato is now known as Guest43905 [22:43] balloons: looks like I've got the tests running on the desktop with a VM setup; thanks for the help! [23:01] 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:02] Launchpad bug 1205355 in ubuntu-download-manager "Content-Disposition is not used to get the file name" [Medium,In progress] [23:05] Elleo, hmmm because i *think* this is stopping mediascanner2 picking up the file as it doesn't have an extension [23:06] ...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] 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] (using qt's mimetype detection and extension mapping) [23:07] 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] unless there is a way in QML... [23:08] 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] 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] Elleo, ok thanks which IRC channels does he hang around on? [23:08] but I know mandel has a lot on his plate already, so it just might not be feasible [23:09] I think he's usually around on #ubuntu-touch [23:09] Elleo, i can add music-app as also affects and explain the situation, so that it is documented if u want? [23:09] ahayzen__: yeah, that'd be good [23:10] 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] ahayzen__: okay, great [23:10] 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] Elleo, thanks for ur help :) ... we'll get webbrowser -> music-app working eventually :) [23:10] no worries :) [23:10] Elleo, yeah i'm in the UK as well [23:11] 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] yeah, that'd be nice