--- optipng-0.6.3.orig/debian/control +++ optipng-0.6.3/debian/control @@ -0,0 +1,18 @@ +Source: optipng +Section: graphics +Priority: optional +Maintainer: Nelson A. de Oliveira +Build-Depends: cdbs, debhelper (>= 7), zlib1g-dev, libpng12-dev +Standards-Version: 3.8.3 +Homepage: http://optipng.sourceforge.net/ + +Package: optipng +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: advanced PNG (Portable Network Graphics) optimizer + OptiPNG is a PNG optimizer that recompresses the image files to a smaller + size. It losslessly reduces the bit depth, the color type and the color + palette of the image, runs a suite of compression methods and strategies, + and selects the compression parameters that yield the smallest output file. + It also recognizes several external file formats like BMP, GIF, TIFF and + PNM (PBM, PGM, PPM). --- optipng-0.6.3.orig/debian/links +++ optipng-0.6.3/debian/links @@ -0,0 +1 @@ +usr/share/doc/optipng/history.txt.gz usr/share/doc/optipng/changelog.gz --- optipng-0.6.3.orig/debian/changelog +++ optipng-0.6.3/debian/changelog @@ -0,0 +1,114 @@ +optipng (0.6.3-1) unstable; urgency=low + + * New upstream release; + * Updated Standards-Version to 3.8.3 (no changes needed). + + -- Nelson A. de Oliveira Tue, 18 Aug 2009 17:14:28 -0300 + +optipng (0.6.2.1-1) unstable; urgency=high + + * New upstream release: + - Fix an array overflow vulnerability. + + -- Nelson A. de Oliveira Thu, 26 Feb 2009 15:48:25 -0300 + +optipng (0.6.2-1) experimental; urgency=low + + * New upstream release; + * Fix broken link /usr/share/doc/optipng/changelog.gz; + * OptiPNG now produces a less verbose output (Closes: #457772). + + -- Nelson A. de Oliveira Tue, 11 Nov 2008 13:26:52 -0200 + +optipng (0.6.1-2) unstable; urgency=low + + * Update debian/copyright. + + -- Nelson A. de Oliveira Sat, 26 Jul 2008 19:14:00 -0300 + +optipng (0.6.1-1) unstable; urgency=low + + * New upstream release; + * OptiPNG no longer writes a larger image (Closes: #491619); + * Removed patches/optipng-0.6.0.1.diff (fixed upstream); + * Updated debian/rules for the new build system. + + -- Nelson A. de Oliveira Sat, 26 Jul 2008 18:51:23 -0300 + +optipng (0.6-1) unstable; urgency=low + + * New upstream release; + * Fix resolution change when optimizing files (Closes: #446920); + * Bump Standards-Version to 3.8.0 (no changes needed); + * Moved homepage from long description to its own field; + * New patch patches/optipng-0.6.0.1.diff, fixing the build system. + + -- Nelson A. de Oliveira Fri, 20 Jun 2008 00:43:42 -0300 + +optipng (0.5.5-1) unstable; urgency=medium + + * New upstream release; + * Removed patches/opngreduc.patch (applied upstream); + * Medium urgency since it's basically a bug-fix release. + + -- Nelson A. de Oliveira Sat, 3 Feb 2007 13:35:43 -0200 + +optipng (0.5.4+0-1) unstable; urgency=medium + + * New maintainer address; + * Stripped unneeded libpng, zlib and some other files from .orig.tar.gz; + * New patch debian/patches/opngreduc.patch to avoid OptiPNG failing with + some true-color RGB images; + * Added tags on debian/control; + * Medium urgency to get it on Etch. + + -- Nelson A. de Oliveira Wed, 6 Dec 2006 02:32:02 -0200 + +optipng (0.5.4-2) unstable; urgency=medium + + * libpng version 1.2.13 available on Debian: + - OptiPNG is now dynamically linked against Debian's libpng; + - Updated debian/control (included build-depends on libpng12-dev); + - Updated debian/rules (now using "unix-secure.mak" to compile dynamically + against zlib and libpng); + - Removed debian/patches/* (not needed anymore); + - Removed README.Debian (it's not necessary anymore to explain why we are + linking OptiPNG statically with libpng). + - medium urgency since it will be really good to have this package on + Etch, using Debian's libpng instead its own (less security work, etc). + + -- Nelson A. de Oliveira Sun, 19 Nov 2006 02:14:06 -0200 + +optipng (0.5.4-1) unstable; urgency=low + + * New upstream release; + * New patch debian/patches/gcc.mak.patch to build OptiPNG dynamically + linked against zlib. + + -- Nelson A. de Oliveira Sat, 12 Aug 2006 03:22:18 -0300 + +optipng (0.5.3-1) unstable; urgency=low + + * New upstream release; + * debian/control: updated OptiPNG homepage; + * Removed patches debian/patches/optipng.1.patch and + debian/patches/optipng.c.patch (both applied upstream). + + -- Nelson A. de Oliveira Thu, 27 Jul 2006 01:12:41 -0300 + +optipng (0.5.2-1) unstable; urgency=low + + * New upstream release (Closes: #374079); + * Bumped Standards-Version to 3.7.2 (no changes needed); + * Updated watch file; + * .bak files aren't deleted anymore (Closes: #357487); + * Fixed "cummulative" typo (Closes: #355817). + + -- Nelson A. de Oliveira Sat, 17 Jun 2006 16:33:57 -0300 + +optipng (0.5-1) unstable; urgency=low + + * Initial release (Closes: #347993). + + -- Nelson A. de Oliveira Tue, 24 Jan 2006 12:32:55 -0200 + --- optipng-0.6.3.orig/debian/copyright +++ optipng-0.6.3/debian/copyright @@ -0,0 +1,60 @@ +This package was debianized by Nelson A. de Oliveira on +Tue, 24 Jan 2006 12:32:55 -0200. + +It was downloaded from http://optipng.sourceforge.net/ + +Copyright © 2001-2008 Cosmin Truţa + +License: + +This software is provided 'as-is', without any express or implied +warranty. In no event will the author(s) be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + +2. Altered source versions must be plainly marked as such, and must not + be misrepresented as being the original software. + +3. This notice may not be removed or altered from any source distribution. + +The Debian packaging is © 2006, Nelson A. de Oliveira and +is licensed under the same license of the packages. See above. + +------------------------------------------------------------------------------- +cexcept.h: + + Copyright © 2000-2008 Adam M. Costello and Cosmin Truta. + This software may be modified only if its author and version + information is updated accurately, and may be redistributed + only if accompanied by this unaltered notice. Subject to those + restrictions, permission is granted to anyone to do anything + with this software. The copyright holders make no guarantees + regarding this software, and are not responsible for any damage + resulting from its use. + +------------------------------------------------------------------------------- +gifread.c: + + Copyright © 2003 Cosmin Truta. + This code was derived from "giftopnm.c" by David Koblas, and + it is distributed under the same copyright and warranty terms. + + The original copyright notice is provided below. + + +-------------------------------------------------------------------+ + | Copyright 1990, 1991, 1993, David Koblas. (koblas@netcom.com) | + | Permission to use, copy, modify, and distribute this software | + | and its documentation for any purpose and without fee is hereby | + | granted, provided that the above copyright notice appear in all | + | copies and that both that copyright notice and this permission | + | notice appear in supporting documentation. This software is | + | provided "as is" without express or implied warranty. | + +-------------------------------------------------------------------+ --- optipng-0.6.3.orig/debian/watch +++ optipng-0.6.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/optipng/optipng-(.*)\.tar\.gz --- optipng-0.6.3.orig/debian/rules +++ optipng-0.6.3/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/debhelper.mk + +DEB_MAKE_INSTALL_TARGET := install prefix=$(CURDIR)/debian/optipng/usr \ + mandir=$(CURDIR)/debian/optipng/usr/share/man + +configure/optipng:: + ./configure -with-system-zlib -with-system-libpng --- optipng-0.6.3.orig/debian/README.source +++ optipng-0.6.3/debian/README.source @@ -0,0 +1,15 @@ +optipng_0.6.3.orig.tar.gz is a stripped version of the original OptiPNG. +The following dirs and files were removed: + +lib/lib_diff/ +lib/libpng/ +lib/pngxtern/scripts/bcc32.mak +lib/pngxtern/scripts/visualc.mak +lib/README-lib.txt +lib/zlib/ +prj/ +src/scripts/bcc32.mak +src/scripts/visualc.mak +src/xtra/ + + -- Nelson A. de Oliveira Tue, 18 Aug 2009 17:14:47 -0300 --- optipng-0.6.3.orig/debian/compat +++ optipng-0.6.3/debian/compat @@ -0,0 +1 @@ +7 --- optipng-0.6.3.orig/debian/dirs +++ optipng-0.6.3/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man --- optipng-0.6.3.orig/debian/docs +++ optipng-0.6.3/debian/docs @@ -0,0 +1 @@ +doc/*