From: Ximin Luo Date: Thu, 24 Aug 2017 14:27:51 +0000 (+0200) Subject: Exclude the *.a files because we can't build them right now X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~177 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bb1c82be9087d2297c9af0f3e05657c1db85320c;p=cargo.git Exclude the *.a files because we can't build them right now --- diff --git a/debian/vendor-tarball-filter.txt b/debian/vendor-tarball-filter.txt index c5881001e..780d28224 100644 --- a/debian/vendor-tarball-filter.txt +++ b/debian/vendor-tarball-filter.txt @@ -5,6 +5,16 @@ libgit2-sys-*/libgit2*/ libssh2-sys-*/libssh2*/ libz-sys-*/src/zlib-*/ strsim-*/docs/ +# pre-built archive for WinAPI +# infinity0: So the libfoo.a in my hundreds of -sys crates are from MinGW-w64 +# infinity0: They're import libraries that only matter when targetting pc-windows-gnu +# infinity0: And even then they only matter when the user doesn't have a full MinGW-w64 installation already +# so for now we just omit them because we don't target windows in Debian (yet) +# in the future we will have to figure out how to build them, as follows: +# well, how do we know it's free software if we don't have the build scripts for it? +# infinity0: Well, the .def files are in the winapi repo +# infinity0: and you can uh... run whatever mingw tool to create the import libraries from those .def files +dbghelp-sys-*/*/*.a # To clean deps before making a new tarball, run # grep -v '^#' debian/deps-tarball-filter.txt | xargs -I% sh -c 'rm -rf %' diff --git a/debian/vendor-tarball-unsuspicious.txt b/debian/vendor-tarball-unsuspicious.txt index e4cf97327..7c93d084b 100644 --- a/debian/vendor-tarball-unsuspicious.txt +++ b/debian/vendor-tarball-unsuspicious.txt @@ -32,8 +32,3 @@ winapi-*/src/winnt.rs itoa-*/performance.png dtoa-*/performance.png backtrace-sys-*/src/libbacktrace/configure - -# Audited manually needed by dependencies -# pre-built archive for WinAPI -dbghelp-sys-*/i686/libdbghelp.a -dbghelp-sys-*/x86_64/libdbghelp.a