Your message dated Tue, 27 Sep 2011 12:02:55 +0000
with message-id <e1r8wnd-0004dh...@franck.debian.org>
and subject line Bug#636053: fixed in gdal 1.8.1-1
has caused the Debian Bug report #636053,
regarding gdal: 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 ow...@bugs.debian.org
immediately.)


-- 
636053: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636053
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: gdal
Version: 1.7.3-5
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 --git a/frmts/png/pngdataset.cpp b/frmts/png/pngdataset.cpp
index a126e56..e7dea29 100644
--- a/frmts/png/pngdataset.cpp
+++ b/frmts/png/pngdataset.cpp
@@ -1296,8 +1296,11 @@ png_vsi_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
     * instead of an int, which is what fread() actually returns.
     */
    check = (png_size_t)VSIFReadL(data, (png_size_t)1, length,
+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
+                                 (png_FILE_p)png_get_io_ptr(png_ptr));
+#else
                                  (png_FILE_p)png_ptr->io_ptr);
-
+#endif
    if (check != length)
       png_error(png_ptr, "Read Error");
 }
@@ -1311,7 +1314,11 @@ png_vsi_write_data(png_structp png_ptr, png_bytep data, png_size_t length)
 {
    png_uint_32 check;
 
+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
+   check = VSIFWriteL(data, 1, length, (png_FILE_p)png_get_io_ptr(png_ptr));
+#else
    check = VSIFWriteL(data, 1, length, (png_FILE_p)(png_ptr->io_ptr));
+#endif
 
    if (check != length)
       png_error(png_ptr, "Write Error");
@@ -1322,7 +1329,11 @@ png_vsi_write_data(png_structp png_ptr, png_bytep data, png_size_t length)
 /************************************************************************/
 static void png_vsi_flush(png_structp png_ptr)
 {
+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
+    VSIFFlushL( (png_FILE_p)png_get_io_ptr(png_ptr) );
+#else
     VSIFFlushL( (png_FILE_p)(png_ptr->io_ptr) );
+#endif
 }
 
 /************************************************************************/
@@ -1337,8 +1348,11 @@ static void png_gdal_error( png_structp png_ptr, const char *error_message )
     // We have to use longjmp instead of a C++ exception because 
     // libpng is generally not built as C++ and so won't honour unwind
     // semantics.  Ugg. 
-
+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
+    jmp_buf* psSetJmpContext = (jmp_buf*) png_get_error_ptr(png_ptr);
+#else
     jmp_buf* psSetJmpContext = (jmp_buf*) png_ptr->error_ptr;
+#endif
     if (psSetJmpContext)
     {
         longjmp( *psSetJmpContext, 1 );

--- End Message ---
--- Begin Message ---
Source: gdal
Source-Version: 1.8.1-1

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

gdal-bin_1.8.1-1_i386.deb
  to main/g/gdal/gdal-bin_1.8.1-1_i386.deb
gdal_1.8.1-1.debian.tar.gz
  to main/g/gdal/gdal_1.8.1-1.debian.tar.gz
gdal_1.8.1-1.dsc
  to main/g/gdal/gdal_1.8.1-1.dsc
gdal_1.8.1.orig.tar.gz
  to main/g/gdal/gdal_1.8.1.orig.tar.gz
libgdal-doc_1.8.1-1_all.deb
  to main/g/gdal/libgdal-doc_1.8.1-1_all.deb
libgdal-perl_1.8.1-1_i386.deb
  to main/g/gdal/libgdal-perl_1.8.1-1_i386.deb
libgdal-ruby1.8_1.8.1-1_i386.deb
  to main/g/gdal/libgdal-ruby1.8_1.8.1-1_i386.deb
libgdal-ruby_1.8.1-1_i386.deb
  to main/g/gdal/libgdal-ruby_1.8.1-1_i386.deb
libgdal1-1.8.0_1.8.1-1_i386.deb
  to main/g/gdal/libgdal1-1.8.0_1.8.1-1_i386.deb
libgdal1-dev_1.8.1-1_i386.deb
  to main/g/gdal/libgdal1-dev_1.8.1-1_i386.deb
python-gdal_1.8.1-1_i386.deb
  to main/g/gdal/python-gdal_1.8.1-1_i386.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 636...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Francesco Paolo Lovergine <fran...@debian.org> (supplier of updated gdal 
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...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 27 Sep 2011 12:59:27 +0200
Source: gdal
Binary: libgdal1-1.8.0 libgdal1-dev libgdal-doc gdal-bin python-gdal 
libgdal-perl libgdal-ruby1.8 libgdal-ruby
Architecture: source i386 all
Version: 1.8.1-1
Distribution: experimental
Urgency: low
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Changed-By: Francesco Paolo Lovergine <fran...@debian.org>
Description: 
 gdal-bin   - Geospatial Data Abstraction Library - Utility programs
 libgdal-doc - Documentation for the Geospatial Data Abstraction Library
 libgdal-perl - Perl bindings to the Geospatial Data Abstraction Library
 libgdal-ruby - Ruby bindings to the Geospatial Data Abstraction Library
 libgdal-ruby1.8 - Ruby 1.8 bindings to the Geospatial Data Abstraction Library
 libgdal1-1.8.0 - Geospatial Data Abstraction Library
 libgdal1-dev - Geospatial Data Abstraction Library - Development files
 python-gdal - Python bindings to the Geospatial Data Abstraction Library
Closes: 558733 616821 629964 636053 638073
Changes: 
 gdal (1.8.1-1) experimental; urgency=low
 .
   [ Aron Xu ]
   * Really use libjpeg-dev to allow transition.
     (Closes: #629964)
   * Build-Depends on libpng-dev instead of libpng12-dev.
   * Transition to dh_python2. (Closes: #616821)
 .
   [ Francesco Paolo Lovergine ]
   * New upstream release with fixes for 1.8 series.
     (closes: #636053, #638073)
   * Revised for migration to dh_python2.
     (closes: #616821)
   * Merged lintian-overrides handling from 1.7 branch.
   * This version is already compatible with libdap >= 3.10, no patch needed.
   * Still retaining chrpath trick to maintain compatibility against libtool
     inner use in swing-enabled bindings.
   * Updated debian/watch file to cope with release-candidate versions which
     results newer than final ones.
   * Added symbol file to track changes in exported symbols from now on.
   * The -fvisibility=hidden has been removed.
   * Now linking uses a version script to include symbolic versions to all
     global symbols.
   * Added -Bsymbolic to force binding of global symbols to definition within
     the library. This should solve problems in linking against both tiff,
     geotiff and gdal. That should have no impact against netcdf, hdf5 and
     other common formats.
     (closes: #558733)
   * Merged a lintian override from 1.7 series for TIFF library embedding.
Checksums-Sha1: 
 1289c0a35e3b186191715c5245b58e788471d19f 2121 gdal_1.8.1-1.dsc
 b2f8b12ebdd00c05bc7f1ab7b761d9ac335c470c 8852355 gdal_1.8.1.orig.tar.gz
 501415c28d1638b4f811161fd6da63fab698dead 193885 gdal_1.8.1-1.debian.tar.gz
 9353e4d54228b887deb13987f4f92316dfc9f3ed 4209822 
libgdal1-1.8.0_1.8.1-1_i386.deb
 586aa452e9ac825b0558874f79d89940422d2832 4971206 libgdal1-dev_1.8.1-1_i386.deb
 48839c2e2742f858cc48c6d7c1c1c7d4880c26d9 279988 gdal-bin_1.8.1-1_i386.deb
 bd745b43632680da53122419acdd25c9a969d184 690972 python-gdal_1.8.1-1_i386.deb
 e196d4d5af1cc6b5db13bdd94a2dd2ac1c4f415b 437976 libgdal-perl_1.8.1-1_i386.deb
 1178599ff2763944e8cf429be43edb134d5280ec 242212 
libgdal-ruby1.8_1.8.1-1_i386.deb
 cf990b69297b7377270c14867f860d3fd635795d 83148 libgdal-ruby_1.8.1-1_i386.deb
 e4ef3ccbd19a36f4a383801d8784fe1729c14760 2403000 libgdal-doc_1.8.1-1_all.deb
Checksums-Sha256: 
 b23b1ab4a4e318444497e277d69f8ee62295ffefc77862699780d72fe0eed4a7 2121 
gdal_1.8.1-1.dsc
 d5d76b85b4a7a0e28ead6c92be0eba9e2b2361a06db0a60ef0fb85db63e7a5df 8852355 
gdal_1.8.1.orig.tar.gz
 3f040615f1daff88e7f5985acb1cecb968dbe0677775aa429e5a48901e6f5659 193885 
gdal_1.8.1-1.debian.tar.gz
 5b5b8416eaf57fbbcf895ada62306bb99621cb66b0820914741223a54f91c9b1 4209822 
libgdal1-1.8.0_1.8.1-1_i386.deb
 c0a45b23bb5cb760f8c47e5670892a91592a0b11e603a1042c0b20794bfb8899 4971206 
libgdal1-dev_1.8.1-1_i386.deb
 ceea7a36db7eb3582c2d427bec384e48aa7d141d511cd44483b4d0eafc36b303 279988 
gdal-bin_1.8.1-1_i386.deb
 fffcfc6f7c42e2ab670e21aa1c664fa2fa2891900f4adb51d1d7aab779e61a5e 690972 
python-gdal_1.8.1-1_i386.deb
 90d44b9fcb22fe744de9df3b759a402927cb61963184faa6004cdfb1d94212cc 437976 
libgdal-perl_1.8.1-1_i386.deb
 8c917f43ac466902b3625c7fd3a972d3e032618894b66b05902a9bf3f8589e45 242212 
libgdal-ruby1.8_1.8.1-1_i386.deb
 76dc398f31cda6f4e01a332e06748d25d9ba94eb71b7333a0022f8d06b5eaa78 83148 
libgdal-ruby_1.8.1-1_i386.deb
 b8cfaf99d7ef640ea81948e3e92f32a8ede9f841df2e75c94abb52221ff0af60 2403000 
libgdal-doc_1.8.1-1_all.deb
Files: 
 a11fced06485a84b829bce777036dc1a 2121 science extra gdal_1.8.1-1.dsc
 b32269893afc9dc9eced45e74e4c6bb4 8852355 science extra gdal_1.8.1.orig.tar.gz
 53fc23dea9f7d66eac2159cfa4184584 193885 science extra 
gdal_1.8.1-1.debian.tar.gz
 1d3e43bd6f2a440cd6cdcebb44f8ee09 4209822 libs extra 
libgdal1-1.8.0_1.8.1-1_i386.deb
 1f33310851994757c481b1cdf318eb6d 4971206 libdevel extra 
libgdal1-dev_1.8.1-1_i386.deb
 58899b408417359a900537b8bcdcec8b 279988 science extra gdal-bin_1.8.1-1_i386.deb
 ea104f0af5934a3f059c00db66d582e4 690972 python extra 
python-gdal_1.8.1-1_i386.deb
 2585846eba4ab8014e315606a2654362 437976 perl extra 
libgdal-perl_1.8.1-1_i386.deb
 bf9ccbb373ec702f7ec2c893b8dec283 242212 ruby extra 
libgdal-ruby1.8_1.8.1-1_i386.deb
 f9de3ab274a634e617f07677c5f31e21 83148 ruby extra libgdal-ruby_1.8.1-1_i386.deb
 4b3337e6e64f7d0fa1b5416af5900350 2403000 doc extra libgdal-doc_1.8.1-1_all.deb

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

iEYEARECAAYFAk6BuS4ACgkQpFNRmenyx0dRLgCgylAJ1LdGt64G2aEzbAg6BcxH
0a0AoJPn3AQBwjxeAB9ZcINecQ0t2dgn
=b2tS
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to