--- txt2tags-2.6.orig/debian/copyright +++ txt2tags-2.6/debian/copyright @@ -0,0 +1,37 @@ +This package was debianized by Eder L. Marques on +Tue, 05 Aug 2008 15:20:09 -0300. + +It was downloaded from http://txt2tags.sourceforge.net/ + +Upstream Author: Aurélio Marinho Jargas + +Copyright: + + Copyright (C) 2000-2010 Aurelio Marinho Jargas + +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, version 2. + + 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-2'. + +Debian packaging: + + Copyright (C) 2008, Eder L. Marques + Copyright (C) 2009, 2010 Jonathan Wiltshire + +and is licensed under the GPL-2 or later. + + --- txt2tags-2.6.orig/debian/txt2tags.doc-base.userguide +++ txt2tags-2.6/debian/txt2tags.doc-base.userguide @@ -0,0 +1,7 @@ +Document: txt2tags-userguide +Title: txt2tags User Guide +Author: Aurelio Jargas +Section: Text + +Format: PDF +Files: /usr/share/doc/txt2tags/userguide.pdf.gz --- txt2tags-2.6.orig/debian/docs +++ txt2tags-2.6/debian/docs @@ -0,0 +1,3 @@ +README +doc/txt2tags-quickref.pdf +doc/userguide.pdf --- txt2tags-2.6.orig/debian/menu +++ txt2tags-2.6/debian/menu @@ -0,0 +1,2 @@ +?package(txt2tags):needs="text" section="Applications/Text" \ + title="txt2tags" command="/usr/bin/txt2tags" --- txt2tags-2.6.orig/debian/examples +++ txt2tags-2.6/debian/examples @@ -0,0 +1 @@ +samples/* --- txt2tags-2.6.orig/debian/control +++ txt2tags-2.6/debian/control @@ -0,0 +1,34 @@ +Source: txt2tags +Section: misc +Priority: optional +Maintainer: Python Applications Packaging Team +Uploaders: Jonathan Wiltshire , Ales Zabala Alava (Shagi) , Eder L. Marques +Build-Depends: debhelper (>= 7.2.8), quilt (>= 0.46-7), python-all (>= 2.4) +Build-Depends-Indep: gettext, python-support (>= 0.5.3) +Standards-Version: 3.9.1 +X-Python-Version: >= 2.4 +Vcs-Svn: svn://svn.debian.org/python-apps/packages/txt2tags/trunk +Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/txt2tags/trunk/ +Homepage: http://txt2tags.sourceforge.net/ + +Package: txt2tags +Architecture: all +Depends: python, ${python:Depends}, ${misc:Depends} +Suggests: python-tk +Provides: python-txt2tags +XB-Python-Version: ${python:Versions} +Description: conversion tool to generating several file formats + txt2tags is a document generator written in Python that + generates HTML, XHTML, SGML, LaTeX, Lout, man page, Wikipedia, + Google Code Wiki, DokuWiki, MoinMoin, Magic Point and PageMaker + documents from a plain text file with little marks. + . + Different from other conversion tools, it is generic, and not + target-specific (as a txt2html tool). This way, you can keep just + one source text file and one tool for all your formatting needs. + . + Supports header, title, bold/italic/underline/strike, preformatted, + quote, link, lists, bar, image and table. + . + With txt2tags, you focuses your mind on the document CONTENT, and + forget about formatting. Just let the program do this dirty job. --- txt2tags-2.6.orig/debian/compat +++ txt2tags-2.6/debian/compat @@ -0,0 +1 @@ +7 --- txt2tags-2.6.orig/debian/txt2tags.debhelper.log +++ txt2tags-2.6/debian/txt2tags.debhelper.log @@ -0,0 +1 @@ +dh_quilt_unpatch --- txt2tags-2.6.orig/debian/watch +++ txt2tags-2.6/debian/watch @@ -0,0 +1,7 @@ +# Compulsory line, this is a version 3 file +version=3 +opts=\ +downloadurlmangle=s|.*[?]name=(.*?)&.*|http://txt2tags.googlecode.com/files/$1|,\ +filenamemangle=s|[^/]+[?]name=(.*?)&.*|$1| \ +http://code.google.com/p/txt2tags/downloads/detail[?]name=txt2tags-([0-9.]+).tgz&.* + --- txt2tags-2.6.orig/debian/README.source +++ txt2tags-2.6/debian/README.source @@ -0,0 +1,8 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. Please see: + + /usr/share/doc/quilt/README.source + +for more information on how to apply the patches, modify patches, or +remove a patch. --- txt2tags-2.6.orig/debian/rules +++ txt2tags-2.6/debian/rules @@ -0,0 +1,35 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +-include /usr/share/python/python.mk +ifeq (,$(py_libdir)) + py_libdir = /usr/lib/python$(subst python,,$(1))/site-packages +endif +PYDEF=$(shell pyversions -vd) + +override_dh_clean: + dh_quilt_patch + cd doc && $(MAKE) clean + cd po && $(MAKE) clean + rm -rf build + dh_clean + dh_quilt_unpatch + +override_dh_auto_build: + dh_quilt_patch + dh_auto_build + cd doc && $(MAKE) build + +override_dh_auto_test: + cd test && ./run.py + +override_dh_install: + dh_install + install -D debian/usr-bin-txt2tags debian/txt2tags/usr/bin/txt2tags + install -D txt2tags debian/txt2tags$(call py_libdir,$(PYDEF))/txt2tags.py + cd po && $(MAKE) install BASEDIR=$(CURDIR)/debian/txt2tags + +%: + dh $@ --- txt2tags-2.6.orig/debian/changelog +++ txt2tags-2.6/debian/changelog @@ -0,0 +1,116 @@ +txt2tags (2.6-1) experimental; urgency=low + + [ Ales Zabala Alava (Shagi) ] + * debian/watch + - Update watch file to match new googlecode layout + + + [ Jonathan Wiltshire ] + * New upstream release + * Update all patches for new release + * Standards-version 3.9.1 (no changes required) + * Deprecate debian/pyversions and specify Python version in + debian/control instead + * debian/docs: TODO is no longer shipped; do not try to install it + * debian/rules: there's no longer any need to clean up MacOS files + * debian/rules: Run the test suite + * Update years in debian/copyright + * Update my email address + + -- Jonathan Wiltshire Fri, 03 Dec 2010 21:45:45 +0000 + +txt2tags (2.5-2) unstable; urgency=low + + [ Jonathan Wiltshire ] + * debian/rules: Add call to dh_clean during clean sequence (closes: #541131) + * Install as a public Python module and make /usr/bin/txt2tags + import it (closes: #537797) + * debian/control: + - Remove quote marks from Uploaders field + - Standards version 3.8.3 + * Add README.source + * txt2tags.docbase*: Register documentation with doc-base + + [ Ales Zabala Alava (Shagi) ] + * debian/watch + - Fix watch file to scan in googlecode + + -- Jonathan Wiltshire Sun, 04 Oct 2009 15:31:15 +0100 + +txt2tags (2.5-1) unstable; urgency=low + + [ Eder L. Marques ] + * New upstream release. Closes: #434547, #451341, #492668, + #290806, #290928. + * debian/control: + - Bump Standards-Version to 3.8.0 (without modifications). + - New short description. Closes: #466632. + - Updated long description. + - Changed section to misc. + - Updated build-depends. + * debian/compat: + - Changed to version 7. + * debian/copyright: + - Inserted the new maintainer. + * debian/watch: + - Updated to version 3. + * debian/docs: + - Removed obsolete entries. + * txt2tags-2.3/po/Makefile: + - Added new catalogs. + + [ Jonathan Wiltshire ] + * Make debian/watch use the qa.debian.org SourceForge redirector + * Bring txt2tags into the Python Applications Packaging Team and set + appropriate uploaders + * Install manual pages in all supplied languages (using a makefile and + dh_installman) + * Convert packaging to use debhelper's auto-sequencer + * Update information in debian/copyright and debian/README.Debian + * Use quilt patch system; convert all current changes to quilt patches + * Change menu location from Apps to Applications and quote menu file + properly + * Standards-Version 3.8.2 (no changes) + * Clean up MacOS temporary files in the build tree just before dh_compress + * Patch up man errors as flagged by lintian + * Add VCS- fields to debian/control + + -- Jonathan Wiltshire Sun, 09 Aug 2009 21:32:34 +0100 + +txt2tags (2.3-1) unstable; urgency=low + + * New upstream release (Closes: #290800) + * debian/changelog: Suggests: python-tk (if you need GUI) + * debian/control: + - bumped policy version to 3.7.2 + - build-depends-indep becomes build-depends + - new build-depends on gettext to build .mo files + * debian/rules: calls to po/Makefile and related clean + * debian/Readme.Debian: note about GUI + * doc/manpage.man: right options preproc/postproc now (Closes: #364911) + * po/Makefile: added, to build .mo files + + -- Christian Surchi Mon, 24 Jul 2006 01:16:08 +0200 + +txt2tags (2.0-1) unstable; urgency=low + + * New upstream release + Fixed failures (Closes: #240080) + * New debian/docs following new organisation for documentation + * Fixed debian/watch for uscan + * Installed t2tconv in doc directory + + -- Christian Surchi Mon, 16 Aug 2004 01:47:54 +0200 + +txt2tags (1.7-1) unstable; urgency=low + + * New upstream release + * Removed "debian" man page for the new upstream one + + -- Christian Surchi Wed, 2 Jun 2004 23:42:07 +0200 + +txt2tags (1.6-1) unstable; urgency=low + + * Initial Release. Let's close ITP bug (Closes: #144507). + + -- Christian Surchi Sun, 17 Aug 2003 15:42:25 +0200 --- txt2tags-2.6.orig/debian/txt2tags.doc-base.quickref +++ txt2tags-2.6/debian/txt2tags.doc-base.quickref @@ -0,0 +1,7 @@ +Document: txt2tags-quickref +Title: txt2tags Quick Reference +Author: Aurelio Jargas +Section: Text + +Format: PDF +Files: /usr/share/doc/txt2tags/txt2tags-quickref.pdf.gz --- txt2tags-2.6.orig/debian/README.Debian +++ txt2tags-2.6/debian/README.Debian @@ -0,0 +1,14 @@ +txt2tags for Debian +------------------- + +Look at /usr/share/doc/txt2tags for documentation, extras and examples. + +If you need GUI, you need to install the suggested python-tk package. + + -- Christian Surchi , Mon, 24 Jul 2006 01:16:08 +0200 + + +txt2tags is now maintained under the Debian Python Applications Packaging +Team. + + -- Jonathan Wiltshire , Sun, 09 August 2009 00:43:00 +0100 --- txt2tags-2.6.orig/debian/usr-bin-txt2tags +++ txt2tags-2.6/debian/usr-bin-txt2tags @@ -0,0 +1,4 @@ +#!/usr/bin/python + +import txt2tags +txt2tags.exec_command_line() --- txt2tags-2.6.orig/debian/manpages +++ txt2tags-2.6/debian/manpages @@ -0,0 +1 @@ +doc/*.1 --- txt2tags-2.6.orig/debian/patches/series +++ txt2tags-2.6/debian/patches/series @@ -0,0 +1,3 @@ +po-makefile.patch +doc-makefile.patch +manpages.patch --- txt2tags-2.6.orig/debian/patches/manpages.patch +++ txt2tags-2.6/debian/patches/manpages.patch @@ -0,0 +1,45 @@ +Fix up various problems in man pages +--- txt2tags-2.6.orig/doc/manpage-ca.man ++++ txt2tags-2.6/doc/manpage-ca.man +@@ -55,7 +55,7 @@ + Negreta **texte** + Cursiva //texte// + ratllat __texte__ +-Tatxat --texte-- ++Tatxat \-\-texte\-\- + Monoespai ``texte`` + Raw ""texte"" + Etiquetat ''texte'' +--- txt2tags-2.6.orig/doc/manpage-es.man ++++ txt2tags-2.6/doc/manpage-es.man +@@ -55,7 +55,7 @@ + Negrita **texto** + Cursiva //texto// + Subrayado __texto__ +-Tachado --texto-- ++Tachado \-\-texto\-\- + Monoespacio ``texto`` + Raw ""texto"" + Etiquetado ''texto'' +--- txt2tags-2.6.orig/doc/manpage-pt.man ++++ txt2tags-2.6/doc/manpage-pt.man +@@ -55,7 +55,7 @@ + Negrito **palavras** + Itálico //palavras// + Sublinhado __palavras__ +-Riscado --palavras-- ++Riscado \-\-palavras\-\- + Monoespaçado ``palavras`` + Texto protegido ""palavras"" + Texto com tags ''palavras'' +--- txt2tags-2.6.orig/doc/manpage.man ++++ txt2tags-2.6/doc/manpage.man +@@ -55,7 +55,7 @@ + Bold **words** + Italic //words// + Underline __words__ +-Strike --words-- ++Strike \-\-words\-\- + Monospaced ``words`` + Raw ""words"" + Tagged ''words'' --- txt2tags-2.6.orig/debian/patches/po-makefile.patch +++ txt2tags-2.6/debian/patches/po-makefile.patch @@ -0,0 +1,25 @@ +Build and install l10n files for txt2tags +--- /dev/null ++++ txt2tags-2.5/po/Makefile +@@ -0,0 +1,21 @@ ++INSTALL= /usr/bin/install -c ++INSTALLNLSDIR=$(BASEDIR)/usr/share/locale ++ ++PACKAGE = txt2tags ++ ++CATALOGS = de.po es.po eu.po fi.po fr.po hu.po it.po pt_BR.po uk.po zh_CN.po ++%.mo: %.po ++ msgfmt --statistics --check --verbose --output-file=$@ $< ++ ++clean: ++ rm -f *.mo ++ ++distclean: clean ++ ++install: $(CATALOGS) ++ for n in $(CATALOGS); do \ ++ l=`basename $$n .po`; \ ++ $(INSTALL) -m 755 -d $(INSTALLNLSDIR)/$$l; \ ++ $(INSTALL) -m 755 -d $(INSTALLNLSDIR)/$$l/LC_MESSAGES; \ ++ $(INSTALL) -m 644 $$n $(INSTALLNLSDIR)/$$l/LC_MESSAGES/$(PACKAGE).mo; \ ++ done --- txt2tags-2.6.orig/debian/patches/doc-makefile.patch +++ txt2tags-2.6/debian/patches/doc-makefile.patch @@ -0,0 +1,37 @@ +Build manual pages for all languages for txt2tags +--- /dev/null ++++ txt2tags-2.5/doc/Makefile +@@ -0,0 +1,33 @@ ++#!/usr/bin/make -f ++# -*- makefile -*- ++# ++# Copyright (C) 2009 Jonathan Wiltshire ++# ++# This program 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 2 of the License, or ++# (at your option) any later version. ++# ++# This program 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 program; if not, write to the Free Software Foundation, Inc., ++# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. ++ ++PACKAGE = txt2tags ++SECTION = 1 ++ ++PAGES = manpage-ca.man manpage-it.man manpage-es.man manpage.man manpage-eu.man \ ++ manpage-zh.man manpage-fr.man manpage-pt.man manpage-de.man ++ ++clean: ++ rm -f *.$(SECTION) ++ ++build: ++ for p in $(PAGES); do \ ++ s=`basename $$p .man | sed -e 's/manpage/$(PACKAGE)/;s/-/./'`; \ ++ cp "$$p" "$$s.$(SECTION)"; \ ++ done --- txt2tags-2.6.orig/debian/source/format +++ txt2tags-2.6/debian/source/format @@ -0,0 +1 @@ +1.0