/srv/irclogs.ubuntu.com/2018/05/27/#snappy.txt

eriois someone here ?04:28
popeyerio: hello04:28
eriohey popey!04:28
popeyerio: what's up?04:29
erioErh, wanted to try something simpler, the ags engine for Linux04:29
eriowe have two builds of that currently04:30
popeyok.04:30
erioone it's a single static binary and the other is only dependent on sdl204:30
erioboth are command line software04:30
popeyOk, is there a problem I can help with?04:31
erioyou type ags in the command line, and if it finds an ags game in the folder, it runs that04:31
erio1 does the build HAS to be done in snapcraft.yaml ?04:32
erio2 is there any tool in linux for findout dependencies that need to ship?04:32
popey1) nope, you could build elsewhere and use the dump plugin to pull that in04:33
popey2) ldd04:33
popeyldd will tell you what libraries the application needs04:33
popeyit's a good start04:33
erioaahhh04:33
erioldd04:33
eriothanks04:33
eriois there any tool to find the plugs ?04:37
erioI don't get this ...04:56
eriohttps://gist.github.com/ericoporto/06b5a1c25b2656fdad7b04925200c96104:56
erioit fails on permission denied04:57
eriocp: cannot create regular file '/usr/local/bin/ags': Permission denied04:57
popeyprobably something in the Makefile in the upstream project trying to copy install files there04:57
popeymight be possible to override by setting a PREFIX04:57
popeyI'll take a look later, but I need to sleep04:58
erioaah ok04:58
eriowhere do I need to copy the files?04:59
erioin snap04:59
eriois there a FAKE_ROOT variable ?04:59
erionah it's alright, good night popey05:01
eriofound $SNAPCRAFT_PART_INSTALL05:04
eriolet me left this here, maybe someone will look at it05:28
eriohttps://github.com/ericoporto/ags-snap/blob/master/snapcraft.yaml05:29
erioright now it gives no errors but generates no .snap file at the end of the build05:29
b_bhi10:35
b_bcan we start playing with https://github.com/snapcrafters/gtk-common-themes or should we wait a bit ?10:55
b_bi'd like to try this on timeline snap10:56
b_bi'm not sure about the .desktop fil i'm providing here :13:11
b_bhttps://github.com/brunob/timeline_snap/blob/master/snap/gui/timeline.desktop13:11
b_bon ubuntu gnome 18.04 i have two problems with it :13:11
b_b- it's named timeline.desktop.desktop in the app menu13:12
b_b- cliking on it throw an error about a missing Exec in the .desktop file13:12
b_bshould i use Exec=timeline ?13:20
eriohooray!16:20
eriois there a verbose build command ?16:29
erioI have a snapcraft.yaml that builds without errors but DOESN'T generate a .snap file at the end16:29
popeyerio: show us the yaml?17:25
eriowait a second, retrying17:26
eriohttps://github.com/ericoporto/ags-snap/blob/master/snapcraft.yaml17:28
erioooh.. wait. it worked now17:31
erioI swear, thing weren't copying from stage to prime and now it did ..17:32
eriohooray it's working in devmode :D17:35
popeyyay17:43
erioI think I only need home, opengl, pulseaudio to migrate to strict17:50
eriobut not sure...17:50
eriothe snap store needs a way to link to the original .yaml file that originated the snap (if the developer wants at least)17:53
b_bis there a way to tell to build.snapcraft.io that i only want adm64 build for now?17:53
cjwatsonb_b: Not yet; such a facility is in the works, but not finished yet.17:57
b_b'k, thx cjwatson17:57
b_bwas just thinking about it in order to avoid wasted time to build machines17:57
cjwatsonb_b: When it's implemented, it'll look like https://forum.snapcraft.io/t/architectures/497217:57
b_bnice build-on: amd6417:58
b_bi'm trying to fix the desktop file provieded with my snap17:59
b_bi'm reading this but not sure if it's outdated : http://ubuntudesign.github.io/docs-demo/snappy-dev/snaps_directory_structure/17:59
b_bExec=http.GET %U18:00
b_bhere my actual desktop file :18:00
b_bhttps://github.com/brunob/timeline_snap/blob/master/snap/gui/timeline.desktop18:00
b_b'ive trid my snap on ubuntu 18.04 gnome, but i get an error about a missing exec line ine the dekstop file18:00
b_bwhich doesn't seem to be the case when i look at the content of the .snap file18:01
b_bshoul i call Exec=timeline.timeline ?18:02
b_btimeline is the namp of the snap + timeline is also the name of the program18:02
cjwatson(I'm hoping to get back to finishing the implementation of the architectures stuff on Tuesday; I got some way into it but then got sidetracked by some other urgent things.)18:02
cjwatsonNo idea about the other thing, I'm afraid.18:02
b_bthx anyaway18:02
b_bi'll post on the forum18:03
b_bhttps://forum.snapcraft.io/t/snapd-mangling-desktop-file-exec-line/2908/4 it seems to be that18:04
eriois there a reason why alsa has no autoconnect ?18:05
erioI found this https://forum.snapcraft.io/t/reusable-alsa-lib-part/3556/818:13
eriobut there is no link to a repository - which would have newest version of snapcraft.yaml I guess18:13
popeyit's a remote part, you can just use after: [ partname ]18:14
popeyand snapcraft will go and find it18:14
popeyvia https://parts.snapcraft.io/v1/status18:14
popey(see the top of that page output - Processing origin 'https://github.com/diddledan/snapcraft-alsa.git' )18:15
b_b"desktop doesnt precise is Exec field"18:21
b_bweird18:21
b_bif i cat /snap/tiemline/../*.desktop i can see my Exec=timeline.timeline18:21
eriothanks popey !18:22
eriotrying that now18:22
b_bExec=<snap name>[.<app name>] [<argument> ...]18:25
erio Parts 'alsa-lib' and 'ags' have the following files, but with different contents ...18:28
erioI guess I need to on the stage part , to tell snapcraft to prefer one of the parts18:30
eriogot it, stage can exclude with minus sign :D18:41
eriouhm... it still can't access alsa from allegro18:44
eriowonder if  desktop-launch is needed...?18:44
eriothis is the test to strict https://github.com/ericoporto/ags-snap/blob/ags-snap-to-strict/snapcraft.yaml18:54
erioworks, but no sound because the engine uses alsa18:55
erioand it can't find alsa and then, it doesn't work18:55
b_b'k, got a working desktop file18:55
b_bhttps://dashboard.snapcraft.io/snaps/timeline/revisions/15/18:56
b_banyone know if https://github.com/snapcrafters/gtk-common-themes can be used safely now ?18:59
b_bsee u ++19:09
ads20000I'm loving the new refresh-date layout in 2.33! <322:32
ads20000very readable!22:32
popeyads20000: you're up late :)23:40
ads20000popey: need to do laundry at some point and sorting out housing for next academic year, bit of a nightmare :P23:41
popey:)23:41
ads20000tho a manageable nightmare...also my sleep schedule is dreadful xD23:41
popey:)23:41
popeyThanks for all your activity on snapcrafters. You're really all over the conversations in github and the forums.23:41
popeyIt's really appreciated.23:42
ads20000popey: I'm glad it's appreciated rather than annoying ;)23:42
ads20000At least my procrastination does some good ;)23:42
popeyIt's totally not annoying at all.23:42
ads20000coolio, I'm happy to help out with a great project (despite some understandable flaws, all projects have flaws anyway)23:43
popeyya23:43
ads20000Love all my silently updating apps, so amazing, thanks all for the work, looking forward to even more stuff snapped in the future, particularly standard desktop stuff, silently updating GNOME is going to be amazing, we could have new GNOME well before any other fixed-release distro!23:45
popeyI have set my updates to happen at 4-7 am23:47
popeyso i wake up to new apps23:47
ads20000niiiiice, tho that means you have your comp on all the time? 🤔 I guess most people do that tbh...I do it these days because my computer's alarm is good at waking me up xD23:50
popeyoh yeah. I sometimes suspend it if i remember23:50
ads20000popey: was it you who marked yourself as affected by [this bug](https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1770961)? That would make it easier for people to access the refresh timer :)23:51
mupBug #1770961: Add options to set the snappy refresh schedule <amd64> <apport-bug> <bionic> <wayland-session> <software-properties (Ubuntu):Confirmed> <https://launchpad.net/bugs/1770961>23:51
ads20000(on Ubuntu)23:51
popeyooh, that would be cool23:55

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