Exclude the *.a files because we can't build them right now
authorXimin Luo <infinity0@debian.org>
Thu, 24 Aug 2017 14:27:51 +0000 (16:27 +0200)
committerXimin Luo <infinity0@debian.org>
Thu, 24 Aug 2017 14:27:51 +0000 (16:27 +0200)
debian/vendor-tarball-filter.txt
debian/vendor-tarball-unsuspicious.txt

index c5881001eea0433d6ecbf0a93c59836a84ea71d7..780d2822407f21553cdb1576a8e18a0d64c17ec4 100644 (file)
@@ -5,6 +5,16 @@ libgit2-sys-*/libgit2*/
 libssh2-sys-*/libssh2*/
 libz-sys-*/src/zlib-*/
 strsim-*/docs/
+# pre-built archive for WinAPI
+# <WindowsBunny> infinity0: So the libfoo.a in my hundreds of -sys crates are from MinGW-w64
+# <WindowsBunny> infinity0: They're import libraries that only matter when targetting pc-windows-gnu
+# <WindowsBunny> 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:
+# <infinity0> well, how do we know it's free software if we don't have the build scripts for it?
+# <WindowsBunny> infinity0: Well, the .def files are in the winapi repo
+# <WindowsBunny> 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 %'
index e4cf97327fe464f6b096c1d171d7b877bb052ceb..7c93d084bae1394a97183b3cdfb711e4130fa644 100644 (file)
@@ -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