dot2tex (2.8.7+repack-1) debian-dir only changes

Summary

 debian/changelog  |  155 +++++++++++++++++++++++++++++++++++++++
 debian/compat     |    1 
 debian/control    |   26 ++++++
 debian/copyright  |   33 ++++++++
 debian/doc-base   |   11 ++
 debian/docs       |    3 
 debian/dot2tex.1  |  213 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/examples   |    1 
 debian/manpages   |    1 
 debian/pycompat   |    1 
 debian/pyversions |    1 
 debian/rules      |   18 ++++
 debian/watch      |    2 
 13 files changed, 466 insertions(+)

    
download this patch

Patch contents

--- dot2tex-2.8.7+repack.orig/debian/copyright
+++ dot2tex-2.8.7+repack/debian/copyright
@@ -0,0 +1,33 @@
+This package was debianized by Peter Collingbourne <peter@pcc.me.uk> on
+Sat, 11 Nov 2006 01:53:22 +0000.
+
+It was downloaded from http://www.fauskes.net/code/dot2tex/download/
+
+Upstream Author: Kjell Magne Fauske <kjellmf@gmail.com>
+
+Copyright (c) 2009, Kjell Magne Fauske
+
+The dot parser (dot2tex/dotparsing.py) is copyright (c) 2004-2008
+Michael Krause and Ero Carrera
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to
+deal in the Software without restriction, including without limitation the
+rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+IN THE SOFTWARE.
+
+The Debian packaging is Copyright (C) 2010 Peter Collingbourne <peter@pcc.me.uk>
+and is licensed under the GPL version 2, see `/usr/share/common-licenses/GPL-2'.
+
--- dot2tex-2.8.7+repack.orig/debian/watch
+++ dot2tex-2.8.7+repack/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://www.fauskes.net/code/dot2tex/download/ .*dot2tex-([\d\.]*)\.tar\.gz
--- dot2tex-2.8.7+repack.orig/debian/docs
+++ dot2tex-2.8.7+repack/debian/docs
@@ -0,0 +1,3 @@
+README.txt
+doc/usage.html
+doc/img
--- dot2tex-2.8.7+repack.orig/debian/examples
+++ dot2tex-2.8.7+repack/debian/examples
@@ -0,0 +1 @@
+examples/*
--- dot2tex-2.8.7+repack.orig/debian/dot2tex.1
+++ dot2tex-2.8.7+repack/debian/dot2tex.1
@@ -0,0 +1,213 @@
+.TH DOT2TEX 1 "November 11, 2006"
+.SH NAME
+dot2tex \- Graphviz to LaTeX converter
+.SH SYNOPSIS
+.B dot2tex
+.RB [ \-\-prog
+.IR graphviz-command ]
+.RI [ options ]
+.I dot-file
+>
+.I tex-file
+.br
+.B dot2tex
+.RI [ options ]
+.I xdot-file
+>
+.I tex-file
+.br
+.I graphviz-command
+.B -txdot
+.I dot-file
+|
+.B dot2tex
+.RI [ options ]
+>
+.I tex-file
+.SH DESCRIPTION
+This manual page documents briefly the
+.B dot2tex
+command.
+.PP
+\fBdot2tex\fP is a tool for converting graphs generated by Graphviz to formats suitable for use with LaTeX. Currently \fBdot2tex\fP generates code for PSTricks and PGF/TikZ.
+
+The purpose of \fBdot2tex\fP is to give graphs a more LaTeX look and feel. This is accomplished by:
+.RS 4
+.IP "*" 4
+Typesetting labels with LaTeX, allowing mathematical notation.
+.IP "*" 4
+Using native PSTricks and PGF/TikZ commands for drawing arrows, edges
+and nodes.
+.IP "*" 4
+Using backend specific styles to customize the output.
+.RE
+.SH USAGE
+Input data is read from standard input if no inputfile is specified. Output is written to standard output unless a destination file is set with the \fB-o\fP option. 
+
+\fBdot2tex\fP relies on the \fIxdot format\fP generated by Graphviz. \fBdot2tex\fP will automatically run
+.BR dot (1)
+on the input data if it is in the plain dot format. If you want to use other layout tools like
+.BR neato (1)
+and
+.BR circo (1),
+use the \fB\-\-prog\fP option.
+.SH OPTIONS
+A summary of options is included below.
+.TP
+.B \-h\fP, \fB\-\-help
+Display help message.
+.TP
+.B \-f \fIfmt\fP, \fB\-\-format \fIfmt
+Set output format. The following values of \fIfmt\fP are supported:
+.PD 0
+.RS 10
+.IP "\fBpgf"
+PGF/TikZ. Default.
+.IP "\fBpstricks\fP or \fBpst"
+Use PSTricks.
+.IP "\fBtikz"
+TikZ format.
+.RE
+.PD 1
+.TP
+.B \-t \fImode\fP, \fB\-\-texmode \fImode
+Text mode. Specify how text is converted.
+.PD 0
+.RS 10
+.IP "\fBverbatim"
+Text is displayed with all special TeX chars escaped (default).
+.IP "\fBmath"
+Output all text in math mode $$.
+.IP "\fBraw"
+Output text without any processing. 
+.RE
+.PD 1
+
+.RS 7
+Note that you can locally override the text mode by assigning a special \fBtexlbl\fP attribute to a graph element, or by using the \fBtexmode\fP attribute.
+.RE
+.TP
+.B \-s\fP, \fB\-\-straightedges
+Draw edges using straight lines. Graphviz uses bezier curves to draw straight edges. Use this option to force the use of line to operations instead of curves. Does not work in \fBduplicate\fP mode.  
+.TP
+.B \-o \fIfilename\fP, \fB\-\-output \fIfilename
+Write output to file.
+.TP
+.B \-d\fP, \fB\-\-duplicate
+Duplicate the xdot output. Uses the drawing information embedded in the xdot output to draw nodes and edges. 
+.TP
+.B \-\-template \fIfilename
+Use template from file. See the HTML documentation for more details. 
+.TP
+.B \-V\fP, \fB\-\-version
+Print version information and exit. 
+.TP
+.B \-w\fP, \fB\-\-switchdraworder
+Switch drawing order of nodes and edges. By default edges are drawn before nodes. 
+.TP
+.B \-c\fP, \fB\-\-crop
+Use preview.sty to crop the graph. Currently only implemented for the PGF/TikZ backend.  
+.TP
+.B \-\-figonly
+Output the graph without a document preamble. Useful if the graph is to be included in a master document.
+.TP
+.B \-\-codeonly
+Output only the drawing commands, without wrapping it in a \fBtikzpicture\fP or \fBpspicture\fP environment. Useful when used with the dot2texi package.
+.TP
+.B \-\-preproc
+Preprocess the graph through LaTeX using the \fBpreview\fP package. Will generate a new dot file where the height and widths of nodes and edge labels are set based on the results from \fBpreview\fP.
+.TP
+.B \-\-cache
+Enables output caching.  dot2tex will check if the input graph has been processed before. If it has not changed the graph will not be converted.
+.TP
+.B \-\-autosize
+Preprocess the graph and run Graphviz on the output. Equivalent to:
+
+dot2tex \-\-preproc \fIdot-file\fP | dot2tex
+
+.TP
+.B \-\-prog \fIprogram
+Set graph layout program to use when the input is in plain dot format. Allowed values: dot (default), neato, circo, fdp, twopi.
+.TP
+.B \-\-usepdflatex
+Use
+.BR pdflatex (1)
+instead of
+.BR latex (1)
+for preprocessing the graph.
+.TP
+.B \-\-nominsize
+Ignore minimum node sizes during preprocessing.
+.TP
+.B \-\-valignmode \fImode
+Vertical alignment of node labels, where \fImode\fP can have the values:
+.PD 0
+.RS 10
+.IP "\fBcenter"
+Labels are placed in the middle of the node (default).
+.IP "\fBdot"
+Use the coordinate given by the xdot output from Graphviz.
+.RE
+.PD 1
+.TP
+.B \-\-alignstr \fIstr
+Used to pass a default alignment string to the PSTricks \fI\\rput\fP command:
+
+\\rput[alignstr] ...
+
+Only works for the PSTricks format. PGF/TikZ users can instead pass an \fBanchor=...\fP style using the \fBgraphstyle\fP option.
+.TP
+.B \-\-tikzedgelabels
+Bypass Graphviz' edge label placement and use PGF/TikZ instead (tikz and pgf formats only).
+.TP
+.B \-\-styleonly
+Use TikZ only styles when drawing nodes. No draw or shape option is added (tikz format only).
+.TP
+.B \-\-nodeoptions \fItikzoptions
+Wrap node code in a scope environment with \fItikzoptions\fP as parameter (tikz format only).
+.TP
+.B \-\-edgeoptions \fItikzoptions
+Wrap edge code in a scope environment with \fItikzoptions\fP as parameter (tikz format only).
+.TP
+.B \-\-debug
+Write detailed debug information to the file dot2tex.log in the current directory.
+.TP
+.B \-\-pgf118
+Generate code compatible with PGF 1.18 and earlier.
+.RS 0
+
+The following options are used by the output templates.
+.RE
+.TP
+.B \-e \fIencoding\fP, \fB\-\-encoding \fIencoding
+Set text encoding. Supported encodings are \fButf8\fP and \fBlatin1\fP.
+.TP
+.B \-\-docpreamble \fITeXcode
+Insert TeX code in the document preamble. 
+.TP
+.B \-\-figpreamble \fITeXcode
+Insert TeX code in the figure preamble. 
+.TP
+.B \-\-figpostamble \fITeXcode
+Insert TeX code in the figure postamble.
+.TP
+.B \-\-graphstyle \fIstyle
+Sets the \fB<<graphstyle>>\fP tag. 
+.TP
+.B \-\-margin \fImargin
+Set margin around the graph when using \fBpreview.sty\fP. \fImargin\fP must be a valid TeX unit. By default \fImargin\fP is set to 0pt.
+.SH SEE ALSO
+.BR dot (1),
+.BR latex (1).
+
+.TP
+.I /usr/share/doc/dot2tex/usage.html
+Full documentation for \fBdot2tex\fP
+.TP
+.I /usr/share/doc/dot2tex/examples
+Example Graphviz dot files for use with \fBdot2tex\fP
+.SH AUTHOR
+\fBdot2tex\fP was written by Kjell Magne Fauske <kjellmf@gmail.com>
+.PP
+This manual page was written by Peter Collingbourne <peter@pcc.me.uk>,
+for the Debian project (but may be used by others).
--- dot2tex-2.8.7+repack.orig/debian/changelog
+++ dot2tex-2.8.7+repack/debian/changelog
@@ -0,0 +1,155 @@
+dot2tex (2.8.7+repack-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: new Standards-Version
+  * debian/rules: introduced a get-orig-source rule to repack the
+    tarball because of bad permissions
+  * debian/doc-base: added
+  * debian/copyright: updated year and license information
+
+ -- Peter Collingbourne <peter@pcc.me.uk>  Wed, 10 Feb 2010 22:35:17 +0000
+
+dot2tex (2.8.6-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: new Standards-Version
+  * debian/dot2tex.1: documented the --pgf118 option
+  * debian/dot2tex.1: fixed typo
+  * debian/dot2tex.1: documented the mechanism for automatic conversion
+    of dot files to xdot format
+
+ -- Peter Collingbourne <peter@pcc.me.uk>  Wed, 29 Jul 2009 21:37:05 -0700
+
+dot2tex (2.8.5-1) unstable; urgency=low
+
+  [ Sandro Tosi ]
+  * debian/control
+    - switch Vcs-Browser field to viewsvn
+
+  [ Marco Rodrigues ]
+  * debian/control:
+    + Add ${misc:Depends} to Depends to remove
+      lintian warning.
+
+  [ Peter Collingbourne ]
+  * New upstream release
+  * debian/control: new Standards-Version
+  * debian/control: generated files now require pgf >= 2.00
+  * debian/copyright: changed year to 2009
+  * debian/control, debian/copyright, debian/dot2tex.1: changed
+    maintainer email address (again)
+  * debian/copyright: refer specifically to GPL-2
+  * debian/copyright: use the word Copyright to correctly express
+    copyright ownership
+
+ -- Peter Collingbourne <peter@pcc.me.uk>  Sun, 15 Mar 2009 16:23:06 +0000
+
+dot2tex (2.8.4-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/dot2tex.1: documented --cache option
+  * debian/control: changed maintainer email address
+
+ -- Peter Collingbourne <peter@peter.uk.to>  Mon, 29 Sep 2008 00:58:56 +0100
+
+dot2tex (2.8.2-1) unstable; urgency=low
+
+  [ Peter Collingbourne ]
+  * New upstream release
+  * debian/patches/01-shebang.patch: removed, applied upstream
+  * debian/rules: simple-patchsys removed, no longer required
+  * debian/control
+    - updated Standards-Version
+    - removed references to tetex
+    - removed unnecessary ~ in python version number
+
+  [ Piotr O┼╝arowski ]
+  * Added DM-Upload-Allowed: yes
+
+ -- Peter Collingbourne <pcc03@doc.ic.ac.uk>  Thu, 12 Jun 2008 14:04:56 +0100
+
+dot2tex (2.8.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control:
+    - replaced dependency on pydot with pyparsing and graphviz
+    - replaced python-all-dev Build-Dep with python
+    - moved Build-Depends on pyparsing to Build-Depends-Indep
+  * debian/copyright: added 2008 to upstream copyright
+  * debian/watch: escaped the dots
+  * debian/pyversions, debian/control: package now works with only
+    Python 2.4+
+
+ -- Peter Collingbourne <pcc03@doc.ic.ac.uk>  Mon, 26 May 2008 15:32:30 +0100
+
+dot2tex (2.7.0-1) unstable; urgency=low
+
+  * New upstream release
+  * dot2tex/dot2tex.py: backed out all changes apart from shebang as
+    taken upstream
+  * debian/dot2tex.1: documented new command line option --codeonly
+  * debian/rules: moved patching system to CDBS simple-patchsys
+  * debian/control: updated Standards-Version
+  * debian/control: added Uploaders, Vcs-Svn, Vcs-Browser fields for
+    PAPT
+  * debian/copyright: changed year to 2008
+
+ -- Peter Collingbourne <pcc03@doc.ic.ac.uk>  Wed, 16 Jan 2008 01:31:30 +0000
+
+dot2tex (2.6.1-1) unstable; urgency=low
+
+  * New upstream release
+  * dot2tex/dot2tex: removed shebang (added upstream)
+
+ -- Peter Collingbourne <pcc03@doc.ic.ac.uk>  Tue, 13 Nov 2007 16:04:10 +0000
+
+dot2tex (2.6.0-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/copyright: changed years to 2007
+  * debian/dot2tex.1: documented new command line options
+  * debian/README.Debian: removed as upstream now calls the script
+    dot2tex
+  * debian/rules: no longer rename script as upstream now calls it
+    dot2tex
+  * dot2tex/dot2tex: added shebang
+  * dot2tex/dot2tex.py: removed shebang
+
+ -- Peter Collingbourne <pcc03@doc.ic.ac.uk>  Fri, 05 Oct 2007 16:41:28 +0100
+
+dot2tex (2.5.0-1) unstable; urgency=low
+
+  * New upstream release (closes: #427034)
+  * Added Recommends: preview-latex-style (for --preproc flag)
+  * dot2tex/dot2tex.py: error messages make reference to Debian
+    packages and filenames
+  * debian/watch: new download location
+
+ -- Peter Collingbourne <pcc03@doc.ic.ac.uk>  Tue, 17 Jul 2007 15:20:20 +0100
+
+dot2tex (2.0.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Peter Collingbourne <pcc03@doc.ic.ac.uk>  Fri, 01 Jun 2007 15:51:56 +0100
+
+dot2tex (2.0.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Peter Collingbourne <pcc03@doc.ic.ac.uk>  Wed, 09 May 2007 16:00:56 +0100
+
+dot2tex (1.5.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Peter Collingbourne <pcc03@doc.ic.ac.uk>  Tue, 20 Mar 2007 01:54:53 +0000
+
+dot2tex (1.5.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #398092)
+  * Wrote manpage
+  * Renamed dot2tex.py to dot2tex
+
+ -- Peter Collingbourne <pcc03@doc.ic.ac.uk>  Tue,  5 Dec 2006 10:24:24 +0000
+
--- dot2tex-2.8.7+repack.orig/debian/manpages
+++ dot2tex-2.8.7+repack/debian/manpages
@@ -0,0 +1 @@
+debian/dot2tex.1
--- dot2tex-2.8.7+repack.orig/debian/pycompat
+++ dot2tex-2.8.7+repack/debian/pycompat
@@ -0,0 +1 @@
+2
--- dot2tex-2.8.7+repack.orig/debian/control
+++ dot2tex-2.8.7+repack/debian/control
@@ -0,0 +1,26 @@
+Source: dot2tex
+Section: graphics
+Priority: optional
+Maintainer: Peter Collingbourne <peter@pcc.me.uk>
+Uploaders: Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
+Build-Depends: cdbs, debhelper (>= 5), python (>= 2.4), python-support (>= 0.5.3)
+Build-Depends-Indep: python-pyparsing (>= 0.4.8)
+Standards-Version: 3.8.4
+Vcs-Svn: svn://svn.debian.org/python-apps/packages/dot2tex/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/dot2tex/trunk/
+DM-Upload-Allowed: yes
+Homepage: http://www.fauskes.net/code/dot2tex/
+
+Package: dot2tex
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, python-pyparsing (>= 0.4.8), graphviz
+Recommends: texlive-latex-base, pgf (>= 2.00) | texlive-pstricks, preview-latex-style
+Enhances: latex-beamer
+Description: Graphviz to LaTeX converter
+ The purpose of dot2tex is to give graphs generated by the graph layout tool
+ Graphviz a more LaTeX friendly look and feel. This is accomplished by:
+ . 
+  - Using native PSTricks and PGF/TikZ commands for drawing arrows,
+    edges and nodes.
+  - Typesetting labels with LaTeX, allowing mathematical notation.
+  - Using backend specific styles to customize the output.
--- dot2tex-2.8.7+repack.orig/debian/doc-base
+++ dot2tex-2.8.7+repack/debian/doc-base
@@ -0,0 +1,11 @@
+Document: dot2tex
+Title: dot2tex - A Graphviz to LaTeX converter
+Author: Kjell Magne Fauske
+Abstract: This manual describes how to use dot2tex, a tool for
+ converting graphs generated by Graphviz to formats suitable for use
+ with LaTeX.
+Section: Graphics
+
+Format: HTML
+Index: /usr/share/doc/dot2tex/usage.html
+Files: /usr/share/doc/dot2tex/usage.html
--- dot2tex-2.8.7+repack.orig/debian/rules
+++ dot2tex-2.8.7+repack/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM = pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+PRISTINE_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed s/\+repack//)
+
+DEB_INSTALL_CHANGELOGS_ALL := changelog.txt
+
+get-orig-source:
+	-uscan --verbose --force-download --no-symlink --upstream-version $(PRISTINE_VERSION)
+	tar xzf ../$(DEB_SOURCE_PACKAGE)-$(PRISTINE_VERSION).tar.gz
+	find $(DEB_SOURCE_PACKAGE)-$(PRISTINE_VERSION) -type d -exec chmod +x \{\} \;
+	mv $(DEB_SOURCE_PACKAGE)-$(PRISTINE_VERSION) $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig
+	tar czf ../$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig
+	rm -rf $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig
--- dot2tex-2.8.7+repack.orig/debian/compat
+++ dot2tex-2.8.7+repack/debian/compat
@@ -0,0 +1 @@
+5
--- dot2tex-2.8.7+repack.orig/debian/pyversions
+++ dot2tex-2.8.7+repack/debian/pyversions
@@ -0,0 +1 @@
+2.4-