[Python-apps-commits] r44 - in /packages/pkpgcounter/trunk/debian: ./ changelog compat control copyright dirs docs patches/ patches/00list patches/01fix_man.dpatch pkpgcounter.examples rules watch

kumanna-guest at users.alioth.debian.org kumanna-guest at users.alioth.debian.org
Thu Sep 13 17:56:12 UTC 2007


Author: kumanna-guest
Date: Thu Sep 13 17:56:11 2007
New Revision: 44

URL: http://svn.debian.org/wsvn/python-apps/?sc=1&rev=44
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    packages/pkpgcounter/trunk/debian/   (with props)
    packages/pkpgcounter/trunk/debian/changelog
    packages/pkpgcounter/trunk/debian/compat
    packages/pkpgcounter/trunk/debian/control
    packages/pkpgcounter/trunk/debian/copyright
    packages/pkpgcounter/trunk/debian/dirs
    packages/pkpgcounter/trunk/debian/docs
    packages/pkpgcounter/trunk/debian/patches/
    packages/pkpgcounter/trunk/debian/patches/00list
    packages/pkpgcounter/trunk/debian/patches/01fix_man.dpatch   (with props)
    packages/pkpgcounter/trunk/debian/pkpgcounter.examples
    packages/pkpgcounter/trunk/debian/rules   (with props)
    packages/pkpgcounter/trunk/debian/watch

