what's the exactly mean about the "stage-packages" mean when I do the snappy development?
Mike Guo
hongweig at 163.com
Tue Jan 12 04:09:55 UTC 2016
Hi, All.
I read the document here:
https://developer.ubuntu.com/en/snappy/build-apps/your-first-snap/ <https://developer.ubuntu.com/en/snappy/build-apps/your-first-snap/>
it tell me how to build my first snappy app there.
but I got some question for stage-package and the snap craft plugin does.
according the document. the snap craft kind of like a ant (or maven or make ) tool, it will manage a snappy project.
I understood snapcraft use plugin do some tasks (just like ant did, ant also use plugin for some task, like upload war to tomcat etc).
it is make sense to me. but when I read the section for add the ubuntu dependency to a part.
we add one stage-packages into a parts. snapcraft will download a couple ubuntu package there, in this example, which is ftwebcam. and it’s dependency . and when we add the plugin “go”, it did same thing too.
so, the question is: when i try to move the plugin “go” out, and add it into stage-packages section. it totally doesn’t work.
just tell me no plugin section. from here, kind of I have a little sense of it, it will be for build. and I confuse them still.
if I understood like this: what’s plugin does is a build base thing, like idk, python itself, perlself. and the states-package will be include other things: like if we try to make a php snap, the stage-package will be like lib-png, lib-jpeg, or libgd etc which those package were provided by ubuntu . am I right?
another example which I working on it, I plan to make a demo for myself, use sqlite source code, make sqlite snappy app. but which plugin I should used? it is base on C or C++
thanks everyone
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20160112/6d8521e2/attachment.html>
More information about the snappy-app-devel
mailing list