From 241e5c0fc64b24de9759185328cf53f2ba4d1437 Mon Sep 17 00:00:00 2001 From: Dorota Czaplejewicz Date: Thu, 12 Sep 2019 18:15:13 +0000 Subject: [PATCH] debian: Use Debian versions of dependencies --- debian/cargo/config | 12 ++++++++++++ debian/control | 5 +++++ 2 files changed, 17 insertions(+) create mode 100644 debian/cargo/config diff --git a/debian/cargo/config b/debian/cargo/config new file mode 100644 index 00000000..6c73885a --- /dev/null +++ b/debian/cargo/config @@ -0,0 +1,12 @@ +# When modifying this file, consider instead +# to take advantage of the method that Cargo packagers use +# to set up all the necessary stuff automatically: +# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907629#30 + +[source.crates-io] +registry = 'https://github.com/rust-lang/crates.io-index' +replace-with = 'vendored-sources' + +[source.vendored-sources] +directory = '/usr/share/cargo/registry' + diff --git a/debian/control b/debian/control index caa757a5..dfa1060c 100644 --- a/debian/control +++ b/debian/control @@ -11,6 +11,11 @@ Build-Depends: libglib2.0-dev, libgtk-3-dev, libcroco3-dev, + librust-bitflags-1-dev (>= 1.0), + librust-maplit-1-dev (>= 1.0), + librust-serde-derive-1-dev (>= 1.0), + librust-serde-yaml-0.8-dev (>= 0.8), + librust-xkbcommon-0.4+wayland-dev (>= 0.4), libwayland-dev (>= 1.16), rustc, wayland-protocols (>= 1.14),