[Pkg-tcltk-commits] r759 - in packages/tkpng/trunk: . debian

miriam at alioth.debian.org miriam at alioth.debian.org
Wed Nov 19 22:42:07 UTC 2008


Author: miriam
Date: 2008-11-19 22:42:07 +0000 (Wed, 19 Nov 2008)
New Revision: 759

Added:
   packages/tkpng/trunk/debian/
   packages/tkpng/trunk/debian/README.Debian
   packages/tkpng/trunk/debian/changelog
   packages/tkpng/trunk/debian/compat
   packages/tkpng/trunk/debian/control
   packages/tkpng/trunk/debian/copyright
   packages/tkpng/trunk/debian/docs
   packages/tkpng/trunk/debian/menu.ex
   packages/tkpng/trunk/debian/postinst.ex
   packages/tkpng/trunk/debian/postrm.ex
   packages/tkpng/trunk/debian/preinst.ex
   packages/tkpng/trunk/debian/prerm.ex
   packages/tkpng/trunk/debian/rules
   packages/tkpng/trunk/debian/tkpng.doc-base.EX
   packages/tkpng/trunk/debian/watch.ex
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: packages/tkpng/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/tkpng/trunk/debian/README.Debian
===================================================================
--- packages/tkpng/trunk/debian/README.Debian	                        (rev 0)
+++ packages/tkpng/trunk/debian/README.Debian	2008-11-19 22:42:07 UTC (rev 759)
@@ -0,0 +1,6 @@
+tkpng for Debian
+----------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Miriam Ruiz <little_miry at yahoo.es>  Wed, 12 Nov 2008 14:06:43 +0100

Added: packages/tkpng/trunk/debian/changelog
===================================================================
--- packages/tkpng/trunk/debian/changelog	                        (rev 0)
+++ packages/tkpng/trunk/debian/changelog	2008-11-19 22:42:07 UTC (rev 759)
@@ -0,0 +1,6 @@
+tkpng (0.9-1) UNRELEASED; urgency=low
+
+  * Initial release.
+
+ -- Miriam Ruiz <little_miry at yahoo.es>  Wed, 12 Nov 2008 14:06:43 +0100
+

Added: packages/tkpng/trunk/debian/compat
===================================================================
--- packages/tkpng/trunk/debian/compat	                        (rev 0)
+++ packages/tkpng/trunk/debian/compat	2008-11-19 22:42:07 UTC (rev 759)
@@ -0,0 +1 @@
+7

Added: packages/tkpng/trunk/debian/control
===================================================================
--- packages/tkpng/trunk/debian/control	                        (rev 0)
+++ packages/tkpng/trunk/debian/control	2008-11-19 22:42:07 UTC (rev 759)
@@ -0,0 +1,18 @@
+Source: tkpng
+Section: devel
+Priority: extra
+Maintainer: Miriam Ruiz <little_miry at yahoo.es>
+Build-Depends: debhelper (>= 7), autotools-dev,
+ tcl8.5-dev, tk8.5-dev, zlib1g-dev
+Standards-Version: 3.8.0
+Homepage: http://www.muonics.com/FreeStuff/TkPNG/
+
+Package: tkpng
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: PNG photo image support to Tcl/Tk
+ TkPNG is an open source binary package that adds PNG photo image support
+ to Tcl/Tk. Although other extensions such as Img also add support for PNG
+ images, this package was designed to be lightweight, not depending on
+ libpng nor implementing other image formats, and suitable for inclusion in
+ the Tk core.

