[04:28] is someone here ? [04:28] erio: hello [04:28] hey popey! [04:29] erio: what's up? [04:29] Erh, wanted to try something simpler, the ags engine for Linux [04:30] we have two builds of that currently [04:30] ok. [04:30] one it's a single static binary and the other is only dependent on sdl2 [04:30] both are command line software [04:31] Ok, is there a problem I can help with? [04:31] you type ags in the command line, and if it finds an ags game in the folder, it runs that [04:32] 1 does the build HAS to be done in snapcraft.yaml ? [04:32] 2 is there any tool in linux for findout dependencies that need to ship? [04:33] 1) nope, you could build elsewhere and use the dump plugin to pull that in [04:33] 2) ldd [04:33] ldd will tell you what libraries the application needs [04:33] it's a good start [04:33] aahhh [04:33] ldd [04:33] thanks [04:37] is there any tool to find the plugs ? [04:56] I don't get this ... [04:56] https://gist.github.com/ericoporto/06b5a1c25b2656fdad7b04925200c961 [04:57] it fails on permission denied [04:57] cp: cannot create regular file '/usr/local/bin/ags': Permission denied [04:57] probably something in the Makefile in the upstream project trying to copy install files there [04:57] might be possible to override by setting a PREFIX [04:58] I'll take a look later, but I need to sleep [04:58] aah ok [04:59] where do I need to copy the files? [04:59] in snap [04:59] is there a FAKE_ROOT variable ? [05:01] nah it's alright, good night popey [05:04] found $SNAPCRAFT_PART_INSTALL [05:28] let me left this here, maybe someone will look at it [05:29] https://github.com/ericoporto/ags-snap/blob/master/snapcraft.yaml [05:29] right now it gives no errors but generates no .snap file at the end of the build [10:35] hi [10:55] can we start playing with https://github.com/snapcrafters/gtk-common-themes or should we wait a bit ? [10:56] i'd like to try this on timeline snap [13:11] i'm not sure about the .desktop fil i'm providing here : [13:11] https://github.com/brunob/timeline_snap/blob/master/snap/gui/timeline.desktop [13:11] on ubuntu gnome 18.04 i have two problems with it : [13:12] - it's named timeline.desktop.desktop in the app menu [13:12] - cliking on it throw an error about a missing Exec in the .desktop file [13:20] should i use Exec=timeline ? [16:20] hooray! [16:29] is there a verbose build command ? [16:29] I have a snapcraft.yaml that builds without errors but DOESN'T generate a .snap file at the end [17:25] erio: show us the yaml? [17:26] wait a second, retrying [17:28] https://github.com/ericoporto/ags-snap/blob/master/snapcraft.yaml [17:31] ooh.. wait. it worked now [17:32] I swear, thing weren't copying from stage to prime and now it did .. [17:35] hooray it's working in devmode :D [17:43] yay [17:50] I think I only need home, opengl, pulseaudio to migrate to strict [17:50] but not sure... [17:53] the snap store needs a way to link to the original .yaml file that originated the snap (if the developer wants at least) [17:53] is there a way to tell to build.snapcraft.io that i only want adm64 build for now? [17:57] b_b: Not yet; such a facility is in the works, but not finished yet. [17:57] 'k, thx cjwatson [17:57] was just thinking about it in order to avoid wasted time to build machines [17:57] b_b: When it's implemented, it'll look like https://forum.snapcraft.io/t/architectures/4972 [17:58] nice build-on: amd64 [17:59] i'm trying to fix the desktop file provieded with my snap [17:59] i'm reading this but not sure if it's outdated : http://ubuntudesign.github.io/docs-demo/snappy-dev/snaps_directory_structure/ [18:00] Exec=http.GET %U [18:00] here my actual desktop file : [18:00] https://github.com/brunob/timeline_snap/blob/master/snap/gui/timeline.desktop [18:00] 'ive trid my snap on ubuntu 18.04 gnome, but i get an error about a missing exec line ine the dekstop file [18:01] which doesn't seem to be the case when i look at the content of the .snap file [18:02] shoul i call Exec=timeline.timeline ? [18:02] timeline is the namp of the snap + timeline is also the name of the program [18:02] (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] No idea about the other thing, I'm afraid. [18:02] thx anyaway [18:03] i'll post on the forum [18:04] https://forum.snapcraft.io/t/snapd-mangling-desktop-file-exec-line/2908/4 it seems to be that [18:05] is there a reason why alsa has no autoconnect ? [18:13] I found this https://forum.snapcraft.io/t/reusable-alsa-lib-part/3556/8 [18:13] but there is no link to a repository - which would have newest version of snapcraft.yaml I guess [18:14] it's a remote part, you can just use after: [ partname ] [18:14] and snapcraft will go and find it [18:14] via https://parts.snapcraft.io/v1/status [18:15] (see the top of that page output - Processing origin 'https://github.com/diddledan/snapcraft-alsa.git' ) [18:21] "desktop doesnt precise is Exec field" [18:21] weird [18:21] if i cat /snap/tiemline/../*.desktop i can see my Exec=timeline.timeline [18:22] thanks popey ! [18:22] trying that now [18:25] Exec=[.] [ ...] [18:28] Parts 'alsa-lib' and 'ags' have the following files, but with different contents ... [18:30] I guess I need to on the stage part , to tell snapcraft to prefer one of the parts [18:41] got it, stage can exclude with minus sign :D [18:44] uhm... it still can't access alsa from allegro [18:44] wonder if desktop-launch is needed...? [18:54] this is the test to strict https://github.com/ericoporto/ags-snap/blob/ags-snap-to-strict/snapcraft.yaml [18:55] works, but no sound because the engine uses alsa [18:55] and it can't find alsa and then, it doesn't work [18:55] 'k, got a working desktop file [18:56] https://dashboard.snapcraft.io/snaps/timeline/revisions/15/ [18:59] anyone know if https://github.com/snapcrafters/gtk-common-themes can be used safely now ? [19:09] see u ++ [22:32] I'm loving the new refresh-date layout in 2.33! <3 [22:32] very readable! [23:40] ads20000: you're up late :) [23:41] popey: need to do laundry at some point and sorting out housing for next academic year, bit of a nightmare :P [23:41] :) [23:41] tho a manageable nightmare...also my sleep schedule is dreadful xD [23:41] :) [23:41] Thanks for all your activity on snapcrafters. You're really all over the conversations in github and the forums. [23:42] It's really appreciated. [23:42] popey: I'm glad it's appreciated rather than annoying ;) [23:42] At least my procrastination does some good ;) [23:42] It's totally not annoying at all. [23:43] coolio, I'm happy to help out with a great project (despite some understandable flaws, all projects have flaws anyway) [23:43] ya [23:45] Love 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:47] I have set my updates to happen at 4-7 am [23:47] so i wake up to new apps [23:50] niiiiice, 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 xD [23:50] oh yeah. I sometimes suspend it if i remember [23:51] popey: 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] Bug #1770961: Add options to set the snappy refresh schedule [23:51] (on Ubuntu) [23:55] ooh, that would be cool