[pnglite] 02/16: [svn-inject] Applying Debian modifications to trunk

Felix Geyer fgeyer at moszumanska.debian.org
Fri Apr 22 21:15:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

fgeyer pushed a commit to branch master
in repository pnglite.

commit 4ec5b9fbd5610a45a66dd93fb55ec60fe28c31f8
Author: Jack Coulter <jscinoz at gmail.com>
Date:   Fri Apr 18 00:43:55 2008 +0000

    [svn-inject] Applying Debian modifications to trunk
---
 debian/changelog                 |  6 +++++
 debian/compat                    |  1 +
 debian/control                   | 17 ++++++++++++
 debian/copyright                 | 36 +++++++++++++++++++++++++
 debian/dirs                      |  2 ++
 debian/patches/series            |  1 +
 debian/patches/system-zlib.patch | 13 +++++++++
 debian/rules                     | 58 ++++++++++++++++++++++++++++++++++++++++
 8 files changed, 134 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b61118f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+pnglite (0.1.17-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)
+
+ -- Jack Coulter <jscinoz at gmail.com>  Fri, 18 Apr 2008 09:57:18 +1000
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..18e7b9b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: pnglite
+Priority: optional
+Maintainer: Jack Coulter <jscinoz at gmail.com>
+Build-Depends: debhelper (>= 5), quilt, zlib1g-dev
+Standards-Version: 3.7.2
+Section: devel
+
+Package: libpnglite-dev
+Section: libdevel
+Architecture: any
+Description: pnglite is a C library for loading 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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2650314
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+This package was debianized by Jack Coulter <jscinoz at gmail.com> on
+Fri, 18 Apr 2008 09:57:18 +1000.
+
+It was downloaded from http://www.karlings.com/~danne/pnglite/
+
+Upstream Author(s): 
+
+    Daniel Karling <daniel.karling at gmail.com>
+
+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 <jscinoz at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..ca882bb
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4f3ef5d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+system-zlib.patch
diff --git a/debian/patches/system-zlib.patch b/debian/patches/system-zlib.patch
new file mode 100644
index 0000000..6da688a
--- /dev/null
+++ b/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 10:02:44.000000000 +1000
++++ pnglite-0.1.17/pnglite.c	2008-04-18 10:02:54.000000000 +1000
+@@ -5,7 +5,7 @@
+ #define USE_ZLIB 1
+ 
+ #if USE_ZLIB
+-#include "../zlib/zlib.h"
++#include <zlib.h>
+ #else
+ #include "zlite.h"
+ #endif
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d161f5f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,58 @@
+#!/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_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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/pnglite.git



More information about the Pkg-games-commits mailing list