Prepare expat-sys
Andrej Shadura
4 years ago
0 | rust-expat-sys (2.1.6-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium | |
1 | ||
2 | * Package expat-sys 2.1.6 from crates.io using debcargo 2.2.10 | |
3 | ||
4 | -- Andrej Shadura <andrewsh@debian.org> Sun, 21 Jul 2019 11:03:10 -0300 |
0 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: expat-sys | |
2 | Upstream-Contact: The Servo Project Developers | |
3 | Source: https://github.com/servo/libexpat/ | |
4 | ||
5 | Files: * | |
6 | Copyright: | |
7 | 2013—2018 The Servo Project Developers | |
8 | 2013 Yongjin Kim | |
9 | 2014—2015 Jack Moffitt | |
10 | and others | |
11 | License: MIT | |
12 | ||
13 | Files: debian/* | |
14 | Copyright: | |
15 | 2019 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
16 | 2019 Andrej Shadura <andrewsh@debian.org> | |
17 | License: MIT | |
18 | ||
19 | License: MIT | |
20 | Permission is hereby granted, free of charge, to any person obtaining a copy | |
21 | of this software and associated documentation files (the "Software"), to deal | |
22 | in the Software without restriction, including without limitation the rights | |
23 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
24 | copies of the Software, and to permit persons to whom the Software is | |
25 | furnished to do so, subject to the following conditions: | |
26 | . | |
27 | The above copyright notice and this permission notice shall be included in all | |
28 | copies or substantial portions of the Software. | |
29 | . | |
30 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
31 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
32 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
33 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
34 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
35 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
36 | SOFTWARE. |
0 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: expat-sys | |
2 | Upstream-Contact: Expat maintainers | |
3 | Source: https://github.com/servo/libexpat/ | |
4 | ||
5 | Files: * | |
6 | Copyright: FIXME (overlay) UNKNOWN-YEARS Expat maintainers | |
7 | License: MIT | |
8 | Comment: | |
9 | FIXME (overlay): Since upstream copyright years are not available in | |
10 | Cargo.toml, they were extracted from the upstream Git repository. This may not | |
11 | be correct information so you should review and fix this before uploading to | |
12 | the archive. | |
13 | ||
14 | Files: debian/* | |
15 | Copyright: | |
16 | 2019 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
17 | 2019 Andrej Shadura <andrewsh@debian.org> | |
18 | License: MIT | |
19 | ||
20 | License: MIT | |
21 | Permission is hereby granted, free of charge, to any person obtaining a copy | |
22 | of this software and associated documentation files (the "Software"), to deal | |
23 | in the Software without restriction, including without limitation the rights | |
24 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
25 | copies of the Software, and to permit persons to whom the Software is | |
26 | furnished to do so, subject to the following conditions: | |
27 | . | |
28 | The above copyright notice and this permission notice shall be included in all | |
29 | copies or substantial portions of the Software. | |
30 | . | |
31 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
32 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
33 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
34 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
35 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
36 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
37 | SOFTWARE. |
0 | overlay = "." | |
1 | uploaders = ["Andrej Shadura <andrewsh@debian.org>"] | |
2 | excludes = ["expat/**", "htdocs/**"] | |
3 | [source] | |
4 | build_depends = ["libexpat1-dev"] |
0 | use-system-lib.patch |
0 | --- a/build.rs | |
1 | +++ b/build.rs | |
2 | @@ -18,6 +18,7 @@ | |
3 | return; | |
4 | } | |
5 | ||
6 | +/* | |
7 | let mut dst = cmake::Config::new("expat") | |
8 | .define("BUILD_shared", "OFF") | |
9 | .define("BUILD_tools", "OFF") | |
10 | @@ -26,6 +27,7 @@ | |
11 | .build(); | |
12 | dst.push("lib"); | |
13 | println!("cargo:rustc-link-search=native={}", dst.display()); | |
14 | - println!("cargo:rustc-link-lib=static=expat"); | |
15 | +*/ | |
16 | + println!("cargo:rustc-link-lib=dylib=expat"); | |
17 | println!("cargo:outdir={}", env::var("OUT_DIR").unwrap()); | |
18 | } |