<div dir="ltr">This now works well enough that you can do the following:<div><br></div><div>./make-snap -d 14.10 -p mir-graphics-drivers-desktop -n renderdemo -v 0 --aa-profile /usr/share/apparmor/easyprof/templates/ubuntu-snappy/1.3/unconfined mir_demo_standalone_render_surfaces<br></div><div><br></div><div>And get a snap that runs a mir demo for you (most of the time -- sometimes it crashes?)</div><div><br></div><div>-mt</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 12, 2015 at 12:37 PM, Michael Terry <span dir="ltr"><<a href="mailto:michael.terry@canonical.com" target="_blank">michael.terry@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello! I wanted to update y'all on my progress in bundling deb packages into snaps.<div><br></div><div>I've got a few new rough-and-ready scripts in the tools folder of <span style="font-family:Roboto,Arial,sans-serif;font-size:13px;line-height:15px">lp:~mterry</span><span style="font-family:Roboto,Arial,sans-serif;font-size:13px;line-height:15px">/+junk/sna</span><span style="font-family:Roboto,Arial,sans-serif;font-size:13px;line-height:15px">ppy-preloa</span><span style="font-family:Roboto,Arial,sans-serif;font-size:13px;line-height:15px">d that may be of interest to others:</span></div><div><font face="Roboto, Arial, sans-serif"><span style="line-height:15px"><br></span></font></div><div><font face="Roboto, Arial, sans-serif"><span style="line-height:15px"><b>dep-tree</b>: prints the full Depends and Recommends tree of a given package, optionally excluding anything in a provided manifest<br clear="all"></span></font><div><br></div><div><b>copy-deb</b>: copies all files from an installed deb into a separate file tree (this is very naive, and will miss things like compiled schemas)<br></div><div><br></div><div><b>make-snap</b>: you can provide this with an executable from a package on your system, it will bundle up all the files needed to run it, add the libsnappypreload.so library, plus a wrapper to set the preload bits up, and puts it all in a snap. This is also very rough and needs to be run from the tools/ directory. It also does not yet allow for any setup your executable might need, like running X first.<br></div><div><br></div><div>With all those provisos, it still can be useful for simple programs. I'm working on building it out.</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div><div dir="ltr">-mt</div></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">-mt</div></div>
</div>