[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#635945: marked as done (flam3: FTBFS with libpng 1.5)



Your message dated Wed, 06 Jan 2016 11:20:12 +0000
with message-id <E1aGm8S-0007Sh-Pv@franck.debian.org>
and subject line Bug#635945: fixed in flam3 3.0.1-4
has caused the Debian Bug report #635945,
regarding flam3: FTBFS with libpng 1.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 owner@bugs.debian.org
immediately.)


-- 
635945: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635945
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: flam3
Version: 3.0.1-2
Severity: important
Tags: patch
User: libpng@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
diff -Nru flam3-3.0.1/debian/changelog flam3-3.0.1/debian/changelog
--- flam3-3.0.1/debian/changelog	2011-04-08 22:36:15.000000000 +0900
+++ flam3-3.0.1/debian/changelog	2011-05-30 14:31:08.000000000 +0900
@@ -1,3 +1,10 @@
+flam3 (3.0.1-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * libpng transition.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@nigauri.org>  Mon, 30 May 2011 14:31:00 +0900
+
 flam3 (3.0.1-2) unstable; urgency=low
 
   * Update to Standards-Version 3.9.2 (no changes required)
diff -Nru flam3-3.0.1/debian/control flam3-3.0.1/debian/control
--- flam3-3.0.1/debian/control	2011-04-08 22:36:15.000000000 +0900
+++ flam3-3.0.1/debian/control	2011-05-30 14:31:46.000000000 +0900
@@ -2,7 +2,7 @@
 Section: graphics
 Priority: optional
 Maintainer: Roberto C. Sanchez <roberto@connexer.com>
-Build-Depends: debhelper (>= 5), quilt, autotools-dev, autoconf, zlib1g-dev, libpng12-dev, libxml2-dev, libjpeg62-dev
+Build-Depends: debhelper (>= 5), quilt, autotools-dev, autoconf, zlib1g-dev, libpng15-dev, libxml2-dev, libjpeg62-dev
 Standards-Version: 3.9.2
 Homepage: http://flam3.com/
 
diff -Nru flam3-3.0.1/debian/patches/debian-changes-3.0.1-2.1 flam3-3.0.1/debian/patches/debian-changes-3.0.1-2.1
--- flam3-3.0.1/debian/patches/debian-changes-3.0.1-2.1	1970-01-01 09:00:00.000000000 +0900
+++ flam3-3.0.1/debian/patches/debian-changes-3.0.1-2.1	2011-05-30 14:44:20.000000000 +0900
@@ -0,0 +1,111 @@
+Description: Upstream changes introduced in version 3.0.1-2.1
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ flam3 (3.0.1-2.1) unstable; urgency=low
+ .
+   * Non-maintainer upload.
+   * libpng transition.
+ .
+ The person named in the Author field signed this changelog entry.
+Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- flam3-3.0.1.orig/src/png.c
++++ flam3-3.0.1/src/png.c
+@@ -125,6 +125,7 @@ unsigned char *read_png(FILE *ifp, int *
+   png_byte **png_image = NULL;
+   unsigned int linesize, x, y;
+   unsigned char *p, *q;
++  int bit_depth, color_type;
+ 
+   if (fread (sig_buf, 1, SIG_CHECK_SIZE, ifp) != SIG_CHECK_SIZE) {
+     fprintf (stderr, "input file empty or too short\n");
+@@ -141,8 +142,9 @@ unsigned char *read_png(FILE *ifp, int *
+     return 0;
+   }
+   if (setjmp(png_jmpbuf(png_ptr))) {
++	 int height_temp = png_get_image_height(png_ptr, info_ptr);
+      if (png_image) {
+-	 for (y = 0 ; y < info_ptr->height ; y++)
++	 for (y = 0 ; y < height_temp ; y++)
+ 	     free (png_image[y]);
+ 	 free (png_image);
+      }
+@@ -161,19 +163,20 @@ unsigned char *read_png(FILE *ifp, int *
+   png_set_sig_bytes (png_ptr, SIG_CHECK_SIZE);
+   png_read_info (png_ptr, info_ptr);
+ 
+-  if (8 != info_ptr->bit_depth) {
++  bit_depth = png_get_bit_depth(png_ptr, info_ptr);
++  if (8 != bit_depth) {
+     fprintf(stderr, "bit depth type must be 8, not %d.\n",
+-	    info_ptr->bit_depth);
++	    bit_depth);
+     return 0;
+   }
+ 
+-  *width = info_ptr->width;
+-  *height = info_ptr->height;
++  *width = png_get_image_width(png_ptr, info_ptr);
++  linesize = *height = png_get_image_height(png_ptr, info_ptr);
+   p = q = malloc(4 * *width * *height);
+-  png_image = (png_byte **)malloc (info_ptr->height * sizeof (png_byte*));
++  png_image = (png_byte **)malloc (*height * sizeof (png_byte*));
+ 
+-  linesize = info_ptr->width;
+-  switch (info_ptr->color_type) {
++  color_type = png_get_color_type(png_ptr, info_ptr);
++  switch (color_type) {
+     case PNG_COLOR_TYPE_RGB:
+       linesize *= 3;
+       break;
+@@ -182,21 +185,21 @@ unsigned char *read_png(FILE *ifp, int *
+       break;
+   default:
+     fprintf(stderr, "color type must be RGB or RGBA not %d.\n",
+-	    info_ptr->color_type);
++	    color_type);
+     return 0;
+   }
+ 
+-  for (y = 0 ; y < info_ptr->height ; y++) {
++  for (y = 0 ; y < *height ; y++) {
+     png_image[y] = malloc (linesize);
+   }
+   png_read_image (png_ptr, png_image);
+   png_read_end (png_ptr, info_ptr);
+ 
+-  for (y = 0 ; y < info_ptr->height ; y++) {
++  for (y = 0 ; y < *height ; y++) {
+     unsigned char *s = png_image[y];
+-    for (x = 0 ; x < info_ptr->width ; x++) {
++    for (x = 0 ; x < *width ; x++) {
+ 
+-      switch (info_ptr->color_type) {
++      switch (color_type) {
+       case PNG_COLOR_TYPE_RGB:
+ 	p[0] = s[0];
+ 	p[1] = s[1];
+@@ -217,7 +220,7 @@ unsigned char *read_png(FILE *ifp, int *
+     }
+   }
+ 
+-  for (y = 0 ; y < info_ptr->height ; y++)
++  for (y = 0 ; y < *height ; y++)
+     free (png_image[y]);
+   free (png_image);
+   png_destroy_read_struct (&png_ptr, &info_ptr, (png_infopp)NULL);  
diff -Nru flam3-3.0.1/debian/patches/series flam3-3.0.1/debian/patches/series
--- flam3-3.0.1/debian/patches/series	2009-08-26 09:16:03.000000000 +0900
+++ flam3-3.0.1/debian/patches/series	2011-05-30 14:31:49.000000000 +0900
@@ -1 +1,2 @@
 manpage_whatis_fix.patch
+debian-changes-3.0.1-2.1

--- End Message ---
--- Begin Message ---
Source: flam3
Source-Version: 3.0.1-4

We believe that the bug you reported is fixed in the latest version of
flam3, 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 635945@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tobias Frost <tobi@debian.org> (supplier of updated flam3 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 06 Jan 2016 11:48:26 +0100
Source: flam3
Binary: flam3
Architecture: source amd64
Version: 3.0.1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Tobias Frost <tobi@debian.org>
Description:
 flam3      - render and animate FLAM3s and manipulate their genomes
Closes: 635945 662326
Changes:
 flam3 (3.0.1-4) unstable; urgency=medium
 .
   * Add patch from Nobuhiro for the libpng transition (Closes: #635945)
   * Change B-D to libpng-dev (Closes: #662326)
   * Convert d/rules to short debhelper format
Checksums-Sha1:
 81c98148d90cbc82419e569c8bb2ea91aa678de7 1727 flam3_3.0.1-4.dsc
 692e7631a0917b1ef1e657d6824f9515c915f0d7 6700 flam3_3.0.1-4.debian.tar.xz
Checksums-Sha256:
 53a64c43eb860232a4627fa1439d4460b1e126620ebb6cc4439d58b9228887e2 1727 flam3_3.0.1-4.dsc
 dfbf057f31115aa66b192d0f9120bc3a346a7bac0f189c0cf33f50d23411163e 6700 flam3_3.0.1-4.debian.tar.xz
Files:
 1abafd1f72f60e032199cd902dde5030 1727 graphics optional flam3_3.0.1-4.dsc
 fb43ccbc30f3aa9e7754dc660b99591b 6700 graphics optional flam3_3.0.1-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWjPIqAAoJEJFk+h0XvV02H3EP/1dGseK3E6sRVzhkVKUA2F3C
Pc9VdcMNYHu2A5fdvy9wBEstppeTdWoAvnvuHqaI4Z6D3IZxtnyjR+durImL05IU
jD4/mUlFdffgnmwhOiD8rGrzn2jR6pSNFa9jvnCxSnPjY+7iotZ3EB3mPT3eyUP2
CX3rjo6UEWVSRQ+dtUtw8KFo6X1x11bNpFfNW94rb1Jv22gxZU2TFC3cXstcT0jp
+WRfafLdgE95m5yyuqILH3lK2ssRjiLCJk/5oTl99uKVgE9V3onbmnQc18ynHIRY
LoVOHahtMhb6CRH441iP3dbgnyeKf3JdV+v5/Y+RYztGEr/++mK2bzv3RDZ7/sso
qoTSYv+dP0Id7gGr1mqsjAsoSOLnnE/Ah38vYA/6BbNwtgwGjPiJO64SBeADP7xy
GcvDJaB9GvYBtmjqsYH8hG6eXqvuzGffAreAV/IUtXyrh168sjbZL6VuUis9wSAl
ttEwmjCImQePYuEj/agf7i4O85oZpv9JNxVUOUAwa/l0+p6wuq/QpitvOnvHocnT
cP95rXvbWFvbi1y/YFSnvq8I0IYbyJ+P3kN1sW48JuU7PSL83MuwPoqIhvRe+QDC
k7pszyP1deEBosoz0+sDVuGGo9k+zxl0HWXWbxth8PZg2gVIJmtrrcx586xKump5
y/47OLSOP154KPNihc5R
=7JiM
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: