summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-09-16 07:12:48 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-09-16 07:12:48 +0000
commita09c2aa4c2004d196a6aba1ab26fea4f4b6bf431 (patch)
treedeadc3f4f76442747c008c91588d9d629244ecd0
parentRemoved older versions (diff)
downloadhistorical-a09c2aa4c2004d196a6aba1ab26fea4f4b6bf431.tar.gz
historical-a09c2aa4c2004d196a6aba1ab26fea4f4b6bf431.tar.bz2
historical-a09c2aa4c2004d196a6aba1ab26fea4f4b6bf431.zip
Bug #378169 again, missed on more case with libpng15, revbump to ensure all users get the rebuilt version.
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
-rw-r--r--media-gfx/pngtools/ChangeLog9
-rw-r--r--media-gfx/pngtools/Manifest6
-rw-r--r--media-gfx/pngtools/files/pngtools-0.4-libpng15-fixes.patch42
-rw-r--r--media-gfx/pngtools/pngtools-0.4-r2.ebuild (renamed from media-gfx/pngtools/pngtools-0.4-r1.ebuild)2
4 files changed, 36 insertions, 23 deletions
diff --git a/media-gfx/pngtools/ChangeLog b/media-gfx/pngtools/ChangeLog
index 588893f15747..a55dba459684 100644
--- a/media-gfx/pngtools/ChangeLog
+++ b/media-gfx/pngtools/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-gfx/pngtools
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtools/ChangeLog,v 1.9 2011/09/15 18:22:37 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtools/ChangeLog,v 1.10 2011/09/16 07:12:48 robbat2 Exp $
+
+*pngtools-0.4-r2 (16 Sep 2011)
+
+ 16 Sep 2011; Robin H. Johnson <robbat2@gentoo.org> -pngtools-0.4-r1.ebuild,
+ +pngtools-0.4-r2.ebuild, files/pngtools-0.4-libpng15-fixes.patch:
+ Bug #378169 again, missed on more case with libpng15, revbump to ensure all
+ users get the rebuilt version.
*pngtools-0.4-r1 (15 Sep 2011)
diff --git a/media-gfx/pngtools/Manifest b/media-gfx/pngtools/Manifest
index 5b334a3f9fe7..0fc58c2849a1 100644
--- a/media-gfx/pngtools/Manifest
+++ b/media-gfx/pngtools/Manifest
@@ -1,8 +1,8 @@
AUX pngtools-0.3-implicit-declarations.patch 1428 RMD160 90a59cff9af1251af6ba93be1c9c27aaeb2ba8de SHA1 2ea57d8b3b393942443e64bfed8f86be8dcb329e SHA256 7ef75837f24736cbba7f7130ba1e31178a70088d883d6581f86acf0fed79ee62
AUX pngtools-0.4-libpng14.patch 1265 RMD160 bc1e98bfcf752f876493e2d3ba655a37b9ff81e0 SHA1 6f0f89b072654b6e57b63118408778408c318ba7 SHA256 22c623fee58ffc1b2c8f90b12e27ec56b9001decc97935d4caf94f991f4e44ee
-AUX pngtools-0.4-libpng15-fixes.patch 6396 RMD160 906fe93a8f9880856fafc7792350dc8263f1e525 SHA1 e71c2f0c537cd56f993ab2aa1f20d39f8f41f2bc SHA256 501a0b69ece22431b00995c4dbb7be22992c135a57e0c939ecfa05200d3052f7
+AUX pngtools-0.4-libpng15-fixes.patch 6722 RMD160 5f942e08c0fa45cf946a6c9ab536432d7f681c38 SHA1 3749dc00643cf99db6f468eb21c29b9daba04f74 SHA256 999ea2bb674ed0b5d341eafcdf02cc837bca2670b83dc16a413c180112d84c4c
DIST pngtools_0_4.tgz 1312178 RMD160 10553ce0f4ec956d8996c2325b6a9a741124ad54 SHA1 bc8b4953fbdf993f5837e2df510d2341e0ab7d54 SHA256 da0035d140c5efbc7d42d95a27327928d982866851c4c67bac58d32936075655
-EBUILD pngtools-0.4-r1.ebuild 912 RMD160 6bc0bbe87d5faafc7af8fabf6a1ddcd39e4f529d SHA1 809ded1480988a9cdf9e28b66ff6beb204283780 SHA256 57671b0ba67fd7d6f32f291898323b81518726c4c7fe17f1e37b0467e721147d
+EBUILD pngtools-0.4-r2.ebuild 912 RMD160 07c476095a4aff17b6e3c28abb28694e7efbdcb6 SHA1 9be38a028fa67d7f35bdd475477448a4374155e0 SHA256 7beece6813625bc7bcab89ae33f3d5ce4647187dfb6f8e30257364283d5b6776
EBUILD pngtools-0.4.ebuild 854 RMD160 45a584a8a3e8167e189bb3e3459754c92149ce47 SHA1 4b6f2bdfffe67ae9f25ee54cc57d37ea0ef60e20 SHA256 e477189214598aff164f519730073453f1632ae0e2eb4c608161aba076c068d7
-MISC ChangeLog 1640 RMD160 b8de67f7f0ab9f96e99eb5c4e9554ee80b9043a8 SHA1 01a3d3d9777ba18843a82017301c1c305df45e82 SHA256 fd0c9d54d4a992c28526c384436c083b817f741ca6e7f0a0f70905a5bcfee994
+MISC ChangeLog 1931 RMD160 b409cbd075f71c25cab179115bb7e386d6f48279 SHA1 c7acd0d9cf6afd6a1aa3caa64442b6e7845300f7 SHA256 b73c816b93786ea6d2ac2ed299745486748b42f8082e604f99b82c23396a0483
MISC metadata.xml 224 RMD160 ccd6090ef80b519508172a0c24ea5ad88454b42b SHA1 1460973a0074ede59c646aed8e68d428f8c32988 SHA256 5fc722539b33aa476eae5643bf61f0b9aa31488da230655896b36fa2288acc55
diff --git a/media-gfx/pngtools/files/pngtools-0.4-libpng15-fixes.patch b/media-gfx/pngtools/files/pngtools-0.4-libpng15-fixes.patch
index 44965ab839af..29b73233610b 100644
--- a/media-gfx/pngtools/files/pngtools-0.4-libpng15-fixes.patch
+++ b/media-gfx/pngtools/files/pngtools-0.4-libpng15-fixes.patch
@@ -1,20 +1,25 @@
---- pngtools-0.4.orig/pnginfo.c 2008-11-27 01:14:17.000000000 +0200
-+++ pngtools-0.4.orig/pnginfo.c 2011-09-15 14:30:36.000000000 +0300
-@@ -187,18 +187,21 @@
+diff -Nuar --exclude '*.orig' --exclude '*.rej' pngtools-0.4.orig//pnginfo.c pngtools-0.4/pnginfo.c
+--- pngtools-0.4.orig//pnginfo.c 2011-09-16 07:05:05.235477249 +0000
++++ pngtools-0.4/pnginfo.c 2011-09-16 07:07:52.385872705 +0000
+@@ -185,20 +185,25 @@
+ ///////////////////////////////////////////////////////////////////////////
+
printf (" Image Width: %d Image Length: %d\n", width, height);
++ int pixel_depth;
++ pixel_depth = bitdepth * png_get_channels(png, info);
if(tiffnames == pnginfo_true){
printf (" Bits/Sample: %d\n", bitdepth);
- printf (" Samples/Pixel: %d\n", info->channels);
- printf (" Pixel Depth: %d\n", info->pixel_depth); // Does this add value?
+ printf (" Samples/Pixel: %d\n", png_get_channels(png, info));
-+ printf (" Pixel Depth: %d\n", info->pixel_depth); // Does this add value?
++ printf (" Pixel Depth: %d\n", pixel_depth); // Does this add value?
}
else{
printf (" Bitdepth (Bits/Sample): %d\n", bitdepth);
- printf (" Channels (Samples/Pixel): %d\n", info->channels);
- printf (" Pixel depth (Pixel Depth): %d\n", info->pixel_depth); // Does this add value?
+ printf (" Channels (Samples/Pixel): %d\n", png_get_channels(png, info));
-+ printf (" Pixel depth (Pixel Depth): %d\n", info->pixel_depth); // Does this add value?
++ printf (" Pixel depth (Pixel Depth): %d\n", pixel_depth); // Does this add value?
}
// Photometric interp packs a lot of information
@@ -26,7 +31,7 @@
switch (colourtype)
{
case PNG_COLOR_TYPE_GRAY:
-@@ -207,10 +210,10 @@
+@@ -207,10 +212,10 @@
case PNG_COLOR_TYPE_PALETTE:
printf ("PALETTED COLOUR ");
@@ -39,7 +44,7 @@
break;
case PNG_COLOR_TYPE_RGB:
-@@ -232,7 +235,7 @@
+@@ -232,7 +237,7 @@
printf ("\n");
printf (" Image filter: ");
@@ -48,7 +53,7 @@
{
case PNG_FILTER_TYPE_BASE:
printf ("Single row per byte filter ");
-@@ -249,7 +252,7 @@
+@@ -249,7 +254,7 @@
printf ("\n");
printf (" Interlacing: ");
@@ -57,7 +62,7 @@
{
case PNG_INTERLACE_NONE:
printf ("No interlacing ");
-@@ -266,7 +269,7 @@
+@@ -266,7 +271,7 @@
printf ("\n");
printf (" Compression Scheme: ");
@@ -66,7 +71,7 @@
{
case PNG_COMPRESSION_TYPE_BASE:
printf ("Deflate method 8, 32k window");
-@@ -278,9 +281,13 @@
+@@ -278,9 +283,13 @@
}
printf ("\n");
@@ -82,7 +87,7 @@
{
case PNG_RESOLUTION_UNKNOWN:
printf ("(unit unknown)");
-@@ -299,15 +306,18 @@
+@@ -299,15 +308,18 @@
// FillOrder is always msb-to-lsb, big endian
printf (" FillOrder: msb-to-lsb\n Byte Order: Network (Big Endian)\n");
@@ -105,7 +110,7 @@
{
case -1:
printf ("(tEXt uncompressed)");
-@@ -332,12 +342,12 @@
+@@ -332,12 +344,12 @@
printf (": ");
j = 0;
@@ -121,7 +126,7 @@
j++;
}
-@@ -385,14 +395,14 @@
+@@ -385,14 +397,14 @@
printf ("Dumping the bitmap for this image:\n");
printf ("(Expanded samples result in %d bytes per pixel, %d channels with %d bytes per channel)\n\n",
@@ -138,7 +143,7 @@
{
int scount, bcount, pixel;
-@@ -408,16 +418,16 @@
+@@ -408,16 +420,16 @@
// Determine if this is a pixel whose entire value is zero
pixel = 0;
@@ -158,7 +163,7 @@
}
printf ("] ");
runlen++;
-@@ -425,10 +435,10 @@
+@@ -425,10 +437,10 @@
if (runlen == 0){
printf ("[");
@@ -171,9 +176,10 @@
}
printf("] ");
}
---- pngtools-0.4.orig/pngread.c 2008-11-27 01:14:17.000000000 +0200
-+++ pngtools-0.4.orig/pngread.c 2011-09-15 14:27:37.000000000 +0300
-@@ -68,7 +68,7 @@
+diff -Nuar --exclude '*.orig' --exclude '*.rej' pngtools-0.4.orig//pngread.c pngtools-0.4/pngread.c
+--- pngtools-0.4.orig//pngread.c 2011-09-16 07:05:05.235477249 +0000
++++ pngtools-0.4/pngread.c 2011-09-16 07:05:44.865570870 +0000
+@@ -68,7 +68,7 @@
// palette is correctly reported...
//png_set_strip_alpha (png);
png_read_update_info (png, info);
diff --git a/media-gfx/pngtools/pngtools-0.4-r1.ebuild b/media-gfx/pngtools/pngtools-0.4-r2.ebuild
index 507d3e3ede8b..29d22626c494 100644
--- a/media-gfx/pngtools/pngtools-0.4-r1.ebuild
+++ b/media-gfx/pngtools/pngtools-0.4-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtools/pngtools-0.4-r1.ebuild,v 1.1 2011/09/15 18:22:37 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtools/pngtools-0.4-r2.ebuild,v 1.1 2011/09/16 07:12:48 robbat2 Exp $
EAPI=4
inherit autotools eutils