Vala and Snapcraft. Issues with a library part in Vala.

Luca Dionisi luca.dionisi at gmail.com
Wed Feb 1 15:01:16 UTC 2017


On Wed, Feb 1, 2017 at 1:29 PM, Gustavo Niemeyer <gustavo at niemeyer.net> wrote:
> Yeah, besides "build-packages" there's also "stage-packages" which does
> exactly that.

I think you misunderstood. "build-packages" puts a deb package in the
build host, "stage-packages" puts a deb package in stage.
But I don't have a deb package of mylib-y.
I want snapcraft to build both mylib-y and mylib-x, where mylib-x
depends on mylib-y being installed.
What I want is snapcraft to put the "install" pieces of the part
"mylib-y" in the build host too (other than in stage).
Is that doable?
Or... wait, are you telling me that I can put the name of another
"part" in "build-packages" instead of the name of a deb?


> On Wed, Feb 1, 2017 at 8:34 AM, Luca Dionisi <luca.dionisi at gmail.com> wrote:
>>
>> This is another solution that I thought of.
>> I want to put the library mylib-y (the one that is needed by mylib-x)
>> both in the ./stage tree and in the /usr/ prefix of the host system
>> where I prepare the snap.
>> Is there a way to tell snapcraft to do so?
>> It should be similar to the way one can use 'build-packages' to
>> install deb packages on the build host.
>>
>> --Luca




More information about the Snapcraft mailing list