/srv/irclogs.ubuntu.com/2017/01/09/#ubuntu-touch.txt

=== psivaa_ is now known as psivaa
=== LiQiong_Lee1 is now known as LiQiong_Lee
=== JanC_ is now known as JanC
geosminanyone using ubuntu touch on a oneplus one? thinking about flashing it06:57
=== vigo_ is now known as vigo
=== _salem is now known as salem_
DaleAnyone got an MX4?14:14
luga_at_workDoes the calendar app work only with Owncloud or can i also use nextcloud?14:51
luga_at_workif not, will it come?14:54
dobeythey are the same thing i think; just a matter of the "branding" of the account and such, iirc15:01
dobeyso afaik, it /should/ work.15:02
luga_at_workwell, they are alike as ubuntu to debian15:02
luga_at_worknextcloud will change the api, and if they to, it wont work anymore, its not just the branding15:03
luga_at_work*do15:03
tsgloveluga_at_work, nextcloud might create the API to be backwards compatible with owncloud15:05
dobeywell, will and have done so already, are not the same thing15:06
dobeyright now, they are the same afaik15:06
luga_at_worki hope so, that would solve many problems but it will make nextcloud less flexible in future15:07
dobeywell, in future, someone can write support specific to new api that then exists15:09
dobeyone cannot write code now to support an api in the future, which does not yet exist15:10
luga_at_workyes, true15:11
ogra_you expect owncloud to go on existing ? without any developers on their side ?15:13
* ogra_ wouldnt bet on that15:14
dobeyogra_: it won't evolve but "not exist" is hardly true. you can park a porsche in a barn for 30 years and not drive it, but it doesn't simply cease to exist when you park it there. :)15:16
luga_at_workwhat about webdav/caldav?15:16
ogra_well, depends on the rust situation i guess ;)15:17
dobeyogra_: also, i'm pretty sure people still use solaris 7. so, yeah. :)15:17
luga_at_workis there a plugin for the calendar app?15:17
ogra_but yeah, i know owncloud will go on marketing their stuff ... it is just very unlikely it goes anywhere in the future ... development happens in nextcloud15:17
dobeyluga_at_work: that's how the owncloud stuff works15:17
dobeyogra_: well either way, that wasn't the question or the assertion being made.15:18
luga_at_workoh so both , nextcloud and owncloud, use CalDav?15:18
dobeyyes15:18
ogra_what i meant to say is that we are likely moving with nextcloud if they ever get incompatible15:19
ogra_since owncloud is rather just a marketing stunt nowadays ...15:19
mcphailluga_at_work: nextcloud works well15:19
luga_at_workoh, then there would be no problem, but why is it called "owncloud" if two others are supported?15:19
dobeyogra_: well, if nextcloud becomes incompatible, it will no longer be caldav and require a new back-end anyway15:19
luga_at_workdobey u sure?15:20
ogra_doesnt need to be incompatible in the caldav part ... just somewhere in the toplevel api for auth15:20
dobeyluga_at_work: because it's the authentication model that was supported when it was written15:20
dobeyogra_: well that just means we'll have a different auth plug-in then. no need to throw away a working one otherwise15:20
dobeybut anyway15:21
ogra_sure15:21
ogra_my comment was also more focused on the choice of backend ... i simply wouldnt use owncloud anymore15:21
dobeyogra_: sure, but some people might have to. if some company uses it for example and doesn't update their services in reasonable (cf people still using solaris 7)15:22
ogra_indeed15:22
dobeyor why google and apple had to add exchange support to their phones15:23
ogra_they clearly missed an opportunity there *g*15:23
dobeyanyway15:24
dobeyluga_at_work: caldav itself is just a protocol. specific servers that support it might have wildly different auth schemes. primarily the auth scheme needs to be supported before appropriate handling of that in the caldav back-end can work15:25
dobeyand no there isn't an account plug-in to add a generic basic auth caldav url at the moment (but you can set up a sync manually afaik)15:26
luga_at_workok15:29
DaleDoes anyone have trouble updating their device against the app store?15:47
dobeywhat kind of trouble?15:50
DaleFirst I have to sign in every time, then I get 404 errors when I hit an upgrade button.15:51
dobeydid you install any packages manually?15:52
dobeyie, build from git/bzr and sideload?15:52
DaleNope15:52
dobeyis there a specific package it happens on?15:53
DaleIt is quite a few, uTorch is a specific example15:54
dobey404 shouldn't cause the need to log-in again though15:55
dobeyjgdx: ^^ any ideas there?15:55
DaleMy bad: am getting 401 - UNAUTHORIZED error15:56
jgdxDale, it happens for some paid apps IIRC15:57
dobeyoh ok. yeah15:57
dobey401 would cause that15:57
DaleOh, wait, sweet Jesus, it's all started working smoothly just now.15:57
jgdxpraise de lawd15:57
dobeymaybe the server had some issue15:58
DaleWell, I don't believe in coincidences, so whoever just fixed the problem, thank you very much!16:02
randomHi, i've got a question regarding the gtk3 support. As far as i know, gtk3 supports the mir display server. But i can't start the gtk3 app. When i compile a gtk2 app and insert "X-Ubuntu-Touch=true" and "X-Ubuntu-XMir-Enable=true" in the .desktop file it works. What did i wrong ?16:43
randomI can still start the app via "ssh -y" ( x-forwarding ) but not on the phone itself.16:44
pseudodevHello there!!!18:13
dobeyhi18:15
pseudodevI need compressed repos. Who can provide me one?18:27
dobeywhat do you mean?18:27
salimHi, I'm unable to connect wireless display to a sony bravia smart TV. I can see the TV on the phone, but when I connect it fails after a while. Any idea??18:30
dobeypseudodev: what is a "compressed repo" and why are you asking for one in this channel?18:39
pseudodevdobey: compressed repos means whoever has downloaded the Ubuntu repos, can provide me a compressed folder of it for faster downloading18:41
dobeypseudodev: general ubuntu support questions belong in #ubuntu, this channel is more about the phone/tablet ports18:42
dobeypseudodev: but otherwise, just download the ISO for Ubuntu. I doubt anyone here has a tarball of the entire ubuntu repository to share with you18:43
dobeyand even if they did, it would not make downloading any faster18:43
pseudodevThat would shorten it18:44
dobeythings that are already compressed do not compress well. it's likely that a tarball of the repository would end up being larger than the individual files18:44
dobeyyou'd be better off only downloading the bits you need18:45
dobeyyou can download the ISO via torrent, which might be faster for you than grabbing an ISO from a mirror site18:46
dobeywow18:53
dobeymako been sitting on my qi charger for ~2 hrs now, and it's not even hot18:54
dobeybut it went from 0 to 97% charge18:54
popeymaybe it lies?18:55
dobeynah, i think it's just cold enough in here that the heat from charging is quickly dissipated18:56
pseudodevISO of repos!?19:02
popeypseudodev: what exactly is it you need?19:06
pseudodevCompressed repo folder19:08
popeypseudodev: you need to use more words. What folder? Why?19:09
dobeypseudodev: what exactly do you want to accomplish? installing ubuntu? mirroring it?19:10
davmor2pseudodev: the entire archive is huge I mean massively huge.  No one downloads the entire repo19:12
pseudodevI want to build Ubuntu touch. Problem is, it downloads about 15 GB worth sources. And all those sources are present in the .Repo folder19:13
pseudodevI need that compressed .repo folder19:14
dobeyoh19:15
dobeythe android git tree19:15
dobeyi thought you were askinga bout the apt repository for ubuntu19:16
dobeylike popey said, use more words!19:16
dobeyi'm pretty sure git streams the data compressed when cloning19:17
dobeyso someone handing youa  15 GB tarball probably isn't going to improve whatever issue it is you're hitting19:17
pseudodevCan't that 15GB be reduced half the size?19:18
dobeynot likely19:19
dobeylike i said, things that are already compressed, do not compress especially well19:20
dobeyi don't know what all the scripts do there, but if they are grabbing full history, then changing them to only grab the latest revision of stuff, might help19:21
pseudodevYes...I tried downloading once19:24
pseudodevIt was downloading from Android 2.0.119:24
pseudodevTo Android 7.019:26
pseudodevThat's a lot of history19:27
dobeyyou might want to join #ubports if you want to port a new device, and ask what they're doing19:30
popeyyeah, they may have a faster mirror19:33
randomdid anyone have a idear how to execute gtk3 apps on ubuntu touch os ?19:35
dobeyrandom: include everything you need in your package and build gtk3 with the mir support enabled against the mir on the image19:36
dobeyor just install them via libertine and use them under xmir as debs19:36
bregmaon Ubuntu Touch, using Libertine is the only supported way to run GTK+ applications19:37
bregma(they might work other ways, but it's not supported)19:38
randomdobey: ok, so is there a special option to activate mir support ? imho i thought that libgtk3 has already activated the mir support...19:44
dobeyrandom: gtk3 is not (currently) a supported SDK target for the phone/tablet19:45
mcphailrandom: from my limited experience of Mir-supporting toolkits, it may just be a matter of bundling the dependencies (and dependencies of the dependencies) in the .click under ther appropriate architecture-specific lib directory. But I haven't tried bundling a GTK3 app19:57
dobeywell, gtk+ is built with plenty of hard-coded paths, so not that simple19:59
dobeyand not sure if gtk3 has been getting re-built in the overlay PPA for Mir API/ABI breaks20:00
dobeythough i suppose it has to, as i think at least keyboard indicator is using it20:00
mcphailI've built/installed gtk under different prefixes before, so it is likely to be reasonably portable. Don't know how much of a standard *nix environment it expects, though20:05
dobeyyeah it's possible, but it has to be rebuilt because paths get built into the binaries20:06
mcphailThe pain with building gtk is you sometimes end up down the rabbit-warren of building gdk etc as well20:07
mcphailAnd by the time you are building glib you've gone crazy20:08
dobeywell gdk is in the same tree as gtk20:08
dobeybut really, yeah, you probably need to build pango and cairo and other underlying bits too20:09
dobeybut a lot of that can be trimmed down, since you don't need to compile x11 support and such20:10
pmcgowandobey, why would I get a 401 updating a scope, but all the other updates worked20:10
dobeyi think gtk also lacks a lof integration with the rest of the platform though20:10
dobeypmcgowan: because you aren't authorized for it? :)20:11
mcphailYes. Wonder if soft keyboard would work, for example20:11
pmcgowanbut I has it20:11
dobeypmcgowan: maybe something broke on the server? maybe some weird timeout was hit during the updates? i don't know20:11
pmcgowandobey, ok, I updated 3 apps and this one won't20:12
pmcgowaneven on retry20:12
dobeymcphail: keyboard might work because we do use mailit (or however you spell that)20:12
dobeymcphail: but other things like content-hub and media-hub i expect don't20:12
pmcgowandobey, offs its working now20:12
pmcgowanfifth time the charm20:12
dobeypmcgowan: yeah, someone else was asking about similar problem updating earlier20:12
dobeypmcgowan: only advice i can really offer for those situations is a) you cheated (side-loaded something that's for-pay in store), or b) server is being annoying20:13
dobeypmcgowan: given all the work on moving to snaps, i suspect b) is probably getting hit more often lately :-/20:14
pmcgowanindeed20:14
randomBut, I've created a gtk2 app, wich runs fine ( with a bit of .desktop file tuning like http://kriscode.blogspot.de/2016/10/lazarus-development-for-ubuntu-phone.html ). I have to insert  X-Ubuntu-Touch=true, X-Ubuntu-XMir-Enable=true. And so far as i know libgtk2 and libgtk3 are already installed in the os.20:27
dobeyinstalled != supported20:27
dobeyand really you shouldn't be writing new gtk2 code at all. i'm not sure why gtk2 is installed in the image at all. it really shouldn't be20:28
randomIn my example i've used the minimal sample of the wxwidget toolkit + buildroot to create the gtk2 app. So i'am wondering why the same code compiled with gtk3 doesn'T run.. But I have to check the GDK_BACKEND enviroment.20:30
randomAnd imho gtk2 is an old but big advantage of the ubuntu os. Because is the user have the choice if he will use ugly software on the phone :-)20:32
randomBTW is there a plan to official support the gtk3 lib ? :-)20:33
bregmarandom, under Ubuntu Personal, yes, it's making good progress20:35
dobeywell if you want to use ugly software, there's always the opportunity to run it under xmir/libertine20:36
randomI want to use gtk3 on ubuntu phone :-)20:39
randomdobey: i've checked the libgtk version and its compiled with Wayland GDK backend. but the gtk3 app woun't launch. Did i have to change/add some values in the .desktop file ? Is there a documentation about the launcher file ( .desktop ) ?21:06
dobeywe don't use wayland21:06
dobeyand the gtk3 package in ubuntu is already compiled with mir support, indeed21:06
randomok so my app should run right ? because it runs in an x forwarded ssh session. So the libs will be loaded correct, right ?21:16
dobeyno, X != Mir21:17
randomahh, ur right.. so it seems that my app will use gtk2 instead of gtk3.. :-(. I have to investigate. Thanks for your time.21:20
randomJust to be clear. If I compile a gtk3 app, it should run, right ? Without any extra configuration inside of ubuntu touch.22:01
dobeyrandom: no, gtk3 is not a supported target on the phone/tablet currently. unless you're running it under libertine, it's not necessarily expected to "just run"22:03
dobeyrandom: plenty of gtk+ apps also have a dependency on x11 themselves for various things they do22:04
randomOk, but libgtk3 will not ( notonly ) use x11 so far as i know. However it seems that it not the easy way to get an native gtk3 app ( which is using mir )running :-)22:09
randomThanks for your time.22:10
dobeyit doesn't matter what back-end you're wanting it to use, if it's the wrong one for the app, is what i mean22:10
dobeyie, "take a random app and compile it" is not guaranteed to work, because of this22:11
randomI hope ubuntu touch will finally supports gtk3 apps officially . IMHO this is one of the reasons of the lack of apps in the app store.22:15
dobeywell we can agree to disagree on that assumption :)22:17

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