=== chriadam|away is now known as chriadam [05:01] Good Morning :) [05:11] hello! I'm currently in a hackathon trying to create an HTML5 app that can backup your contacts. I'm trying to use ContentHub to get that information but It's really uncler to me how that works. Is there any example somewhere? === Saviq is now known as Saviq|QtCS === chriadam is now known as chriadam|away [09:08] Good morning all; happy Loving Day! :-D === MacSlow is now known as MacSlow|lunch === ara is now known as Guest77001 === _salem is now known as salem_ [12:22] dpm: ping [12:23] hi nik90 [12:23] nik90, wow, you've been rocking with the app dev summary! [12:23] dpm: hey, thnx :) [12:23] dpm: can you fill in the web app session since I couldn't attend it [12:24] nik90, sure [12:24] dpm: one more thing [12:24] did you have success with running the reminders app on the emulator? [12:24] have the click packages bug fixes landed? I noticed some click pakage updates for my trusty, but wasn't sure if that fixed the issue or not [12:24] nik90, yes, and yes :) [12:25] oh cool === MacSlow|lunch is now known as MacSlow [12:44] dpm, zbenjamin: hey I just got the new clock app running on the x86 emulator! [12:44] nice :) [12:44] dpm, zbenjamin: The animations looks so smooth! [12:44] really cool [12:45] dpm: although I am currently hacking the manifest.json and desktop file. After it deploying to the device it runs, but after that I cannot run it again from the emulator. I need to redeploy to keep testing though. [12:45] nik90, how do you deploy it, just with the Play button? Or via a click package? [12:46] dpm: via the play button..but since it is a cmake packages, doesn't it create a click package, deploy it and then install on the emulator? [12:46] dpm: since I can see a shortcut in the app scope when I search for clock [12:48] nik90, no, it doesn't. There are two ways to deploy right now: unconfined (Play button, just copies everything over to /home/phablet) and confined (Build > Ubuntu > Install application on device - this creates a click and installs it, but you have to start the app manually) [12:48] dpm: ah okay...I will try the install application on device as well. [12:50] dpm: once UOS is over and SDK stabilises (and we have time) I'd love for us to re-make your SDK / Emulator session as a set of short videos [12:50] tutorial style [12:50] dpm: the install application on device doesn't work..when I click on the installed click package, it shows me the qml file choose dialog similar to what you see on the desktop! so the desktop file is definitely messed up [12:50] but short, 5 min each.. one for kits, one for emulator etc, and edit them so they are nice and fast. [12:51] for the attentions-span deprived [12:51] popey, indeed, I've thought of that myself too, I like the idea [12:55] dpm, popey: would it be possible to create a debian package of the new clock app (with the plugin being built automatically) on a daily basis? [12:56] nik90, yes, but I'd like to get the cmake in shape first, so that we don't have to change the packaging afterwards [12:56] I'll see if I can look at the cmake rules for the new clock tomorrow [12:56] dpm, popey: the design team is requesting clock, web browser, telephony and camera to be available either as a click or deb package that *they* can test on their devices within 5 mins [12:56] debs on devices isn't wise [12:56] clicks are. [12:57] I'd recommend we change the generated deb package name for old clock to something else. clock-legacy or clock-classic or whatever [12:57] and then generate a new one which replaces the old one, in the ppa [12:57] popey: yes, but the web browser does not have click packaging yet apparently...so olliver tilloy was thinking of a separate ppa for it. [12:57] a ppa for use on phone? [12:58] yes [12:58] popey: I guess similar to the ci-train ppa that we test on devices [12:59] thats going to be painful for designers to do [12:59] popey: ok, I will let them know in the email then. I will also forward that entire thread to you as well for background details. [13:05] nik90: well, if oSoMoN is willing to set it up and we can feed clock into it, and jouni is happy then I'm happy. [13:06] popey: ok..can the ppa installation of packages be possible in less than 5 mins with a minimum effort? [13:06] yes, it's not that hard. 4 lines in a script. [13:06] awesome [13:06] make writable, reboot, add ppa, update, install apps, reboot. [13:09] popey, nik90: what’s up with the clock app? can’t be made a click app? [13:09] nothing ☻ [13:09] ignore me [13:10] oSoMoN: no, the clock app can be a click or deb. we are flexible. [13:10] oSoMoN: so if you set up a daily PPA for the browser, we can feed the clock app into that ppa as well which would make the designer's life easier to install everything in one go [13:13] nik90, it’ll be easier for designers only if every single app they want to test is a deb in that PPA [13:13] oSoMoN: that's fine..in that case, we will provide the clock app as a deb in that PPA you set up [13:14] oSoMoN: I am guessing we will have to also request the camera and telephony app devs to also provide their apps as deb which I think they currently do. [13:14] nik90, ok, I’ll look into setting up that PPA this afternoon [13:14] oSoMoN: thnx [13:15] nik90, should we use clock-app’s trunk, or another devel branch? [13:16] oSoMoN: another devel branch..https://code.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/utopic-3.0 [13:16] do we have any concept of a repository for a set of click packages? [13:16] nik90, ok [13:17] nik90, there doesn’t seem to be a debian/ directory in that branch [13:17] the click packages can just be downloaded and installed, even easier than adding a ppa [13:17] oSoMoN: yeah, me and david (dpm) will try setting it by next week [13:17] t1mp, sure, for apps that allow it, but webbrowser-app isn’t click, for example [13:18] oSoMoN: this is the clock app reboot so we are still setting up the packaging at the moment [13:18] oSoMoN: why not? [13:18] t1mp, and we’re looking at providing daily builds of various apps for the designers to test and provide rapid feedback [13:18] sorry if I'm asking for something obvious, I don't have experience with packaging [13:19] oSoMoN: hmm.. for uitk there is no click packages. Could we add uitk debs to the ppa as well when we need them to review something? [13:19] t1mp, sure, but you already have a staging PPA, don’t you? [13:20] yes, true [13:21] I’d rather have a lightweight, confidential PPA that incurs no maintenance cost, than stuff the entire app ecosystem there and have to deal with breakages all the time [13:21] ok [13:25] oSoMoN: why confidential? [13:41] nik90, are you using U1db to store clock settings? [13:44] dpm_, FYI music-app has a branch for storing recent items in U1db, but sorting doesn't work yet so it can't land https://code.launchpad.net/~andrew-hayzen/music-app/u1db-recent-list ... look at the changes in #466 for the diff [13:45] ahayzen, yeah, I know, I used your notes on the Trello board to check for known issues and bugs while preparing my u1db demo :) [13:45] that was really useful, thanks :) [13:45] dpm_, cool :) [13:46] dpm_: yes I am using u1db for the whole clock app..any permanent storage in clock is u1db [13:48] cool [13:51] ahayzen: ready for the hangout? [13:51] ahayzen: i am a bit unprepared for this session [13:51] nik90, ooo coreapps hangout? [13:51] ahayzen: yes [13:51] nik90, hah same gimme a sec [13:52] i'm in :-) [13:58] nik90: stop hacking the desktop file, the deploying is just a hack for now, it copies the desktop file over. That will change soon === kenvandine_ is now known as kenvandine [14:46] zbenjamin: ah ok [15:03] nik90: could you share hangout URL [15:04] mihir: https://plus.google.com/hangouts/_/hoaevent/AP36tYfd-4l0TnfUpXycvivye07CvjP81uc_PJezoAyJth2ZC0csVg?authuser=0&hl=en [15:04] mihir: join #ubuntu-uds-appdev-1 [15:09] kenvandine, sorry I missed the beginning of your session [15:09] rickspencer3, no worries :) [15:09] can you link me to docs to get started with bacon and that editor things? [15:14] rickspencer3, API docs are at http://bacon2d.com/docs [15:15] and the example code can be found in the github project [15:15] the API docs are really new... like they didn't exist before last week :) [15:15] thanks kenvandine [15:15] as soon as I get through these calls I am going to make a little activity [15:15] preparing for today's presentation was a good motivation to write docs :) [15:15] I think just a fish tank where fish float around [15:15] and maybe you feed them [15:16] yeah, should be a fun place to start :) === gatox is now known as gatox_lunch [15:25] kenvandine, ok, starting now :) [15:29] rickspencer3, i just pushed the car demo to lp:~ken-vandine/+junk/bacon2d-car-demo [15:31] rickspencer3, the toughest thing is you'll need to include the built bacon2d plugin in your click package, to run it on the device [15:31] since it isn't part of the click framework [15:31] kenvandine, right [15:31] are there instructions for how to do that? [15:32] not really... basically create a Bacon2D dir in the root dir of your project [15:32] and put the arm build of the plugin in it [15:32] along with the qmldir file [15:32] and add a -I . [15:33] to the exec line of the desktop file [15:35] is that documentation also available on the site ? [15:35] kenvandine ^ [15:37] justCarakas, nope [15:37] https://launchpad.net/~ken-vandine/+archive/crack [15:37] also has utopic packages for x86 [15:37] rickspencer3, ^^ [15:37] to ease local development === Saviq|QtCS is now known as Saviq [15:40] rickspencer3, once i fill in the gaps on the API docs i'm going to start writing tests, once we have some level of test coverage i'll commit to a stable API [15:44] hey kenvandine sorry, I got distracted [15:46] starting again now :) [15:46] :-D [15:46] kenvandine, so, what's the basic flow? [15:46] I create a QML project [15:46] first? [15:46] i got distracted from writing games to work on a game engine :) [15:46] yeah [15:47] top level container is "Game" [15:47] add a Scene to that [15:47] kenvandine, but how do I include the bacon lib? [15:47] and set currentScene: idOfScene in Game [15:47] on your desktop? just install the package :) [15:48] I made my QML Project, so how do I set it up so I can import import Bacon2D 1.0 [15:48] sudo apt-get install bacon ? [15:48] from my ppa [15:48] qtdeclarative5-bacon2d0.1 [15:48] i think [15:48] qtdeclarative5-bacon2d1.0 [15:49] rickspencer3, i'm uploading a new snapshot now, but probably won't affect you [15:49] i broke API in a couple places while preparing the docs and presentation for today :) [15:49] kenvandine, can you tell me specifically the ppa to install? [15:49] https://launchpad.net/~ken-vandine/+archive/crack [15:50] guess you missed it earlier [15:50] ah [15:50] no, just didn't understand what it was :) [15:50] x86 only [15:50] :-D [15:50] are you utopic or trusty? [15:50] kenvandine, utopic [15:50] but have not updated in a couple of days [15:51] that's fine [15:51] just wanted to make sure you wouldn't get the trusty build [15:51] that is a bit older [15:52] * rickspencer3 drums fingers [15:53] one thing that isn't in the docs yet, but will be important for a click package [15:53] you need to set gameName on the Game component [15:53] it's like applicationName in the MainView [15:53] or you could use a MainView outside of the Game component [15:55] kenvandine, W: Failed to fetch https://launchpad.net/~ken-vandine/+archive/crack/dists/utopic/main/binary-i386/Packages HttpError404 [15:55] :( [15:55] oops [15:55] W: Failed to fetch https://launchpad.net/~ken-vandine/+archive/crack/dists/utopic/main/binary-amd64/Packages HttpError404 [15:56] weird... [15:56] * rickspencer3 tries again [15:56] or just grab the deb :) [15:56] https://launchpad.net/~ken-vandine/+archive/crack/+files/qtdeclarative5-bacon2d1.0_0.1~git20140605_amd64.deb [16:01] kenvandine, ok, I got the sample code from working [16:01] so, here I go ;) [16:01] cool! [16:01] :-D [16:01] rickspencer3, only advice i really have is don't try to anchor an ImageLayer :) [16:02] noted :) [16:02] it gets really unhappy on geometry changes... [16:02] the reason the QSceneGraph port is a high priority :) [16:03] and i would recommend adding the DebugDraw overlay while developing [16:03] don't enable it all the time, but it is really helpful in seeing why your fixtures aren't doing what you want [16:04] since they aren't visual items, it isn't obvious when they are out of whack [16:08] kenvandine, does Sprite have support for sprite strips? [16:08] rickspencer3, you mean like a SpriteSheet? [16:08] if so yes [16:08] yeah [16:08] oh yeah... make sure the Bacon2D import is after the QtQuick import [16:09] which is common anyway... but otherwise you'll get the wrong Sprite component :) [16:09] for bacon2d, you add a Sprite and SpriteAnimations to the sprite [16:09] the animation has source, which is the sprite sheet [16:09] and frames is how many frames to split it into === gatox_lunch is now known as gatox === iBelieve_ is now known as iBelieve === salem_ is now known as _salem === karni is now known as Guest17239 === _salem is now known as salem_ === Guest17239 is now known as karni === boiko_ is now known as boiko === salem_ is now known as _salem [23:35] Hello. I was wondering if anyone was familiar as to how to pass parameters when using pagestack.push(). I had found some information online, but I could not make sense of it. [23:58] Ping