sng (1.0.2-7) debian-dir only changes

Summary

 debian/changelog |   69 ++++++++++++++++++++++++++++++++++++
 debian/compat    |    1 
 debian/control   |   20 ++++++++++
 debian/copyright |   38 ++++++++++++++++++++
 debian/dirs      |    2 +
 debian/docs      |    4 ++
 debian/rules     |  104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/watch     |    2 +
 8 files changed, 240 insertions(+)

    
download this patch

Patch contents

--- sng-1.0.2.orig/debian/changelog
+++ sng-1.0.2/debian/changelog
@@ -0,0 +1,69 @@
+sng (1.0.2-7) unstable; urgency=low
+
+  * Change depends for libpng transition (closes: #662507)
+
+ -- Wesley J. Landaker <wjl@icecavern.net>  Mon, 05 Mar 2012 17:51:16 -0700
+
+sng (1.0.2-6) unstable; urgency=high
+
+  * Removing sng_regress because it's useless for users, and now has a
+    security bug filed against it (closes: #496407)
+
+ -- Wesley J. Landaker <wjl@icecavern.net>  Mon, 25 Aug 2008 16:22:58 -0600
+
+sng (1.0.2-5) unstable; urgency=low
+
+  * X11R7 transition
+  * Fix build-depends (closes: #363308)
+
+ -- Wesley J. Landaker <wjl@icecavern.net>  Tue, 18 Apr 2006 06:18:39 -0600
+
+sng (1.0.2-4) unstable; urgency=low
+
+  * Applied sngc_multiple.diff (closes: #333893)
+    - Thanks to Aaron Crane <debbugs@aaroncrane.co.uk>
+  * Work around bug in libpng (closes: #339889)
+  * Updated to Standards-Version 3.6.2
+  * Fix stray '-'s in man page.
+
+ -- Wesley J. Landaker <wjl@icecavern.net>  Sat, 19 Nov 2005 14:13:19 -0700
+
+sng (1.0.2-3) unstable; urgency=low
+
+  * Fixed debian/watch file
+
+ -- Wesley J. Landaker <wjl@icecavern.net>  Fri, 25 Mar 2005 18:50:30 -0700
+
+sng (1.0.2-2) unstable; urgency=low
+
+  * Updated standards version to 3.6.1.1
+  * png_ptr and info_ptr are no longer static (closes: #297939)
+
+ -- Wesley J. Landaker <wjl@icecavern.net>  Fri,  4 Mar 2005 21:36:23 -0700
+
+sng (1.0.2-1) unstable; urgency=low
+
+  * New upstream version
+  * Upgraded configure & friends using automake v1.7
+
+ -- Wesley J. Landaker <wjl@icecavern.net>  Sun, 16 Nov 2003 14:57:02 -0700
+
+sng (1.0.1-2) unstable; urgency=low
+
+  * Removed build-dependancy on autoconf, put autoconf results in .diff.gz instead
+  * Added AM_MAINTAINER_MODE macro to support configure's --enable-maintainer-mode
+  * Added missing build-dependancy on libpng12-dev
+
+ -- Wesley J. Landaker <wjl@icecavern.net>  Mon, 03 Nov 2003 08:35:51 -0700
+
+sng (1.0.1-1) unstable; urgency=low
+
+  * Initial Release.
+  * (... and my first public debian package; constructive feedback is appreciated.) 
+
+  * Upstream tar.gz was corrupted (multiple entries for same file), so was regenerated
+  * Added missing #include's (unistd.h and ctype.h for isatty(), isspace(), etc)
+  * Fixed some printfs with bad arguments fixed.
+
+ -- Wesley J. Landaker <wjl@icecavern.net>  Fri, 31 Oct 2003 10:58:36 -0700
+
--- sng-1.0.2.orig/debian/compat
+++ sng-1.0.2/debian/compat
@@ -0,0 +1 @@
+4
--- sng-1.0.2.orig/debian/watch
+++ sng-1.0.2/debian/watch
@@ -0,0 +1,2 @@
+version=3
+ftp://heanet.dl.sourceforge.net/s/sn/sng/sng-(.*)\.tar\.gz
--- sng-1.0.2.orig/debian/dirs
+++ sng-1.0.2/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/man/man1
--- sng-1.0.2.orig/debian/rules
+++ sng-1.0.2/debian/rules
@@ -0,0 +1,104 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+build-configure:
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --with-rgbtxt=/etc/X11/rgb.txt
+	touch build-configure
+
+build: build-stamp
+
+build-stamp: build-configure
+	dh_testdir
+
+	$(MAKE)
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+	rm -f build-configure
+
+	$(MAKE) distclean || true
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+#	Add here commands to install the package into debian/sng.
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/sng
+
+  # Remove useless and security-problematic sng_regress
+	rm $(CURDIR)/debian/sng/usr/bin/sng_regress
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples test.sng
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+#	dh_installman
+	dh_installman sng.1
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
--- sng-1.0.2.orig/debian/docs
+++ sng-1.0.2/debian/docs
@@ -0,0 +1,4 @@
+AUTHORS
+NEWS
+README
+TODO
--- sng-1.0.2.orig/debian/copyright
+++ sng-1.0.2/debian/copyright
@@ -0,0 +1,38 @@
+This package was debianized by Wesley J. Landaker <wjl@icecavern.net> on
+Fri, 31 Oct 2003 10:58:36 -0700.
+
+It was downloaded from http://sng.sourceforge.net/
+
+Upstream Author: Eric S. Raymond <esr@thyrsus.com>
+
+Copyright:
+
+This program is provided under the libpng/zlib license:
+
+The sng code Copyright (C) 1999 by Eric S. Raymond.
+
+-----------------------------------------------------------------------------
+
+  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 PNG specification is available from <http://www.cdrom.com/pub/png/>.
+Obviously, without the PNG effort this program wouldn't have been possible or
+necessary (or even conceivable).
--- sng-1.0.2.orig/debian/control
+++ sng-1.0.2/debian/control
@@ -0,0 +1,20 @@
+Source: sng
+Section: graphics
+Priority: optional
+Maintainer: Wesley J. Landaker <wjl@icecavern.net>
+Build-Depends: debhelper (>= 4.0.0), x11-common, libpng-dev
+Standards-Version: 3.8.0
+
+Package: sng
+Architecture: any
+Depends: ${shlibs:Depends}, x11-common
+Suggests: pngcrush, pngmeta, gif2png, imagemagick
+Description: a specialized markup language for representing PNG contents
+ SNG (Scriptable Network Graphics) is a minilanguage designed
+ specifically to represent the entire contents of a PNG (Portable
+ Network Graphics) file in an editable form. Thus, SNGs representing
+ elaborate graphics images and ancillary chunk data can be readily
+ generated or modified using only text tools.
+ .
+ SNG is implemented by a compiler/decompiler called sng that
+ losslessly translates between SNG and PNG.