[Python-apps-commits] r525 - in packages/dot2tex/trunk (14 files)

pcc-guest at users.alioth.debian.org pcc-guest at users.alioth.debian.org
Wed Jan 16 02:09:02 UTC 2008


    Date: Wednesday, January 16, 2008 @ 02:09:01
  Author: pcc-guest
Revision: 525

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/dot2tex/trunk/debian/
  packages/dot2tex/trunk/debian/changelog
  packages/dot2tex/trunk/debian/compat
  packages/dot2tex/trunk/debian/control
  packages/dot2tex/trunk/debian/copyright
  packages/dot2tex/trunk/debian/docs
  packages/dot2tex/trunk/debian/dot2tex.1
  packages/dot2tex/trunk/debian/examples
  packages/dot2tex/trunk/debian/manpages
  packages/dot2tex/trunk/debian/patches/
  packages/dot2tex/trunk/debian/patches/01-shebang.patch
  packages/dot2tex/trunk/debian/pycompat
  packages/dot2tex/trunk/debian/rules
  packages/dot2tex/trunk/debian/watch


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

Added: packages/dot2tex/trunk/debian/changelog
===================================================================
--- packages/dot2tex/trunk/debian/changelog	                        (rev 0)
+++ packages/dot2tex/trunk/debian/changelog	2008-01-16 02:09:01 UTC (rev 525)
@@ -0,0 +1,63 @@
+dot2tex (2.7.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Peter Collingbourne <pcc03 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at doc.ic.ac.uk>  Tue,  5 Dec 2006 10:24:24 +0000
+

Added: packages/dot2tex/trunk/debian/compat
===================================================================
--- packages/dot2tex/trunk/debian/compat	                        (rev 0)
+++ packages/dot2tex/trunk/debian/compat	2008-01-16 02:09:01 UTC (rev 525)
@@ -0,0 +1 @@
+5

Added: packages/dot2tex/trunk/debian/control
===================================================================
--- packages/dot2tex/trunk/debian/control	                        (rev 0)
+++ packages/dot2tex/trunk/debian/control	2008-01-16 02:09:01 UTC (rev 525)
@@ -0,0 +1,21 @@
+Source: dot2tex
+Section: graphics
+Priority: optional
+Maintainer: Peter Collingbourne <pcc03 at doc.ic.ac.uk>
+Build-Depends: cdbs, debhelper (>= 5), python-all-dev (>= 2.3.5-11), python-pydot, python-support (>= 0.5.3)
+Standards-Version: 3.7.2
+Homepage: http://www.fauskes.net/code/dot2tex/
+
+Package: dot2tex
+Architecture: all
+Depends: ${python:Depends}, python-pydot
+Recommends: tetex-base | texlive-latex-base, pgf | tetex-extra | 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.

Added: packages/dot2tex/trunk/debian/copyright
===================================================================
--- packages/dot2tex/trunk/debian/copyright	                        (rev 0)
+++ packages/dot2tex/trunk/debian/copyright	2008-01-16 02:09:01 UTC (rev 525)
@@ -0,0 +1,30 @@
+This package was debianized by Peter Collingbourne <pcc03 at doc.ic.ac.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 at gmail.com>
+
+Copyright (c) 2007, Kjell Magne Fauske
+
+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 (C) 2007, Peter Collingbourne <pcc03 at doc.ic.ac.uk> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+

Added: packages/dot2tex/trunk/debian/docs
===================================================================
--- packages/dot2tex/trunk/debian/docs	                        (rev 0)
+++ packages/dot2tex/trunk/debian/docs	2008-01-16 02:09:01 UTC (rev 525)
@@ -0,0 +1,3 @@
+README.txt
+doc/usage.html
+doc/img

Added: packages/dot2tex/trunk/debian/dot2tex.1
===================================================================
--- packages/dot2tex/trunk/debian/dot2tex.1	                        (rev 0)
+++ packages/dot2tex/trunk/debian/dot2tex.1	2008-01-16 02:09:01 UTC (rev 525)
@@ -0,0 +1,193 @@
+.TH DOT2TEX 1 "November 11, 2006"
+.SH NAME
+dot2tex \- Graphviz to LaTeX converter
+.SH SYNOPSIS
+.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 try to convert an input file in the plain dot format to this format, but it is recommended to feed xdot data directly to \fBdot2tex\fP due to some limitations in the pydot module.
+.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 \-\-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.
+.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 ws written by Kjell Magne Fauske <kjellmf at gmail.com>
+.PP
+This manual page was written by Peter Collingbourne <pcc03 at doc.ic.ac.uk>,
+for the Debian project (but may be used by others).

Added: packages/dot2tex/trunk/debian/examples
===================================================================
--- packages/dot2tex/trunk/debian/examples	                        (rev 0)
+++ packages/dot2tex/trunk/debian/examples	2008-01-16 02:09:01 UTC (rev 525)
@@ -0,0 +1 @@
+examples/*

Added: packages/dot2tex/trunk/debian/manpages
===================================================================
--- packages/dot2tex/trunk/debian/manpages	                        (rev 0)
+++ packages/dot2tex/trunk/debian/manpages	2008-01-16 02:09:01 UTC (rev 525)
@@ -0,0 +1 @@
+debian/dot2tex.1

Added: packages/dot2tex/trunk/debian/patches/01-shebang.patch
===================================================================
--- packages/dot2tex/trunk/debian/patches/01-shebang.patch	                        (rev 0)
+++ packages/dot2tex/trunk/debian/patches/01-shebang.patch	2008-01-16 02:09:01 UTC (rev 525)
@@ -0,0 +1,8 @@
+diff -Nur dot2tex-2.7.0/dot2tex/dot2tex.py dot2tex-2.7.0.new/dot2tex/dot2tex.py
+--- dot2tex-2.7.0/dot2tex/dot2tex.py	2008-01-16 01:31:28.000000000 +0000
++++ dot2tex-2.7.0.new/dot2tex/dot2tex.py	2008-01-16 01:45:41.000000000 +0000
+@@ -1,4 +1,3 @@
+-#!/usr/bin/python
+ # -*- coding: Latin-1 -*-
+ """Convert graphviz graphs to LaTeX-friendly formats
+ 

Added: packages/dot2tex/trunk/debian/pycompat
===================================================================
--- packages/dot2tex/trunk/debian/pycompat	                        (rev 0)
+++ packages/dot2tex/trunk/debian/pycompat	2008-01-16 02:09:01 UTC (rev 525)
@@ -0,0 +1 @@
+2

Added: packages/dot2tex/trunk/debian/rules
===================================================================
--- packages/dot2tex/trunk/debian/rules	                        (rev 0)
+++ packages/dot2tex/trunk/debian/rules	2008-01-16 02:09:01 UTC (rev 525)
@@ -0,0 +1,9 @@
+#!/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
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+DEB_INSTALL_CHANGELOGS_ALL := changelog.txt


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

Added: packages/dot2tex/trunk/debian/watch
===================================================================
--- packages/dot2tex/trunk/debian/watch	                        (rev 0)
+++ packages/dot2tex/trunk/debian/watch	2008-01-16 02:09:01 UTC (rev 525)
@@ -0,0 +1,2 @@
+version=3
+http://www.fauskes.net/code/dot2tex/download/ .*dot2tex-([\d\.]*).tar.gz




More information about the Python-apps-commits mailing list