/srv/irclogs.ubuntu.com/2014/06/12/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
mihirGood Morning :)05:01
pate__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?05:11
=== Saviq is now known as Saviq|QtCS
=== chriadam is now known as chriadam|away
JamesTaitGood morning all; happy Loving Day! :-D09:08
=== MacSlow is now known as MacSlow|lunch
=== ara is now known as Guest77001
=== _salem is now known as salem_
nik90dpm: ping12:22
dpmhi nik9012:23
dpmnik90, wow, you've been rocking with the app dev summary!12:23
nik90dpm: hey, thnx :)12:23
nik90dpm: can you fill in the web app session since I couldn't attend it12:23
dpmnik90, sure12:24
nik90dpm: one more thing12:24
nik90did you have success with running the reminders app on the emulator?12:24
nik90have 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 not12:24
dpmnik90, yes, and yes :)12:24
nik90oh cool12:25
=== MacSlow|lunch is now known as MacSlow
nik90dpm, zbenjamin: hey I just got the new clock app running on the x86 emulator!12:44
dpmnice :)12:44
nik90dpm, zbenjamin: The animations looks so smooth!12:44
dpmreally cool12:44
nik90dpm: 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
dpmnik90, how do you deploy it, just with the Play button? Or via a click package?12:45
nik90dpm: 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
nik90dpm: since I can see a shortcut in the app scope when I search for clock12:46
dpmnik90, 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
nik90dpm: ah okay...I will try the install application on device as well.12:48
popeydpm: 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 videos12:50
popeytutorial style12:50
nik90dpm: 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 up12:50
popeybut short, 5 min each.. one for kits, one for emulator etc, and edit them so they are nice and fast.12:50
popeyfor the attentions-span deprived12:51
dpmpopey, indeed, I've thought of that myself too, I like the idea12:51
nik90dpm, 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:55
dpmnik90, yes, but I'd like to get the cmake in shape first, so that we don't have to change the packaging afterwards12:56
dpmI'll see if I can look at the cmake rules for the new clock tomorrow12:56
nik90dpm, 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 mins12:56
popeydebs on devices isn't wise12:56
popeyclicks are.12:56
popeyI'd recommend we change the generated deb package name for old clock to something else. clock-legacy or clock-classic or whatever12:57
popeyand then generate a new one which replaces the old one, in the ppa12:57
nik90popey: 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
popeya ppa for use on phone?12:57
nik90yes12:58
nik90popey: I guess similar to the ci-train ppa that we test on devices12:58
popeythats going to be painful for designers to do12:59
nik90popey: ok, I will let them know in the email then. I will also forward that entire thread to you as well for background details.12:59
popeynik90: 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:05
nik90popey: ok..can the ppa installation of packages be possible in less than 5 mins with a minimum effort?13:06
popeyyes, it's not that hard. 4 lines in a script.13:06
nik90awesome13:06
popeymake writable, reboot, add ppa, update, install apps, reboot.13:06
oSoMoNpopey, nik90: what’s up with the clock app? can’t be made a click app?13:09
popeynothing ☻13:09
popeyignore me13:09
nik90oSoMoN: no, the clock app can be a click or deb. we are flexible.13:10
nik90oSoMoN: 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 go13:10
oSoMoNnik90, it’ll be easier for designers only if every single app they want to test is a deb in that PPA13:13
nik90oSoMoN: that's fine..in that case, we will provide the clock app as a deb in that PPA you set up13:13
nik90oSoMoN: 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
oSoMoNnik90, ok, I’ll look into setting up that PPA this afternoon13:14
nik90oSoMoN: thnx13:14
oSoMoNnik90, should we use clock-app’s trunk, or another devel branch?13:15
nik90oSoMoN: another devel branch..https://code.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/utopic-3.013:16
t1mpdo we have any concept of a repository for a set of click packages?13:16
oSoMoNnik90, ok13:16
oSoMoNnik90, there doesn’t seem to be a debian/ directory in that branch13:17
t1mpthe click packages can just be downloaded and installed, even easier than adding a ppa13:17
nik90oSoMoN: yeah, me and david (dpm) will try setting it by next week13:17
oSoMoNt1mp, sure, for apps that allow it, but webbrowser-app isn’t click, for example13:17
nik90oSoMoN: this is the clock app reboot so we are still setting up the packaging at the moment13:18
t1mpoSoMoN: why not?13:18
oSoMoNt1mp, and we’re looking at providing daily builds of various apps for the designers to test and provide rapid feedback13:18
t1mpsorry if I'm asking for something obvious, I don't have experience with packaging13:18
t1mpoSoMoN: 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
oSoMoNt1mp, sure, but you already have a staging PPA, don’t you?13:19
t1mpyes, true13:20
oSoMoNI’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 time13:21
t1mpok13:21
popeyoSoMoN: why confidential?13:25
dpm_nik90, are you using U1db to store clock settings?13:41
ahayzendpm_, 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 diff13:44
dpm_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
dpm_that was really useful, thanks :)13:45
ahayzendpm_, cool :)13:45
nik90dpm_: yes I am using u1db for the whole clock app..any permanent storage in clock is u1db13:46
dpm_cool13:48
nik90ahayzen: ready for the hangout?13:51
nik90ahayzen: i am a bit unprepared for this session13:51
ahayzennik90, ooo coreapps hangout?13:51
nik90ahayzen: yes13:51
ahayzennik90, hah same gimme a sec13:51
rpadovanii'm in :-)13:52
zbenjaminnik90: stop hacking the desktop file, the deploying is just a hack for now, it copies the desktop file over. That will change soon13:58
=== kenvandine_ is now known as kenvandine
nik90zbenjamin: ah ok14:46
mihirnik90: could you share hangout URL15:03
nik90mihir: https://plus.google.com/hangouts/_/hoaevent/AP36tYfd-4l0TnfUpXycvivye07CvjP81uc_PJezoAyJth2ZC0csVg?authuser=0&hl=en15:04
nik90mihir: join #ubuntu-uds-appdev-115:04
rickspencer3kenvandine, sorry I missed the beginning of your session15:09
kenvandinerickspencer3, no worries :)15:09
rickspencer3can you link me to docs to get started with bacon and that editor things?15:09
kenvandinerickspencer3, API docs are at http://bacon2d.com/docs15:14
kenvandineand the example code can be found in the github project15:15
kenvandinethe API docs are really new... like they didn't exist before last week :)15:15
rickspencer3thanks kenvandine15:15
rickspencer3as soon as I get through these calls I am going to make a little activity15:15
kenvandinepreparing for today's presentation was a good motivation to write docs :)15:15
rickspencer3I think just a fish tank where fish float around15:15
rickspencer3and maybe you feed them15:15
kenvandineyeah, should be a fun place to start :)15:16
=== gatox is now known as gatox_lunch
rickspencer3kenvandine, ok, starting now :)15:25
kenvandinerickspencer3, i just pushed the car demo to lp:~ken-vandine/+junk/bacon2d-car-demo15:29
kenvandinerickspencer3, the toughest thing is you'll need to include the built bacon2d plugin in your click package, to run it on the device15:31
kenvandinesince it isn't part of the click framework15:31
rickspencer3kenvandine, right15:31
rickspencer3are there instructions for how to do that?15:31
kenvandinenot really... basically create a Bacon2D dir in the root dir of your project15:32
kenvandineand put the arm build of the plugin in it15:32
kenvandinealong with the qmldir file15:32
kenvandineand add a -I .15:32
kenvandineto the exec line of the desktop file15:33
justCarakasis that documentation also available on the site ?15:35
justCarakaskenvandine ^15:35
kenvandinejustCarakas, nope15:37
kenvandinehttps://launchpad.net/~ken-vandine/+archive/crack15:37
kenvandinealso has utopic packages for x8615:37
kenvandinerickspencer3, ^^15:37
kenvandineto ease local development15:37
=== Saviq|QtCS is now known as Saviq
kenvandinerickspencer3, 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 API15:40
rickspencer3hey kenvandine sorry, I got distracted15:44
rickspencer3starting again now :)15:46
kenvandine:-D15:46
rickspencer3kenvandine, so, what's the basic flow?15:46
rickspencer3I create a QML project15:46
rickspencer3first?15:46
kenvandinei got distracted from writing games to work on a game engine :)15:46
kenvandineyeah15:46
kenvandinetop level container is "Game"15:47
kenvandineadd a Scene to that15:47
rickspencer3kenvandine, but how do I include the bacon lib?15:47
kenvandineand set currentScene: idOfScene in Game15:47
kenvandineon your desktop?  just install the package :)15:47
rickspencer3I made my QML Project, so how do I set it up so I can import import Bacon2D 1.015:48
rickspencer3sudo apt-get install bacon ?15:48
kenvandinefrom my ppa15:48
kenvandineqtdeclarative5-bacon2d0.115:48
kenvandinei think15:48
kenvandineqtdeclarative5-bacon2d1.015:48
kenvandinerickspencer3, i'm uploading a new snapshot now, but probably won't affect you15:49
kenvandinei broke API in a couple places while preparing the docs and presentation for today :)15:49
rickspencer3kenvandine, can you tell me specifically the ppa to install?15:49
kenvandinehttps://launchpad.net/~ken-vandine/+archive/crack15:49
kenvandineguess you missed it earlier15:50
rickspencer3ah15:50
rickspencer3no, just didn't understand what it was :)15:50
kenvandinex86 only15:50
kenvandine:-D15:50
kenvandineare you utopic or trusty?15:50
rickspencer3kenvandine, utopic15:50
rickspencer3but have not updated in a couple of days15:50
kenvandinethat's fine15:51
kenvandinejust wanted to make sure you wouldn't get the trusty build15:51
kenvandinethat is a bit older15:51
* rickspencer3 drums fingers15:52
kenvandineone thing that isn't in the docs yet, but will be important for a click package15:53
kenvandineyou need to set gameName on the Game component15:53
kenvandineit's like applicationName in the MainView15:53
kenvandineor you could use a MainView outside of the Game component15:53
rickspencer3kenvandine, W: Failed to fetch https://launchpad.net/~ken-vandine/+archive/crack/dists/utopic/main/binary-i386/Packages  HttpError40415:55
rickspencer3:(15:55
rickspencer3oops15:55
rickspencer3W: Failed to fetch https://launchpad.net/~ken-vandine/+archive/crack/dists/utopic/main/binary-amd64/Packages  HttpError40415:55
kenvandineweird...15:56
* rickspencer3 tries again15:56
kenvandineor just grab the deb :)15:56
kenvandinehttps://launchpad.net/~ken-vandine/+archive/crack/+files/qtdeclarative5-bacon2d1.0_0.1~git20140605_amd64.deb15:56
rickspencer3kenvandine, ok, I got the sample code from working16:01
rickspencer3so, here I go ;)16:01
kenvandinecool!16:01
kenvandine:-D16:01
kenvandinerickspencer3, only advice i really have is don't try to anchor an ImageLayer :)16:01
rickspencer3noted :)16:02
kenvandineit gets really unhappy on geometry changes...16:02
kenvandinethe reason the QSceneGraph port is a high priority :)16:02
kenvandineand i would recommend adding the DebugDraw overlay while developing16:03
kenvandinedon't enable it all the time, but it is really helpful in seeing why your fixtures aren't doing what you want16:03
kenvandinesince they aren't visual items, it isn't obvious when they are out of whack16:04
rickspencer3kenvandine, does Sprite have support for sprite strips?16:08
kenvandinerickspencer3, you mean like a SpriteSheet?16:08
kenvandineif so yes16:08
rickspencer3yeah16:08
kenvandineoh yeah... make sure the Bacon2D import is after the QtQuick import16:08
kenvandinewhich is common anyway... but otherwise you'll get the wrong Sprite component :)16:09
kenvandinefor bacon2d, you add a Sprite and SpriteAnimations to the sprite16:09
kenvandinethe animation has source, which is the sprite sheet16:09
kenvandineand frames is how many frames to split it into16:09
=== 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
Max_TitherHello. 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:35
Max_TitherPing23:58

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