Your message dated Mon, 27 Jan 2014 03:49:23 +0000
with message-id <[email protected]>
and subject line Bug#693047: fixed in libpng 1.2.50-1
has caused the Debian Bug report #693047,
regarding libpng: Please add autopkgtest
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.)


-- 
693047: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693047
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpng
Version: 1.2.49-1
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch raring

Hello,

in Ubuntu Rafał Cieślak contributed an autopkgtest [1] test to
libpng to run a simple compile/link/run test. This ensures that the
-dev package installs a working pkg-config file, header files into the
correct place, pulls in the right dependencies, etc.

autopkgtest/DEP-8 have been a Debian standard for quite some time, but
now folks are discussing to actually deploy the tests on Debian as
well [2] so that they eventually get run on Debian's Jenkins [3].

So please consider adding the tests to Debian as well. These are
mission-critical infrastructure in Ubuntu now, so we'll ensure that
they keep working (and sending patches as appropriate).

Thanks for considering,

Martin

[1] http://dep.debian.net/deps/dep8/
[2] 
http://lists.alioth.debian.org/pipermail/autopkgtest-devel/2012-November/000256.html
[3] http://jenkins.debian.net/

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -Nru libpng-1.2.49/debian/changelog libpng-1.2.49/debian/changelog
--- libpng-1.2.49/debian/changelog      2012-05-24 16:14:45.000000000 +0200
+++ libpng-1.2.49/debian/changelog      2012-11-12 14:00:19.000000000 +0100
@@ -1,3 +1,9 @@
+libpng (1.2.49-1ubuntu2) raring; urgency=low
+
+  * Add debian/tests: Simple compile/link/run autopkgtest. (LP: #1073538)
+
+ -- Rafał Cieślak <[email protected]>  Wed, 31 Oct 2012 16:43:53 +0100
+
 libpng (1.2.49-1ubuntu1) quantal; urgency=low
 
   * Merge from Debian unstable. Remaining changes:
diff -Nru libpng-1.2.49/debian/control libpng-1.2.49/debian/control
--- libpng-1.2.49/debian/control        2012-05-24 16:15:36.000000000 +0200
+++ libpng-1.2.49/debian/control        2012-11-12 13:59:50.000000000 +0100
@@ -30,6 +30,7 @@
 Conflicts: libpng2-dev, libpng-dev, libpng12-0-dev, libpng2 (<< 1.0.12-3)
 Provides: libpng-dev, libpng12-0-dev, libpng3-dev
 Replaces: libpng3-dev (<= 1.2.5), libpng12-0-dev
+XS-Testsuite: autopkgtest
 Description: PNG library - development
  libpng is a library implementing an interface for reading and writing
  PNG (Portable Network Graphics) format files.
diff -Nru libpng-1.2.49/debian/tests/build libpng-1.2.49/debian/tests/build
--- libpng-1.2.49/debian/tests/build    1970-01-01 01:00:00.000000000 +0100
+++ libpng-1.2.49/debian/tests/build    2012-11-12 13:59:50.000000000 +0100
@@ -0,0 +1,25 @@
+#!/bin/sh
+# autopkgtest check: Builds a small application against libpng, checking
+# if it compiles, links and runs successfully.
+# Author: Rafał Cieślak <[email protected]> 
+
+set -e
+
+WORKDIR=$(mktemp -d)
+trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
+cd $WORKDIR
+cat <<EOF > build_test.c
+#include <png.h>
+int main(int argc, char** argv) {
+       png_structp png_ptr = NULL;
+       //Just creating a simple wrie struct.
+       png_ptr = png_create_write_struct (PNG_LIBPNG_VER_STRING, NULL, NULL, 
NULL);
+       if(!png_ptr) return 1;
+       return 0;
+}
+EOF
+gcc -o build_test build_test.c -lpng
+echo "build: OK"
+[ -x build_test ]
+./build_test
+echo "run: OK"
diff -Nru libpng-1.2.49/debian/tests/control libpng-1.2.49/debian/tests/control
--- libpng-1.2.49/debian/tests/control  1970-01-01 01:00:00.000000000 +0100
+++ libpng-1.2.49/debian/tests/control  2012-11-12 13:59:50.000000000 +0100
@@ -0,0 +1,2 @@
+Tests: build
+Depends: build-essential, libpng12-dev

--- End Message ---
--- Begin Message ---
Source: libpng
Source-Version: 1.2.50-1

We believe that the bug you reported is fixed in the latest version of
libpng, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nobuhiro Iwamatsu <[email protected]> (supplier of updated libpng 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: SHA256

Format: 1.8
Date: Mon, 27 Jan 2014 11:51:01 +0900
Source: libpng
Binary: libpng12-0 libpng12-dev libpng3 libpng12-0-udeb
Architecture: source amd64
Version: 1.2.50-1
Distribution: unstable
Urgency: low
Maintainer: Anibal Monsalve Salazar <[email protected]>
Changed-By: Nobuhiro Iwamatsu <[email protected]>
Description: 
 libpng12-0 - PNG library - runtime
 libpng12-0-udeb - PNG library - minimal runtime library (udeb)
 libpng12-dev - PNG library - development
 libpng3    - PNG library - runtime
Closes: 693047
Changes: 
 libpng (1.2.50-1) unstable; urgency=low
 .
   * New upstream release.
   * Update Standards-Version to 3.9.5.
   * Add support autopkgtest. (Closes: #693047)
     Thanks Rafał Cieślak, Martin Pitt and Jakub Wilk.
Checksums-Sha1: 
 3bee04d895df9323585591b9c5d5eda527bf009e 1979 libpng_1.2.50-1.dsc
 3ac9c32fc08804d4a1858cb5d02c6d0fb55ede37 539152 libpng_1.2.50.orig.tar.xz
 0b8c9aa118bd404eb1da7e1e1f909c26c09e8417 16775 libpng_1.2.50-1.debian.tar.bz2
 dc7c972618c1d1817438753b2fd2cfbd2243cd09 189404 libpng12-0_1.2.50-1_amd64.deb
 714fdd029a8fa9852a0f884c4b4dc11609f30213 266870 libpng12-dev_1.2.50-1_amd64.deb
 aeef5f0c2b7276128cd06f7c7bb575c16559cf05 1008 libpng3_1.2.50-1_amd64.deb
 5f963f4095d5c2f6e25afd5e59dc4c2ecb3a121b 62994 
libpng12-0-udeb_1.2.50-1_amd64.udeb
Checksums-Sha256: 
 9749990d4f136d12f9b04215c3664c9fb70bf08095eecf2bc66b6e12ee47736a 1979 
libpng_1.2.50-1.dsc
 4724f81f8c92ac7f360ad1fbf173396ea7c535923424db9fbaff07bfd9d8e8e7 539152 
libpng_1.2.50.orig.tar.xz
 d6ea52a065269079c865c3a098ff27f25c5f0d2d1ee20d1ac4e975f39945c04c 16775 
libpng_1.2.50-1.debian.tar.bz2
 979a5f34d75d4aa5c969417cffaa7821b5aa7c30286d56b9cd2a778f5be05acf 189404 
libpng12-0_1.2.50-1_amd64.deb
 5974d37fe1e7a7f68be316698034afd1c61909db17cda684be6185be72b6fc85 266870 
libpng12-dev_1.2.50-1_amd64.deb
 e063d6dd81593c99d1ba1fa358ec42acef62a5c3eb539f2959ffa53ea46e5c30 1008 
libpng3_1.2.50-1_amd64.deb
 bfd881510fa0ddaba93f4afde5a02971cba1868f6887e51e9177162d24ab304d 62994 
libpng12-0-udeb_1.2.50-1_amd64.udeb
Files: 
 00951422229dbf5b25ecdff815f30c5b 1979 libs optional libpng_1.2.50-1.dsc
 a3e00fccbfe356174ab515b5c00641c7 539152 libs optional libpng_1.2.50.orig.tar.xz
 3d80d4a8ebca1a37a199f1e5450c1dc1 16775 libs optional 
libpng_1.2.50-1.debian.tar.bz2
 2c13268fe93e07a1e9a053b01e000d6b 189404 libs optional 
libpng12-0_1.2.50-1_amd64.deb
 8fcc3a47916281e6e4adfaf82dbef2a5 266870 libdevel optional 
libpng12-dev_1.2.50-1_amd64.deb
 9114d43ceb4b98913a3005aa67c583f3 1008 oldlibs optional 
libpng3_1.2.50-1_amd64.deb
 251c08ea0c3258cbe60b1093046ef422 62994 debian-installer extra 
libpng12-0-udeb_1.2.50-1_amd64.udeb

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

iQIcBAEBCAAGBQJS5dCrAAoJEDIkf7tArR+mk/UQAIt6VfuKQnGAupEN8wa3nsAb
2lV8Qgx8bTEt7WgJ+tq7w641ts3G0apbbISge9PVYgg+492yCXu9qVO5XOXcnwwG
Rmgf611dGZl7cGmeJnOywsfsuCJUL42KYb1cQYa2wOEUFsEIiWcP35am2qlSP9L0
CUSObVCZeKkKeXnNnYY15sUxtzXp3CeRZxs2ZTHU5fBH5rIJMTMt+0naeQX4J2rH
O98fNLJ1tHBYM1iMBUSM80Jt9b+/Fajwc92tDZwpckn+1kb5Z5FdcPdWaxqp+a9l
Zl7LJXGwRMsLtuFpfDO7zqFURyy+BETpzsugeHtI4xxHpqSHx1y11e/eO+rxpfqC
IEQUEitpbB8a5mYSF55+R/B9iKYIHFqwBxGifGg+VbtH1GZCka/BqcgZgvvYfaS8
OcVxqUXTUXZlkXq17EvyQCCF4mguTnjkI1HM5BaXV90zaHURWJ1hC7wej6KBZwk0
qOZVQmexIl96LYDkXS1Wx824m6IFnCweY8BbIhzsZOogkBXZS2zTXy/jfIKyyttn
YZGxwrqBgl1yoprQKekNcGoximRWDmGY8CxEmooe7nESTzyp11HZIJHtizvPJjt8
vCoIqyP8imwDAjxbcwbHWTAV+d8EU4kOGTADJs6ujdTz04+bcNPNcqlQZfL1LbFV
8yrfezcjpvV5ZzcQNK8D
=SiOA
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to