Prepare packages of zmq, zmq-sys
Jan Niehusmann
3 years ago
0 | rust-zmq (0.9.2-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium | |
1 | ||
2 | * Team upload. | |
3 | * Package zmq 0.9.2 from crates.io using debcargo 2.4.2 | |
4 | ||
5 | -- Jan Niehusmann <jan@debian.org> Fri, 24 Jul 2020 23:49:54 +0200 |
0 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: zmq | |
2 | Upstream-Contact: | |
3 | a.rottmann@gmx.at | |
4 | erick.tryzelaar@gmail.com | |
5 | Source: https://github.com/erickt/rust-zmq | |
6 | ||
7 | Files: * | |
8 | Copyright: | |
9 | 2016-2020 a.rottmann@gmx.at | |
10 | 2011-2018 erick.tryzelaar@gmail.com | |
11 | License: MIT or Apache-2.0 | |
12 | ||
13 | Files: debian/* | |
14 | Copyright: | |
15 | 2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
16 | 2020 Jan Niehusmann <jan@debian.org> | |
17 | License: MIT or Apache-2.0 | |
18 | ||
19 | License: Apache-2.0 | |
20 | Debian systems provide the Apache 2.0 license in | |
21 | /usr/share/common-licenses/Apache-2.0 | |
22 | ||
23 | License: MIT | |
24 | Permission is hereby granted, free of charge, to any person obtaining a copy | |
25 | of this software and associated documentation files (the "Software"), to deal | |
26 | in the Software without restriction, including without limitation the rights | |
27 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
28 | copies of the Software, and to permit persons to whom the Software is | |
29 | furnished to do so, subject to the following conditions: | |
30 | . | |
31 | The above copyright notice and this permission notice shall be included in all | |
32 | copies or substantial portions of the Software. | |
33 | . | |
34 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
35 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
36 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
37 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
38 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
39 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
40 | SOFTWARE. |
0 | Index: zmq/Cargo.toml | |
1 | =================================================================== | |
2 | --- zmq.orig/Cargo.toml | |
3 | +++ zmq/Cargo.toml | |
4 | @@ -189,7 +189,7 @@ version = "0.1.2" | |
5 | ||
6 | [features] | |
7 | default = ["zmq_has"] | |
8 | -vendored = ["zmq-sys/vendored"] | |
9 | +vendored = [] | |
10 | zmq_has = [] | |
11 | [badges.appveyor] | |
12 | repository = "erickt/rust-zmq" |
0 | no-vendoring.diff |
0 | rust-zmq-sys (0.11.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium | |
1 | ||
2 | * Team upload. | |
3 | * Package zmq-sys 0.11.0 from crates.io using debcargo 2.4.2 | |
4 | ||
5 | -- Jan Niehusmann <jan@debian.org> Fri, 24 Jul 2020 23:44:27 +0200 |
0 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: zmq-sys | |
2 | Upstream-Contact: | |
3 | a.rottmann@gmx.at | |
4 | erick.tryzelaar@gmail.com | |
5 | Source: https://github.com/erickt/rust-zmq | |
6 | ||
7 | Files: * | |
8 | Copyright: | |
9 | 2016-2020 a.rottmann@gmx.at | |
10 | 2011-2018 erick.tryzelaar@gmail.com | |
11 | License: MIT or Apache-2.0 | |
12 | ||
13 | Files: debian/* | |
14 | Copyright: | |
15 | 2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
16 | 2020 Jan Niehusmann <jan@debian.org> | |
17 | License: MIT or Apache-2.0 | |
18 | ||
19 | License: Apache-2.0 | |
20 | Debian systems provide the Apache 2.0 license in | |
21 | /usr/share/common-licenses/Apache-2.0 | |
22 | ||
23 | License: MIT | |
24 | Permission is hereby granted, free of charge, to any person obtaining a copy | |
25 | of this software and associated documentation files (the "Software"), to deal | |
26 | in the Software without restriction, including without limitation the rights | |
27 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
28 | copies of the Software, and to permit persons to whom the Software is | |
29 | furnished to do so, subject to the following conditions: | |
30 | . | |
31 | The above copyright notice and this permission notice shall be included in all | |
32 | copies or substantial portions of the Software. | |
33 | . | |
34 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
35 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
36 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
37 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
38 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
39 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
40 | SOFTWARE. |
0 | overlay = "." | |
1 | uploaders = ["Jan Niehusmann <jan@debian.org>"] | |
2 | ||
3 | [packages.lib] | |
4 | depends = ["libzmq3-dev"] |
0 | Index: zmq-sys/Cargo.toml | |
1 | =================================================================== | |
2 | --- zmq-sys.orig/Cargo.toml | |
3 | +++ zmq-sys/Cargo.toml | |
4 | @@ -30,9 +30,3 @@ version = "0.2.15" | |
5 | [build-dependencies.pkg-config] | |
6 | version = "0.3.17" | |
7 | ||
8 | -[build-dependencies.zeromq-src] | |
9 | -version = "0.1.7" | |
10 | -optional = true | |
11 | - | |
12 | -[features] | |
13 | -vendored = ["zeromq-src"] |
0 | Index: zmq-sys/Cargo.toml | |
1 | =================================================================== | |
2 | --- zmq-sys.orig/Cargo.toml | |
3 | +++ zmq-sys/Cargo.toml | |
4 | @@ -25,8 +25,10 @@ repository = "https://github.com/erickt/ | |
5 | libzmq = "4.1" | |
6 | [dependencies.libc] | |
7 | version = "0.2.15" | |
8 | -[build-dependencies.metadeps] | |
9 | -version = "1" | |
10 | +#[build-dependencies.metadeps] | |
11 | +#version = "1" | |
12 | +[build-dependencies.pkg-config] | |
13 | +version = "0.3.17" | |
14 | ||
15 | [build-dependencies.zeromq-src] | |
16 | version = "0.1.7" | |
17 | Index: zmq-sys/build/pkg_config.rs | |
18 | =================================================================== | |
19 | --- zmq-sys.orig/build/pkg_config.rs | |
20 | +++ zmq-sys/build/pkg_config.rs | |
21 | @@ -22,9 +22,10 @@ pub fn configure() { | |
22 | (Some(_), None) => panic!("Unable to locate libzmq include directory."), | |
23 | (None, Some(_)) => panic!("Unable to locate libzmq library directory."), | |
24 | (None, None) => { | |
25 | - if let Err(e) = metadeps::probe() { | |
26 | - panic!("Unable to locate libzmq:\n{}", e); | |
27 | - } | |
28 | + pkg_config::Config::new().atleast_version("4.1").probe("libzmq").unwrap(); | |
29 | + //if let Err(e) = metadeps::probe() { | |
30 | + // panic!("Unable to locate libzmq:\n{}", e); | |
31 | + //} | |
32 | } | |
33 | } | |
34 | } |
0 | Index: zmq-sys/Cargo.toml | |
1 | =================================================================== | |
2 | --- zmq-sys.orig/Cargo.toml | |
3 | +++ zmq-sys/Cargo.toml | |
4 | @@ -25,8 +25,8 @@ repository = "https://github.com/erickt/ | |
5 | libzmq = "4.1" | |
6 | [dependencies.libc] | |
7 | version = "0.2.15" | |
8 | -[build-dependencies.metadeps] | |
9 | -version = "1" | |
10 | +#[build-dependencies.metadeps] | |
11 | +#version = "1" | |
12 | ||
13 | [build-dependencies.zeromq-src] | |
14 | version = "0.1.7" | |
15 | Index: zmq-sys/build/pkg_config.rs | |
16 | =================================================================== | |
17 | --- zmq-sys.orig/build/pkg_config.rs | |
18 | +++ zmq-sys/build/pkg_config.rs | |
19 | @@ -22,9 +22,10 @@ pub fn configure() { | |
20 | (Some(_), None) => panic!("Unable to locate libzmq include directory."), | |
21 | (None, Some(_)) => panic!("Unable to locate libzmq library directory."), | |
22 | (None, None) => { | |
23 | - if let Err(e) = metadeps::probe() { | |
24 | - panic!("Unable to locate libzmq:\n{}", e); | |
25 | - } | |
26 | + pkg_config::Config::new().atleast_version("4.1").probe("libzmq").unwrap(); | |
27 | + //if let Err(e) = metadeps::probe() { | |
28 | + // panic!("Unable to locate libzmq:\n{}", e); | |
29 | + //} | |
30 | } | |
31 | } | |
32 | } |