Re: Issues creating webapps snaps with stric confinement

2017-04-19 Thread Olivier Tilloy
On Tue, Apr 18, 2017 at 11:10 PM, Vincent JOBARD wrote: > Hi all, > > It seems that's a proxy issue since the webapps works well at home. Is > there a way to use a webapp through a proxy by the way ? webapp-launcher, being based on oxide, should be proxy-aware if the correct environment variables

Re: pro tip: use scriptlets instead of custom plugins

2017-02-20 Thread Olivier Tilloy
On Mon, Feb 20, 2017 at 5:55 PM, Kyle Fazzari wrote: > On Feb 20, 2017 6:23 AM, "Olivier Tilloy" > wrote: > > On Fri, Feb 17, 2017 at 12:11 AM, Leo Arias wrote: >> Hello! >> >> This week I've been cleaning a few of my old snaps, using some of t

Re: pro tip: use scriptlets instead of custom plugins

2017-02-20 Thread Olivier Tilloy
On Fri, Feb 17, 2017 at 12:11 AM, Leo Arias wrote: > Hello! > > This week I've been cleaning a few of my old snaps, using some of the > new features in more recent versions of snapcraft. At first I wasn't > convinced about scriptlets, but now I think they are great. Take a > look at this diff: > >

Re: connecting a non-auto interface, automatically

2017-02-08 Thread Olivier Tilloy
On Tue, Feb 7, 2017 at 3:43 PM, Simon Fels wrote: > On 07.02.2017 15:36, knitzsche wrote: >> What is the approach to connect interfaces that are not auto-connecting >> without user intervention? >> >> That is, there's a snap (built into an image) that declares the >> log-observe plug. Log-observe

Re: ubuntu-app-platform updated to Qt 5.6.2

2017-01-31 Thread Olivier Tilloy
On Tue, Jan 31, 2017 at 4:56 PM, Leo Arias wrote: > On Tue, Jan 31, 2017 at 9:21 AM, Olivier Tilloy > wrote: >> This is a bit tricky: when packaging a Qt application that uses the >> platform snap, snapcraft will use ldd to crawl the app’s binaries and >> will automag

Re: ubuntu-app-platform updated to Qt 5.6.2

2017-01-31 Thread Olivier Tilloy
On Tue, Jan 31, 2017 at 4:39 PM, Alberto Mardegan wrote: > On 31/01/2017 18:21, Olivier Tilloy wrote: >> This is a bit tricky: when packaging a Qt application that uses the >> platform snap, snapcraft will use ldd to crawl the app’s binaries and >> will automagically add

Re: ubuntu-app-platform updated to Qt 5.6.2

2017-01-31 Thread Olivier Tilloy
On Tue, Jan 31, 2017 at 2:12 PM, Timo Jyrinki wrote: > 2017-01-31 10:23 GMT+02:00 Alberto Mardegan : >> Do we have a clear understanding of why this happens? Qt apps are >> supposed to be binary compatible against newer releases. >> One exception could be if the app itself is shipping some plugins

Re: SDL2 / Kivy keyboard event not firing in Snap

2017-01-26 Thread Olivier Tilloy
On Tue, Jan 24, 2017 at 3:04 PM, Michael Hall wrote: > On 01/24/2017 08:47 AM, Alan Pope wrote: >> On 24 January 2017 at 10:22, Olivier Tilloy >> wrote: >>> That sounds very similar to the issue I was having with the 0ad snap, >>> which after much debugging I fi

Re: Creating a snap using make or autotools

2017-01-26 Thread Olivier Tilloy
On Thu, Jan 26, 2017 at 7:55 AM, Luther Goh Lu Feng wrote: > This probably isn't the right place to ask, but I thought I should ask in > case it does matter in the context of snapping: when creating a snap of say, > a hello world program in C[1], should I use the make or autotools plugin? > > Is

Re: Snapcraft 2.25 has been released.

2017-01-24 Thread Olivier Tilloy
r apps are named "env", "evil", "sh", "hello-world", "createfile", "createfiletohome", "writetocommon". There is no app named "hello-xiaoguo", so your example is not affected by https://launchpad.net/bugs/1658123. > On

Re: SDL2 / Kivy keyboard event not firing in Snap

2017-01-24 Thread Olivier Tilloy
On Tue, Jan 24, 2017 at 4:15 AM, Aaron Hampton wrote: > Hi, > > I'm trying to use Kivy ( https://kivy.org/#home ) inside a snap. It mostly > works, but some SDL2 events don't occur. If I run the application from > outside of a snap the events do happen. > > Specifically, the textinput event works

Re: Snapcraft 2.25 has been released.

2017-01-23 Thread Olivier Tilloy
By the way, I have created a blog for it at > http://blog.csdn.net/ubuntutouch/article/details/54691673. It has the > captured pictures. > > Thanks & best regards, > XiaoGuo > > On Sat, Jan 21, 2017 at 12:09 AM, Olivier Tilloy > wrote: >> >> On Thu, Ja

Re: Snapcraft 2.25 has been released.

2017-01-20 Thread Olivier Tilloy
27;t need to be replicated in `prime`. > - cleaning all parts works correctly even if `snapcraft.yaml` is broken. > > ## Others > For the full list of things available on 2.25 feel free to check > https://launchpad.net/snapcraft/+milestone/2.25 > > # Contributions > This relea

Re: Snapcraft 2.25 has been released.

2017-01-20 Thread Olivier Tilloy
p >> are not met. >> >> ## parts >> Improvements were made to the core parts management of snapcraft: >> >> - `stage` entries now don't need to be replicated in `prime`. >> - cleaning all parts works correctly even if `snapcraft.yaml` is broken. >>

