debian: Use Debian versions of dependencies

This commit is contained in:
Dorota Czaplejewicz
2019-09-12 18:15:13 +00:00
parent 28e0c26671
commit 241e5c0fc6
2 changed files with 17 additions and 0 deletions

12
debian/cargo/config vendored Normal file
View File

@ -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'

5
debian/control vendored
View File

@ -11,6 +11,11 @@ Build-Depends:
libglib2.0-dev, libglib2.0-dev,
libgtk-3-dev, libgtk-3-dev,
libcroco3-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), libwayland-dev (>= 1.16),
rustc, rustc,
wayland-protocols (>= 1.14), wayland-protocols (>= 1.14),