Your message dated Tue, 14 Oct 2025 07:35:26 +0000
with message-id <[email protected]>
and subject line Bug#1117961: fixed in resvg 0.45.1-6
has caused the Debian Bug report #1117961,
regarding rust-resvg - patch for zune-jpeg 0.5
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1117961: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117961
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: resvg
Version: 0.45.1-5
Severity: serious
Tags: forky, sid

rust-zune-jpeg was recently updated to 0.5, I prepared a patch
to make resvg build with the new version.

diff -Nru resvg-0.45.1/debian/changelog resvg-0.45.1/debian/changelog
--- resvg-0.45.1/debian/changelog       2025-09-24 21:53:25.000000000 +0000
+++ resvg-0.45.1/debian/changelog       2025-10-12 22:19:57.000000000 +0000
@@ -1,3 +1,10 @@
+resvg (0.45.1-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch for zune-jpeg 0.5
+
+ -- Peter Micheal Green <[email protected]>  Sun, 12 Oct 2025 22:19:57 +0000
+
 resvg (0.45.1-5) unstable; urgency=medium
 
   * drop patch 2001_svgtypes,
diff -Nru resvg-0.45.1/debian/control resvg-0.45.1/debian/control
--- resvg-0.45.1/debian/control 2025-09-24 21:51:37.000000000 +0000
+++ resvg-0.45.1/debian/control 2025-10-12 22:19:57.000000000 +0000
@@ -41,7 +41,7 @@
  librust-unicode-script-0.5+default-dev,
  librust-unicode-vo-0.1+default-dev,
  librust-xmlwriter-0.1+default-dev,
- librust-zune-jpeg-0.4+default-dev,
+ librust-zune-jpeg-0.5+default-dev,
  libstring-shellquote-perl <!nodoc>,
 # patchelf,
 # qtbase5-dev,
@@ -103,7 +103,7 @@
  librust-usvg-0.45+memmap-fonts-dev,
  librust-usvg-0.45+system-fonts-dev,
  librust-usvg-0.45+text-dev,
- librust-zune-jpeg-0.4+default-dev,
+ librust-zune-jpeg-0.5+default-dev,
  ${misc:Depends},
 Provides:
  librust-resvg-0.45+default-dev (= ${binary:Version}),
diff -Nru resvg-0.45.1/debian/patches/1004_zune-jpeg.patch 
resvg-0.45.1/debian/patches/1004_zune-jpeg.patch
--- resvg-0.45.1/debian/patches/1004_zune-jpeg.patch    1970-01-01 
00:00:00.000000000 +0000
+++ resvg-0.45.1/debian/patches/1004_zune-jpeg.patch    2025-10-12 
22:19:57.000000000 +0000
@@ -0,0 +1,36 @@
+Description: Adjust code for zune-jpeg 0.5
+Author: Peter Micheal Green <[email protected]>
+Last-Update: 2025-10-12
+
+Index: resvg-0.45.1/crates/resvg/Cargo.toml
+===================================================================
+--- resvg-0.45.1.orig/crates/resvg/Cargo.toml
++++ resvg-0.45.1/crates/resvg/Cargo.toml
+@@ -23,7 +23,7 @@ rgb = "0.8"
+ svgtypes = "0.15.3"
+ tiny-skia = "0.11.4"
+ usvg = { path = "../usvg", version = "0.45.1", default-features = false }
+-zune-jpeg = { version = "0.4", optional = true }
++zune-jpeg = { version = "0.5", optional = true }
+ 
+ [dev-dependencies]
+ once_cell = "1.5"
+Index: resvg-0.45.1/crates/resvg/src/image.rs
+===================================================================
+--- resvg-0.45.1.orig/crates/resvg/src/image.rs
++++ resvg-0.45.1/crates/resvg/src/image.rs
+@@ -83,11 +83,12 @@ mod raster_images {
+     fn decode_jpeg(data: &[u8]) -> Option<tiny_skia::Pixmap> {
+         use zune_jpeg::zune_core::colorspace::ColorSpace;
+         use zune_jpeg::zune_core::options::DecoderOptions;
++        use zune_jpeg::zune_core::bytestream::ZCursor;
+ 
+         let options = 
DecoderOptions::default().jpeg_set_out_colorspace(ColorSpace::RGBA);
+-        let mut decoder = zune_jpeg::JpegDecoder::new_with_options(data, 
options);
++        let mut decoder = 
zune_jpeg::JpegDecoder::new_with_options(ZCursor::new(data), options);
+         decoder.decode_headers().ok()?;
+-        let output_cs = decoder.get_output_colorspace()?;
++        let output_cs = decoder.output_colorspace()?;
+ 
+         let img_data = {
+             let data = decoder.decode().ok()?;
diff -Nru resvg-0.45.1/debian/patches/series resvg-0.45.1/debian/patches/series
--- resvg-0.45.1/debian/patches/series  2025-09-24 21:51:44.000000000 +0000
+++ resvg-0.45.1/debian/patches/series  2025-10-12 22:19:57.000000000 +0000
@@ -6,3 +6,4 @@
 2001_itertools.patch
 2001_rustybuzz.patch
 2002_privacy.patch
+1004_zune-jpeg.patch

--- End Message ---
--- Begin Message ---
Source: resvg
Source-Version: 0.45.1-6
Done: Jonas Smedegaard <[email protected]>

We believe that the bug you reported is fixed in the latest version of
resvg, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <[email protected]> (supplier of updated resvg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 14 Oct 2025 08:48:38 +0200
Source: resvg
Architecture: source
Version: 0.45.1-6
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard <[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Closes: 1117961
Changes:
 resvg (0.45.1-6) unstable; urgency=medium
 .
   * add patch cherry-picked upstream
     to use newer minor version of crate zune-jpeg;
     bump (build-)dependency for crate zune-jpeg;
     closes: bug#1117961, thanks to Peter Michael Green
   * reduce omitted tests
Checksums-Sha1:
 de4a94f612a1bfee9ecba70d52246230f6212aa9 3845 resvg_0.45.1-6.dsc
 c7d4ab53795a90a046c495599b6224977324ad53 18684 resvg_0.45.1-6.debian.tar.xz
 23f567a5afc3880902ef3c7e891936c3b97c8915 24971 resvg_0.45.1-6_amd64.buildinfo
Checksums-Sha256:
 3c361c7e12872d8a23d531f13f7881a1b947de3bd6a68fad8797056cc6cd6126 3845 
resvg_0.45.1-6.dsc
 42abc1ce20a3e8a6d6c9eb240a00b505473bc0aace0877c043e07de997fe9e61 18684 
resvg_0.45.1-6.debian.tar.xz
 2d2fbf76fe69a8f902da1f57228b7e4d0ec578197545492d8f178cca7053ea28 24971 
resvg_0.45.1-6_amd64.buildinfo
Files:
 f6be58fbb2c12cffec303a805e3295d4 3845 graphics optional resvg_0.45.1-6.dsc
 eae527b167d59b7dc7013f6b630b79fb 18684 graphics optional 
resvg_0.45.1-6.debian.tar.xz
 53910fa61978517d78210d74aa36f2ea 24971 graphics optional 
resvg_0.45.1-6_amd64.buildinfo


-----BEGIN PGP SIGNATURE-----

wsG7BAEBCgBvBYJo7fibCRAsfDFGwaABIUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmeZ5uRYfiMKaTB9k1TpEoqSb+NqHti2cgeBcLijY4hL
fxYhBJ/j6cNmkaaf9TzGhCx8MUbBoAEhAACBQQ/+NGXBw+n7hY4N6MrGruCvdxjJ
RP2CYa7MjMXsxHn3k585Y44uJpzyDyivU+sD/gudZPBans85SWGOhPLpZTe3v8vJ
qu9cvBNtikpEjBJC/1PYXLycyMWTWwBUlUhLJIBF4DXY35ppZYoRmMkS76R+Gjc8
cvu4JjlukeTJpdjnmEe1gih3R0o184VBJHbyxceojoV4v4vL4TLi3AWD1penTPjf
rYpEOXbGLulL5yqhDUNAUGDhQDr7r3ecVvIKKV34j3u6FbcEK9qeduZSSUvJoe/Q
j7jy2YeChIjmhcNvSQUAtbmghL3V/rkgO0vgZ5RPT7WhTccxEy6beT21JqR2XfXf
2XJb9mEhXiYCORVcausWHMmjNWrSTVkiiyVCq5PEiziaTYWJPkjsfWaPMPHXkDEM
OVC53niN1EbZCtGI50UvG+9TT9ZLIPHFc2EGXkMfXHsGtvhDTRagUzEK9hePlA0t
QTWvTooeDxRv7COshfW9zm4iE6pxFfF8mxyvgasq6nVrcOPxwCSjIyGHyRibxW0X
tGhkKm+u3IYYbajQ2xl5bQZG7tSSYISIZQ/68F2LkhTT2Dn+Dh4G3v0uYvfdCdxy
1nWNr7KMxkAPxd2yXX3pDUbWqQ+oEd3sPH7xiiWh9qWmU2/hv+uUq6UtNrlZA5hq
JqYx7v3Tzn5HE/xjywE=
=ztBQ
-----END PGP SIGNATURE-----

Attachment: pgp4VW_JdQ5go.pgp
Description: PGP signature


--- End Message ---

Reply via email to