Added: packages/tkpng/trunk/debian/copyright
===================================================================
--- packages/tkpng/trunk/debian/copyright	                        (rev 0)
+++ packages/tkpng/trunk/debian/copyright	2008-11-19 22:42:07 UTC (rev 759)
@@ -0,0 +1,55 @@
+This package was debianized by Miriam Ruiz <little_miry at yahoo.es> on
+Wed, 12 Nov 2008 14:06:43 +0100.
+
+It was downloaded from http://sourceforge.net/projects/tkpng/
+
+Upstream Author:
+
+    Michael Kirkham <muonics at users.sourceforge.net>
+
+Copyright:
+
+    Copyright (c) 2006 Muonics, Inc.
+
+License:
+
+    The following terms apply to all files associated with the software
+    unless explicitly disclaimed in individual files.
+    
+    The authors hereby grant permission to use, copy, modify, distribute,
+    and license this software and its documentation for any purpose, provided
+    that existing copyright notices are retained in all copies and that this
+    notice is included verbatim in any distributions. No written agreement,
+    license, or royalty fee is required for any of the authorized uses.
+    Modifications to this software may be copyrighted by their authors
+    and need not follow the licensing terms described here, provided that
+    the new terms are clearly indicated on the first page of each file where
+    they apply.
+    
+    IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
+    FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
+    ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
+    DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
+    POSSIBILITY OF SUCH DAMAGE.
+    
+    THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
+    INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
+    FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  THIS SOFTWARE
+    IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
+    NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
+    MODIFICATIONS.
+    
+    GOVERNMENT USE: If you are acquiring this software on behalf of the
+    U.S. government, the Government shall have only "Restricted Rights"
+    in the software and related documentation as defined in the Federal 
+    Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2).  If you
+    are acquiring the software on behalf of the Department of Defense, the
+    software shall be classified as "Commercial Computer Software" and the
+    Government shall have only "Restricted Rights" as defined in Clause
+    252.227-7013 (c) (1) of DFARs.  Notwithstanding the foregoing, the
+    authors grant the U.S. Government and others acting in its behalf
+    permission to use and distribute the software in accordance with the
+    terms specified in this license. 
+
+The Debian packaging is (C) 2008, Miriam Ruiz <little_miry at yahoo.es> and
+is licensed under the same license as the program, see above.

Added: packages/tkpng/trunk/debian/docs
===================================================================
--- packages/tkpng/trunk/debian/docs	                        (rev 0)
+++ packages/tkpng/trunk/debian/docs	2008-11-19 22:42:07 UTC (rev 759)
@@ -0,0 +1 @@
+README

Added: packages/tkpng/trunk/debian/menu.ex
===================================================================
--- packages/tkpng/trunk/debian/menu.ex	                        (rev 0)
+++ packages/tkpng/trunk/debian/menu.ex	2008-11-19 22:42:07 UTC (rev 759)
@@ -0,0 +1,2 @@
+?package(tkpng):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\
+  title="tkpng" command="/usr/bin/tkpng"

