/srv/irclogs.ubuntu.com/2016/08/23/#ubuntu-app-devel.txt

=== chihchun_afk is now known as chihchun
=== salem_ is now known as _salem
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
zzarrI know I have asked this before, but is there a way to get my hands on Qt 5.7 for Ubuntu touch?10:36
Mirvzzarr: I know I've answered this before :) but you'd need to define which way. the short answer is "probably not" if you want to publish Qt 5.7 using application to current users, as your .click package (if you'd get it to work by bundling Qt 5.7 into it with your app) would be gigantic. when we move to xenial as a base and .snap as the application packaging format, it'd be more liikely.11:14
Mirvzzarr: if there is one specific feature you need that is not available in Qt 5.4 (or Qt 5.6), it could be possible to backport that11:14
zzarrokey11:54
zzarrQt3D11:55
zzarrbut it's not something I need right now11:55
zzarrMirv, how do .snap packages compare to .click?11:56
mcphailzzarr: surely you'd do it the same way you bundle libs for any click package?11:56
zzarrmcphail, okey, it's that easy?11:57
mcphailzzarr: I haven't packaged a different version of Qt in a click yet, but generally you just run ldd or and equivalent and track down the needed libs11:57
zzarrMirv, also how does the two compare to .deb?11:57
mcphailzzarr: "objdump -p whateverbinaryyouarepackaging | grep NEEDED" is a good starting point11:59
zzarrso in theory I could do that on a desktop binary, then bundle the armhf equvivalents11:59
zzarrnice11:59
mcphailzzarr: you sometimes need to chase the dependency chain a little further, but that works for most things12:00
zzarrthat's good to know12:00
zzarrdoes the source code for Qt 5.7 help?12:01
zzarr(I have it on the harddrive)12:01
mcphailzzarr: try using any prebuilt Ubuntu packages first. Will save you lots of time12:01
zzarrokey, that's true12:02
mcphailzzarr: you can "apt-get download" the file then "dpkg -x filename extractionpath" to get to the juicy bits12:03
zzarrnice :)12:03
mcphail(or open it with archive manager and drag and drop)12:04
zzarrthat's true, I have done that before12:05
mcphailI usually do the downloading from a click chroot, and specify "apt-get download packagename:armhf" to get the correct architecture12:06
zzarrI'm I wish to know, is there a compareson between .deb, .click and .snap packages?12:06
mcphailsnaps are very similar to clicks. Really just an evolution of the concept12:07
zzarrthat's smart :)12:07
mcphaildebs are arcane black amgic12:07
zzarraren't all package types that?12:08
mcphailsnaps and clicks are safer than debs, because the packate does not get to run arbitrary scripts as root at install time12:08
zzarrthat's nice12:09
zzarrcan a click depend on another click or are they independent?12:09
zzarrand the same question for snap, are they independent?12:10
mcphailclicks are indpendent. Snaps are currently independent (I think) but I'm not sure if that is always going to be the case12:11
zzarrwhen you (I mean Canonical) take the step and bring our phones/tablets to xenial, will there be an upgrade for the sdk that creates .snap?12:13
zzarrand another fun question (very interesting question I think), would it be possible to make architecture independent packages?12:15
mcphailzzarr: don't know about your first question (I'm just a hobbyist here) but you can already make "fat" multi-arch packages12:15
zzarrnice12:15
mcphail(on click anyway)12:16
ograzzarr, snappy works a little different in that regard you can have multiple arches under the same name ... so you cn either build a gigantic "all" snap package for all arches or you can have sperate snaps, one for each arch, with the same name12:16
ogra(i guess most people will just prefer the latter and keep their packages small ;) )12:16
zzarrI was about to write that :)12:17
mcphailogra: more fool them when the hordes of popwerpc users come complaining ;)12:17
ograyeah, when their powerpc phones stop working ...12:17
ograwe'll just tell them to instead get s390x phones .. they also look better12:18
zzarrppc phone, never heard of :D12:18
popeyThey're a bit bulky12:19
popeyAnd you need a long power-cord12:19
zzarrwhat about sparc phones? (and ultrasparc)12:19
ograsadly we dropped sparc ...12:19
ograi wouldnt mind a sparc phone ... expecially in winter12:19
mcphailzzarr: best thing is to build a click and a snap package by hand, constructing the directory structure and json/yaml manifest12:19
ograwould surely make a good pocket oven12:19
mcphailzzarr: gives you an idea about the internals12:19
ograwell, snaps should bettter be built using snapcraft12:20
mcphailogra: yes - but he wanted to know the difference between snaps and clicks, so seeing the concepts behind the structure is a good start12:20
zzarrI just hope (and think that) .snaps will be deployed to a phone as easy as a click12:21
ograwell12:21
ograthe concept of handling the package is completely different for both12:21
ograin the installed system i mean12:21
mcphailindeed12:22
ograsince one is an archive that gets unpacked to disk, the other is a squashfs that gets bind-mounted12:22
ograso you cant really compare them12:22
zzarrI have browsed through the folders of a installed click on my phone12:22
ogradifferent filesystem sttructure requirements, different management (snapd vs ... well, there is nothing comparable in click) ...12:23
ograwhile they have yaml in common, there isnt much else where they are comparable12:24
zzarrso... a click is essentially a tar.gz (or something) and a snap is a squashfs :)12:24
zzarrcan you bind-mount an image (containg a filesystem) directly without using a loop device?12:26
ograiirc a click is an .ar12:26
ogra(it uses dpkg internals for packaging)12:27
zzarrokey12:27
mcphailogra: the construction process is fairly similar (if you use the old way of building a snap instead of snapcraft)12:27
ograwell, there is more involved than just bind mounting12:27
ograyou need the right rw areas, you need the right launche that sets up the environment, snapd also manages interfaces that allow/deny your snap to interact with other bits12:28
zzarrogra, this is a guess, it's mounted with loopback and then a folder is bind-mounted to another part of the fs12:28
ograin click this is all spread out into other os bits12:28
ograright12:29
zzarrI see, I actually tried to make my own package type some time ago that worked like that12:30
ograbut the bind mounting is the smallest bit here ... there is a ton fo things snapd manages12:30
ogra(and snap-confine and ubuntu-core-launcher)12:30
zzarrI guessed so, that package type I made was a proof of concept and just a way for me to understand12:31
zzarrI just read about OTA-13 on softpedia, it sounds nice12:42
zzarrI just wonder, will the Android 6.0 part affect the MX4?12:43
zzarr(I hope it will)12:43
=== _salem is now known as salem_
=== JanC is now known as Guest58470
=== JanC_ is now known as JanC
=== chihchun is now known as chihchun_afk
PaulfraOSAAHello, does any body else have problems with compiling projects after updating to (K)ubuntu 16.04?17:01
=== chihchun_afk is now known as chihchun
=== salem_ is now known as _salem

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