debian/0000755000000000000000000000000011502134750007164 5ustar debian/patches/0000755000000000000000000000000011502131777010621 5ustar debian/patches/README0000644000000000000000000000021111001142351011453 0ustar 0xxx: Grabbed from upstream development. 1xxx: Possibly relevant for upstream adoption. 2xxx: Only relevant for official Debian release. debian/patches/1001_avoid_MAKEFLAGS.patch0000644000000000000000000000165311502131777014764 0ustar Description: Avoid MAKEFLAGS in Makefile Author: Jonas Smedegaard Last-Update: 2010-03-09 --- a/Makefile +++ b/Makefile @@ -85,7 +85,7 @@ dist-copy-files: cp $(dist_files) $(dist_dir) for i in $(dist_subdirs); do \ - $(MAKE) dist-copy-files -C $$i $(MAKEFLAGS) \ + $(MAKE) dist-copy-files -C $$i \ dist_dir=`pwd`/$(dist_dir); \ done @@ -102,10 +102,10 @@ check: test test: - $(MAKE) test -C test $(MAKEFLAGS) PNGPP=`pwd` + $(MAKE) test -C test PNGPP=`pwd` test-clean: - $(MAKE) clean -C test $(MAKEFLAGS) + $(MAKE) clean -C test test-compile-headers: *.hpp for i in *.hpp; do \ @@ -135,10 +135,10 @@ rm -rf $(PREFIX)/share/doc/$(dist_dir) $(PREFIX)/share/doc/png++ examples: - $(MAKE) -C example $(MAKEFLAGS) + $(MAKE) -C example examples-clean: - $(MAKE) clean -C example $(MAKEFLAGS) + $(MAKE) clean -C example .PHONY: all install \ dist dist-mkdir dist-copy-files dist-package \ debian/patches/series0000644000000000000000000000003311345503556012035 0ustar 1001_avoid_MAKEFLAGS.patch debian/control0000644000000000000000000000124111502134517010566 0ustar Source: png++ Priority: optional Section: libs Build-Depends: cdbs, debhelper (>= 6), dh-buildinfo, libpng-dev, doxygen Homepage: http://savannah.nongnu.org/projects/pngpp/ Standards-Version: 3.9.1 Maintainer: Jonas Smedegaard Vcs-Git: git://git.debian.org/git/collab-maint/png++.git Vcs-Browser: http://git.debian.org/?p=collab-maint/png++.git Package: libpng++-dev Section: libdevel Architecture: all Depends: ${misc:Depends}, libpng-dev Description: C++ interface to the PNG (Portable Network Graphics) library PNG++ aims to provide simple yet powerful C++ interface to libpng, the Portable Network Graphics (PNG) reference implementation library. debian/source/0000755000000000000000000000000011502133062010457 5ustar debian/source/format0000644000000000000000000000001411301560565011676 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000215111502134750011035 0ustar png++ (0.2.5-1) unstable; urgency=low * New upstream release. * Unfuzz patch. * Ease building with git-buildpackage: + Git-ignore quilt .pc dir. + Add source local-options. * Silence pngsuite test files from copyright check to not upset dpkg with binary diff below debian subdir. * Build-depend on dh-buildinfo. -- Jonas Smedegaard Wed, 15 Dec 2010 13:51:15 +0100 png++ (0.2.3-2) unstable; urgency=low * Improved short and long description to mention "Portable Network Graphics" unabbreviated. See bug#573206. Thanks to Simon Josefsson. * Bump standards-version to 3.9.1. * Depend (not only build-depend) on libpng-dev. Closes: bug#595110. Thanks to Micah Gersten. * Drop local CDBS snippet: all included in cdbs package now. * Update silencing of optional CDBS dependencies. * Refresh patch w/ shortening options --no-timestamps --no-index -pab. -- Jonas Smedegaard Wed, 01 Sep 2010 09:53:38 +0200 png++ (0.2.3-1) unstable; urgency=low * Initial release. Closes: #573206. -- Jonas Smedegaard Tue, 09 Mar 2010 21:26:57 +0100 debian/README.source0000644000000000000000000000361311345477101011353 0ustar Building this package for Debian -------------------------------- This source package need no special handling for normal package builds. Developing this package for Debian ---------------------------------- The source of this package is developed using git and the helper tool git-buildpackage, with all official releases tagged and signed and binary diffs of tarballs stored using pristine-tar. This is documented below /usr/share/doc/git-buildpackage/manual-html/ . A custom build target shows current upstream and packaging versions: debian/rules print-version Current upstream tarball can be prepared using this other build target: debian/rules get-orig-source To switch to newer upstream source, first add a dummy changelog entry and comment out DEB_UPSTREAM_TARBALL_MD5 before getting the source: dch -v ${new_upstream_version}-1 "Dummy changelog entry" sed -i -e 's/^\(DEB_UPSTREAM_TARBALL_MD5\b\)/#\1/' debian/rules debian/rules get-orig-source Store new md5sum to help ensure identical source is received later. Setting DEB_MAINTAINER_MODE=1 enables additional build routines helpful during development of the package, but unfit for normal builds. This typically includes the CDBS feature of auto-updating debian/control with CDBS-related build-dependencies, which is forbidden by Debian Policy as build environment must not change during automated builds. Maintaining packaging build routines ------------------------------------ This source package wraps debhelper commands and other tedious parts of the build routines using the CDBS framework. Please refer to the actual makefile snippets included from debian/rules for details on their purpose and ways to override defaults. Additionally, makefile snippets included from below /usr/share/cdbs may also be documented in /usr/share/doc/cdbs/cdbs-doc.pdf.gz . -- Jonas Smedegaard Thu, 26 Feb 2009 21:28:29 +0100 debian/compat0000644000000000000000000000000211345525025010366 0ustar 6 debian/watch0000644000000000000000000000022511345477324010230 0ustar # run the "uscan" command to check for upstream updates and more. version=3 http://download.savannah.nongnu.org/releases/pngpp/png\+\+-(.*)\.tar\.gz debian/copyright_hints0000644000000000000000000000273311502134514012327 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=135 X-Draft: Autogenerated by CDBS snippet copyright-check.mk Files: ./Makefile, ./color.hpp, ./config.hpp, ./consumer.hpp, ./convert_color_space.hpp, ./end_info.hpp, ./error.hpp, ./example/Makefile, ./example/pixel_generator.cpp, ./ga_pixel.hpp, ./generator.hpp, ./gray_pixel.hpp, ./image.hpp, ./image_info.hpp, ./index_pixel.hpp, ./info.hpp, ./info_base.hpp, ./io_base.hpp, ./packed_pixel.hpp, ./palette.hpp, ./pixel_buffer.hpp, ./pixel_traits.hpp, ./png.hpp, ./reader.hpp, ./require_color_space.hpp, ./rgb_pixel.hpp, ./rgba_pixel.hpp, ./streaming_base.hpp, ./tRNS.hpp, ./types.hpp, ./writer.hpp Copyright: 2007-2008, Alex Shulgin 2008, Alex Shulgin License: BSD (3 clause) FIXME Files: ./BUGS, ./Doxyfile, ./INSTALL, ./NEWS, ./README, ./TODO, ./debian/README.source, ./debian/compat, ./debian/control, ./debian/control.in, ./debian/doc-base, ./debian/gbp.conf, ./debian/patches/1001_avoid_MAKEFLAGS.patch, ./debian/patches/README, ./debian/patches/series, ./debian/source/format, ./debian/source/local-options, ./debian/watch Copyright: *No copyright* License: UNKNOWN FIXME Files: ./COPYING Copyright: *No copyright* License: BSD (3 clause) FIXME Files: ./debian/rules Copyright: 2010, Jonas Smedegaard License: GPL FIXME Files: ./AUTHORS Copyright: 2007-2008 License: UNKNOWN FIXME Files: ./ChangeLog Copyright: notices License: UNKNOWN FIXME debian/copyright0000644000000000000000000000531411345514055011127 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=135 Name: png++ Maintainer: http://lists.nongnu.org/mailman/listinfo/pngpp-devel Alex Shulgin Source: http://download.savannah.nongnu.org/releases/pngpp/ Copyright: 2007-2008, Alex Shulgin License: BSD Files: ./test/* Copyright: 1999, Willem van Schaik License: other Permission to use, copy, and distribute these images for any purpose and without fee is hereby granted. Files: ./debian/* Copyright: 2008-2010, Jonas Smedegaard License: GPL-2+ License: GPL-2+ This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . On Debian systems, the complete text of the GNU General Public License (GPL) version 2 can be found an 2/usr/share/common-licenses/GPL-2". . You should have received a copy of the GNU General Public License along with this program. If not, see . License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/doc-base0000644000000000000000000000045511345526654010605 0ustar Document: png++ Title: png++ Documentation Author: Alex Shulgin Abstract: This is the documentation for png++ the C++ wrapper for libpng. Section: Programming/C++ Format: HTML Index: /usr/share/doc/libpng++-dev/html/index.html Files: /usr/share/doc/libpng++-dev/html/*.html debian/gbp.conf0000644000000000000000000000014611345477101010611 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000000402511502134476010252 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2010 Jonas Smedegaard # Description: Main Debian packaging script for png++ # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2, or (at # your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . -include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/makefile.mk include /usr/share/cdbs/1/rules/debhelper.mk # suppress optional build-dependencies CDBS_BUILD_DEPENDS_rules_upstream-tarball = CDBS_BUILD_DEPENDS_rules_utils_copyright-check = CDBS_BUILD_DEPENDS_rules_utils_buildinfo = DEB_UPSTREAM_URL = http://download.savannah.nongnu.org/releases/pngpp DEB_UPSTREAM_TARBALL_MD5 = beb02ba7daddcf847e1617e75b7af567 # Silence pngsuite in addition to the default debian files DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^./test/.*|\./debian/(changelog|copyright(|_hints|_newhints))$ DEB_DESTDIR = $(CURDIR)/debian/tmp/ DEB_MAKE_EXTRA_VARS += PREFIX=/usr DEB_MAKE_BUILD_TARGET = all docs DEB_MAKE_CHECK_TARGET = check DEB_MAKE_INSTALL_TARGET = install PREFIX=$(cdbs_make_curdestdir)/usr DEB_INSTALL_DOCS_libpng++-dev += doc/html DEB_INSTALL_EXAMPLES_libpng++-dev = example/Makefile example/*.cpp DEB_DH_INSTALL_ARGS = debian/tmp/usr/include/png++ usr/include/ # 4 tests currently fails - probably just visual changes, so just weaken debian/stamp-makefile-check:: DEB_MAKE_INVOKE = -$(MAKE) $(DEB_MAKE_EXTRA_ARGS) clean:: rm -rf doc # Needed by upstream build process CDBS_BUILD_DEPENDS += , libpng-dev, doxygen debian/control.in0000644000000000000000000000115211437400217011174 0ustar Source: png++ Priority: optional Section: libs Build-Depends: @cdbs@ Homepage: http://savannah.nongnu.org/projects/pngpp/ Standards-Version: 3.9.1 Maintainer: Jonas Smedegaard Vcs-Git: git://git.debian.org/git/collab-maint/png++.git Vcs-Browser: http://git.debian.org/?p=collab-maint/png++.git Package: libpng++-dev Section: libdevel Architecture: all Depends: ${misc:Depends}, libpng-dev Description: C++ interface to the PNG (Portable Network Graphics) library PNG++ aims to provide simple yet powerful C++ interface to libpng, the Portable Network Graphics (PNG) reference implementation library.