Added: packages/tkpng/trunk/debian/postinst.ex
===================================================================
--- packages/tkpng/trunk/debian/postinst.ex	                        (rev 0)
+++ packages/tkpng/trunk/debian/postinst.ex	2008-11-19 22:42:07 UTC (rev 759)
@@ -0,0 +1,41 @@
+#!/bin/sh
+# postinst script for tkpng
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: packages/tkpng/trunk/debian/postrm.ex
===================================================================
--- packages/tkpng/trunk/debian/postrm.ex	                        (rev 0)
+++ packages/tkpng/trunk/debian/postrm.ex	2008-11-19 22:42:07 UTC (rev 759)
@@ -0,0 +1,39 @@
+#!/bin/sh
+# postrm script for tkpng
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <overwriter>
+#          <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: packages/tkpng/trunk/debian/preinst.ex
===================================================================
--- packages/tkpng/trunk/debian/preinst.ex	                        (rev 0)
+++ packages/tkpng/trunk/debian/preinst.ex	2008-11-19 22:42:07 UTC (rev 759)
@@ -0,0 +1,37 @@
+#!/bin/sh
+# preinst script for tkpng
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <new-preinst> `install'
+#        * <new-preinst> `install' <old-version>
+#        * <new-preinst> `upgrade' <old-version>
+#        * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    install|upgrade)
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: packages/tkpng/trunk/debian/prerm.ex
===================================================================
--- packages/tkpng/trunk/debian/prerm.ex	                        (rev 0)
+++ packages/tkpng/trunk/debian/prerm.ex	2008-11-19 22:42:07 UTC (rev 759)
@@ -0,0 +1,40 @@
+#!/bin/sh
+# prerm script for tkpng
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove|upgrade|deconfigure)
+    ;;
+
+    failed-upgrade)
+    ;;
+
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: packages/tkpng/trunk/debian/rules
===================================================================
--- packages/tkpng/trunk/debian/rules	                        (rev 0)
+++ packages/tkpng/trunk/debian/rules	2008-11-19 22:42:07 UTC (rev 759)
@@ -0,0 +1,99 @@
+#!/usr/bin/make -f
+
+# 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)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
+
+config: config-stamp
+config-stamp: configure
+	dh_testdir
+	# Add here commands to configure the package.
+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
+	./configure $(CROSS) \
+	--prefix=/usr \
+	--mandir=\$${prefix}/share/man \
+	--infodir=\$${prefix}/share/info \
+	--with-tcl=/usr/lib/tcl8.5/ \
+	--with-tk=/usr/lib/tk8.5/ \
+	--with-tclinclude=/usr/include/tcl8.5/ \
+	--with-tkinclude=/usr/include/tcl8.5/ \
+	CFLAGS="$(CFLAGS)" \
+	LDFLAGS="-lm -Wl,-z,defs -Wl,--no-undefined -Wl,--as-needed"
+	touch $@
+
+build: build-stamp
+build-stamp:  config
+	dh_testdir
+	$(MAKE)
+	#docbook-to-man debian/tkpng.sgml > tkpng.1
+	touch $@
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp config-stamp
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f config.sub config.guess config.cache config.log
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	$(MAKE) install \
+		prefix=$(CURDIR)/debian/tkpng/usr \
+		DESTDIR=$(CURDIR)/debian/tkpng \
+		DIST_DIR=$(CURDIR)/debian/tkpng
+	find $(CURDIR)/debian/tkpng -empty -type d -delete
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_python
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: config build clean binary-indep binary-arch binary install 


Property changes on: packages/tkpng/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/tkpng/trunk/debian/tkpng.doc-base.EX
===================================================================
--- packages/tkpng/trunk/debian/tkpng.doc-base.EX	                        (rev 0)
+++ packages/tkpng/trunk/debian/tkpng.doc-base.EX	2008-11-19 22:42:07 UTC (rev 759)
@@ -0,0 +1,22 @@
+Document: tkpng
+Title: Debian tkpng Manual
+Author: <insert document author here>
+Abstract: This manual describes what tkpng is
+ and how it can be used to
+ manage online manuals on Debian systems.
+Section: unknown
+
+Format: debiandoc-sgml
+Files: /usr/share/doc/tkpng/tkpng.sgml.gz
+
+Format: postscript
+Files: /usr/share/doc/tkpng/tkpng.ps.gz
+
+Format: text
+Files: /usr/share/doc/tkpng/tkpng.text.gz
+
+Format: HTML
+Index: /usr/share/doc/tkpng/html/index.html
+Files: /usr/share/doc/tkpng/html/*.html
+
+

Added: packages/tkpng/trunk/debian/watch.ex
===================================================================
--- packages/tkpng/trunk/debian/watch.ex	                        (rev 0)
+++ packages/tkpng/trunk/debian/watch.ex	2008-11-19 22:42:07 UTC (rev 759)
@@ -0,0 +1,23 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to examine a Webpage
+# <Webpage URL> <string match>
+#http://www.example.com/downloads.php tkpng-(.*)\.tar\.gz
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/tkpng-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/tkpng-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to find new files on sourceforge, for devscripts >= 2.9
+# http://sf.net/tkpng/tkpng-(.*)\.tar\.gz
+
+# Uncomment to find new files on GooglePages
+# http://example.googlepages.com/foo.html tkpng-(.*)\.tar\.gz




More information about the Pkg-tcltk-commits mailing list