Source: knews Version: 1.0b.1-24 Severity: important Tags: patch User: lib...@packages.debian.org 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 created the patch that revise this problem. Could you check and apply this patch? 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 -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6 -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6 -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6
diff -u knews-1.0b.1/debian/changelog knews-1.0b.1/debian/changelog --- knews-1.0b.1/debian/changelog +++ knews-1.0b.1/debian/changelog @@ -1,3 +1,10 @@ +knews (1.0b.1-24.1) unstable; urgency=low + + * Non-maintainer upload. + * libpng transition. + + -- Nobuhiro Iwamatsu <iwama...@nigauri.org> Mon, 06 Jun 2011 16:51:16 +0900 + knews (1.0b.1-24) unstable; urgency=low * Add Russian debconf translation (thanks, Yuri Kozlov; closes: #513508). diff -u knews-1.0b.1/src/png.c knews-1.0b.1/src/png.c --- knews-1.0b.1/src/png.c +++ knews-1.0b.1/src/png.c @@ -173,8 +173,13 @@ vol_pal = pal; vol_pn = pn; } else { +#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4 + png_set_quantize(p_str_ptr, p_cmap, cmap_size, + cmap_size, NULL, True); +#else png_set_dither(p_str_ptr, p_cmap, cmap_size, cmap_size, NULL, True); +#endif } pass = png_set_interlace_handling(p_str_ptr);