--- asciidoc-8.6.9.orig/debian/NEWS +++ asciidoc-8.6.9/debian/NEWS @@ -0,0 +1,6 @@ +asciidoc (8.6.3-1) unstable; urgency=low + + The docbook backend got renamed to docbook45. If you have any user modified docbook.conf + or ~/.asciidoc/docbook.conf rename them to docbook45.conf. + + -- Alexander Wirt Sat, 04 Dec 2010 09:56:46 +0100 --- asciidoc-8.6.9.orig/debian/README.Debian +++ asciidoc-8.6.9/debian/README.Debian @@ -0,0 +1,15 @@ +asciidoc for Debian +------------------- + +- To enable syntax highlighting for asciidoc just execute 'vim-addons install asciidoc' + +- If you want to use the asciidoc api don't forget to add '/usr/share/asciidoc' to your sys.path +- To get the images from asciidoc to show up (css backend) make a symlink called + "images" from "/usr/share/asciidoc/images" + + $ ln -s /usr/share/asciidoc/images images + +- "userguide.html" talks about a fo.xsl file, this file is located + in /etc/asciidoc/docbook-xsl/fo.xsl (Bug:#344729). + + -- Alexander Wirt Tue, Jul 25 2007 09:29:17 +0200 --- asciidoc-8.6.9.orig/debian/README.source +++ asciidoc-8.6.9/debian/README.source @@ -0,0 +1,38 @@ +This package uses dpatch 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. + +To get the fully patched source after unpacking the source package, cd +to the root level of the source package and run: + + debian/rules patch + +Removing a patch is as simple as removing its entry from the +debian/patches/00list file, and please also remove the patch file +itself. + +Creating a new patch is done with "dpatch-edit-patch patch XX_patchname" +where you should replace XX with a new number and patchname with a +descriptive shortname of the patch. You can then simply edit all the +files your patch wants to edit, and then simply "exit 0" from the shell +to actually create the patch file. + +To tweak an already existing patch, call "dpatch-edit-patch XX_patchname" +and replace XX_patchname with the actual filename from debian/patches +you want to use. + +To clean up afterwards again, "debian/rules unpatch" will do the +work for you - or you can of course choose to call +"fakeroot debian/rules clean" all together. + + +--- + +this documentation is part of dpatch package, and may be used by +packages using dpatch to comply with policy on README.source. This +documentation is meant to be useful to users who are not proficient in +dpatch in doing work with dpatch-based packages. Please send any +improvements to the BTS of dpatch package. + +original text by Gerfried Fuchs, edited by Junichi Uekawa +10 Aug 2008. --- asciidoc-8.6.9.orig/debian/asciidoc.dirs +++ asciidoc-8.6.9/debian/asciidoc.dirs @@ -0,0 +1,8 @@ +usr/bin +etc/asciidoc +etc/asciidoc/filters +etc/asciidoc/docbook-xsl +etc/asciidoc/stylesheets +usr/share/asciidoc +usr/share/doc/asciidoc +usr/share/doc/asciidoc/examples --- asciidoc-8.6.9.orig/debian/asciidoc.doc +++ asciidoc-8.6.9/debian/asciidoc.doc @@ -0,0 +1 @@ +CHANGELOG --- asciidoc-8.6.9.orig/debian/asciidoc.install +++ asciidoc-8.6.9/debian/asciidoc.install @@ -0,0 +1,15 @@ +*.conf /etc/asciidoc/ +tests/data/ /etc/asciidoc/ +/images/icons /usr/share/asciidoc +asciidocapi.py /usr/share/asciidoc +dblatex /etc/asciidoc/ +debian/asciidoc.yaml /usr/share/vim/registry +docbook-xsl /etc/asciidoc/ +docbook-xsl/*.xsl /etc/asciidoc/docbook-xsl/ +filters/* /etc/asciidoc/filters/ +images /usr/share/asciidoc/ +javascripts /usr/share/asciidoc/ +stylesheets /etc/asciidoc/ +stylesheets/*.css /etc/asciidoc/stylesheets/ +tests/testasciidoc.conf /etc/asciidoc/ +vim/syntax/asciidoc.vim /usr/share/vim/addons/syntax/ --- asciidoc-8.6.9.orig/debian/asciidoc.links +++ asciidoc-8.6.9/debian/asciidoc.links @@ -0,0 +1,32 @@ +etc/asciidoc/filters/graphviz/asciidoc-graphviz-sample.txt usr/share/doc/asciidoc/examples/website/asciidoc-graphviz-sample.txt +etc/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt usr/share/doc/asciidoc/examples/website/asciidoc-docbook-xsl.txt +etc/asciidoc/stylesheets/asciidoc.css usr/share/doc/asciidoc/examples/website/asciidoc.css +etc/asciidoc/stylesheets/xhtml11-quirks.css usr/share/doc/asciidoc/examples/website/xhtml11-quirks.css +etc/asciidoc/stylesheets usr/share/asciidoc/stylesheets +etc/asciidoc/stylesheets/docbook-xsl.css usr/share/doc/asciidoc/docbook-xsl.css +usr/share/asciidoc/images etc/asciidoc/images +usr/share/asciidoc/javascripts etc/asciidoc/javascripts +usr/share/asciidoc/icons usr/share/asciidoc/images/icons +usr/share/asciidoc/icons usr/share/doc/asciidoc/images/icons +usr/share/asciidoc/images usr/share/doc/asciidoc/doc/images +usr/share/asciidoc/images usr/share/doc/asciidoc/examples/website/images +usr/share/doc/asciidoc/doc/latex-bugs.txt usr/share/doc/asciidoc/examples/website/latex-bugs.txt +usr/share/asciidoc/javascripts/LaTeXMathML.js usr/share/doc/asciidoc/examples/website/LaTeXMathML.js +usr/share/asciidoc/javascripts/asciidoc.js usr/share/doc/asciidoc/examples/website/asciidoc.js +usr/share/asciidoc/javascripts/ASCIIMathML.js usr/share/doc/asciidoc/examples/website/ASCIIMathML.js +usr/share/doc/asciidoc/doc/epub-notes.txt usr/share/doc/asciidoc/examples/website/epub-notes.txt +usr/share/doc/asciidoc/doc/publishing-ebooks-with-asciidoc.txt usr/share/doc/asciidoc/examples/website/publishing-ebooks-with-asciidoc.txt +usr/share/doc/asciidoc/doc/faq.txt usr/share/doc/asciidoc/examples/website/faq.txt +usr/share/doc/asciidoc/doc/asciidocapi.txt usr/share/doc/asciidoc/examples/website/asciidocapi.txt +usr/share/doc/asciidoc/doc/asciidoc.1.txt usr/share/doc/asciidoc/examples/website/manpage.txt +usr/share/doc/asciidoc/doc/asciidoc.txt usr/share/doc/asciidoc/examples/website/userguide.txt +usr/share/doc/asciidoc/doc/testasciidoc.txt usr/share/doc/asciidoc/examples/website/testasciidoc.txt +usr/share/doc/asciidoc/doc/slidy-example.txt usr/share/doc/asciidoc/examples/website/slidy-example.txt +usr/share/doc/asciidoc/doc/customers.csv usr/share/doc/asciidoc/examples/website/customers.csv +usr/share/doc/asciidoc/doc/a2x.1.txt usr/share/doc/asciidoc/examples/website/a2x.1.txt +usr/share/doc/asciidoc/doc/source-highlight-filter.txt usr/share/doc/asciidoc/examples/website/source-highlight-filter.txt +usr/share/doc/asciidoc/doc/latex-backend.txt usr/share/doc/asciidoc/examples/website/latex-backend.txt +usr/share/doc/asciidoc/doc/music-filter.txt usr/share/doc/asciidoc/examples/website/music-filter.txt +usr/share/doc/asciidoc/doc/asciimathml.txt usr/share/doc/asciidoc/examples/website/asciimathml.txt +usr/share/doc/asciidoc/doc/latexmathml.txt usr/share/doc/asciidoc/examples/website/latexmathml.txt +usr/share/doc/asciidoc/doc/slidy.txt usr/share/doc/asciidoc/examples/website/slidy.txt --- asciidoc-8.6.9.orig/debian/asciidoc.manpages +++ asciidoc-8.6.9/debian/asciidoc.manpages @@ -0,0 +1,3 @@ +doc/asciidoc.1 +doc/a2x.1 +doc/testasciidoc.1 --- asciidoc-8.6.9.orig/debian/asciidoc.yaml +++ asciidoc-8.6.9/debian/asciidoc.yaml @@ -0,0 +1,4 @@ +addon: asciidoc +description: allow syntax highlighting and autodetection for asciidoc files +files: + - syntax/asciidoc.vim --- asciidoc-8.6.9.orig/debian/changelog +++ asciidoc-8.6.9/debian/changelog @@ -0,0 +1,309 @@ +asciidoc (8.6.9-3) unstable; urgency=medium + + [ Joseph Herlant ] + * [7596c07] Patch from Ubuntu: "Build using dh_python2." + Thanks to Matthias Klose for the patch + * [d0f5185] Adding a short description to the + fix_asciidoc_api_doc.dpatch to remove dpatch-missing-description + lintian info tag + * [1fa41a6] Adding EXAMPLES and SEE ALSO sections to the documentation. + (Closes: #499498) + * [e910008] Updating the behavior of the bottom text adding a + ifooter-style attribute. (Closes: #656736) + * [9c8ce23] Correcting the bug introduced in last commit + * [13ed1c4] Using iconsdir attribute for userguide generation + (Closes: #743045) + * [1a592df] Installing test/data/* files for testasciidoc.py. + Thanks to gonzales-speedy for opening the bug on Ubuntu Launchpad + (Closes: #743044) + * [76ceee3] Adding man page for testasciidoc.py to close lintian's + binary-without-manpage + * [25f3387] Fixing empty iconsdir on upgrade to 8.6.9-2 (Closes: #747553) + * [f889a2e] Patch to handle more properly uninstalled filters + * [578a0c4] Rollback over the patch for asciidoc filter not found + + -- Alexander Wirt Tue, 09 Sep 2014 12:39:33 +0200 + +asciidoc (8.6.9-2) unstable; urgency=low + + [ Joseph Herlant ] + * Cleaning up obsolete conffiles (Closes: #729303, #730025) + * Release 8.6.9-1 forgot to close the bug asking for upstream (Closes: + #685774) + * Updating Debian Policy to 3.9.5 (Lintian warning) (Included in #729235) + * Adding python-support as build dependency for Lintian warning + python-depends-but-no-python-helper (Closes: #729235) + * Removing duplicated files (Closes: #615876) + + -- Alexander Wirt Tue, 11 Mar 2014 22:44:54 +0100 + +asciidoc (8.6.9-1) unstable; urgency=low + + * [cf6d717] Depend on dpkg-maintscript-helper for removing conffiles + * [d92efe3] Imported Upstream version 8.6.8 + * [eb353dd] Imported Upstream version 8.6.9 + * [7bd3b98] Removing configuration files from version 7 to version 8. + Removing other old configuration files + Thanks to Joseph Herlant (Closes: #610208, #341613) + * [af6ebd0] Upstream removed the vim ftdetect file + + -- Alexander Wirt Sat, 09 Nov 2013 22:08:08 +0100 + +asciidoc (8.6.7-1) unstable; urgency=low + + * [594ef01] Add homepage field (Closes: #661051) + * [446fd0a] Imported Upstream version 8.6.7 + * [e30e9b7] Refresh testasciidoc_path.dpatch + * [f54b4c0] Make asciidoc binary package "Multi-Arch: foreign" + (Closes: #665961) + + -- Alexander Wirt Sat, 31 Mar 2012 09:38:11 +0200 + +asciidoc (8.6.6-1) unstable; urgency=low + + * [3823948] disable dh_verbose + * [974ea1c] Imported Upstream version 8.6.6 + * [b5d451c] Add vcs headers + * [c418563] Remove trailing whitespace in package description + + -- Alexander Wirt Sun, 23 Oct 2011 21:08:22 +0200 + +asciidoc (8.6.5-1) unstable; urgency=low + + * New upstream version + * Bump standards version (no changes) + * Depend on python-support + * generate html version of userguide to + /usr/share/doc/asciidoc/userguide.html + (Closes: #628795) + * Install vim filetype to ftdetect directory + (Closes: #626495) + * Bump debhelper compatibility level to 7. + This installs the upstream changelog + (Closes: #634251). Thanks to Jonathan Nieder + + -- Alexander Wirt Fri, 29 Jul 2011 22:22:22 +0200 + +asciidoc (8.6.4-1) unstable; urgency=low + + * New upstream version + + -- Alexander Wirt Sun, 20 Feb 2011 08:47:09 +0100 + +asciidoc (8.6.3-1) unstable; urgency=low + + * New upstream version (Closes: #595324) + * Support asciidoc API (Closes: #526351) + * Depend on python >= 2.4 (Closes: #571303) + * Do not compress .txt files (Closes: #592423) + * Enhance asciidoc manpage (Closes: #499497) + * Move some of the Recommends (vim-addon-manager, source-highlight) to + Suggests (Closes: #564015) + * Bump standards version (No changes) + * Add README.Source file + + -- Alexander Wirt Sat, 27 Nov 2010 23:19:57 +0100 + +asciidoc (8.5.2-1) unstable; urgency=low + + * New upstream version + * Add libxml2-utils to recommends (Closes: #556970) + * Bump standardsversion + * Patch a2x to get resource dir and icons dir per default + (Closes: #559305, #491187) + + -- Alexander Wirt Sat, 02 Jan 2010 10:11:17 +0100 + +asciidoc (8.5.1-1) unstable; urgency=low + + * New upstream version (Closes: #531841) + - Latex output fixed (Closes: #487402) + + -- Alexander Wirt Wed, 10 Jun 2009 21:11:19 +0200 + +asciidoc (8.4.4-1) unstable; urgency=low + + * New upstream release (Closes: #511332) + * Bump standards version (no changes) + * Mention docbook2odt (Closes: #524404) + * Remove symlink hell (Closes: #524888) + + -- Alexander Wirt Sun, 26 Apr 2009 13:14:42 +0200 + +asciidoc (8.2.7-3) unstable; urgency=low + + * Replace fop with dblatex (Closes: #452470) + * Install dblatex supportfiles (Closes: #494531, #496987) + + -- Alexander Wirt Fri, 13 Mar 2009 10:27:10 +0100 + +asciidoc (8.2.7-2) unstable; urgency=low + + * Reintroduce normpatch-not-realpath.patch which fixes some FTBFS + with packages that build there documentation with asciidoc + (Closes: #487962). Thanks to Ben Hutchings for the patch. + + -- Alexander Wirt Tue, 29 Jul 2008 19:26:44 +0200 + +asciidoc (8.2.7-1) unstable; urgency=low + + * New upstream version + * Drop fop fix (included upstream) + + -- Alexander Wirt Fri, 18 Jul 2008 21:14:17 +0200 + +asciidoc (8.2.6-1) unstable; urgency=low + + * New upstream release (Closes: #478494) + * Add patch for pdf generation with newer fops (Closes: #425064, #475362) + * Bump standards version + + -- Alexander Wirt Tue, 10 Jun 2008 14:29:56 +0200 + +asciidoc (8.2.5-1) unstable; urgency=low + + * New upstream version + * Bumped standards version (no changes) + + -- Alexander Wirt Sat, 26 Jan 2008 22:30:42 +0100 + +asciidoc (8.2.3-1) unstable; urgency=low + + * New upstream version + + -- Alexander Wirt Fri, 21 Sep 2007 15:25:39 +0200 + +asciidoc (8.2.2-1) unstable; urgency=low + + * New upstream version + * Install all filters per default + * Switch to vim-addons packaging (Closes: #433396) + + -- Alexander Wirt Tue, 24 Jul 2007 21:29:18 +0200 + +asciidoc (8.2.1-2) unstable; urgency=low + + * Upload to unstable + + -- Alexander Wirt Thu, 17 May 2007 12:53:39 +0200 + +asciidoc (8.2.1-1) experimental; urgency=low + + * New upstream release + * Move vim files to a better place + + -- Alexander Wirt Thu, 17 May 2007 11:08:48 +0200 + +asciidoc (8.2.0-1) experimental; urgency=low + + [ Fredrik Steen ] + * Upstream fix for trailing .sp in man-pages (Closes:#386854) + * Note about fo.xsl in README.Debian (Closes: #344729) + * a2x now search and use fop instead of fop.sh (Closes: #376523) + + [ Alexander Wirt ] + * New upstream version (Closes: #395234) + - Fixses broken reference in documentation (Closes: #412246) + * Bumped standards version + * Make fop and xmlto a recommends (Closes: #389829) + + -- Alexander Wirt Thu, 15 Mar 2007 09:53:18 +0100 + +asciidoc (7.1.2-2) unstable; urgency=low + + * Add myself to uploaders + * Fix fop path in a2x (Closes: #376523) + * Remove this bad bad control file generation + * Fix cdbs and debhelper dependency + + -- Alexander Wirt Mon, 12 Mar 2007 22:05:09 +0100 + +asciidoc (7.1.2-1) unstable; urgency=low + + * New upstream release + + -- Fredrik Steen Fri, 24 Mar 2006 15:14:04 +0100 + +asciidoc (7.1.0-1) unstable; urgency=low + + * New major upstream release + + -- Fredrik Mon, 30 Jan 2006 09:12:06 +0100 + +asciidoc (7.0.2-4) unstable; urgency=low + + * Changed patches to change python path to #!/usr/bin/python + (Closes:#337822) + + -- Fredrik Steen Tue, 8 Nov 2005 10:21:36 +0100 + +asciidoc (7.0.2-3) unstable; urgency=low + + * Fixed typo in debian/control (Depends python (>=2.3) only changed + Build-Depends-Indep in my previous upload) (Closes:#337822) + + -- Fredrik Tue, 8 Nov 2005 09:39:15 +0100 + +asciidoc (7.0.2-2) unstable; urgency=low + + * No real need to depend on python2.4 when asciidoc runs fine under + python2.3 (Closes:#337822) + * Bumped Standards-Version to latest. + + -- Fredrik Steen Mon, 7 Nov 2005 10:16:56 +0100 + +asciidoc (7.0.2-1) unstable; urgency=low + + * New upstream release + * Fixed problem reading old configuration file during build. Thanks to + Hidetaka Iwai for patch (Closes:#330898) + + -- Fredrik Steen Fri, 14 Oct 2005 11:04:53 +0200 + +asciidoc (7.0.1-1) unstable; urgency=low + + * New upstream release + * Fix for typo in debian/rules Closes:#318495 + * Changed package description, I agree with Mr. Wirzenius (Closes:#308331) + + -- Fredrik Steen Thu, 21 Jul 2005 09:34:51 +0200 + +asciidoc (7.0.0-1) unstable; urgency=low + + * New major upstream release Closes:#312725 + + -- Fredrik Steen Wed, 8 Jun 2005 10:30:51 +0200 + +asciidoc (6.0.3-1) unstable; urgency=low + + * New upstream release + + -- Fredrik Steen Thu, 21 Apr 2005 08:54:56 +0200 + +asciidoc (6.0.2-1) unstable; urgency=low + + * New upstream release + * Added /etc/asciidoc/filters + + -- Fredrik Steen Wed, 30 Mar 2005 08:00:11 +0200 + +asciidoc (6.0.1-2) unstable; urgency=low + + * Fixed depends + * Added Suggests for docbook-utils and xmlto + + -- Fredrik Steen Sat, 26 Mar 2005 10:58:17 +0100 + +asciidoc (6.0.1-1) unstable; urgency=low + + * New upstream release + * First upload to Debian Closes:#249790 + + -- Fredrik Steen Thu, 10 Mar 2005 10:44:56 +0100 + +asciidoc (6.0.0-1) unstable; urgency=low + + * Initial Release. + + -- Fredrik Steen Mon, 28 Feb 2005 15:02:05 +0100 + --- asciidoc-8.6.9.orig/debian/compat +++ asciidoc-8.6.9/debian/compat @@ -0,0 +1 @@ +7 --- asciidoc-8.6.9.orig/debian/control +++ asciidoc-8.6.9/debian/control @@ -0,0 +1,31 @@ +Source: asciidoc +Section: text +Priority: optional +Maintainer: Fredrik Steen +Uploaders: Alexander Wirt , Joseph Herlant +Build-Depends: debhelper (>= 7.0.50), dpatch +Build-Depends-Indep: python (>= 2.4), xmlto +Standards-Version: 3.9.5 +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-asciidoc/pkg-asciidoc.git +Vcs-Git: git://git.debian.org/pkg-asciidoc/pkg-asciidoc.git +Homepage: http://www.asciidoc.org + +Package: asciidoc +Architecture: all +Depends: python (>= 2.4), + ${misc:Depends}, + ${python:Depends} +Recommends: dblatex, docbook-utils, libxml2-utils, xmlto +Suggests: source-highlight, vim-addon-manager +Multi-Arch: foreign +Description: Highly configurable text format for writing documentation + AsciiDoc is a text document format for writing articles, books, manuals and + UNIX man pages. AsciiDoc files can be translated to HTML (with or without + stylesheets), DocBook (articles, books and refentry documents) and LinuxDoc + using the asciidoc command. AsciiDoc can also be used to build and maintain + websites. + . + You write an AsciiDoc document the same way you would write a + normal text document, there are no markup tags or weird format notations. + AsciiDoc files are designed to be viewed, edited and printed directly or + translated to other presentation formats --- asciidoc-8.6.9.orig/debian/copyright +++ asciidoc-8.6.9/debian/copyright @@ -0,0 +1,12 @@ +This package was debianized by Fredrik Steen on +Mon, 28 Feb 2005 15:02:05 +0100. + +It was downloaded from http://www.methods.co.nz/asciidoc/downloads.html + +Copyright: 2008 by Stuart Rackham + +Upstream Author: Stuart Rackham + +License: + +Copyright: GPL (see /usr/share/common-licenses/GPL) --- asciidoc-8.6.9.orig/debian/dirs +++ asciidoc-8.6.9/debian/dirs @@ -0,0 +1,2 @@ +usr/share/vim/addons/syntax +usr/share/vim/addons/ftplugin --- asciidoc-8.6.9.orig/debian/docs +++ asciidoc-8.6.9/debian/docs @@ -0,0 +1 @@ +README --- asciidoc-8.6.9.orig/debian/patches/00list +++ asciidoc-8.6.9/debian/patches/00list @@ -0,0 +1,8 @@ +code-filter.py-python-path.dpatch +normpath-not-realpath.dpatch +testasciidoc_path.dpatch +testasciidoc_usage.dpatch +enhance_asciidoc_manpage.dpatch +fix_asciidoc_api_doc.dpatch +html_bottom_date_change +adding_testasciidoc_manpage --- asciidoc-8.6.9.orig/debian/patches/a2x-defaultdirs.dpatch +++ asciidoc-8.6.9/debian/patches/a2x-defaultdirs.dpatch @@ -0,0 +1,37 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## a2x-defaultdirs.dpatch +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: use the correct resourcedirs + +@DPATCH@ +diff -Nur -x '*.orig' -x '*~' asciidoc-8.6.3//a2x.py asciidoc-8.6.3.new//a2x.py +--- asciidoc-8.6.3//a2x.py 2010-11-14 00:54:32.000000000 +0100 ++++ asciidoc-8.6.3.new//a2x.py 2010-11-27 23:28:58.922601000 +0100 +@@ -764,7 +764,7 @@ + help='use admonition, callout and navigation icons') + parser.add_option('--icons-dir', + action='store', dest='icons_dir', +- default=None, metavar='PATH', ++ default='/etc/asciidoc/images/icons/', metavar='PATH', + help='admonition and navigation icon directory') + parser.add_option('-k', '--keep-artifacts', + action='store_true', dest='keep_artifacts', default=False, +@@ -779,7 +779,7 @@ + action='store_true', dest='dry_run', default=False, + help='just print the commands that would have been executed') + parser.add_option('-r','--resource', +- action='append', dest='resources', default=[], ++ action='append', dest='resources', default=['/etc/asciidoc'], + metavar='PATH', + help='resource file or directory containing resource files') + parser.add_option('-m', '--resource-manifest', +@@ -787,7 +787,7 @@ + help='read resources from FILE') + #DEPRECATED + parser.add_option('--resource-dir', +- action='append', dest='resources', default=[], ++ action='append', dest='resources', default=['/etc/asciidoc'], + metavar='PATH', + help='DEPRECATED: use --resource') + #DEPRECATED --- asciidoc-8.6.9.orig/debian/patches/adding_testasciidoc_manpage.dpatch +++ asciidoc-8.6.9/debian/patches/adding_testasciidoc_manpage.dpatch @@ -0,0 +1,132 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## adding_testasciidoc_manpage.dpatch by Joseph Herlant +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Adding manpage for testasciidoc to remove lintian warning: +## binary-without-manpage usr/bin/testasciidoc +## Forwared: https://github.com/asciidoc/asciidoc/pull/10 + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-asciidoc~/doc/testasciidoc.1.txt pkg-asciidoc/doc/testasciidoc.1.txt +--- pkg-asciidoc~/doc/testasciidoc.1.txt 1970-01-01 01:00:00.000000000 +0100 ++++ pkg-asciidoc/doc/testasciidoc.1.txt 2014-03-30 20:10:01.219259343 +0200 +@@ -0,0 +1,119 @@ ++TESTASCIIDOC(1) ++=============== ++:doctype: manpage ++ ++ ++NAME ++---- ++testasciidoc - Run AsciiDoc conformance tests specified in configuration file. ++ ++ ++SYNOPSIS ++-------- ++*testasciidoc* ['OPTIONS'] 'COMMAND' ++ ++ ++DESCRIPTION ++----------- ++The testasciidoc(1) command run AsciiDoc conformance tests specified in ++configuration file. ++ ++ ++COMMANDS ++-------- ++The testasciidoc tools has 3 different commands: ++ ++ testasciidoc list ++ testasciidoc run [NUMBER] [BACKEND] [OPTIONS] ++ testasciidoc update [NUMBER] [BACKEND] [OPTIONS] ++ ++The commands perform as follows: ++ ++*list*:: ++ List available tests cases. ++ ++*run*:: ++ Execute tests (regenerate temporary test cases and compare them to the ++ reference files). ++ ++*update*:: ++ Regenerate and update test data reference files. ++ Needs to be launched at least once to have the reference files to compare to ++ during the tests. ++ ++Where: ++ ++*NUMBER*:: ++ Is the index number of the action registered in `testasciidoc list` command. ++ ++*BACKEND*:: ++ Is the asciidoc backend to use. ++ ++*OPTIONS*:: ++ Are the options listed previously ++ ++ ++OPTIONS ++------- ++*-f, --conf-file*='CONF_FILE':: ++ Use configuration file CONF_FILE ++ ++*--force*:: ++ Update all test data overwriting existing data ++ ++ ++EXAMPLES ++-------- ++`testasciidoc list`:: ++ Lists all the test actions available for running or updating. ++ ++`testasciidoc run`:: ++ Runs all the testing actions available. ++ ++`testasciidoc run 1 html5 --conf-file=/etc/asciidoc/testasciidoc.conf`:: ++ Run the test case 1 for the html5 asciidoc backend using the configuration file ++ /etc/asciidoc/testasciidoc.conf. ++ ++`testasciidoc update 1 html5`:: ++ Generate or update the reference files used for the tests cases 1st action of ++ the html5 asciidoc backend. ++ ++ ++EXIT STATUS ++----------- ++*0*:: ++ Success ++ ++*1*:: ++ Failure (syntax or usage error; configuration error; document ++ processing failure; unexpected error). ++ ++ ++BUGS ++---- ++See the AsciiDoc distribution BUGS file. ++ ++ ++AUTHOR ++------ ++AsciiDoc was originally written by Stuart Rackham. Many people have ++contributed to it. ++ ++ ++RESOURCES ++--------- ++SourceForge: ++ ++Main web site: ++ ++ ++SEE ALSO ++-------- ++asciidoc(1), a2x(1) ++ ++ ++COPYING ++------- ++Copyright \(C) 2002-2014 Stuart Rackham. Free use of this software is ++granted under the terms of the GNU General Public License (GPL). ++ --- asciidoc-8.6.9.orig/debian/patches/code-filter.py-python-path.dpatch +++ asciidoc-8.6.9/debian/patches/code-filter.py-python-path.dpatch @@ -0,0 +1,16 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## code-filter.py-python-path.dpatch +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix shebang + +@DPATCH@ +diff -Nur -x '*.orig' -x '*~' asciidoc-8.4.4/filters/code/code-filter.py asciidoc-8.4.4.new/filters/code/code-filter.py +--- asciidoc-8.4.4/filters/code/code-filter.py 2008-12-31 02:37:47.000000000 +0100 ++++ asciidoc-8.4.4.new/filters/code/code-filter.py 2009-04-26 13:16:23.000000000 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python + ''' + NAME + code-filter - AsciiDoc filter to highlight language keywords --- asciidoc-8.6.9.orig/debian/patches/enhance_asciidoc_manpage.dpatch +++ asciidoc-8.6.9/debian/patches/enhance_asciidoc_manpage.dpatch @@ -0,0 +1,67 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## enhance_asciidoc_manpage.dpatch by Alexander Wirt +## and Joseph Herlant +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: This patch adds EXAMPLES and SEE ALSO sections to the asciidoc +## documentation. Closes: #499498 +## It has been forwarded to upstream at: +## https://github.com/asciidoc/asciidoc/pull/8 + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-asciidoc~/doc/a2x.1.txt pkg-asciidoc/doc/a2x.1.txt +--- pkg-asciidoc~/doc/a2x.1.txt 2014-03-15 10:54:03.000000000 +0100 ++++ pkg-asciidoc/doc/a2x.1.txt 2014-03-25 19:07:09.672391465 +0100 +@@ -353,6 +353,11 @@ + Main web site: http://asciidoc.org/ + + ++SEE ALSO ++-------- ++asciidoc(1) ++ ++ + COPYING + ------- + Copyright \(C) 2002-2011 Stuart Rackham. Free use of this software is +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-asciidoc~/doc/asciidoc.1.txt pkg-asciidoc/doc/asciidoc.1.txt +--- pkg-asciidoc~/doc/asciidoc.1.txt 2014-03-15 10:54:03.000000000 +0100 ++++ pkg-asciidoc/doc/asciidoc.1.txt 2014-03-25 19:07:09.672391465 +0100 +@@ -162,6 +162,25 @@ + names starting with a period are skipped. + + ++EXAMPLES ++-------- ++`asciidoc asciidoc_file_name.txt`:: ++ Simply generate an html file from the asciidoc_file_name.txt that is in ++ current directory using asciidoc. ++ ++`asciidoc -b html5 asciidoc_file_name.txt`:: ++ Use the `-b` switch to use one of the proposed backend or another one you ++ installed on your computer. ++ ++`asciidoc -a data-uri -a icons -a toc -a max-width=55em article.txt`:: ++ Use the `-a` switch to set attributes from command-line. AsciiDoc generated ++ its stand-alone HTML user guide containing embedded CSS, JavaScript and ++ images from the AsciiDoc article template with this command. ++ ++`asciidoc -b html5 -d manpage asciidoc.1.txt`:: ++ Generating the asciidoc manpage using the html5 backend. ++ ++ + EXIT STATUS + ----------- + *0*:: +@@ -190,6 +209,11 @@ + Main web site: + + ++SEE ALSO ++-------- ++a2x(1) ++ ++ + COPYING + ------- + Copyright \(C) 2002-2011 Stuart Rackham. Free use of this software is --- asciidoc-8.6.9.orig/debian/patches/fix_asciidoc_api_doc.dpatch +++ asciidoc-8.6.9/debian/patches/fix_asciidoc_api_doc.dpatch @@ -0,0 +1,59 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_asciidoc_api_doc.dpatch by Alexander Wirt +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix some import issues in the asciidoc API + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' asciidoc-8.6.3~/asciidocapi.py asciidoc-8.6.3/asciidocapi.py +--- asciidoc-8.6.3~/asciidocapi.py 2010-02-06 04:19:59.000000000 +0100 ++++ asciidoc-8.6.3/asciidocapi.py 2010-11-28 14:09:07.002140339 +0100 +@@ -5,6 +5,8 @@ + The AsciiDocAPI class provides an API for executing asciidoc. Minimal example + compiles `mydoc.txt` to `mydoc.html`: + ++ import sys ++ sys.path.append("/usr/share/asciidoc") + import asciidocapi + asciidoc = asciidocapi.AsciiDocAPI() + asciidoc.execute('mydoc.txt') +@@ -17,6 +19,8 @@ + 1. Check execution: + + >>> import StringIO ++ >>> import sys ++ >>> sys.path.append("/usr/share/asciidoc") + >>> infile = StringIO.StringIO('Hello *{author}*') + >>> outfile = StringIO.StringIO() + >>> asciidoc = AsciiDocAPI() +@@ -36,6 +40,8 @@ + 2. Check error handling: + + >>> import StringIO ++ >>> import sys ++ >>> sys.path.append("/usr/share/asciidoc") + >>> asciidoc = AsciiDocAPI() + >>> infile = StringIO.StringIO('---------') + >>> outfile = StringIO.StringIO() +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' asciidoc-8.6.3~/doc/asciidocapi.txt asciidoc-8.6.3/doc/asciidocapi.txt +--- asciidoc-8.6.3~/doc/asciidocapi.txt 2009-05-26 01:37:47.000000000 +0200 ++++ asciidoc-8.6.3/doc/asciidocapi.txt 2010-11-28 14:10:00.369795845 +0100 +@@ -44,6 +44,8 @@ + + [source,python] + ------------------------------------------------------------------------------- ++import sys ++sys.path.append("/usr/share/asciidoc") + from asciidocapi import AsciiDocAPI + asciidoc = AsciiDocAPI() + asciidoc.execute('mydoc.txt') +@@ -57,6 +59,8 @@ + [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 + Type "help", "copyright", "credits" or "license" for more information. + >>> from asciidocapi import AsciiDocAPI ++>>> import sys ++>>> sys.path.append("/usr/share/asciidoc") + >>> import StringIO + >>> infile = StringIO.StringIO('Hello *{author}*') + >>> outfile = StringIO.StringIO() + --- asciidoc-8.6.9.orig/debian/patches/html_bottom_date_change.dpatch +++ asciidoc-8.6.9/debian/patches/html_bottom_date_change.dpatch @@ -0,0 +1,305 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## html_bottom_date_change.dpatch by Joseph Herlant +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: This patch updates the behavior of the bottom text adding a footer-style +## attribute. Closes: #656736 +## Forwarded: https://github.com/asciidoc/asciidoc/pull/9 + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-asciidoc~/doc/asciidoc.txt pkg-asciidoc/doc/asciidoc.txt +--- pkg-asciidoc~/doc/asciidoc.txt 2014-03-26 21:42:07.000000000 +0100 ++++ pkg-asciidoc/doc/asciidoc.txt 2014-03-27 19:19:25.694748217 +0100 +@@ -5948,6 +5948,22 @@ + prior to the first document section. The document also needs to be + dated to output this attribute. + ++|footer-style |html4, html5, xhtml11 | ++Changes the "Last updated" field in the footer of the document or removes this ++field and the revision number (in the footer only). + ++Can take 3 values: ++ ++- none : Don't display the "Last updated" and "Revision number" fields in the ++ footer of the document ++- revdate : The "Last updated" field's date in the footer will be the revision ++ date specified in the document (`revdate` attribute) ++- default (or any other value) : The "Last updated" field's date in the footer ++ will be the date of the input file modification ++ ++This attribute can be set, for example, using `:footer-style: revdate` in the ++header of the file or using the `--attribute footer-style=revdate` command-line ++option. ++ + |scriptsdir |html5, xhtml11 | + The name of the directory containing linked JavaScripts. + See <>. +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-asciidoc~/html4.conf pkg-asciidoc/html4.conf +--- pkg-asciidoc~/html4.conf 2014-03-26 21:42:07.000000000 +0100 ++++ pkg-asciidoc/html4.conf 2014-03-27 19:19:55.354375345 +0100 +@@ -444,11 +444,14 @@ + | + + [footer] ++# Removing footer date and version if footer-style set to none ++ifeval::["{footer-style=default}"!="none"] +

+

+

+ template::[footer-text] +

++endif::[] + + + +@@ -467,6 +470,16 @@ + template::[docinfo] + + ++[footer-date] ++# Default footer date is document modification time ++ifeval::["{footer-style=default}"!="revdate"] ++ {docdate} {doctime} ++endif::[] ++# If set to "revdate", it'll be set to the revision date ++ifeval::["{footer-style=default}"=="revdate"] ++ {revdate} ++endif::[] ++ + #-------------------------------- + # article and book document types + #-------------------------------- +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-asciidoc~/html5.conf pkg-asciidoc/html5.conf +--- pkg-asciidoc~/html5.conf 2014-03-26 21:42:07.000000000 +0100 ++++ pkg-asciidoc/html5.conf 2014-03-27 19:19:55.358375294 +0100 +@@ -662,9 +662,12 @@ + + {disable-javascript%

} +