/srv/irclogs.ubuntu.com/2015/07/09/#ubuntu-app-devel.txt

ahoneybunanyone know why my pages are overlaping the Header?01:34
ahoneybunI'm using PageStack01:34
ahoneybunthe reddit page is private? https://www.reddit.com/r/UbuntuPhone/01:38
ahoneybunhttps://www.youtube.com/watch?v=92voAhlZeHY01:45
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
dholbachgood morning06:47
akiva-thinkpadhello all07:00
davidcalleGood morning o/07:17
akiva-thinkpado/07:17
akiva-thinkpadanyone know who the ubuntu-file-manager app developer is? I know popey worked on it. I have a patch that adds thumbnails for jpegs, png's, and gifs, but autopilot is failing 10 tests07:18
akiva-thinkpadhowever, autopilot is failing 10 tests even without my changes07:18
=== chriadam is now known as chriadam|away
ohmygood morning all08:08
ohmyIs there anyway from QML/C++ (without compositor) to define on wich display (monitor) we can display a Window ?08:09
ohmylets say i have monitor1 and monitor2 and i want programatically to show a Windows on one of them08:12
mcphailzubozrout: hi08:30
zubozroutOk, I am here mcphail08:30
zubozroutmcphail: Hi :008:30
zubozrout* :)08:30
mcphail:) - how much experience do you have making .click packages?08:30
zubozroutmcphail: practically zero, I only made some stuff using the SDK08:31
mcphailzubozrout: we don't have a working sdl template for the SDK yet, but that doesn't matter. Building and creating a .click is easy. SturmFlut is working on the template08:32
SturmFlutmcphail: Well, "working" is a bit much to say ;)08:32
zubozroutWell, it would be nice to have it documented at least.08:33
mcphailSturmFlut: :)08:33
mcphailzubozrout: the first thing is to set up a build environment. Give me a sec and I'll find a link08:33
=== dbarth_ is now known as dbarth
mcphailzubozrout: this is essential reading: https://developer.ubuntu.com/en/blog/2015/04/13/inner-workings-sdk/08:34
mcphailzubozrout: getting a chroot set up takes time, but it is very automated and foolproof08:35
zubozroutmcphail: ok, thanks :)08:35
mcphailzubozrout: the next thing you have to do is get a version of SDL which works with Mir. See: https://raw.githubusercontent.com/mcphail/ubuntu-touch-sdl-template/master/lib/src/how_to_build_sdl_for_ubuntu_phone.txt08:36
mcphailzubozrout: you can take the SDL libs from that github repo. They "wrok"08:36
mcphail*work08:36
zubozroutmcphail: All right, that is fine to know. So it is not just as simple as apt-get install somesdlstuff and then running it.08:37
mcphailzubozrout: not quite, but when you have the framework set up is is simple08:37
mcphailzubozrout: the difficulty is getting the first steps done08:38
mcphailzubozrout: you can then compile or download the ARM binary for your SDL app and roll it in a .click package08:38
zubozroutmcphail: well, the app has to be compiled with the above SDL libs, yes.08:38
mcphailzubozrout: you can compile _against_ any SDL2 libs, but you have to roll that specific version into your .click08:39
mcphailzubozrout: that means you can take any precompiled binary from the Ubuntu repos, but roll it with my SDL208:40
zubozroutmcphail: Ah :), ok, thanks :)08:40
mcphailzubozrout: of course, the biggest problem is that SDL2 still doesn't quite work...08:40
mcphailzubozrout: there are issues with coulours, transparency and rotation which are still getting smoothed out08:41
mcphailbschaefer is on the case08:41
dubstar_04popey what happened to the ubuntu update podcast?08:42
zubozroutmcphail: Yes, I know of some issues. And what will happen once click is replaced with snappy packages on Ubuntu?08:43
mcphailzubozrout: not much difference08:43
mcphailzubozrout: for these purposes, click and snappy are almost identical08:43
mcphail(i think)08:44
zubozroutmcphail: ok :)08:44
mcphailzubozrout: the hassle with building a .click is you have to bundle all the needed libraries into the click itself. Snappy will be the same08:44
zubozroutmcphail: Well, thank you very much for the info. I'll read it and try it - and then ask here again if I bump into any problem08:45
mcphailzubozrout: enjoy! - it is easier than it looks08:45
zubozroutmcphail: Thanks :), you were very helpful.08:45
mivoligomzanetti: ping :)09:54
SturmFlutAn Ubuntu phone will launch in India!09:58
mivoligomzanetti: (or anyone who knows) what I understand in OTA-5 there will be full shell rotation and if I want to force for example portrait orientation for my app, I need to specify that in .desktop file. (thanks popey) Will there be an option to specify app orientation when the app is already running?09:59
=== dholbach_ is now known as dholbach
akiva-thinkpadSturmFlut: The meizu?10:10
akiva-thinkpadhttp://i.imgur.com/TZPiI8B.png << :)10:10
SturmFlutakiva-thinkpad: Most likely, don't think it would make much sense to assume it's bq. We already know that Meizu wants to launch the MX4 with Flyme in India.10:12
akiva-thinkpadSturmFlut: lucky :/10:12
akiva-thinkpadI still don't have one.10:12
=== greyback__ is now known as greyback
akiva-thinkpadnothing in North America~10:12
akiva-thinkpadHopefully by the end of the year!10:13
SturmFlutakiva-thinkpad: Don't really think so, there hasn't been any committment from a manufacturer for the US market yet. And porting to a new device takes time.10:21
akiva-thinkpadSturmFlut: Well it will come here eventually. No reason to delay it~10:22
zubozroutSturmFlut: And what about MX5 with Ubuntu? I suppose no one wants to spread the word now, but I would soo much love to see it with Ubuntu. I wanted to purchase MX4 but MX5 is better :), more bleeding-edge.10:23
akiva-thinkpadis it that much better :o10:24
akiva-thinkpad?10:24
zubozroutakiva-thinkpad: Not to mention 64bit processor - I wanted to have a phone with that for a long time and if MX5 was available with Ubuntu I wouldn't have to wait another round :).10:27
zubozroutakiva-thinkpad: so I think it is great, in my eyes10:28
akiva-thinkpad:O But does it work in Canada?!10:28
zubozroutakiva-thinkpad: Why wouldn't it?10:28
akiva-thinkpadzubozrout: north american has different bands than the rest of the world10:32
akiva-thinkpadmx4 does not have our band.10:32
akiva-thinkpadbest we can get is 2g10:32
zubozroutakiva-thinkpad: Well, I know there is a problem with LTE and MX4 + MX5 in the Czech Republic (where I live), so with the supported frequencies I can only have LTE in the capital (Prague) but almost nowhere else although I have LTE with my Nexus 7 deb tablet all over the country.10:34
akiva-thinkpadlucky europeans :P10:35
zubozroutakiva-thinkpad: Well, maybe lucky europeans except for the Czech Republic. I think Canada has better (nicer) mobile carriers than are here.10:37
akiva-thinkpadWe have wind, thats it10:37
=== chihchun_afk is now known as chihchun
akiva-thinkpadRogers... oh my blood pressure...10:37
akiva-thinkpad"What do you mean I owe you $500 ? You cancelled my phone 5 months ago; I couldnt even use it!" Reply:10:38
zubozroutakiva-thinkpad: hmm, and no Vodafone or T-mobile? I know they are in the USA.10:38
akiva-thinkpad"oh no, we just cancelled your service, you still need to pay for your plan"10:39
akiva-thinkpadNo, and the best network in the US is Ting10:39
akiva-thinkpadwhich ironically is from Canada, but can't operate in Canada10:39
zubozroutakiva-thinkpad: lol, well, that's sad. Yep, I heard about Ting, it has pretty nice reviews.10:39
mzanettimivoligo, not in the beginning, but there are plans for such an api10:39
mivoligomzanetti: thanks, is that the rest I said correct?10:40
SturmFlutzubozrout, akiva-thinkpad: At least at the moment there isn't any information regarding the MX5, and Ubuntu also doesn't officially run on 64-bit ARM yet. I've asked about 64-bit ARM, because it would be nice if the Convergence device by bq came with it, but no info.10:41
mzanettimivoligo, yep10:41
akiva-thinkpadSturmFlut: 64bit would just add a bit more speed, and +2gb of ram? or is it different than x86?10:41
mivoligomzanetti: ok, so   "automaticOrientation: false" is no longer supported?10:42
mzanettiexactly10:42
zubozroutSturmFlut: Hmm, well, it sounds like I shouldn't hold my breath if there is no 64bit ARM support yet. So even if MX5 is going to be available with Ubuntu it won't be that soon as I want it to be, right?10:42
SturmFlutakiva-thinkpad: The AArch64 mode of ARMv8 is completely different than ARMv7. It's not an extension, it's a new design.10:43
mivoligomzanetti: btw what about the lock screen, does it rotate as well?10:43
popeymivoligo: haha, no10:43
akiva-thinkpadSturmFlut: sounds complex~10:44
popeymivoligo: https://bugs.launchpad.net/bugs/147160910:44
ubot5Launchpad bug 1471609 in unity8 (Ubuntu) "Cannot unlock phone in landscape" [Critical,Confirmed]10:44
mivoligopopey: :D10:44
mzanetti^^10:45
mivoligomzanetti: are you planning to update MvsM any time soon?10:47
Mirvzbenjamin: yeah, fun, SDK works just fine as long as I don't touch the laptop's internal touchpad :S10:48
mzanettimivoligo, probably yes10:51
mivoligomzanetti: I'll try to update that level 23 and push it in the evening then10:52
mzanettiok10:52
SturmFlutakiva-thinkpad: Okay, I was wrong I hear, the bq Convergence device should be 64-bit :)10:54
akiva-thinkpadSturmFlut: So the Aquarius that is released is 64bit?10:54
ogra_SturmFlut, who told you that ?10:54
ogra_(then it cant be arm )10:54
zubozroutogra_: akiva-thinkpad ment 64bit arm10:56
akiva-thinkpadWell its all greek to me10:57
akiva-thinkpadhavn't been following hte arm hardware scene.10:57
akiva-thinkpadthe*10:57
ogra_well, thats more a software issue :)10:57
ogra_only about 60% of the phone packages even build on arm64 yet10:57
zubozroutogra_: So it is in works to support arm64?10:58
ogra_the ubuntu archive has arm64 support since ages already ...10:59
akiva-thinkpadmeh, all I care about is autopilot... and why trunk fails for me, but not for jenkins.10:59
ogra_but the packages havent been fixed to build on it ...10:59
ogra_nobody bothered10:59
ogra_partialkly they even have arm64 completely disabled10:59
ogra_getting that fixed and getting arm64 images at all will be quite some developer effort that will draw a lot of manpower11:00
zubozroutogra_: Well, this answers my question about MX5 releasing with Ubuntu :). Sad, I wanted to wait for it even if it meant few months but this sounds like it wont be ready for another year or so.11:02
ogra_zubozrout, well, its not impossible11:02
akiva-thinkpadah I think I figured out why...11:02
ogra_technically everything is there... but i dont see us having the spare manpower to get all the missing pieces in place in time11:03
akiva-thinkpadpopey: import Ubuntu.Components 1.2 << that is the current state right?11:04
akiva-thinkpadthe current version?11:04
akiva-thinkpadbecause jenkins is complaining: file:///usr/share/filemanager/qml/components/FolderListDelegate.qml:19:1: module "Ubuntu.Components" version 1.2 is not installed11:04
akiva-thinkpad     import Ubuntu.Components 1.211:04
popeyakiva-thinkpad: jenkins is running on utopic :(11:05
popeyballoons: when you wake, any more poking we can do to move to vivid?11:05
mivoligomzanetti: one more question: what about forcing screen saver not to show up, is it implemented in OTA-5?11:05
mzanettiyes11:05
akiva-thinkpadpopey: so... just give it a few days?11:05
mivoligomzanetti: \o/11:06
mzanettigoing to drop bigmovingtext from openstore11:06
mzanettimivoligo, you should change your code to not always do "screensaverEnabled: false"11:06
mivoligomzanetti: I'm working right now on the update :)11:07
mzanettibut rather: screensaverEnabled: textAnimation.running && Qt.application.active11:07
mzanettisomething like that would be best imo11:07
zubozroutogra_: I understand, ... but maybe it would be best for me to buy something cheaper than MX4, so BQ ... stick with it for a while and then switch to something better once it is available. And I must agree with SturmFlut that amr64 would be gorgeous for the converfence device.11:07
zubozrout* arm6411:07
mivoligomzanetti: thanks, is it from:  "import QtSystemInfo 5.0"?11:08
akiva-thinkpadoh btw popey, I just discovered your podcast; I love it. Anyways gotta run~ See you all11:09
popeyo/11:09
=== chihchun is now known as chihchun_afk
mcphailHas anyone had any success setting up an emulated environment for comiling ARM binaries on AMD64 (rather than cross-compiling)? Have been trying with debootstrap and qemu-user-static but I am hitting roadblocks. How does the PPA build system achieve this?11:54
=== _salem is now known as salem_
mcphailwhich apt mirror hosts armhf binaries?12:26
ogra_ports.ubuntu.com/ubuntu-ports12:27
mcphailogra_: cheers12:27
popeymcphail: I'm tempted to buy a cheap arm chromebook for doing stuff like this12:29
mcphailpopey: I'm 95.989% of the way to solving it12:29
popey\o/12:29
popeycan you make an image and put it online somewhere? :)12:29
mcphailpopey: yep12:29
popey\o/12:29
mcphailpopey: if it works...12:29
popeywe have faith in you12:29
popeyis it working yet?12:30
popeyetc12:30
mcphailthe "royal" we?12:30
popeyya12:30
popeyrenatu: when you get a moment - https://bugs.launchpad.net/sync-monitor/+bug/1472973  - one of the insiders reported issues syncing12:41
ubot5Launchpad bug 1472973 in sync-monitor "calendar fails to sync google calendar" [Undecided,New]12:41
renatupopey, thanks, I added a comment on the bug report12:54
mcphailpopey: my base image is 693M. Don't think I'm going to be able to host that anywhere useful. Would be faster for anyone to reproduce the build...12:54
popeymcphail: if it's reproducible I can do that and host it12:55
popeyping me the instructions and I'll take a look12:55
mcphailpopey: in channel or in /msg?12:56
popeywhatever :)12:56
popeya paste somewhere or something is fine12:56
mcphailpopey: hokay12:56
popeyta12:57
mcphailpopey: think this covers it - http://paste.ubuntu.com/11848280/ . That should give a base armhf vivid install. Would need to add the development packages etc13:10
popeykk, thanks13:11
mcphailpopey: gzipped base image is about 350MB13:11
mcphailqemu-user-static is a great little invention13:12
popeyya13:14
mcphailIs the Ubuntu-SDK PPA built for ARM?14:20
popeymcphail: the ppa has that enabled, yes14:23
mcphailgood14:23
mcphailIf I don't install the SDK, is the "click" package in the standard repos sufficient to build phone packages?14:26
popeymcphail: I don't always build click packages, but when I do, I use the ppa.14:38
mcphailok, I'll see how I get on14:38
popeyjhodapp: question - we now have the ability for apps to intelligently prevent screen off (e.g. in a game) - how about in mediaplayer - when watchin a video in a browser, I don't want the screen to go off.14:39
popeyis that on your roadmap?14:39
jhodapppopey, the oxide team is actually adding that right now14:43
popeysweet!14:43
=== charles_ is now known as charles
mcphailnemo: ping15:09
nemomcphail: \o/15:22
nemogot it working??15:22
mcphailnemo: need to remind me of the tweaks you want15:22
nemomcphail: set MOBILE flag in build, and delete line 43 of hedgewars/options.inc15:23
mcphailnemo: great. I'm on it15:23
nemocool15:24
* nemo crosses fingers15:24
nemomcphail: just to doublecheck. line 43 is the HWENGINE one ☺15:24
nemosince the desktop frontend expects a separate process right now15:25
nemoer15:25
nemoHWLIBRARY15:25
mcphailCMake Warning: Manually-specified variables were not used by the project: MOBILE - is that a problem?15:25
mcphail(btw, I'm using the source tarball in this chroot rather than the git repo...)15:27
jhodapppopey, here's the MR in fact: https://code.launchpad.net/~justinmcp/oxide/1328494/+merge/26399815:27
nemomcphail: ack15:31
nemosrs?15:31
nemohm15:31
nemowierd...15:31
nemomcphail: checking cmake setup for engine15:32
nemoalso pinging koda15:32
nemomcphail: since we shifted engine to use cmake build it has had more weird issues and a bit more opaque a build process15:33
nemo(like failing to rebuild on code changes ☹ )15:33
mcphailnemo: that's a big problem for a build system...15:35
nemono kidding15:35
nemospent like an hour once trying to figure out why the hell my change wasn't fixing a bug15:36
nemobefore the obv occurred to me15:36
nemowell this is frustrating. I don't see any toggle in CMakeLists.txt for this. might have to manually add it to that file ☹15:37
nemobut let me poke koda about this15:37
nemomcphail: that is, I don't see a add_definitions(-dMOBILE) anywhere15:37
mcphailBah - it has linked against SDL1.2 :(15:37
nemomcphail: only desktop version15:37
nemomcphail: mobile has always built against SDL215:37
nemomcphail: the CMakeLists.txt already has:15:38
nemoif(${SDL_VERSION} VERSION_GREATER 1.3)                                                                                   add_definitions(-dSDL2)15:38
nemoendif()15:39
nemobut SDL2 is enabled if you can set MOBILE15:39
nemohopefully linking is same. seems to be15:39
mcphailnemo: I just used "-DMOBILE=1" as a build flag. Was that the correct way?15:39
nemomcphail: that's for a cmake flag, but I don't see it being passed on to the engine there15:39
nemomcphail: I *thought* our CMakeLists.txt would have relayed it. that's what's annoying me15:40
nemoI'm thinking the lack of mobile devs in past few years has triggered bitrot as koda messed w/ CMake15:40
nemomcphail: you could just add add_definitions(-dMOBILE)  to hedgewars/CMakeLists.txt for now15:41
nemopending consulting w/ him on this15:41
nemomaybe just above add_definitions(-dDEBUGFILE)15:41
nemoon line 20915:41
mcphailnemo: do I need to delete the Makefile after changing CMakeLists.txt?15:43
nemomcphail: should detect the change15:43
nemoif you rerun cmake15:43
nemohell. if you run make15:43
mcphailok :)15:43
nemomcphail: what worries me though, is because this is required, it makes me think the CMakeLists.txt currently has no mobile support. which is bad for linking15:45
nemomcphail: I do hope since we ocassionally screw around with SDL2 that that should work at least ☹15:45
mcphailnemo: I'm going to do a clean build because this is throwing multiple errors15:45
nemofind_package(SDL1or2)15:45
nemohopefully it finds 2 ☺15:45
mcphailnemo: getting stuck with this one: http://paste.ubuntu.com/11849555/ - any ideas? At least (I think) this suggests it is using SDL2...16:24
nemooh good16:24
nemomcphail: that means it is hitting the MOBILE block in the engine which is adding the gles11 unit16:25
nemomcphail: now, in the old android build, a gles11.pp was provieded in project_files/Android-build but ideally we'd get this from ubuntu's package management16:26
nemomcphail: I'm checking to see if you guys do in fact package this anywhere ☺16:26
nemomcphail: otherwise we could toss it into the dir16:26
mcphailok16:26
sheepluvanemo: as I said. I don't have any particular knowledge on the issue. but figured can't hurt to hang out here :P16:26
nemohi sheepluva16:26
nemotrying to coax koda here but apparently hectic day at work for him16:26
nemohum... not finding it anywhere ☹16:28
sheepluva18:26 <@koda> needs gles11 unit16:29
sheepluva18:26 <@koda> should be checked under fpc unit folder16:29
nemosheepluva: the only gles11 unit I have is that android custom one16:29
nemoit binds against     External_library='GLESv1_CM'; {Setup as you need}16:30
nemo    Loadgles11('libGLESv1_CM.so');16:30
nemosheepluva: so those would need changing at a minimum16:30
nemomcphail: hm.. does ubuntu touch need gles11? ☺16:30
nemosheepluva: you know, this kinda surprises me 'cause I thought we were using GLES11 across the board now16:31
mcphailnemo: I honestly don'y know :)16:31
sheepluva{$IFDEF MOBILE}                                                                                                                             {$DEFINE HWLIBRARY}16:32
sheepluva {$DEFINE GLunit:=gles11}                                                                                                                {$DEFINE USE_LANDSCAPE_AMMOMENU}                                                                                                        {$DEFINE USE_TOUCH_INTERFACE}16:32
sheepluva{$ELSE}16:32
nemosheepluva: boooo16:32
nemosheepluva: 1) we got that far already, 2) pastebin 😝16:32
mcphailnemo: off to do some domestic chores for a while. If you get a solution, I'll catch it in the /lastlog16:32
sheepluvadoes the build destination? the ubuntu touch thing? doesn't have regular gl?16:33
nemosheepluva: well ubuntu touch targets mobile devices, so I'm gonna guess GLES is standard on the device. but I had no idea if maybe it had an abstraction layer or something16:33
nemosheepluva: also, I know that MOBILE sets gles11 but I wasn't sure if that was redundant or not16:33
kodahi16:35
nemosorry16:35
nemowell. eyeballing the flag, seems gles11 only impacts our code in extension loading16:38
nemoso. assuming opengl apps normally build on an ubuntu touch, and opengl is available..16:38
nemogonna guess we could maybe remove GLunit:=gles11 and, possibly if it causes a problem on startup, kill the extension loading16:39
nemowe don't use it for anything important anyway16:40
nemovideo recording and 3d rendering16:40
nemomcphail: ok. you mind deleting that line too? ☺16:40
kodamcphail: you mean that you are using full fledged gl unit in fpc ? :o16:43
mr-tthi16:43
mr-tthow can i create a button in qml for ubuntu touch?16:44
nemokoda: well... my problem was that the gles11 stuff seemed custom to android (and maybe iOS)16:45
nemokoda: gles11 isn't provided by the system16:45
nemoso I was hoping we could get away w/ full gl unit16:45
kodano it's custom to *mobile* opengl16:45
kodathere are missing functions between gles11 and gl16:45
nemokoda: I mean gles11.pp is under Android-build16:45
nemokoda: uh. why isn't that reflected in the code?16:46
nemoonly thing that gles11 seems to flag is extension loading16:46
nemoI thought we targeted GLES11 across the board16:46
nemoand that it was a subset of full gl16:46
kodabecause the code uses gles11 which matches gl1.016:46
kodaso it works fine on desktop and amobile16:46
nemokoda: right? thought that's what I was saying16:47
nemokoda: but my point is... if system has gl unit in fpc, then it should just work if gles11 unit is deleted16:49
nemokoda: if it doesn't, because ubuntu touch has phone issues on that front, then will need to adapt the android build unit right?16:49
nemosince I couldn't find an ubuntu package explicitly for it, like, say, fp-unit-gles16:50
kodai don't think so, gles11 comes bundled in the arm fpc package afair16:50
nemooh realllly16:50
nemothen he should not have gotten a build error eh16:50
kodait depends how the fpc pkg is distributed on ubuntu mobile :p16:54
* nemo pokes mcphail 16:56
nemoyou mind checking to see if gles11 is under the fpc tree on your build machine?16:56
nemoor, for that matter, any gl unit at all?16:56
nemothat is, under /usr/lib/fpc/*/units probably16:57
nemokoda: the thing is, I *think* this package already exists for ubuntu touch17:02
nemoso that suggests someone is building the entire ecosystem17:02
nemowell. maybe I misunderstood.17:02
mcphailnemo: no gles under /usr/lib/fpc/ anywhere17:02
nemoperhaps it is just packaged for arm, and if it works under ubuntu touch is just luck17:02
nemomcphail: how about opengl17:02
mcphailnemo: yes - but can't use that on phone17:03
nemobleh17:03
nemomcphail: ok... so. the android build used a custom gles11.pp that added bindings against a gles so17:03
nemoit would be *nice* if ubuntu could package this in fashion koda mentioned ☺17:03
nemobut failing that, could do it manually I guess17:03
mcphailnemo: :)17:04
nemomcphail: I was kinda hoping that possibly ubuntu was providing an opengl stub against gles11 - for apps that might possibly work w/ it.17:04
nemomcphail: hm...17:04
nemokoda: hey. question.17:04
nemokoda: if the build was against the gl fpc, but we only used gles11 routines...17:05
nemoer. wait. no... would require the gl lib to target the phone gles. nm17:05
nemoguess that unit isn't even built for touch17:06
nemoprobably would be missing stuff17:06
mcphailnemo: I don't know anything about pascal so can't offer any suggestions17:06
nemomcphail: well... if I knew the name of the gles11 library on the phone could try adapting https://code.google.com/p/hedgewars/source/browse/project_files/Android-build/gles11.pp I guess ☹17:07
nemomcphail: could file a bug against ubuntu touch asking for that mobile targetted arm package, but I guess that's lol17:07
mcphailnemo: just the name of the package giving the C libs for gles?17:07
nemomcphail: well... reading that gles11.pp says it was automatically generated17:08
nemobut, most of it seems pretty generic17:08
nemoso I was hoping I could simply update Loadgles11('libGLESv1_CM.so'); to be your libgles name17:08
nemothen toss gles11.pp into hedgewars/17:09
nemoor well. have you do both of those 😝17:09
mcphaillibGLESv2.so.2.0.0 and libGLESv1_CM.so.1.1.017:10
nemoooooh17:10
nemosrs!17:10
nemocool. so maybe don't have to do anything17:11
nemoI bet libGLESv1_CM.so.1.1.0 is probably symlinked to libGLESv1_CM.so17:11
nemomcphail: ok. cp project_files/Android-build/gles11.pp hedgewars/17:11
nemoaaaand cross fingers I guess17:11
mcphailnemo: well, we get a _different_ error :)17:12
nemoyay17:12
nemo😝17:12
kodanebtw the gles11.pp is just a copy of the fpc version, so there is no problem in bundling for ubuntu touch imho17:13
mcphailnemo: http://paste.ubuntu.com/11849907/17:13
nemohmmm17:13
nemo♥ hg grep17:14
nemois teh awesome17:14
nemospecifically hg grep --all17:14
nemothought so. sheepluva added that last june17:15
nemosymptom of bitrot in our mobile stuff17:15
nemogood news tho17:15
nemomcphail: he just failed to ifdef enough I think17:15
nemo{$IFDEF USE_S3D_RENDERING OR USE_VIDEO_RECORDING}17:15
mcphailaah.17:15
nemois around the body of the createframebuffer17:16
nemobut not the header17:16
mcphailnemo: paste me a patch or new file and I'll switch it around17:16
nemomcphail: hm...17:16
nemomcphail: well. I'm not sure what you are using. the branch?17:16
nemoI just want that ifdef above around those 2 calls17:17
nemoon your lines 81 and 82 of uRender17:17
nemomcphail: 0.9.21 + ubuntu patches?17:17
mcphailnemo: just the 0.9.21 tarball from the site17:18
nemo'k17:19
nemohang on then17:19
mcphailcan I just comment those lines out?17:20
nemoyou could, but I was testing locally and hit another one17:20
nemoUSE_S3D_RENDERING is not enabled for mobile, and RenderClear has same issue17:20
nemoprocedure RenderClear           (mode: TRenderMode);17:20
nemowill need that too17:20
nemough. DrawWorld too. maaaan17:21
nemomcphail: ok. made some minor changes to dev for those flags17:30
nemomcphail: going to transplant them into the .21 branch and pack 'em up for you as a diff17:30
nemojust eyeballing it *seems* like the game should still work just w/ the ifdef tweaks ☺17:30
nemotransplant 'cause I think the branch is too old to merge anymore17:31
SturmFlutMonths ago we couldn't even get SDL working, and now you guys are working on the third SDL game port I know of. Oh wow.17:41
nemomcphail: ok. builds w/ s3d and video recording turned off now. transplanted it onto the branch. but not worth you getting it I think17:43
nemomcphail: simply disabling those 2 lines is enough on the branch. all the rest is in .22-dev17:43
nemowell. "the rest" one more function and a compiler error in uWorld17:44
nemohttps://code.google.com/p/hedgewars/source/detail?r=a0b9b678b46eccd0c66273c4f6bb016b9586d2be&name=0.9.21  fwiw17:44
nemobut nice to get mobile bitrot under control again \o/17:45
nemomcphail: we need to properly support MOBILE as a cmake flag, and maybe provide gles11 if the system isn't providing it17:45
nemodon't want to add gles11.pp outright ofc, to avoid overriding system version17:46
mcphailnemo: was afk. Give me a minute and I'll check that out17:52
nemoSturmFlut: TBH I thought this was just gonna be flip a flag and go ☺17:54
nemoSturmFlut: or I would have probably stayed in my channel 😝17:54
nemobut nice to see all that mobile work from iOS and Android days so many years ago actually get some use17:54
nemomcphail: hm... gotta go in a couple of minutes17:55
nemoor I'l get stuck in traffic for sure and miss kid's class17:55
mcphailnemo: np - will have to go soon anyway. Got a bit further then - http://paste.ubuntu.com/11850158/17:56
nemohuh...17:56
nemokoda: ↑17:57
nemodon't see where that should be coming from17:58
nemobut gotta go17:58
kodanemo: 365:            fingers[index].id := nilFingerId;17:58
kodasome leftover probably17:59
kodamcphail: should be enough to remove it17:59
mcphailok - it compiles but I'm now getting a raft of SDL linker errors. Might have to give up on this for the evening18:02
mcphailhttp://paste.ubuntu.com/11850217/18:04
* mcphail gives up for the evening and decides to _play_ hedgewars instead18:20
popeyhah18:20
popeythats the spirit18:20
mr-tthow do i write to a file and read from it in an app? ./file doesn't seem to work18:22
mr-tti suppose i need to specify a path where writing is allowed. but where is that?18:23
mcphailIt would be brilliant to get this game on the phone. Never played it before18:31
ahoneybunhow do I take screenshots with the command line?18:40
ahoneybunphablet-tools does not exist18:40
popeythe command is phablet-screenshot18:41
popeywhich is in the phablet-tools package18:41
mr-ttanyone can tell me where to store a file from an app?18:42
ahoneybunoh ok thans popey18:42
popeynp18:42
ahoneybun*thanks18:42
popeymr-tt: the standard XDG directories18:42
mr-ttpopey: so it has rw access to all .config .local etc?18:43
popeyhttps://developer.ubuntu.com/en/start/platform/guides/app-confinement/18:43
popeylook for xdg on that page18:43
popeyright at the bottom18:43
mr-ttpopey: how do i read the env variable from qt?18:45
popeynot sure :)18:45
mr-ttah nevermind, i know what the var is18:47
mr-tt~/.config/appname/file should work18:47
SturmFlutThere is a Qt component that gives you the application path, but where is that stupid e-mail with the name :/ can't find it18:53
* popey wanders off for pizza18:54
popeyttfn18:54
mcphailCan't you just use good old getenv from the c stdlib?18:55
SturmFlutpath = QStandardPaths::writableLocation(QStandardPaths::DataLocation)18:57
ahoneybunI'm having a problem with PageStack: http://imgur.com/RudP3Cc20:00
ahoneybuncode: http://pastebin.ubuntu.com/11851060/20:00
ahoneybunmhall119: have you used PageStack before?20:21
ahoneybunahayzen: check this out: https://twitter.com/ATHoneycutt/status/61922372858558054620:22
popeyahayzen: do you have a click for me to submit to QA?20:25
popeyor do you want me to submit trunk?20:25
t1mpahoneybun: the code on your pastebin does not get me the screen of the screenshot20:27
ahoneybunreally?20:27
ahoneybunoh right20:27
ahoneybunt1mp: you'll need this file called Tips.qml: http://pastebin.ubuntu.com/11851234/20:28
t1mpahoneybun: you need to put the Flickable in Tips inside a Page20:32
t1mpso put Page { } around your Flickable20:32
ahoneybunit happens on the other pages as well and they don't have flickable20:32
t1mpahoneybun: and set the title of the Page to "Welcome to Ubuntu"20:33
t1mpahoneybun: I mean like this http://paste.ubuntu.com/11851271/20:34
ahoneybunoh ok t1mp20:37
ahoneybunwill i18n.tr work with "title" as well?20:37
t1mpahoneybun: yes20:39
ahoneybuncool20:39
ahoneybunit looks really good now20:40
ahoneybunt1mp: now to get it on my device..20:41
ahoneybunit will not deploy for some reason20:41
t1mpahoneybun: sorry, I don't know. I would propose to deploy from QtC but I don't know how that works internally20:43
ahoneybunit does with my other WIP app20:43
ahoneybunbut not uBegginer at the moment20:43
t1mpahoneybun: try to catch mhall119 or zbenjamin (maybe tomorrow, it is late at night in europe now)20:43
ahoneybunthanks t1mp20:44
t1mpyw20:44
ahoneybunI think I see why20:46
ahoneybunthe package name20:46
ahayzenpopey, trunk please :-) readme should be up to date20:56
popeysweet21:00
popeywill do in the morning21:00
* popey adds to to-do21:00
popeyI have a handy job on my laptop which runs at 7am and builds all the core apps from trunk21:00
popeyfor easy testing :)21:00
ahayzenpopey, awesome :-)21:01
popeyeven builds fat packages :)21:01
popeyoh, and rsyncs them over to my server :) http://popey.mooo.com/mirror/daily_clicks/21:01
ahoneybunwell I just found a security issue21:42
ahoneybunin Ubuntu Touch21:42
JanCahoneybun: please report it!23:22

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