Codebase list rust-stfu8 / d103fff
Revert "image - new upstream release." This reverts commit 0842d7d0c6b383444a49396c6f8d5f86eb917150. Peter Michael Green 1 year, 6 months ago
3 changed file(s) with 116 addition(s) and 27 deletion(s). Raw diff Collapse all Expand all
0 rust-image (0.24.4-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
0 rust-image (0.24.3-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
11
2 * Package image 0.24.4 from crates.io using debcargo 2.5.0 (Closes: #1021880, #1021883)
3
4 [ Fabian Gruenbichler ]
52 * Team upload.
63 * Package image 0.24.3 from crates.io using debcargo 2.5.0
74
8 -- Peter Michael Green <plugwash@debian.org> Tue, 18 Oct 2022 17:49:46 +0000
5 -- Fabian Gruenbichler <debian@fabian.gruenbichler.email> Sat, 17 Sep 2022 20:33:14 +0200
96
107 rust-image (0.23.14-2) unstable; urgency=medium
118
0 Index: image/Cargo.toml
1 ===================================================================
02 --- image.orig/Cargo.toml
13 +++ image/Cargo.toml
2 @@ -50,8 +49,0 @@
4 @@ -47,14 +47,6 @@ version = "1.3.2"
5 [dependencies.color_quant]
6 version = "1.1"
7
38 -[dependencies.dav1d]
49 -version = "0.6.0"
510 -optional = true
813 -version = "0.4.0"
914 -optional = true
1015 -
11 @@ -58,3 +49,0 @@
12 -[dependencies.exr]
13 -version = "1.5.0"
14 -optional = true
15 @@ -68,4 +59,0 @@
16 [dependencies.gif]
17 version = "0.11.1"
18 optional = true
19 @@ -65,10 +57,6 @@ optional = true
20 default-features = false
21 package = "jpeg-decoder"
22
1623 -[dependencies.mp4parse]
1724 -version = "0.12.0"
1825 -optional = true
1926 -
20 @@ -83,8 +70,0 @@
27 [dependencies.num-rational]
28 version = "0.4"
29 default-features = false
30 @@ -80,14 +68,6 @@ version = "0.2.0"
31 version = "0.17.0"
32 optional = true
33
2134 -[dependencies.ravif]
2235 -version = "0.8.0"
2336 -optional = true
2639 -version = "0.8.25"
2740 -optional = true
2841 -
29 @@ -118,10 +97,0 @@
42 [dependencies.scoped_threadpool]
43 version = "0.1"
44 optional = true
45 @@ -115,16 +95,6 @@ version = "0.4"
46 version = "1"
47
48 [features]
3049 -avif = ["avif-encoder"]
3150 -avif-decoder = [
3251 - "mp4parse",
3756 - "ravif",
3857 - "rgb",
3958 -]
40 @@ -146 +115,0 @@
59 benchmarks = []
60 bmp = []
61 dds = ["dxt"]
62 @@ -143,7 +113,6 @@ default = [
63 "dds",
64 "farbfeld",
65 "jpeg_rayon",
4166 - "openexr",
42 @@ -156 +124,0 @@
67 ]
68 dxt = []
69 farbfeld = []
70 @@ -153,11 +122,6 @@ ico = [
71 "png",
72 ]
73 jpeg_rayon = ["jpeg/rayon"]
4374 -openexr = ["exr"]
75 pnm = []
76 tga = []
77 webp = []
78 -
79 -[target."cfg(target_endian = \"little\")".dependencies.exr]
80 -version = "1.4.2"
81 -optional = true
0 Index: image/src/codecs/bmp/decoder.rs
1 ===================================================================
02 --- image.orig/src/codecs/bmp/decoder.rs
13 +++ image/src/codecs/bmp/decoder.rs
2 @@ -1574,3 +1574,3 @@
4 @@ -1572,13 +1572,13 @@ mod test {
5 }
6
37 #[test]
48 - fn read_rect() {
59 + /*fn read_rect() {
610 let f = std::fs::File::open("tests/images/bmp/images/Core_8_Bit.bmp").unwrap();
7 @@ -1580,3 +1580,3 @@
11 let mut decoder = super::BmpDecoder::new(f).unwrap();
12
13 let mut buf: Vec<u8> = vec![0; 8 * 8 * 3];
814 decoder.read_rect(0, 0, 8, 8, &mut *buf).unwrap();
915 - }
1016 + }*/
1117
18 #[test]
19 fn read_rle_too_short() {
20 Index: image/src/codecs/png.rs
21 ===================================================================
1222 --- image.orig/src/codecs/png.rs
1323 +++ image/src/codecs/png.rs
14 @@ -713,3 +713,3 @@
24 @@ -711,7 +711,7 @@ mod tests {
25
26 use std::io::{Cursor, Read};
1527
1628 - #[test]
1729 + /*#[test]
1830 fn ensure_no_decoder_off_by_one() {
19 @@ -737,5 +737,5 @@
31 let dec = PngDecoder::new(
32 std::fs::File::open("tests/images/png/bugfixes/debug_triangle_corners_widescreen.png")
33 @@ -735,9 +735,9 @@ mod tests {
34 .collect::<Vec<u8>>();
35
2036 assert_eq![6_000_000, correct_bytes.len()];
2137 - }
2238 + }*/
2440 - #[test]
2541 + /*#[test]
2642 fn underlying_error() {
27 @@ -755,2 +755,3 @@
43 use std::error::Error;
44
45 @@ -753,6 +753,7 @@ mod tests {
46 .downcast_ref::<png::DecodingError>()
47 .expect("Caused by a png error");
2848 }
2949 + */
3050
51 #[test]
52 fn encode_bad_color_type() {
53 Index: image/src/dynimage.rs
54 ===================================================================
3155 --- image.orig/src/dynimage.rs
3256 +++ image/src/dynimage.rs
33 @@ -1244,3 +1244,3 @@
57 @@ -1242,7 +1242,7 @@ mod test {
58 assert!(super::load_from_memory(b"").is_err());
59 }
3460
3561 - #[cfg(feature = "jpeg")]
3662 + /*#[cfg(feature = "jpeg")]
3763 #[test]
38 @@ -1259,2 +1259,3 @@
64 fn image_dimensions() {
65 let im_path = "./tests/images/jpg/progressive/cat.jpg";
66 @@ -1257,6 +1257,7 @@ mod test {
67 let image = super::open(im_path).unwrap();
68 assert_eq!(image.color(), super::color::ColorType::Rgba16);
3969 }
4070 + */
4171
72 fn test_grayscale(mut img: super::DynamicImage, alpha_discarded: bool) {
73 use crate::image::{GenericImage, GenericImageView};
74 Index: image/src/imageops/sample.rs
75 ===================================================================
4276 --- image.orig/src/imageops/sample.rs
4377 +++ image/src/imageops/sample.rs
44 @@ -866,3 +866,3 @@
78 @@ -864,7 +864,7 @@ mod tests {
79 #[cfg(feature = "benchmarks")]
80 use test;
4581
4682 - #[bench]
4783 + /*#[bench]
4884 #[cfg(all(feature = "benchmarks", feature = "png"))]
49 @@ -875,3 +875,3 @@
85 fn bench_resize(b: &mut test::Bencher) {
86 use std::path::Path;
87 @@ -873,7 +873,7 @@ mod tests {
88 test::black_box(resize(&img, 200, 200, FilterType::Nearest));
89 });
5090 b.bytes = 800 * 800 * 3 + 200 * 200 * 3;
5191 - }
5292 + }*/
5393
54 @@ -883,3 +883,3 @@
94 #[test]
95 fn test_issue_186() {
96 @@ -881,7 +881,7 @@ mod tests {
97 let _ = resize(&img, 50, 50, FilterType::Lanczos3);
98 }
5599
56100 - #[bench]
57101 + /*#[bench]
58102 #[cfg(all(feature = "benchmarks", feature = "tiff"))]
59 @@ -923,5 +923,5 @@
103 fn bench_thumbnail(b: &mut test::Bencher) {
104 let path = concat!(
105 @@ -921,9 +921,9 @@ mod tests {
106 test::black_box(image.thumbnail(256, 256));
107 });
60108 b.bytes = 193 * 193 * 4 + 256 * 256 * 4;
61109 - }
62110 + }*/
64112 - #[test]
65113 + /*#[test]
66114 #[cfg(feature = "png")]
67 @@ -957,2 +957,3 @@
115 fn resize_transparent_image() {
116 use super::FilterType::{CatmullRom, Gaussian, Lanczos3, Nearest, Triangle};
117 @@ -955,6 +955,7 @@ mod tests {
118 assert_resize(rgba8, *filter);
119 }
68120 }
69121 + */
70122
123 #[test]
124 fn bug_1600() {