stable 0ad snap

2017-01-14 Thread Olivier Tilloy
Hi all, I’m happy to announce there's a stable snap in the store for 0ad, the real-time strategy game of ancient warfare (Alpha 21 Ulysses): https://uappexplorer.com/app/play0ad.osomon. The snap is available for i386 and amd64, and requires manual connection of the process-control interface after

Re: snapd and semaphores

2017-01-10 Thread Olivier Tilloy
On Tue, Jan 10, 2017 at 2:41 PM, Jamie Strandboge wrote: > On Wed, 2017-01-04 at 13:39 +0100, Olivier Tilloy wrote: >> >> Here is the bug report: https://launchpad.net/bugs/1653955 > > Thanks! The fix is in master and will bi in snapd 2.21. Excellent, thanks Jamie for

Re: snapd and semaphores

2017-01-04 Thread Olivier Tilloy
On Tue, Jan 3, 2017 at 8:21 PM, Jamie Strandboge wrote: > On Mon, 2017-01-02 at 16:34 +0100, Olivier Tilloy wrote: >> Hi everyone, and happy new year! >> >> I’m snapping an app that makes use of semaphores¹ and seeing an >> apparmor denial. The glibc imple

snapd and semaphores

2017-01-02 Thread Olivier Tilloy
Hi everyone, and happy new year! I’m snapping an app that makes use of semaphores¹ and seeing an apparmor denial. The glibc implementation of sem_open calls SHM_GET_NAME(EINVAL,SEM_FAILED,SEM_SHM_PREFIX) where SEM_SHM_PREFIX is "sem.", so it tries to create /dev/shm/sem.{name}, which fails because

Re: WIP snap for 0ad

2016-12-16 Thread Olivier Tilloy
On Fri, Nov 18, 2016 at 7:03 PM, Olivier Tilloy wrote: > On Fri, Nov 18, 2016 at 6:05 PM, Leo Arias wrote: >> The alpha? >> I want to play! > > Here you go: > http://people.canonical.com/~osomon/play0ad_0.0.21-alpha_amd64.snap. > Th

Re: WIP snap for 0ad

2016-12-16 Thread Olivier Tilloy
On Fri, Dec 16, 2016 at 5:28 AM, Mark Shuttleworth wrote: > On 15/12/16 07:15, Olivier Tilloy wrote: >> I haven’t gotten any further information. 2.18 is in zesty, (when) >> will it be backported to xenial/yakkety? > > > I think the push is on for 2.20-in-xenial befo

Re: WIP snap for 0ad

2016-12-15 Thread Olivier Tilloy
On Fri, Nov 18, 2016 at 3:38 PM, Jamie Strandboge wrote: > On Fri, 2016-11-18 at 15:33 +0100, Olivier Tilloy wrote: >> On Fri, Nov 18, 2016 at 2:37 PM, Jamie Strandboge >> wrote: >> > >> > On Fri, 2016-11-18 at 13:13 +0100, Olivier Tilloy wrote: >> >

Re: WIP snap for 0ad

2016-11-19 Thread Olivier Tilloy
On Fri, Nov 18, 2016 at 9:06 PM, Kyle Fazzari wrote: > > > On 11/18/2016 10:03 AM, Olivier Tilloy wrote: >> On Fri, Nov 18, 2016 at 6:05 PM, Leo Arias wrote: >>> The alpha? >>> I want to play! >> >> Here you go: >> http://people.canonical.com/

Re: WIP snap for 0ad

2016-11-18 Thread Olivier Tilloy
On Fri, Nov 18, 2016 at 6:05 PM, Leo Arias wrote: > The alpha? > I want to play! Here you go: http://people.canonical.com/~osomon/play0ad_0.0.21-alpha_amd64.snap. This is a 891MB file, sha1sum: 7a3a7af8d6295703fc89a795f8569fd5b9584f29 Once installed (with --dangerous), you will need to: - con

Re: WIP snap for 0ad

2016-11-18 Thread Olivier Tilloy
On Fri, Nov 18, 2016 at 4:05 PM, Sergio Schvezov wrote: > > > El 18/11/16 a las 10:37, Jamie Strandboge escribió: >> >> On Fri, 2016-11-18 at 13:13 +0100, Olivier Tilloy wrote: >>> >>> Hi everyone, >>> >>> I’ve been working on snapping

Re: WIP snap for 0ad

2016-11-18 Thread Olivier Tilloy
On Fri, Nov 18, 2016 at 2:37 PM, Jamie Strandboge wrote: > On Fri, 2016-11-18 at 13:13 +0100, Olivier Tilloy wrote: >> Hi everyone, >> >> I’ve been working on snapping up 0ad¹ as a side project, and I’m at >> the point where I’ve got it to run fully confined. &

WIP snap for 0ad

2016-11-18 Thread Olivier Tilloy
Hi everyone, I’ve been working on snapping up 0ad¹ as a side project, and I’m at the point where I’ve got it to run fully confined. I’ve had to modify the generated seccomp profile for this to work though, and I’m not sure where to take it from there. The game uses the following syscalls which ar

Re: Setting release version in snapcraft build

2016-09-08 Thread Olivier Tilloy
On Thu, Sep 1, 2016 at 7:40 PM, Sergio Schvezov wrote: > Readding the list > > > El 01/09/16 a las 14:27, Casey Marshall escribió: > > On Thu, Sep 1, 2016 at 12:15 PM, Sergio Schvezov > wrote: >> >> El 01/09/16 a las 14:05, Casey Marshall escribió: >> >> When automating the build process for snap