Add missing -dev files#313
Conversation
Some packages are added to the stage, but not their corresponding development packages. This patch fixes this.
|
Tested with: |
nteodosio
left a comment
There was a problem hiding this comment.
It's good, but why we are listing both the library without -dev and with -dev, given that the latter depends on the former? Will Snapcraft only stage stuff explictly present in this list?
You are right. I'll fix it. |
The unneeded packages are those that already install the -dev, so the "normal" one should not be needed.
Some -dev packages seem to not force installation of the corresponding library package, so they must be selected manually.
|
@nteodosio @3v1n0 I sorted all the -dev packages and removed the "duplicated ones" (this is, those runtime packages which already had the corresponding devel packages), and the result was several soft links missing. That's why I added the required ones again... |
|
So it look like Snapcraft indeed only considers staging what is in the package list. I'd suggest putting a comment with your findings. But good to go anyways for me. |
That's a good point, indeed. Give me a second... |
|
@nteodosio Ok, I found why... those packages are already in Core24. That's why it doesn't install them. So... maybe we can remove them without problem. |
Some packages are added to the stage, but not their corresponding development packages. This patch fixes this.
Should solve ubuntu/gnome-contacts#9