Bug#635745: exactimage: FTBFS with libpng 1.5.2

2011-07-28 Thread Nobuhiro Iwamatsu
Package: exactimage
Version: 0.8.5-2
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 appended the patch that corrected this problem.
Could you check and apply attached 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
!DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN
htmlhead
title404 Not Found/title
/headbody
h1Not Found/h1
pThe requested URL /~iwamatsu/libpng/patches/exactimage_0.8.5-1.patch was not found on this server./p
hr
addressApache Server at people.debian.org Port 80/address
/body/html


Bug#635751: vnstat: Please include systemd service file

2011-07-28 Thread Michael Stapelberg
Package: vnstat
Severity: wishlist
Tags: patch


Hello,

I created a systemd service file for vnstat.
systemd is a sysvinit replacement (see [1] for more information).

Please include this file in /lib/systemd/system/ in the next upload of this 
package.

I also sent this file upstream, so hopefully it will be included in future 
releases anyway.

If you have any questions, please do not hesitate to contact me.

Thanks!
Best regards,
Michael

[1] http://en.wikipedia.org/wiki/Systemd
For debian specific documentation, see also http://wiki.debian.org/systemd


vnstat.service
Description: Binary data


Bug#635745: exactimage: FTBFS with libpng 1.5.2

2011-07-28 Thread Jakub Wilk

I don't think your patch applies cleanly:


!DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN
htmlhead
title404 Not Found/title
/headbody
h1Not Found/h1
pThe requested URL /~iwamatsu/libpng/patches/exactimage_0.8.5-1.patch was not found 
on this server./p
hr
addressApache Server at people.debian.org Port 80/address
/body/html


:P

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110728144436.ga2...@jwilk.net



Bug#635745: exactimage: FTBFS with libpng 1.5.2

2011-07-28 Thread Nobuhiro Iwamatsu
Oh, sorry.
I attached.

Thanks,
  Nobuhiro

2011/7/28 Jakub Wilk jw...@debian.org:
 I don't think your patch applies cleanly:

 !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN
 htmlhead
 title404 Not Found/title
 /headbody
 h1Not Found/h1
 pThe requested URL /~iwamatsu/libpng/patches/exactimage_0.8.5-1.patch
 was not found on this server./p
 hr
 addressApache Server at people.debian.org Port 80/address
 /body/html

 :P

 --
 Jakub Wilk