Propchange: packages/pkpgcounter/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/pkpgcounter/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-apps/packages/pkpgcounter/trunk/debian/changelog?rev=44&op=file
==============================================================================
--- packages/pkpgcounter/trunk/debian/changelog (added)
+++ packages/pkpgcounter/trunk/debian/changelog Thu Sep 13 17:56:11 2007
@@ -1,0 +1,29 @@
+pkpgcounter (3.00-1) unstable; urgency=low
+
+  * New upstream release
+  * Use 01_fix_man.dpatch to fix man page.
+  * Remove redundant license
+  * Update watch file and add orig-tar.sh to download new upstream
+    tarball.
+  * Update copyright to GPL-3.
+
+ -- Kumar Appaiah <akumar at ee.iitm.ac.in>  Tue, 11 Sep 2007 13:31:55 +0530
+
+pkpgcounter (2.18-2) unstable; urgency=low
+
+  * Change section to utils.
+  * Depend only on python-dev.
+  * Remove incorrect XS-Vcs-Svn.
+  * Fix hyphens in man page.
+  * Add dependency on python-imaging.
+  * Add "Recommends" for python-psyco
+  * Clean up rules.
+
+ -- Kumar Appaiah <akumar at ee.iitm.ac.in>  Wed, 08 Aug 2007 01:03:40 +0530
+
+pkpgcounter (2.18-1) unstable; urgency=low
+
+  * Initial release (Closes: #435030)
+
+ -- Kumar Appaiah <akumar at ee.iitm.ac.in>  Sat, 28 Jul 2007 20:57:47 +0530
+

Added: packages/pkpgcounter/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-apps/packages/pkpgcounter/trunk/debian/compat?rev=44&op=file
==============================================================================
--- packages/pkpgcounter/trunk/debian/compat (added)
+++ packages/pkpgcounter/trunk/debian/compat Thu Sep 13 17:56:11 2007
@@ -1,0 +1,1 @@
+5

Added: packages/pkpgcounter/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-apps/packages/pkpgcounter/trunk/debian/control?rev=44&op=file
==============================================================================
--- packages/pkpgcounter/trunk/debian/control (added)
+++ packages/pkpgcounter/trunk/debian/control Thu Sep 13 17:56:11 2007
@@ -1,0 +1,39 @@
+Source: pkpgcounter
+Section: utils
+Priority: optional
+Maintainer: Kumar Appaiah <akumar at ee.iitm.ac.in>
+Build-Depends-Indep: python-dev (>= 2.3.5-11), python-central (>= 0.5), python-imaging
+Build-Depends: debhelper (>= 5.0.37.3), dpatch
+Standards-Version: 3.7.2
+XS-Python-Version: current
+
+Package: pkpgcounter
+Architecture: all
+Depends: ${python:Depends}, python-imaging (>= 1.1.2-3.2)
+Recommends: python-psyco [i386 hurd-i386 netbsd-i386 kfreebsd-i386]
+XB-Python-Version: ${python:Versions}
+Description: a generic Page Description Language parser
+ pkpgcounter is a generic Page Description Language parser which can
+ either count the number of pages or compute the percent of ink
+ coverage needed to print various types of documents. It is written in
+ Python.
+ .
+ It currently recognizes the following file formats :
+ .
+  * PostScript (both DSC compliant and binary)
+  * PDF
+  * PCL3/4/5
+  * PCLXL (aka PCL6)
+  * DVI
+  * Plain text
+  * TIFF
+  * ESC/P2
+  * OpenDocument (ISO/IEC DIS 26300)
+  * Zenographics ZjStream
+  * Samsung QPDL (aka SPL2)
+  * Samsung SPL1
+ .
+ The five latter ones, as well as some TIFF documents, are currently
+ only supported in page counting mode.
+ .
+  Homepage: http://www.pykota.com/software/pkpgcounter

Added: packages/pkpgcounter/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-apps/packages/pkpgcounter/trunk/debian/copyright?rev=44&op=file
==============================================================================
--- packages/pkpgcounter/trunk/debian/copyright (added)
+++ packages/pkpgcounter/trunk/debian/copyright Thu Sep 13 17:56:11 2007
@@ -1,0 +1,34 @@
+This package was debianized by Kumar Appaiah <akumar at ee.iitm.ac.in> on
+Sat, 28 Jul 2007 20:57:47 +0530.
+
+It was downloaded from http://www.pykota.com/software/pkpgcounter
+
+Upstream Author:
+
+     Jérôme Alet <alet at librelogiciel.com>
+
+Copyright: 
+
+    Copyright (C) 2003, 2004, 2005, 2006, 2007 Jérôme Alet
+
+License:
+
+    This package is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 3 of the License, or
+    (at your option) any later version.
+ 
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+ 
+    You should have received a copy of the GNU General Public License
+    along with this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-3'.
+
+The Debian packaging is (C) 2007, Kumar Appaiah <akumar at ee.iitm.ac.in> and
+is licensed under the GPL, see above.

Added: packages/pkpgcounter/trunk/debian/dirs
URL: http://svn.debian.org/wsvn/python-apps/packages/pkpgcounter/trunk/debian/dirs?rev=44&op=file
==============================================================================
--- packages/pkpgcounter/trunk/debian/dirs (added)
+++ packages/pkpgcounter/trunk/debian/dirs Thu Sep 13 17:56:11 2007
@@ -1,0 +1,2 @@
+usr/bin
+

Added: packages/pkpgcounter/trunk/debian/docs
URL: http://svn.debian.org/wsvn/python-apps/packages/pkpgcounter/trunk/debian/docs?rev=44&op=file
==============================================================================
--- packages/pkpgcounter/trunk/debian/docs (added)
+++ packages/pkpgcounter/trunk/debian/docs Thu Sep 13 17:56:11 2007
@@ -1,0 +1,3 @@
+BUGS
+NEWS
+README

Added: packages/pkpgcounter/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/python-apps/packages/pkpgcounter/trunk/debian/patches/00list?rev=44&op=file
==============================================================================
--- packages/pkpgcounter/trunk/debian/patches/00list (added)
+++ packages/pkpgcounter/trunk/debian/patches/00list Thu Sep 13 17:56:11 2007
@@ -1,0 +1,5 @@
+01fix_man
+
+
+
+

Added: packages/pkpgcounter/trunk/debian/patches/01fix_man.dpatch
URL: http://svn.debian.org/wsvn/python-apps/packages/pkpgcounter/trunk/debian/patches/01fix_man.dpatch?rev=44&op=file
==============================================================================
--- packages/pkpgcounter/trunk/debian/patches/01fix_man.dpatch (added)
+++ packages/pkpgcounter/trunk/debian/patches/01fix_man.dpatch Thu Sep 13 17:56:11 2007
@@ -1,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01fix_copyright_and_man.dpatch by  <akumar at ee.iitm.ac.in>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad pkpgcounter-3.00~/man/pkpgcounter.1 pkpgcounter-3.00/man/pkpgcounter.1
+--- pkpgcounter-3.00~/man/pkpgcounter.1	2007-09-11 08:12:31.000000000 +0530
++++ pkpgcounter-3.00/man/pkpgcounter.1	2007-09-11 08:12:45.000000000 +0530
+@@ -1,7 +1,7 @@
+ .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
+ .TH PKPGCOUNTER "1" "September 2007" "C at LL - Conseil Internet & Logiciels Libres" "User Commands"
+ .SH NAME
+-pkpgcounter \- manual page for pkpgcounter 3.00
++pkpgcounter \-  count number of pages required to print various types of documents
+ .SH DESCRIPTION
+ pkpgcounter v3.00 (c) 2003, 2004, 2005, 2006, 2007 Jerome Alet
+ .PP
+@@ -66,7 +66,7 @@
+ Will launch pkpgcounter and will output the total number of pages
+ needed to print all the documents specified.
+ .IP
+-\f(CW$ pkpgcounter --colorspace bw --resolution 150 file1.ps\fR
++\f(CW$ pkpgcounter \-\-colorspace bw \-\-resolution 150 file1.ps\fR
+ .IP
+ Will output the percent of black ink needed on each page of
+ the file1.ps file rendered at 150 dpi.

Propchange: packages/pkpgcounter/trunk/debian/patches/01fix_man.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/pkpgcounter/trunk/debian/pkpgcounter.examples
URL: http://svn.debian.org/wsvn/python-apps/packages/pkpgcounter/trunk/debian/pkpgcounter.examples?rev=44&op=file
==============================================================================
--- packages/pkpgcounter/trunk/debian/pkpgcounter.examples (added)
+++ packages/pkpgcounter/trunk/debian/pkpgcounter.examples Thu Sep 13 17:56:11 2007
@@ -1,0 +1,7 @@
+tests/colors.pdf
+tests/master.ps.gz
+tests/README
+tests/runcolors.py
+tests/runtestdebug.sh
+tests/runtest.sh
+

Added: packages/pkpgcounter/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-apps/packages/pkpgcounter/trunk/debian/rules?rev=44&op=file
==============================================================================
--- packages/pkpgcounter/trunk/debian/rules (added)
+++ packages/pkpgcounter/trunk/debian/rules Thu Sep 13 17:56:11 2007
@@ -1,0 +1,55 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+# The versions of python currently supported
+PYTHON=$(shell pyversions -r)
+
+build: build-stamp
+
+build-stamp: patch-stamp
+	dh_testdir
+	$(PYTHON) setup.py build
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f *-stamp
+	rm -rf compile build
+	./clean.sh
+	dh_clean
+
+install: build install-$(PYTHON)
+
+install-$(PYTHON):
+	dh_testdir
+	dh_testroot
+	$(PYTHON) setup.py install --root `pwd`/debian/pkpgcounter/
+	find ./debian/pkpgcounter/usr/lib/ -name '*\.py' | xargs sed -i -e '1 s|^#\!.*python.*||'
+	sed -i -e '1 s|^#\!.*python.*|#!/usr/bin/python|' ./debian/pkpgcounter/usr/bin/pkpgcounter
+	rm ./debian/pkpgcounter/usr/share/doc/pkpgcounter/COPYING
+
+# Build architecture-independent files here.
+# Pass to all debhelper commands in this target to reduce clutter.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples
+	dh_installchangelogs
+	dh_pycentral
+	dh_compress -X.py
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep
+
+binary-arch:
+
+.PHONY: build clean binary-indep binary install

Propchange: packages/pkpgcounter/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/pkpgcounter/trunk/debian/watch
URL: http://svn.debian.org/wsvn/python-apps/packages/pkpgcounter/trunk/debian/watch?rev=44&op=file
==============================================================================
--- packages/pkpgcounter/trunk/debian/watch (added)
+++ packages/pkpgcounter/trunk/debian/watch Thu Sep 13 17:56:11 2007
@@ -1,0 +1,4 @@
+version=3
+opts="downloadurlmangle=s/gz\/view/gz/,filenamemangle=s/.*pkpgcounter-(.*)\.tar\.gz\/view/pkpgcounter-$1.tar.gz/" \
+ http://www.pykota.com/software/pkpgcounter/download/tarballs \
+ http://www.pykota.com/software/pkpgcounter/download/tarballs/pkpgcounter-(.*)\.tar\.gz/view 




More information about the Python-apps-commits mailing list