Commit 41e600a8 authored by Ximin Luo's avatar Ximin Luo

Require debcargo 2.2.6, update flate2

parent 5b58a664
......@@ -77,6 +77,9 @@ Delayed/problematic::
crossbeam-utils-0.3.2 -- ???
lazycell-0.6.0 -- dependency of mio, cargo-0.27
gcc-0.3.54 -- ???
miniz-sys v0.1.10
flate2 was patched to not use miniz, hopefully this works.
if not we can package miniz as a static C lib then miniz-sys
infinity0: I've omitted the above for now since they are older versions, let's
try to get the reverse-dependent crates using the latest versions of them.
......@@ -101,7 +104,6 @@ Some versions might be out-of-date::
semver v0.9.0 -- soft-blocked on https://github.com/steveklabnik/semver/pull/174
if it takes too long then we'll have to just upload semver-parser 0.7
+ miniz-sys v0.1.10 -- perhaps first package libminiz as a separate deb package
flate2 v1.0.2
+ backtrace-sys v0.1.23 -- perhaps first package libbacktrace as a separate deb package
backtrace v0.3.9
......
The Debian version of the flate2 crate does not actually use miniz, but uses
zlib. The "miniz-sys" feature is preserved for compatibility but it actually
activates the zlib feature rather than pulling in the miniz crate.
This is to save packaging effort - zlib is already installed in basically all
Debian systems already.
rust-flate2 (1.0.1-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
rust-flate2 (1.0.2-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
* Package flate2 1.0.2 from crates.io using debcargo 2.2.6
* Disable the actual miniz implementation and have it transparently use
zlib instead.
[ Paride Legovini ]
* Package flate2 1.0.1 from crates.io using debcargo 2.2.3
-- Paride Legovini <pl@ninthfloor.org> Sat, 14 Jul 2018 11:23:29 +0200
-- Ximin Luo <infinity0@debian.org> Tue, 14 Aug 2018 02:03:37 -0700
--- a/Cargo.toml 2018-08-14 01:22:34.279727720 -0700
+++ b/Cargo.toml 2018-08-14 01:22:59.212095676 -0700
@@ -33,10 +33,6 @@
version = "1.0"
optional = true
-[dependencies.miniz-sys]
-version = "0.1.7"
-optional = true
-
[dependencies.miniz_oxide_c_api]
version = "0.1"
features = ["no_c_export"]
@@ -56,7 +52,8 @@
version = "0.1"
[features]
-default = ["miniz-sys"]
+default = ["zlib"]
+miniz-sys = ["zlib"]
rust_backend = ["miniz_oxide_c_api"]
tokio = ["tokio-io", "futures"]
zlib = ["libz-sys"]
......@@ -35,7 +35,7 @@ fi
test -x "$DEBCARGO" || abort 1 "debcargo found but not executable: $DEBCARGO"
dcver=$($DEBCARGO --version | sed -ne 's/debcargo //p')
case $dcver in
2.0.*|2.1.*|2.2.[01234]|2.2.[01234]-*) abort 1 "unsupported debcargo version $dcver. try reinstalling with \`cargo install debcargo --force\`";;
2.0.*|2.1.*|2.2.[012345]|2.2.[012345]-*) abort 1 "unsupported debcargo version $dcver. try reinstalling with \`cargo install debcargo --force\`";;
2.2.*) true;;
*) abort 1 "unsupported debcargo version: $dcver";;
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment