update smallvec and some rdeps
Ximin Luo
4 years ago
0 | 0 | #!/bin/sh |
1 | 1 | # Symlink {build => src}/$pkg/debian/patches for easier editing. |
2 | # | |
3 | # If you give a second argument $2, will create this patch, add Cargo.toml to | |
4 | # it, open it for editing, refresh the patch, and call cargo build for you. | |
5 | # | |
6 | # If the build succeeds, exits with success, and you can re-rerun update.sh | |
7 | # If the build fails, will "quilt add" everything so you can begin editing the | |
8 | # files without forgetting to add them. | |
9 | ||
2 | 10 | set -e |
3 | 11 | |
4 | 12 | pkg="$1" |
12 | 20 | rm -rf "build/$pkg/debian/patches" |
13 | 21 | rm -rf "build/$pkg/.pc" |
14 | 22 | ln -sfT "$PWD/src/$pkg/debian/patches" "build/$pkg/debian/patches" |
23 | ||
24 | if [ -z "$2" ]; then exit 0; fi | |
25 | ||
26 | cd "build/$pkg" | |
27 | export QUILT_PATCHES=debian/patches | |
28 | patchname="${2%.patch}.patch" | |
29 | quilt new "$patchname" | |
30 | quilt add Cargo.toml | |
31 | sensible-editor Cargo.toml | |
32 | quilt refresh | |
33 | find src -type f -execdir quilt add '{}' + | |
34 | ||
35 | while ! cargo build; do | |
36 | ||
37 | cat <<-eof | |
38 | Spawning a sub-shell. Please try to fix the build failure by editing files in | |
39 | src/, which have been already quilt-added for you to $patchname. Afterwards, | |
40 | don't forgot to run "quilt refresh". To exit this loop without having fixed the | |
41 | problem, press Ctrl-D then quickly Ctrl-C. | |
42 | eof | |
43 | $SHELL | |
44 | quilt refresh | |
45 | cargo build | |
46 | ||
47 | done | |
48 | ||
49 | echo "patching was a success!" |
0 | 0 | rust-once-cell (1.2.0-2) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium |
1 | 1 | |
2 | * Team upload. | |
3 | * Package once_cell 1.2.0 from crates.io using debcargo 2.4.2 | |
4 | ||
5 | [ Nikos Tsipinakis ] | |
2 | 6 | * Patch failing reentrant_init test |
3 | 7 | * Package once_cell 1.2.0 from crates.io using debcargo 2.4.1 |
4 | 8 | |
5 | -- Nikos Tsipinakis <nikos@tsipinakis.com> Wed, 08 Jan 2020 13:50:41 +0000 | |
9 | -- Ximin Luo <infinity0@debian.org> Wed, 08 Jan 2020 22:25:49 +0000 | |
6 | 10 | |
7 | 11 | rust-once-cell (1.2.0-1) unstable; urgency=medium |
8 | 12 |
0 | Index: once-cell/Cargo.toml | |
1 | =================================================================== | |
2 | --- once-cell.orig/Cargo.toml | |
3 | +++ once-cell/Cargo.toml | |
4 | @@ -44,7 +44,7 @@ required-features = ["std"] | |
5 | name = "regex" | |
6 | required-features = ["std"] | |
7 | [dependencies.parking_lot] | |
8 | -version = "0.9.0" | |
9 | +version = "0.10.0" | |
10 | optional = true | |
11 | default_features = false | |
12 | [dev-dependencies.crossbeam-utils] |
0 | rust-parking-lot (0.10.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium | |
1 | ||
2 | * Team upload. | |
3 | * Package parking_lot 0.10.0 from crates.io using debcargo 2.4.2 | |
4 | ||
5 | -- Ximin Luo <infinity0@debian.org> Wed, 08 Jan 2020 22:25:39 +0000 | |
6 | ||
0 | 7 | rust-parking-lot (0.9.0-1) unstable; urgency=medium |
1 | 8 | |
2 | 9 | * Team upload. |
90 | 90 | |
91 | 91 | Files: debian/* |
92 | 92 | Copyright: |
93 | 2018-2019 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
94 | 2018-2019 Sylvestre Ledru <sylvestre@debian.org> | |
95 | 2018-2019 Wolfgang Silbermayr <wolfgang@silbermayr.at> | |
93 | 2018-2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
94 | 2018-2020 Sylvestre Ledru <sylvestre@debian.org> | |
95 | 2018-2020 Wolfgang Silbermayr <wolfgang@silbermayr.at> | |
96 | 96 | License: Apache-2.0 or MIT |
97 | 97 | |
98 | 98 | License: Apache-2.0 |
0 | rust-parking-lot-core (0.7.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium | |
1 | ||
2 | * Team upload. | |
3 | * Package parking_lot_core 0.7.0 from crates.io using debcargo 2.4.2 | |
4 | ||
5 | -- Ximin Luo <infinity0@debian.org> Wed, 08 Jan 2020 22:25:36 +0000 | |
6 | ||
0 | 7 | rust-parking-lot-core (0.6.2-1) unstable; urgency=medium |
1 | 8 | |
2 | 9 | * Team upload. |
132 | 132 | |
133 | 133 | Files: debian/* |
134 | 134 | Copyright: |
135 | 2018-2019 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
136 | 2018-2019 Sylvestre Ledru <sylvestre@debian.org> | |
137 | 2018-2019 Wolfgang Silbermayr <wolfgang@silbermayr.at> | |
135 | 2018-2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
136 | 2018-2020 Sylvestre Ledru <sylvestre@debian.org> | |
137 | 2018-2020 Wolfgang Silbermayr <wolfgang@silbermayr.at> | |
138 | 138 | License: Apache-2.0 or MIT |
139 | 139 | |
140 | 140 | License: Apache-2.0 |
0 | update-dep-smallvec.patch |
0 | rust-smallvec (1.1.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium | |
1 | ||
2 | * Team upload. | |
3 | * Package smallvec 1.1.0 from crates.io using debcargo 2.4.2 | |
4 | ||
5 | -- Ximin Luo <infinity0@debian.org> Wed, 08 Jan 2020 22:26:50 +0000 | |
6 | ||
0 | 7 | rust-smallvec (0.6.10-1) unstable; urgency=medium |
1 | 8 | |
2 | 9 | * Package smallvec 0.6.10 from crates.io using debcargo 2.3.1-alpha.0 |
20 | 20 | |
21 | 21 | Files: debian/* |
22 | 22 | Copyright: |
23 | 2018-2019 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
24 | 2018-2019 kpcyrd <git@rxv.cc> | |
25 | 2018-2019 Wolfgang Silbermayr <wolfgang@silbermayr.at> | |
23 | 2018-2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
24 | 2018-2020 kpcyrd <git@rxv.cc> | |
25 | 2018-2020 Wolfgang Silbermayr <wolfgang@silbermayr.at> | |
26 | 26 | License: MIT or Apache-2.0 |
27 | 27 | |
28 | 28 | License: Apache-2.0 |