r1021 - in packages/libtk-png-perl/trunk: . debian t

Carlo Segre segre-guest@costa.debian.org
Mon, 16 May 2005 17:13:31 +0000


Author: segre-guest
Date: 2005-05-16 17:13:30 +0000 (Mon, 16 May 2005)
New Revision: 1021

Added:
   packages/libtk-png-perl/trunk/debian/
   packages/libtk-png-perl/trunk/debian/changelog
   packages/libtk-png-perl/trunk/debian/compat
   packages/libtk-png-perl/trunk/debian/control
   packages/libtk-png-perl/trunk/debian/copyright
   packages/libtk-png-perl/trunk/debian/rules
   packages/libtk-png-perl/trunk/debian/watch
Modified:
   packages/libtk-png-perl/trunk/t/basic.t
Log:
Load libtk-png-perl-2.005 into packages/libtk-png-perl/trunk.


Added: packages/libtk-png-perl/trunk/debian/changelog
===================================================================
--- packages/libtk-png-perl/trunk/debian/changelog	2005-05-16 17:13:07 UTC (rev 1020)
+++ packages/libtk-png-perl/trunk/debian/changelog	2005-05-16 17:13:30 UTC (rev 1021)
@@ -0,0 +1,17 @@
+libtk-png-perl (2.005-2) unstable; urgency=low
+
+  * Modified source package name to libtk-png-perl to be
+    consistent with Perl package naming scheme
+  * Added watch file
+  * New maintainer - 
+    Debian Perl Group <pkg-perl-maintainer@lists.alioth.debian.org> 
+    via Carlo Segre <segre@iit.edu>
+
+ -- Carlo Segre <segre@iit.edu>  Mon, 16 May 2005 11:56:25 -0500
+
+tk-png (2.005-1) unstable; urgency=low
+
+  * Initial Debian release
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun,  8 May 2005 21:49:35 -0500
+

Added: packages/libtk-png-perl/trunk/debian/compat
===================================================================
--- packages/libtk-png-perl/trunk/debian/compat	2005-05-16 17:13:07 UTC (rev 1020)
+++ packages/libtk-png-perl/trunk/debian/compat	2005-05-16 17:13:30 UTC (rev 1021)
@@ -0,0 +1 @@
+4

Added: packages/libtk-png-perl/trunk/debian/control
===================================================================
--- packages/libtk-png-perl/trunk/debian/control	2005-05-16 17:13:07 UTC (rev 1020)
+++ packages/libtk-png-perl/trunk/debian/control	2005-05-16 17:13:30 UTC (rev 1021)
@@ -0,0 +1,15 @@
+Source: libtk-png-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 4.0.2), perl (>= 5.8.0), perl-tk, xlibs-dev, zlib1g-dev, libpng12-dev
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders: Carlo Segre <segre@iit.edu>
+Standards-Version: 3.6.1
+
+Package: libtk-png-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}
+Description:  Perl5 module with PNG loader for Tk::Photo
+ This Perl module provides an extension for Perl-Tk which supplies a
+ PNG format loader for the Photo image widget.
+

Added: packages/libtk-png-perl/trunk/debian/copyright
===================================================================
--- packages/libtk-png-perl/trunk/debian/copyright	2005-05-16 17:13:07 UTC (rev 1020)
+++ packages/libtk-png-perl/trunk/debian/copyright	2005-05-16 17:13:30 UTC (rev 1021)
@@ -0,0 +1,21 @@
+This is the Debian GNU/Linux libtk-png-perl version of the Tk-PNG
+module by Jan Nijtmans and Nick Ing-Simmons.
+
+This package was put together by Dirk Eddelbuettel <edd@debian.org>
+from sources obtained from 
+        http://www.cpan.org
+It is also available from every other CPAN mirror.  Visit
+	http://www.perl.com/CPAN/ 
+to find a Comprehensive Perl Archive Network (CPAN) site near you.
+
+The only change for the Debian package was the addition of the debian/
+files. The package was renamed to match the Debian Policy which aims
+at consistent names for Perl Module packages.
+
+The Tk::PNG module is Copyright (c) 1997-1998 Jan Nijtmans, and
+possibly others, and Copyright (c) 1998 Nick Ing-Simmons, and is free
+software; you can redistribute it and/or modify it under the same
+terms as Perl itself.
+
+On Debian GNU/Linux systems, the complete text of these licenses can be found
+in /usr/share/common-licenses/GPL and /usr/share/common-licenses/Artistic.

Added: packages/libtk-png-perl/trunk/debian/rules
===================================================================
--- packages/libtk-png-perl/trunk/debian/rules	2005-05-16 17:13:07 UTC (rev 1020)
+++ packages/libtk-png-perl/trunk/debian/rules	2005-05-16 17:13:30 UTC (rev 1021)
@@ -0,0 +1,97 @@
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc@dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+# Allow disabling build optimation by setting noopt in
+# $DEB_BUILD_OPTIONS
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+        CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	# Add commands to clean up after the build process here
+	-$(MAKE) realclean
+
+	dh_clean build-stamp install-stamp
+
+install: build install-stamp
+install-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	# Add commands to install the package into debian/$PACKAGE_NAME here
+	# lack of $DISPLAY prevents this  	$(MAKE) test
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+	# As this is a architecture dependent package, we are not
+	# supposed to install stuff to /usr/share. MakeMaker creates
+	# the dirs, we delete them from the deb:
+	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
+
+	touch install-stamp
+
+# 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_installdocs README libpng/TODO libpng/README libpng/ANNOUNCE
+	dh_installexamples 
+#	dh_installmenu
+#	dh_installcron
+#	dh_installman
+	dh_installchangelogs libpng/CHANGES
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_perl 
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source diff:                                                                  
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary


Property changes on: packages/libtk-png-perl/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libtk-png-perl/trunk/debian/watch
===================================================================
--- packages/libtk-png-perl/trunk/debian/watch	2005-05-16 17:13:07 UTC (rev 1020)
+++ packages/libtk-png-perl/trunk/debian/watch	2005-05-16 17:13:30 UTC (rev 1021)
@@ -0,0 +1,2 @@
+version=2
+http://www.cpan.org/modules/by-module/Tk/Tk-PNG-([-0-9\.]*).tar.gz	debian


Property changes on: packages/libtk-png-perl/trunk/t/basic.t
___________________________________________________________________
Name: svn:executable
   - 
   + *