Your message dated Thu, 07 Apr 2016 22:08:57 +0000
with message-id <e1aoi6j-00028r...@franck.debian.org>
and subject line Bug#820347: fixed in juce 4.1.0+repack-5
has caused the Debian Bug report #820347,
regarding juce: diff for NMU version 4.1.0+repack-4.1
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 ow...@bugs.debian.org
immediately.)


-- 
820347: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820347
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: juce
Version: 4.1.0+repack-4
Severity: serious
Tags: patch

Dear maintainer,

I have prepared a patch for juce, but I don't feel confident with it, so I 
didn't upload as NMU.

diff -Nru juce-4.1.0+repack/debian/changelog juce-4.1.0+repack/debian/changelog
--- juce-4.1.0+repack/debian/changelog  2016-03-28 21:17:30.000000000 +0200
+++ juce-4.1.0+repack/debian/changelog  2016-04-07 18:36:40.000000000 +0200
@@ -1,3 +1,10 @@
+juce (4.1.0+repack-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * fix build with libpng16.
+
+ -- Gianfranco Costamagna <locutusofb...@debian.org>  Thu, 07 Apr 2016 
18:36:34 +0200
+
 juce (4.1.0+repack-4) unstable; urgency=medium

   * Updated B-D from libpng12-dev to libpng-dev.
diff -Nru juce-4.1.0+repack/debian/patches/fix-build-libpng16.patch 
juce-4.1.0+repack/debian/patches/fix-build-libpng16.patch
--- juce-4.1.0+repack/debian/patches/fix-build-libpng16.patch   1970-01-01 
01:00:00.000000000 +0100
+++ juce-4.1.0+repack/debian/patches/fix-build-libpng16.patch   2016-04-07 
18:38:04.000000000 +0200
@@ -0,0 +1,29 @@
+Description: Fix build with libpng16
+ This patch is inspired with the patch available at 
https://gist.github.com/balr0g/3004353
+Author: Gianfranco Costamagna <locutusofb...@debian.org>
+
+--- 
juce-4.1.0+repack.orig/modules/juce_graphics/image_formats/juce_PNGLoader.cpp
++++ juce-4.1.0+repack/modules/juce_graphics/image_formats/juce_PNGLoader.cpp
+@@ -320,7 +320,7 @@ namespace PNGHelpers
+ ^M
+     static void JUCE_CDECL errorCallback (png_structp p, png_const_charp)^M
+     {^M
+-        longjmp (*(jmp_buf*) p->error_ptr, 1);^M
++        setjmp(png_jmpbuf(p));^M
+     }^M
+ ^M
+     static void JUCE_CDECL warningCallback (png_structp, png_const_charp) {}^M
diff -Nru juce-4.1.0+repack/debian/changelog juce-4.1.0+repack/debian/changelog
--- juce-4.1.0+repack/debian/changelog  2016-03-28 21:17:30.000000000 +0200
+++ juce-4.1.0+repack/debian/changelog  2016-04-07 18:36:40.000000000 +0200
@@ -1,3 +1,10 @@
+juce (4.1.0+repack-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * fix build with libpng16.
+
+ -- Gianfranco Costamagna <locutusofb...@debian.org>  Thu, 07 Apr 2016 
18:36:34 +0200
+
 juce (4.1.0+repack-4) unstable; urgency=medium
 
   * Updated B-D from libpng12-dev to libpng-dev.
diff -Nru juce-4.1.0+repack/debian/patches/fix-build-libpng16.patch 
juce-4.1.0+repack/debian/patches/fix-build-libpng16.patch
--- juce-4.1.0+repack/debian/patches/fix-build-libpng16.patch   1970-01-01 
01:00:00.000000000 +0100
+++ juce-4.1.0+repack/debian/patches/fix-build-libpng16.patch   2016-04-07 
18:38:04.000000000 +0200
@@ -0,0 +1,29 @@
+Description: Fix build with libpng16
+ This patch is inspired with the patch available at 
https://gist.github.com/balr0g/3004353
+Author: Gianfranco Costamagna <locutusofb...@debian.org>
+
+--- 
juce-4.1.0+repack.orig/modules/juce_graphics/image_formats/juce_PNGLoader.cpp
++++ juce-4.1.0+repack/modules/juce_graphics/image_formats/juce_PNGLoader.cpp
+@@ -320,7 +320,7 @@ namespace PNGHelpers
+ 
+     static void JUCE_CDECL errorCallback (png_structp p, png_const_charp)
+     {
+-        longjmp (*(jmp_buf*) p->error_ptr, 1);
++        setjmp(png_jmpbuf(p));
+     }
+ 
+     static void JUCE_CDECL warningCallback (png_structp, png_const_charp) {}
+@@ -442,8 +443,12 @@ namespace PNGHelpers
+             for (size_t y = 0; y < height; ++y)
+                 rows[y] = (png_bytep) (tempBuffer + lineStride * y);
+ 
++            png_bytep trans_alpha;
++            int num_trans;
++            png_color_16p trans_color;
++            png_get_tRNS(pngReadStruct, pngInfoStruct,  &trans_alpha, 
&num_trans, &trans_color);
+             if (readImageData (pngReadStruct, pngInfoStruct, errorJumpBuf, 
rows))
+-                return createImageFromData ((colorType & 
PNG_COLOR_MASK_ALPHA) != 0 || pngInfoStruct->num_trans > 0,
++                return createImageFromData ((colorType & 
PNG_COLOR_MASK_ALPHA) != 0 || num_trans,
+                                             (int) width, (int) height, rows);
+         }
+ 
diff -Nru juce-4.1.0+repack/debian/patches/series 
juce-4.1.0+repack/debian/patches/series
--- juce-4.1.0+repack/debian/patches/series     2016-02-11 12:42:47.000000000 
+0100
+++ juce-4.1.0+repack/debian/patches/series     2016-04-07 18:37:18.000000000 
+0200
@@ -6,3 +6,4 @@
 debian_introjucer-modulepath.patch
 debian_make-introjucer.patch
 debian_do-not-track.patch
+fix-build-libpng16.patch

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: juce
Source-Version: 4.1.0+repack-5

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

Debian distribution maintenance software
pp.
IOhannes m zmölnig (Debian/GNU) <umlae...@debian.org> (supplier of updated juce 
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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Thu, 07 Apr 2016 22:18:20 +0200
Source: juce
Binary: libjuce0 libjuce-dev libjuce-doc introjucer juce-modules-source
Architecture: source
Version: 4.1.0+repack-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers 
<pkg-multimedia-maintain...@lists.alioth.debian.org>
Changed-By: IOhannes m zmölnig (Debian/GNU) <umlae...@debian.org>
Description:
 introjucer - JUCE's project management tool
 juce-modules-source - Jules' Utility Class Extensions (module sources)
 libjuce-dev - Jules' Utility Class Extensions (headers)
 libjuce-doc - Jules' Utility Class Extensions (documentation)
 libjuce0   - Jules' Utility Class Extensions
Closes: 820347
Changes:
 juce (4.1.0+repack-5) unstable; urgency=medium
 .
   [ IOhannes m zmölnig ]
   * LV2 support
     * Added LV2-wrapper sources to -dev package.
     * LV2-wrapper not included in library
     * ttl-generator for lv2
   * Another try on a decent build-date.
   * Clamped audio-plugin defines.
 .
   [ Gianfranco Costamagna ]
   * Fixed build with libpng16. (Closes: 820347)
Checksums-Sha1:
 3edfc7c43accf1b460c171dc0a5ccbb59395019c 2527 juce_4.1.0+repack-5.dsc
 f75c0dc7fd9bf732da6a0319512d8cce41364d07 58256 
juce_4.1.0+repack-5.debian.tar.xz
Checksums-Sha256:
 361c5cd5e1fa90365fcd70a42dca49f13e40a065adcd5251ce6dcf152dcde538 2527 
juce_4.1.0+repack-5.dsc
 e1aade15a6193cab15fd3325806870efe6bfc48fa3de560322ab41c1eb20115a 58256 
juce_4.1.0+repack-5.debian.tar.xz
Files:
 7888c34dc9fec551cfaceb52c76ff9b8 2527 devel optional juce_4.1.0+repack-5.dsc
 f9d918c8ce281f0a654042cdc0f2c480 58256 devel optional 
juce_4.1.0+repack-5.debian.tar.xz

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

iQIcBAEBCAAGBQJXBssLAAoJELZQGcR/ejb4I5cP+wWg9ZgqNX0dvimtbgDGJEqQ
D89KX4eMltgpANWmIBCFXhJIB8M9Rg9hfd1ceFCYYKffBCVTGFZmzQ2bft7BQrbF
Slqe/6VkxZxsW26T8DP4rkpZ+T+o6LYwUu7v56oUXyw3v63cs7YxUCz5ewa8gpmZ
iddPRpjCdoRFgct1wSMv/pnJsGSTKK7zi81YhMahbiTp0d6hSQDYBGWFOKZ0gjVB
Km603xkt1PBnei6xA+m37p7j7hFgDRAaImTc4wAhVEmaw0v4hWoRYsZ8ikHalTIQ
84N9zDEr+TkN8vT31+F8+qgGdVQd2Yq/ZXoc/OToi/sUDMIfp+8QL7vxE0q2CluL
hYIK0NDO+iXG3FaYp4RvTdccIN0y9cx6ohxmPb7KRG/jbmgAI2PpAV8z732T/L7f
ldH1RTZvOfK/yuxfNRwtviN3FvmYifvPXZH9bLNsppmCEkQJmg7+F5UUceUqBeYT
x9sGFojgrpj8ZE1ra4Zu4+amuAkCwVwR7nQ3GMka38kaBeBfpu9W8kafwEgjXGLd
Jd/ke+g1YgB7kULNgnF6tTjAlbBzNic/cvZzqrbQQOAPqsO5sEjA/p9R5BgA1lVJ
6+fjTG/KnuTDugXAtbYGpE6/Xik4ys4GMQEGlX3rHxdLZHs/ooUarYjRrXKrceM5
k4qJWbBesqon7iSfvu9U
=Z/b+
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to