Placing license.txt in the snap folder was always a rather flaky way to get it in the package, and snapcraft 3 does not like arbitrary files being placed here. This patch therefore creates a new part which places the license file in the $SNAP/doc directory of the generated package.
The second patch adds a missing reference to the ldc-jit-rt library, bringing this up to date with the upstream LICENSE file from LDC 1.10.
Placing
license.txt
in thesnap
folder was always a rather flaky way to get it in the package, and snapcraft 3 does not like arbitrary files being placed here. This patch therefore creates a new part which places the license file in the$SNAP/doc
directory of the generated package.The second patch adds a missing reference to the
ldc-jit-rt
library, bringing this up to date with the upstream LICENSE file from LDC 1.10.