Your message dated Tue, 13 Mar 2012 22:34:28 +0000
with message-id <[email protected]>
and subject line Bug#635706: fixed in xloadimage 4.1-17
has caused the Debian Bug report #635706,
regarding xloadimage: FTBFS with libpng 1.5.2
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.)


-- 
635706: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635706
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xloadimage
Version: 4.1-16.2
Severity: important
Tags: patch
User: [email protected]
Usertags: libpng15-transition

Hi,

I uploaded libpng 1.5.2 to experimental.
libpng maintainers plan to transition from libpng 1.2 to 1.5.
I am checking build it the package depend to libpng.

I noticed your package FTBFS by libpng 1.5.
I appended the patch that corrected this problem.
Could you smoothly cooperate in libpng 1.5 to shift?

Best regards,
  Nobuhiro

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -u xloadimage-4.1/debian/changelog xloadimage-4.1/debian/changelog
--- xloadimage-4.1/debian/changelog
+++ xloadimage-4.1/debian/changelog
@@ -1,3 +1,10 @@
+xloadimage (4.1-16.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * libpng transition.
+
+ -- Nobuhiro Iwamatsu <[email protected]>  Wed, 08 Jun 2011 21:50:37 +0900
+
 xloadimage (4.1-16.2) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u xloadimage-4.1/debian/patches/00list xloadimage-4.1/debian/patches/00list
--- xloadimage-4.1/debian/patches/00list
+++ xloadimage-4.1/debian/patches/00list
@@ -19,0 +20,2 @@
+20_patch
+21_patch
only in patch2:
unchanged:
--- xloadimage-4.1.orig/debian/patches/20_patch.dpatch
+++ xloadimage-4.1/debian/patches/20_patch.dpatch
@@ -0,0 +1,60 @@
+#! /bin/sh -e
+## 10_config.c-HOME-fix.dpatch by Austin Donnelly <[email protected]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Gracefully handle lack of HOME env. variable.
+
+if [ $# -ne 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+       -patch) patch -f --no-backup-if-mismatch -p1 < $0;;
+       -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
+	*)
+		echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+		exit 1;;
+esac
+
+exit 0
+
+--- a/png.c	2011-06-08 10:28:55.000000000 +0900
++++ b/png.c	2011-06-08 10:32:20.000000000 +0900
+@@ -75,7 +75,11 @@
+ {
+   debug(" #error ");
+   output_warn( png_ptr, str);
++#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
++  longjmp(png_jmpbuf((png_ptr)),1);
++#else
+   longjmp(png_ptr->jmpbuf, 1);	/* return control to outer routine */
++#endif
+ }
+ 
+ 
+@@ -164,7 +168,11 @@
+     png_destroy_read_struct(png_pp, info_pp, end_pp);
+     return 0;
+   }
++#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
++  if (setjmp(png_jmpbuf(*png_pp))) {
++#else
+   if (setjmp((*png_pp)->jmpbuf)) {
++#endif
+     /* On error */
+     png_destroy_read_struct(png_pp, info_pp, end_pp);
+     return 0;
+@@ -220,7 +228,12 @@
+     zclose(zinput_file);
+     return 0;
+   }
++
++#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
++  if (setjmp(png_jmpbuf(png_ptr))) {
++#else
+   if (setjmp(png_ptr->jmpbuf)) {
++#endif
+     /* On error */
+     freeImage(image);
+     png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
+
only in patch2:
unchanged:
--- xloadimage-4.1.orig/debian/patches/21_patch.dpatch
+++ xloadimage-4.1/debian/patches/21_patch.dpatch
@@ -0,0 +1,34 @@
+#! /bin/sh -e
+## 10_config.c-HOME-fix.dpatch by Austin Donnelly <[email protected]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Gracefully handle lack of HOME env. variable.
+
+if [ $# -ne 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+       -patch) patch -f --no-backup-if-mismatch -p1 < $0;;
+       -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
+	*)
+		echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+		exit 1;;
+esac
+
+exit 0
+
+--- a/png.c	2011-06-08 21:56:57.000000000 +0900
++++ b/png.c	2011-06-08 21:58:16.000000000 +0900
+@@ -321,7 +321,11 @@
+   case PNG_COLOR_TYPE_GRAY_ALPHA:
+   case PNG_COLOR_TYPE_GRAY:
+     if (bit_depth < 8)
++#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
++      png_set_expand_gray_1_2_4_to_8(png_ptr);  /* 1 pixlel 1 byte */
++#else
+       png_set_gray_1_2_4_to_8(png_ptr);  /* 1 pixlel 1 byte */
++#endif
+     image = newRGBImage(width, height, 8);
+     image->rgb.used = 256;
+     for (i = 0; i < 256; i++) {

--- End Message ---
--- Begin Message ---
Source: xloadimage
Source-Version: 4.1-17

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

xloadimage_4.1-17.debian.tar.gz
  to main/x/xloadimage/xloadimage_4.1-17.debian.tar.gz
xloadimage_4.1-17.dsc
  to main/x/xloadimage/xloadimage_4.1-17.dsc
xloadimage_4.1-17_amd64.deb
  to main/x/xloadimage/xloadimage_4.1-17_amd64.deb



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.
Moritz Muehlenhoff <[email protected]> (supplier of updated xloadimage 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: SHA1

Format: 1.8
Date: Tue, 13 Mar 2012 23:07:33 +0100
Source: xloadimage
Binary: xloadimage
Architecture: source amd64
Version: 4.1-17
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <[email protected]>
Changed-By: Moritz Muehlenhoff <[email protected]>
Description: 
 xloadimage - Graphics file viewer under X11
Closes: 635706 662562
Changes: 
 xloadimage (4.1-17) unstable; urgency=low
 .
   * QA upload
   * Set maintainer to Debian QA Group
   * Switch to source format 3
   * Add patch by Nobuhiro Iwamatsu to fix compatibility with libpng 1.5
     (Closes: #635706)
   * Build-depend on libpng-dev (Closes: #662562)
Checksums-Sha1: 
 25456f3b9b5f1ffa02c259c57d11965f6a3d112b 1127 xloadimage_4.1-17.dsc
 5af7da554c75a07d02743a1f989fd7871eca647c 73774 xloadimage_4.1-17.debian.tar.gz
 913ca526ede6572b1ecfd7456301b17f59c57948 122316 xloadimage_4.1-17_amd64.deb
Checksums-Sha256: 
 266b72148f06bd8e72f75759aa45b53faed6e10db4007df3fc1a1b6708700f01 1127 
xloadimage_4.1-17.dsc
 ffdc6aca613511e03ceeb000db0b705254b955ed3a04c08fe3c51c8e44360e9e 73774 
xloadimage_4.1-17.debian.tar.gz
 fcca561d1f476e7ab1d18d6f59f6025ee5e2bb158f1cacf73fcecab353e8a19e 122316 
xloadimage_4.1-17_amd64.deb
Files: 
 4baf0116c298cc372cc56373d72c5e5e 1127 graphics optional xloadimage_4.1-17.dsc
 e8f141b7047657a059379a33c5fe5d7f 73774 graphics optional 
xloadimage_4.1-17.debian.tar.gz
 62f681ba7d2ee283a61b941ee8749afe 122316 graphics optional 
xloadimage_4.1-17_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk9fx2kACgkQXm3vHE4uylpuXQCdGDMRn6lMjf6DwD7oTUSN3P2N
sqIAn2nJFPZunXgibOho1PpSWuQaSdyF
=daQP
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to