Package: asciidoc
Version: 8.4.4-1
Severity: normal
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
In 8.4.1 AsciiDoc added an API which makes using it from other
applications very easy. The API is provided by a new file named
asciidocapi.py. The package does not include the file at the
moment.
The following patch installs the API file to
/usr/share/doc/asciidoc so the user can add it to his program.
asciidocapi.py needs the asciidoc binary named asciidoc.py in
PATH to work. As asciidocapi.py uses os.path.realpath() a
symbolic link to asciidoc can't be used, so the patch also
installs asciidoc.py as real file and a symbolic link named
asciidoc to it.
I'm not very experienced with Debian rules so perhaps there is a
better way to handle this.
Thanks for your work on the package,
Simon
- --- asciidoc-8.4.4/debian/asciidoc.install 2009-04-30 15:09:06.000000000
+0200
+++ asciidoc-8.4.4/debian/asciidoc.install 2009-04-30 15:06:35.000000000
+0200
@@ -11,6 +11,7 @@
docbook-xsl/*.xsl /etc/asciidoc/docbook-xsl/
stylesheets/*.css /etc/asciidoc/stylesheets/
/images/icons /usr/share/asciidoc
+asciidocapi.py /usr/share/doc/asciidoc
vim/ftdetect/asciidoc_filetype.vim /usr/share/vim/addons/ftplugin/
vim/syntax/asciidoc.vim /usr/share/vim/addons/syntax/
- --- asciidoc-8.4.4/debian/rules 2009-04-30 15:09:06.000000000 +0200
+++ asciidoc-8.4.4/debian/rules 2009-04-30 15:14:21.000000000 +0200
@@ -21,7 +21,8 @@
rm -f debian/a2x.1
binary-post-install/asciidoc::
- - install -m0755 asciidoc.py debian/asciidoc/usr/bin/asciidoc
+ install -m0755 asciidoc.py debian/asciidoc/usr/bin/asciidoc.py
+ ln -s asciidoc.py debian/asciidoc/usr/bin/asciidoc
install -m0755 a2x debian/asciidoc/usr/bin/a2x
install -m0755 CHANGELOG
debian/asciidoc/usr/share/doc/asciidoc/changelog
gzip -9 debian/asciidoc/usr/share/doc/asciidoc/changelog
- -- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages asciidoc depends on:
ii python 2.5.2-3 An interactive high-level object-o
Versions of packages asciidoc recommends:
ii dblatex 0.2.9-3 Produces DVI, PostScript, PDF docu
ii docbook-utils 0.6.14-1.1 Convert Docbook files to other for
ii source-highlight 2.4-5.2 convert source code to syntax high
ii vim-addon-manager 0.4 manager of addons for the Vim edit
ii xmlto 0.0.20-5 XML-to-any converter
asciidoc suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkn5xrEACgkQYRX4BO+zMilcjQCgu/jMQydmIO3op6PqYnw/GM2F
u74AoI/TVBZJ/wL4LWx8am9x4hV/VKF1
=N1qf
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]