/srv/irclogs.ubuntu.com/2017/08/12/#snappy.txt

=== ikey is now known as ikey|zzz
mupPR snapd#3715 closed: interfaces/misc: updates for unity7/x11 (LP: #1663221), browser-support, network-control (LP: #1679295) and mount-observe <Created by jdstrand> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3715>06:35
arm1ehey folks. Good sleep and now ready to finish this snap (hopefully)07:11
arm1eanyone able to help? trying to fix missing perl modules, but they are not missing!07:12
arm1eget_iplayer has all dependencies as stage-packages which match the deps when installing from the normal ubuntu repos but complains about env.pm when running in the snap with this error: http://paste.ubuntu.com/25295446/07:24
arm1ewow, quiet today07:43
=== ShalokShalom_ is now known as ShalokShalom
mupPR snapd#3712 closed: overlord,store: send model assertion when setting up device sessions <Reviewed> <Created by matiasb> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/3712>08:57
mupPR snapd#3717 closed: overlord,store: no piles of return args for methods gathering device session request params <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/3717>08:58
=== ikey|zzz is now known as ikey
mupPR # closed: snapd#2807, snapd#2837, snapd#3120, snapd#3260, snapd#3346, snapd#3372, snapd#3398, snapd#3456, snapd#3484, snapd#3502, snapd#3520, snapd#3526, snapd#3556, snapd#3560, snapd#3565, snapd#3568, snapd#3569, snapd#3571, snapd#3573, snapd#3581, snapd#3585, snapd#3586, snapd#3590,10:18
mupsnapd#3594, snapd#3616, snapd#3617, snapd#3621, snapd#3625, snapd#3632, snapd#3635, snapd#3636, snapd#3639, snapd#3642, snapd#3660, snapd#3679, snapd#3691, snapd#3692, snapd#3693, snapd#3697, snapd#3702, snapd#3705, snapd#3710, snapd#3714, snapd#3716, snapd#3718, snapd#3719, snapd#372010:18
mupPR # opened: snapd#2807, snapd#2837, snapd#3120, snapd#3260, snapd#3346, snapd#3372, snapd#3398, snapd#3456, snapd#3484, snapd#3502, snapd#3520, snapd#3526, snapd#3556, snapd#3560, snapd#3565, snapd#3568, snapd#3569, snapd#3571, snapd#3573, snapd#3581, snapd#3585, snapd#3586, snapd#3590,10:19
mupsnapd#3594, snapd#3616, snapd#3617, snapd#3621, snapd#3625, snapd#3632, snapd#3635, snapd#3636, snapd#3639, snapd#3642, snapd#3660, snapd#3679, snapd#3691, snapd#3692, snapd#3693, snapd#3697, snapd#3702, snapd#3705, snapd#3710, snapd#3714, snapd#3716, snapd#3718, snapd#3719, snapd#372010:19
ikeydamn10:21
ogra_github being wonky again ...10:25
ogra_popey, i just odered an air myself to speed up that stuff :)10:25
ogra_*ordered10:26
popeyogra_: aw, sorry about that10:54
ogra_popey, lol, you know i always love having more hardware :)11:05
popeyogra_: :)11:09
ogra_wow ... i love our setup11:48
ogra_creating a devicetree compiler snap ... 3min of work ... https://github.com/ogra1/devicetree-compiler ...11:49
ogra_having build.snapcraft.io create and publish a snap to edge ... another 2min ... priceless :)11:49
ogra_popey, http://people.canonical.com/~ogra/snappy/sun8i-h3-nanopi-neo-air.dtb ... i tried to disable the uart3 settings (bluetooth) in the devicetree, you could try replacing /system-boot/boot/uboot/linux-generic-allwinner_5.snap/dtbs/sun8i-h3-nanopi-neo-air.dtb12:12
ogra_(this is just a shot in the dark, though ... might not even boot at all with that file but there is a minimal chance that it works)12:13
ogra_hmm, thats probably rather  /system-boot/uboot/linux-generic-allwinner_5.snap/dtbs/sun8i-h3-nanopi-neo-air.dtb12:13
ikeyfood for thought - how possible/feasible would it be to provide cups drivers and such via snaps?12:17
* ikey is thinking about the dreaded brother drivers12:17
popeyogra_: on it!12:23
ogra_ikey, https://forum.snapcraft.io/t/snapping-cups-printing-stack-avahi-support-system-users-groups/150212:28
ogra_all in the works :)12:28
ikeywell12:28
ikeythats not quite what i asked :/12:28
ikeythats snapping cups itself12:28
ikeynot cups drivers with a native cups12:29
ogra_well, beyond that you could probably provide them via classic snaps12:29
ikeythats the thing *I* can't provide them12:29
ikeyBrother is a dick12:29
ikeyAnd you can't distribute their stuff12:29
ikeySame for some epson drivers12:29
ogra_well, if the license doesnt allow distribution snap wont change the licensing :)12:30
popeydoes cups not auto go and get them these days?12:30
ogra_yeah12:30
ikey"auto go and get them" - from where?12:30
ogra_our cups at least12:30
ogra_openprinting.org12:30
popeylinuxprinting.org?12:30
popeyor that12:30
ogra_yeah, one of these :)12:30
ikeyisnt that like a whacking great big security hole?12:31
ogra_well, our cups maintainer is the upstream guy of that :)12:31
ikeywell thats just cheating :p12:31
ogra_heh12:31
popeyheh12:31
ikeyhm.12:31
popey"Till, the printing guy"12:31
ogra_but in general i think fedora uses it too12:31
ikeyso does this also mean no hplip crap?12:31
ogra_i think openprinting provides hplip as well12:32
ikeydamn son12:32
ogra_and cups dynamically downloads from there12:32
ogra_for details you really need to ask till12:32
ikeywhy are you not doing this solus?!12:32
popeyogra_: that fixed the spammy messages12:32
ogra_\o/12:33
ogra_lovely12:33
ogra_popey, any trace of a wlan device ?12:33
popeyno network12:33
* popey gets syslog12:33
ogra_or did i kill it with that12:33
popeyhehe12:33
ogra_that was a gross hack directly to the devicetree :)12:33
popeyAm I a bad person for glueing the 4 pins of the serial cable together?12:33
ogra_as long as you dont use solder ...12:34
ogra_:)12:34
popeyi can never remember the order of them12:34
ogra_the prob is they differ between boards12:34
mupIssue # closed: snapcraft#100, snapcraft#1437, snapcraft#1438, snapcraft#1439, snapcraft#1440, snapcraft#1441, snapcraft#1442, snapcraft#1443, snapcraft#1444, snapcraft#1445, snapcraft#1446, snapcraft#1448, snapcraft#1449, snapcraft#1450, snapcraft#1451, snapcraft#1452, snapcraft#1453,12:34
mupsnapcraft#1454, snapcraft#1455, snapcraft#1456, snapcraft#1457, snapcraft#1458, snapcraft#1459, snapcraft#1460, snapcraft#1461, snapcraft#1462, snapcraft#1463,12:34
mupsnapcraft#1465, snapcraft#1466, snapcraft#1467, snapcraft#1468, snapcraft#1469, snapcraft#1475, snapcraft#1476, snapcraft#1477, snapcraft#148512:34
mupPR # closed: snapcraft#1277, snapcraft#1298, snapcraft#1302, snapcraft#1313, snapcraft#1346, snapcraft#1348, snapcraft#1382, snapcraft#1387, snapcraft#1399, snapcraft#1412, snapcraft#1414, snapcraft#1419, snapcraft#1420, snapcraft#1428, snapcraft#1430, snapcraft#1436, snapcraft#1447,12:34
mupsnapcraft#1474, snapcraft#1479, snapcraft#1480, snapcraft#1483, snapcraft#148412:34
ogra_so you might need a different order on another board12:34
popeyi bought a bunch of cables :)12:34
* ogra_ keeps the plugs dangling ... but they wear out over time so that they easily drop off 12:35
ikeyhttps://dev.solus-project.com/T426312:35
ikey>_>12:35
ikey<_<12:35
ogra_+112:35
ogra_:)12:35
popeyhttp://paste.ubuntu.com/25297003/12:35
ogra_ikey, till is "tkkamppeter" when he is on IRC (he currently isnt ...) and he is usually in #ubuntu-desktop or #ubuntu-devel12:36
popeyikey: do you have google print service in solus?12:36
ikeyuhm12:36
popey!info google-cloud-print-connector12:37
ubottugoogle-cloud-print-connector (source: google-cloud-print-connector): Google Cloud Print CUPS Connector. In component universe, is extra. Version 0.0~git20151105.24.1902938-2 (zesty), package size 2020 kB, installed size 11050 kB12:37
popey^ that thing12:37
ikeynot .. yet.12:37
ogra_popey, brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x5012:37
ogra_looks like i broke it12:37
ikeyoo so i could print from my phone to a USB printer on my linoox?12:37
popeyi only recently discovered it, as I have a usb only printer12:37
mupIssue # opened: snapcraft#100, snapcraft#1437, snapcraft#1438, snapcraft#1439, snapcraft#1440, snapcraft#1441, snapcraft#1442, snapcraft#1443, snapcraft#1444, snapcraft#1445, snapcraft#1446, snapcraft#1448, snapcraft#1449, snapcraft#1450, snapcraft#1451, snapcraft#1452, snapcraft#1453,12:37
mupsnapcraft#1454, snapcraft#1455, snapcraft#1456, snapcraft#1457, snapcraft#1458, snapcraft#1459, snapcraft#1460, snapcraft#1461, snapcraft#1462, snapcraft#1463,12:37
mupsnapcraft#1465, snapcraft#1466, snapcraft#1467, snapcraft#1468, snapcraft#1469, snapcraft#1475, snapcraft#1476, snapcraft#1477, snapcraft#148512:37
mupPR # opened: snapcraft#1277, snapcraft#1298, snapcraft#1302, snapcraft#1313, snapcraft#1346, snapcraft#1348, snapcraft#1382, snapcraft#1387, snapcraft#1399, snapcraft#1412, snapcraft#1414, snapcraft#1419, snapcraft#1420, snapcraft#1428, snapcraft#1430, snapcraft#1436, snapcraft#1447,12:37
mupsnapcraft#1474, snapcraft#1479, snapcraft#1480, snapcraft#1483, snapcraft#148412:37
popeyyes12:37
ikeyalright github calm down12:37
ikeylol12:37
popeyexactly, i plug my usb printer to home server and print from phone12:37
=== ogra_ is now known as ogra
popeyKILL IT!12:38
popeyor maybe just put it to sleep or something12:38
* ikey added an edit to the solus task xD12:38
popey:)12:38
ogra;)12:39
popeymaybe boot lutostag too :)12:39
ogradone12:39
* ogra loves +q12:40
popeyta12:40
popeyi think you need to +b12:40
popeybecause +q won't stop them coming back12:40
ograpopey, well, i guess we need to wait til i have my air then ... randomly hacking the dtb will just be random :)12:40
popeyyeah, that's cool12:41
popeyback in the box he goes :)12:41
popey<312:41
ikeyXD12:43
ograhmm12:43
ikey*!*lutastag*@*12:43
ikeyor kill it.12:43
tbrlutostag!*@*12:43
ikeyoh right, nick not ident12:43
ikeyderp12:43
tbrnick!ident@hostmask12:43
ikeyya12:44
ikeydidnt read the ident :P12:44
ikeydepressing part being ive written IRC clients in the past and i still managed to botch that..12:44
popeyThere must be about as many irc clients as there are text editors now12:45
* ogra only OPs every three months or so ... i can never remember anything 12:45
ikeypopey, yeah12:45
ograogra@nanopi:~$ devicetree-compiler -h|grep Usage12:46
ograUsage: dtc [options] <input file>12:46
ograogra@nanopi:~$12:46
ograhmm12:46
ikeylol did cassidy seriously quote Daniel Foré as if he was Gandhi on his rant about snaps?12:46
ikeywell i never..12:46
popeyhahah12:46
ograwould really be nice if snapcraft could adjust the command name in help output magically12:46
popeyHe has some valid points12:46
popeyBe nice if it was a bug report though12:46
ikeyyea12:46
popeyI'm sure eos guys wouldn't appreciate that kind of public "feedback"12:46
ikeyyeah i once mentioned vala was dead12:47
ikeynever again12:47
ograwhere is that ? G+ ?12:47
popeyhahah12:47
popeyyes12:47
popeythe relavent people are aware of it :)12:47
ikeyin positive news..12:47
ikeygot apparmor support into linux-lts in solus too12:48
ikeyso both kernels are rocking snapd support12:48
ikeymeaning existing users wont need to do any magic other than installing snapd to use it12:48
ikeyi mean thats like another 6 users, easy.12:48
ograyay12:54
ograthat makes 10 already !12:54
ikeyyep xD13:01
ograhttps://forum.snapcraft.io/t/could-snapcraft-replace-the-command-in-usage-output-with-the-actual-command/1662/113:08
arm1eanyone able to help? trying to fix missing perl modules, but they are not missing!13:20
arm1eget_iplayer has all dependencies as stage-packages which match the deps when installing from the normal ubuntu repos but complains about env.pm when running in the snap with this error: http://paste.ubuntu.com/25295446/13:20
ograarm1e, well, you picked a perl package as your first snap .... snapping perl is pretty painful13:23
arm1ei only picked this because it is the only thing I have ever packaged before and thought it would be ok. I was very wrong13:24
ograyour modules dont live in the standard paths but under $SNAP13:24
ograso you need to teach the perl interpreter about the new search paths13:24
arm1eI have no idea how to do that13:24
arm1eI think this may be way beyond my ability13:24
ikeyyou can patch it or you can add a wrapper script13:25
ograyou create a wrapper script and export the right bits, so perl knows where to look13:25
ikeyheh13:25
ikeyi think its something like PERL5LIB13:25
ogra(we have snapcraft parts for nearly every language that do this automatically for you ... just not for perl)13:25
* arm1e thinks he should have done computer science at uni, not normal science13:25
arm1eogra: you make it sound so easy but I think I am going to have to abandon this one13:26
ograit isnt that hard13:27
ikeywell you can use `organize` to stick the wrapper script as the "main" script and set it as the main command13:27
arm1eikey: get you Mr snappy lover now :p13:27
ikeyno i just happen to have a lot of experience packaging things for Linux.13:28
arm1eikey: I wish I did13:28
ikeyalso see "where did the last decade+ of my life go"13:28
ograarm1e, this is from a very old demo snap i once did http://paste.ubuntu.com/25297317/13:28
arm1eikey: where will the next one go? Turning solus into skynet?13:28
ikeylol "turning"13:29
* ikey giggles13:29
ograarm1e, take a look at the PERLCMD variable i set there13:29
arm1eogra: will do, thanks13:29
ikeyah -I usage to override INC.13:29
ikeypretty13:29
ogra(bnote that things like SNAP_APP_PATH and such got renamed, it will need adjustment to point to SNAP or SNAP_DATA, but it should give you an idea)13:30
ikeyplease tell me you have easteregg $CRACKLE $POP ones13:30
arm1eikey: lol13:31
arm1eogra: I see what you wrote but is that the only part that would be needed?13:31
arm1eI really do think this is above my ability having never programmed or properly packaged before. Not exactly a nice gentle difficulty curve13:33
ograarm1e, well, you would create a "wrapper.sh" (or name it as you like) similar to that one ... then the last line would be something like "$PERLCMD /path/to/get_iplayer" and the app entry in your snapcraft.yaml would execute wrapper.sh instead of get_iplayer directly13:33
ograarm1e, where is your source tree ?13:34
arm1eno idea13:35
ogradid you put it on github or so ?13:35
arm1eno13:35
ograah13:35
arm1eyou mean for the snap or for get iplayer?13:36
ografor the snap :)13:36
arm1ei have compiled it but it is only on my system13:36
ograwell, if you create a github tree for it i can provide you the wrapper in a pull request that you can merge :)13:37
ogra(i cant test it though, BBC doesnt allow us germans to watch their stuff :P )13:37
arm1eI can send you the snap13:37
ograwell, i'D prefer to have it on github13:38
ograthat way you will also be able to have it auto-built in the end13:38
arm1eI dont have an account or know how to use it13:38
arm1eogra: right I am on github but how to I upload the source tree?13:45
ograthere is a plus sign at the top bar on the website13:45
ograclick it13:45
ograpick "new repository"13:46
ogragive it a name (like get-iplayer-snap)13:46
ograand click the create button ...13:46
ograthat will bring up instructions13:46
arm1eyeah, I did all of that and tried to upload the snap, but it is too big so I am not doing the right thing13:50
ograno, you upload the source tree13:50
ogranot the snap13:50
ograi.e. the dir where your snapcraft.yaml is13:51
ogra(and any other scripts or what you have in there)13:51
arm1eNow I am getting told there are too many files.13:53
Jess_How can I see if this is on my phone13:54
arm1eogra: is it the snap / prime / stage or parts folder or all of them13:54
ograarm1e, no, call snapcraft clean first14:06
ograwhats left then is what you want to push14:06
arm1etoo late.14:11
arm1eall of them are going on mwahahahahaha!!14:12
arm1ecancelled it14:13
arm1eogra:  there is only an empty snap folder and the yaml14:13
ograyeah, thats all you want then14:14
arm1eogra: done14:23
ograso gimme the url to your repo now :)14:23
arm1ehttps://github.com/arm1e/get-iplayer-snap.git14:23
arm1eikey: Once I have got the packaging learned fancy teaching me how to roll a new disro :p14:25
arm1eogra: What's the next step?14:28
ograyou wait :)14:28
arm1eogra: Thanks for helping me btw!14:28
* arm1e waits14:28
ograwow, thats a big snap14:36
ogra(i guess due to shipping ffmpeg and the world in it)14:37
arm1eogra: yeah, needs newest ffmpeg unfortunately15:03
ograarm1e, https://github.com/arm1e/get-iplayer-snap/pull/115:03
ograyou shoudl see a merge button15:04
ograclick it ... then run git pull locally so you get the changes and run snapcraft :)15:04
ogra(you can indeed also comment on the github page and complain about my bad indendation in the wrapper.sh script ;) )15:05
ograit works here for me (but i cant download anything and i dont know if ffmped will work, might need some additional love for that15:06
ogra)15:06
* ogra sees the "merged" message on github 15:07
ogragreat :)15:07
arm1eThanks very much for all of your help here!15:08
ograwell, it was a nice finger training :)15:08
ograhavent packaged perl stuff in a while15:08
ograand there is surely still enough to do for you15:09
ograbut it startss now15:09
arm1ewhat does?15:12
ograget-iplayer15:12
arm1eright will test now15:12
ograyour next challenge: make it use confinement: strict ;)15:12
ograINFO: 3366 Matching Programmes15:14
ograhah15:14
ograat least i can get the indexes in germany15:14
arm1eogra: seems to download, but not sure how this will work in a confined snap. Where will it download to? Will need to expose /home/$USER/Downloads16:05
ograarm1e, you get access to $HOME/Downloads via the home interface, just add it16:14
ograand even without it it could download to $HOME/snap/get-iplayer/ ... whihc is the user dir of the snap16:15
arm1eogra: how will the user access the downloads if it is in there?16:22
popeyfile manager16:23
popeyits in your home, but anyway, adding the home plug will allow it to save them in ~/Downloads anyway16:23
arm1edoes that restrict it being contained or is it okay?16:24
popeyit will just work fine16:24
arm1ethanks16:24
arm1epopey: btw I am starting work on my laptop entry next week.16:25
arm1epopey: 20 tweets right?16:25
popeyis it a poem?16:25
arm1ewill be16:25
popeyyou can submit almost anything :)16:25
popeynice16:25
popey20 lines, 20 tweets, whatever :)16:25
arm1epopey: how are the extra pixels working out for you?16:26
popeysoooo good16:26
arm1eI was considering another monitor myself but I usually work on my knee, rather than the office16:27
popeyhehe16:27
arm1ecant balance the monitors on them16:27
popeyRight, off to make tacos! ttfn16:27
ikeymmm16:30
ikeyvague mention of food16:30

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