debian/0000755000000000000000000000000011750673677007211 5ustar debian/trml2pdf0000755000000000000000000000007411163146455010655 0ustar #!/usr/bin/python from trml2pdf.trml2pdf import main main() debian/control0000644000000000000000000000200711750672576010610 0ustar Source: python-trml2pdf Section: python Priority: optional Maintainer: Debian Python Modules Team Standards-Version: 3.9.3 Build-Depends: debhelper (>= 9), python Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-trml2pdf/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-trml2pdf/trunk/ Package: python-trml2pdf Architecture: all Depends: ${python:Depends}, python-reportlab, python-imaging, ${misc:Depends} Description: Converter of Report Markup Language (RML) file to PDF Tiny RML2PDF is a tool to easily create PDF document without programming. It can be used as a Python library or as a standalone binary. It converts a RML, an XML dialect that lets you define the precise appearance of a printed document, to a PDF. You can use your existing tools to generate an input file that exactly describes the layout of a printed document, and RML2PDF converts it into PDF. RML is a much more powerful and flexible alternative to XSL:FO. debian/python-trml2pdf.examples0000644000000000000000000000000711163126153013773 0ustar rmls/* debian/python-trml2pdf.manpages0000644000000000000000000000002211163126171013745 0ustar debian/trml2pdf.1 debian/rules0000755000000000000000000000005511750672743010262 0ustar #!/usr/bin/make -f %: dh $@ --with python2 debian/patches/0000755000000000000000000000000011750673677010640 5ustar debian/patches/series0000644000000000000000000000005111163145536012033 0ustar add_setup_py.diff add_main_function.diff debian/patches/add_main_function.diff0000644000000000000000000000123511163146346015116 0ustar Description: Add main function This is needed so that we can call the program from a wrapper. Author: Raphael Hertzog Forwarded-Upstream: no (no clear upstream) --- a/trml2pdf/trml2pdf.py +++ b/trml2pdf/trml2pdf.py @@ -549,7 +549,7 @@ def trml2pdf_help(): print 'Render the standard input (RML) and output a PDF file' sys.exit(0) -if __name__=="__main__": +def main(): if len(sys.argv)>1: if sys.argv[1]=='--help': trml2pdf_help() @@ -557,3 +557,6 @@ if __name__=="__main__": else: print 'Usage: trml2pdf input.rml >output.pdf' print 'Try \'trml2pdf --help\' for more information.' + +if __name__=="__main__": + main() debian/patches/add_setup_py.diff0000644000000000000000000000122411163127041014122 0ustar Description: Add python setup files This enables us to use standard python packaging tools for the package creation. Author: Raphael Hertzog Forwarded-Upstream: no (there's no clear upstream anymore) --- /dev/null +++ python-trml/setup.py @@ -0,0 +1,13 @@ +#!/usr/bin/env python + +from distutils.core import setup +setup(name="TRML2PDF", + version="1.0", + author="Fabien Pinckaers", + author_email="fp@tiny.be", + license="LGPL", + description="Tiny RML2PDF is a tool to easily create PDF document without programming.", + packages = ['trml2pdf'], + package_dir = {'trml2pdf': 'trml2pdf'} + ) + debian/copyright0000644000000000000000000000222211750672033011123 0ustar This package was debianized by Raphael Hertzog . There's no clear upstream location for this package. This package uses the archive published by the kraft project on Sourceforge: http://sourceforge.net/projects/kraft/files/trml2pdf/ Upstream Author: Fabien Pinckaers Copyright: ---------- Copyright (C) 2003, Fabien Pinckaers, UCL, FSA This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, you can find a copy of this license in /usr/share/common-licenses/LGPL-2.1. debian/watch0000644000000000000000000000006611163114120010207 0ustar version=3 http://sf.net/kraft/trml2pdf-(.*)\.tar\.bz2 debian/changelog0000644000000000000000000000417711750673651011064 0ustar python-trml2pdf (1.2-3) unstable; urgency=low * Team upload. * Document where the sources where obtained. Closes: #671404 * Remove myself from Uploaders. * Drop non-working Homepage field. * Switch to debhelper 9th compat mode. * Update Standards-Version to 3.9.3. * Update to use dh_python2 instead of python-support. * Drop README.source not required with standard source format. -- Raphaël Hertzog Fri, 04 May 2012 08:31:03 +0200 python-trml2pdf (1.2-2) unstable; urgency=low * Add accent on my name in debian/control. * Switch to source format "3.0 (quilt)". * Change python-dev build-dep into python. -- Raphaël Hertzog Wed, 27 Jan 2010 18:35:09 +0100 python-trml2pdf (1.2-1) unstable; urgency=low [ Piotr Ożarowski ] * Vcs-Browser and Homepage fields added * XS-Vcs-Svn field renamed to Vcs-Svn [ Sandro Tosi ] * debian/control - uniforming Vcs-Browser field * debian/control - switch Vcs-Browser field to viewsvn [ Mauro Lizaur ] * Added missing watch file. [ Raphael Hertzog ] * New upstream version. There's no clear upstream location anymore. Thus several projects have put a copy available somewhere. We're tracking the copy provided by "Kraft" as they apparently published an updated version. * Drop useless debian/pycompat. * Use a wrapper for /usr/bin/trml2pdf instead of creating a symlink. Closes: #517300 * Switch to quilt for patch management. * Switch to debhelper 7 instead of CDBS. * Add README.source to document quilt usage. * Update Standards-Version to 3.8.1. * Drop duplicate Priority: field and add missing ${misc:Depends}. * Rename all debhelper-related debian/* files with the python-trml2dpf prefix. * Add a description to the add_setup_py.diff patch. * Add new patch add_main_function.diff to create an explicit main() function so that /usr/bin/trml2pdf can call it directly. -- Raphael Hertzog Fri, 27 Mar 2009 14:02:19 +0100 python-trml2pdf (1.0-1) unstable; urgency=low * Initial release. -- Raphael Hertzog Tue, 31 Jul 2007 15:10:52 +0200 debian/source/0000755000000000000000000000000011750673677010511 5ustar debian/source/format0000644000000000000000000000001411330073772011677 0ustar 3.0 (quilt) debian/python-trml2pdf.install0000644000000000000000000000003111163115630013616 0ustar debian/trml2pdf usr/bin/ debian/compat0000644000000000000000000000000211750672536010400 0ustar 9 debian/trml2pdf.10000644000000000000000000000312310653666330011011 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH trml2pdf 1 "2007-07-31" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME trml2pdf \- convert RML (Report Markup Language) to PDF .SH SYNOPSIS .B trml2pdf input.rml > output.pdf .SH DESCRIPTION .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBTiny RML2PDF\fP is a tool to easily create PDF document without programming. It can be used as a Python library or as a standalone binary. It converts a RML, an XML dialect that lets you define the precise appearance of a printed document, to a PDF. You can use your existing tools to generate an input file that exactly describes the layout of a printed document, and RML2PDF converts it into PDF. RML is a much more powerful and flexible alternative to XSL:FO. .SH AUTHOR trml2pdf was written by Fabien Pinckaers. .PP This manual page was written by Raphael Hertzog , for the Debian project (but may be used by others). debian/python-trml2pdf.docs0000644000000000000000000000001311163126141013077 0ustar README.txt