-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
diff -Nru exactimage-0.8.5/debian/changelog exactimage-0.8.5/debian/changelog
--- exactimage-0.8.5/debian/changelog	2011-04-30 21:30:56.0 +0900
+++ exactimage-0.8.5/debian/changelog	2011-05-30 13:38:35.0 +0900
@@ -1,3 +1,10 @@
+exactimage (0.8.5-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * libpng transition.
+
+ -- Nobuhiro Iwamatsu iwama...@nigauri.org  Mon, 30 May 2011 13:38:27 +0900
+
 exactimage (0.8.5-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru exactimage-0.8.5/debian/patches/debian-changes-0.8.5-1.1 exactimage-0.8.5/debian/patches/debian-changes-0.8.5-1.1
--- exactimage-0.8.5/debian/patches/debian-changes-0.8.5-1.1	1970-01-01 09:00:00.0 +0900
+++ exactimage-0.8.5/debian/patches/debian-changes-0.8.5-1.1	2011-06-09 08:52:11.0 +0900
@@ -0,0 +1,130 @@
+Description: Upstream changes introduced in version 0.8.5-1.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:
+ .
+ exactimage (0.8.5-1.1) unstable; urgency=low
+ .
+   * Non-maintainer upload.
+   * libpng transition.
+ .
+ The person named in the Author field signed this changelog entry.
+Author: Nobuhiro Iwamatsu iwama...@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: -MM-DD
+
+--- exactimage-0.8.5.orig/codecs/png.cc
 exactimage-0.8.5/codecs/png.cc
+@@ -17,6 +17,7 @@
+ 
+ #include stdlib.h
+ #include png.h
++#include zlib.h
+ 
+ #include iostream
+ 
+@@ -58,7 +59,7 @@ int PNGCodec::readImage (std::istream* s
+   png_structp png_ptr;
+   png_infop info_ptr;
+   png_uint_32 width, height;
+-  int bit_depth, color_type, interlace_type;
++  int bit_depth, color_type, interlace_type, num_trans;
+   
+   png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING,
+    NULL /*user_error_ptr*/,
+@@ -71,7 +72,7 @@ int PNGCodec::readImage (std::istream* s
+   /* Allocate/initialize the memory for image information.  REQUIRED. */
+   info_ptr = png_create_info_struct(png_ptr);
+   if (info_ptr == NULL) {
+-png_destroy_read_struct(png_ptr, png_infopp_NULL, png_infopp_NULL);
++png_destroy_read_struct(png_ptr, NULL, NULL);
+ return 0;
+   }
+   
+@@ -82,7 +83,7 @@ int PNGCodec::readImage (std::istream* s
+   
+   if (setjmp(png_jmpbuf(png_ptr))) {
+ /* Free all of the memory associated with the png_ptr and info_ptr */
+-png_destroy_read_struct(png_ptr, info_ptr, png_infopp_NULL);
++png_destroy_read_struct(png_ptr, info_ptr, NULL);
+ /* If we get here, we had a problem reading the file */
+ return 0;
+   }
+@@ -99,13 +100,13 @@ int PNGCodec::readImage (std::istream* s
+   png_read_info (png_ptr, info_ptr);
+   
+   png_get_IHDR (png_ptr, info_ptr, width, height, bit_depth, color_type,
+-		interlace_type, int_p_NULL, int_p_NULL);
++		interlace_type, NULL, NULL);
+   
+   image.w = width;
+   image.h = height;
+   image.bps = bit_depth;
+-  image.spp = info_ptr-channels;
+-  
++  image.spp = png_get_channels(png_ptr, info_ptr);
++
+   png_uint_32 res_x, res_y;
+   res_x = png_get_x_pixels_per_meter(png_ptr, info_ptr);
+   res_y = png_get_y_pixels_per_meter(png_ptr, info_ptr);
+@@ -119,11 +120,13 @@ int PNGCodec::readImage (std::istream* s
+* (not useful if you are using png_set_packing). */
+   // png_set_packswap(png_ptr);
+ 
++  png_get_tRNS(png_ptr, info_ptr, NULL, num_trans, NULL);
++
+   /* Expand paletted colors into true RGB triplets */
+   if (color_type == PNG_COLOR_TYPE_PALETTE) {
+ png_set_palette_to_rgb(png_ptr);
+ image.bps = 8;
+-if (info_ptr-num_trans)
++if (num_trans)
+   image.spp = 4;
+ else
+   image.spp = 3;
+@@ -196,11 +199,11 @@ int PNGCodec::readImage (std::istream* s
+   for (int pass = 0; pass  number_passes; ++pass)
+ for (unsigned int y = 0; y  height; ++y) {
+   row_pointers[0] = image.getRawData() + y * stride;
+-  png_read_rows(png_ptr, row_pointers, 

Processed: Re: Bug#471645: Uses obsolete blacklist

2011-07-28 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 fixed 471645 0.1.14.17-4
Bug #471645 [policyd-weight] Uses obsolete blacklist
Bug Marked as fixed in versions policyd-weight/0.1.14.17-4.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
471645: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471645
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.131187269517317.transcr...@bugs.debian.org



Bug#471645: Uses obsolete blacklist

2011-07-28 Thread Chris Butler
fixed 471645 0.1.14.17-4
thanks

Seems like this bug was fixed in 0.1.14 beta-3 according to the upstreamV
changelog. Not quite sure which debian release this corresponds to, but the
above should suffice.

On Sat, Sep 13, 2008 at 12:17:43PM +0200, Jan Wagner wrote:
 I tag the bug as wontfix and leave it open for documentation purpose as long 
 there is support for etch.

etch support is long gone - closing this bug.

-- 
Chris Butler chr...@debian.org
  GnuPG Key ID: 4096R/49E3ACD3



-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110728170449.ga28...@crustynet.org.uk