--- pnglite-0.1.17.orig/debian/control +++ pnglite-0.1.17/debian/control @@ -0,0 +1,20 @@ +Source: pnglite +Priority: optional +Maintainer: Debian Games Team +Uploaders: Jack Coulter +Build-Depends: debhelper (>= 5), quilt, zlib1g-dev +Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/pnglite +Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/pnglite/?op=log +Standards-Version: 3.7.3 +Section: devel + +Package: libpnglite-dev +Section: libdevel +Architecture: any +Description: lightweight C library for loading and writing PNG images + It was created as a substitute for libpng in situations when libpng is more + than enough. It currently requires zlib for inflate and crc checking and it + can read the most common types of PNG images. The library has a small and + simple to use interface. + . + This package provides the header files and static libraries. --- pnglite-0.1.17.orig/debian/copyright +++ pnglite-0.1.17/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Jack Coulter on +Fri, 18 Apr 2008 09:57:18 +1000. + +It was downloaded from http://www.karlings.com/~danne/pnglite/ + +Upstream Author: + + Daniel Karling + +Copyright: + + Copyright (c) 2007 Daniel Karling + +License: libpng/zlib + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors 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 (C) 2008, Jack Coulter and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- pnglite-0.1.17.orig/debian/changelog +++ pnglite-0.1.17/debian/changelog @@ -0,0 +1,6 @@ +pnglite (0.1.17-1) unstable; urgency=low + + * Initial release (Closes: #476892) + + -- Jack Coulter Fri, 18 Apr 2008 09:57:18 +1000 + --- pnglite-0.1.17.orig/debian/rules +++ pnglite-0.1.17/debian/rules @@ -0,0 +1,59 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +include /usr/share/quilt/quilt.make + + + +# shared library versions, option 1 +version=2.0.5 +major=2 + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + + gcc -Wall -c pnglite.c + ar -cvq libpnglite.a pnglite.o + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp pnglite.o libpnglite.a + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + dh_install libpnglite.a pnglite.o usr/lib + dh_install pnglite.h usr/include + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_install + dh_installdocs + dh_strip + dh_compress + dh_fixperms + dh_shlibdeps + dh_makeshlibs + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch +.PHONY: build clean binary-arch binary install --- pnglite-0.1.17.orig/debian/compat +++ pnglite-0.1.17/debian/compat @@ -0,0 +1 @@ +5 --- pnglite-0.1.17.orig/debian/patches/include-stdio.patch +++ pnglite-0.1.17/debian/patches/include-stdio.patch @@ -0,0 +1,14 @@ +Index: pnglite-0.1.17/pnglite.h +=================================================================== +--- pnglite-0.1.17.orig/pnglite.h 2008-04-18 17:15:07.000000000 +1000 ++++ pnglite-0.1.17/pnglite.h 2008-04-18 17:15:18.000000000 +1000 +@@ -24,7 +24,8 @@ + daniel.karling@gmail.com + */ + +- ++ ++#include + #ifndef _PNGLITE_H_ + #define _PNGLITE_H_ + --- pnglite-0.1.17.orig/debian/patches/series +++ pnglite-0.1.17/debian/patches/series @@ -0,0 +1,2 @@ +system-zlib.patch +include-stdio.patch --- pnglite-0.1.17.orig/debian/patches/system-zlib.patch +++ pnglite-0.1.17/debian/patches/system-zlib.patch @@ -0,0 +1,13 @@ +Index: pnglite-0.1.17/pnglite.c +=================================================================== +--- pnglite-0.1.17.orig/pnglite.c 2008-04-18 17:14:43.000000000 +1000 ++++ pnglite-0.1.17/pnglite.c 2008-04-18 17:14:53.000000000 +1000 +@@ -5,7 +5,7 @@ + #define USE_ZLIB 1 + + #if USE_ZLIB +-#include "../zlib/zlib.h" ++#include + #else + #include "zlite.h" + #endif