Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=310e97948ab4f2ce41a92fa5134f2910073b6f0d
commit 310e97948ab4f2ce41a92fa5134f2910073b6f0d Author: Miklos Vajna <[EMAIL PROTECTED]> Date: Sat Jul 12 18:28:21 2008 +0200 asciidoc-8.2.7-1-i686 - version bump - now using dblatex instead of fop for pdf generation (by default) diff --git a/source/apps-extra/asciidoc/FrugalBuild b/source/apps-extra/asciidoc/FrugalBuild index ae5b7c6..490703e 100644 --- a/source/apps-extra/asciidoc/FrugalBuild +++ b/source/apps-extra/asciidoc/FrugalBuild @@ -2,24 +2,21 @@ # Maintainer: voroskoi <[EMAIL PROTECTED]> pkgname=asciidoc -pkgver=8.2.6 -pkgrel=4 +pkgver=8.2.7 +pkgrel=1 pkgdesc="AsciiDoc is a text document format for writing short documents, articles, books and UNIX man pages." url="http://www.methods.co.nz/asciidoc/index.html" depends=() -rodepends=('python>=2.3' 'libxslt') +rodepends=('python' 'libxslt') groups=('apps-extra') archs=('i686' 'x86_64') up2date="lynx -dump http://www.methods.co.nz/asciidoc/downloads.html |Flasttar" source=(http://www.methods.co.nz/asciidoc/asciidoc-$pkgver.tar.gz \ - http://ftp.frugalware.org/pub/other/sources/asciidoc/asciidoc-fonts-0.1.tar.bz2 \ - fop-0.9x.diff) -sha1sums=('cce98ed670c462a3a007b03b6f92d2108c5bc405' \ - '717779406f876f439ac37c79878f403ecdef3467' \ - '23d7944cb69af3e658733fadb790c46502dd6ecb') + http://ftp.frugalware.org/pub/other/sources/asciidoc/asciidoc-fonts-0.1.tar.bz2) +sha1sums=('ec784654f01f3aa71af6453c8985839010759fab' \ + '717779406f876f439ac37c79878f403ecdef3467') build() { - Fpatchall Fmkdir $Fprefix/bin $Fprefix/share/vim Fsed 'BINDIR=/usr/local/bin' "BINDIR=$Fdestdir/$Fprefix/bin" install.sh Fsed 'MANDIR=/usr/local/man' "MANDIR=$Fdestdir/$Fprefix/man" install.sh diff --git a/source/apps-extra/asciidoc/fop-0.9x.diff b/source/apps-extra/asciidoc/fop-0.9x.diff deleted file mode 100644 index b35d4fe..0000000 --- a/source/apps-extra/asciidoc/fop-0.9x.diff +++ /dev/null @@ -1,27 +0,0 @@ -diff -Naur asciidoc-8.2.6.orig/a2x asciidoc-8.2.6/a2x ---- asciidoc-8.2.6.orig/a2x 2007-11-25 23:59:55.000000000 +0100 -+++ asciidoc-8.2.6/a2x 2008-05-03 23:28:36.000000000 +0200 -@@ -502,9 +502,9 @@ - function to_pdf() - { - require "xsltproc" -- require "fop.sh" -+ require "fop" - local xsl xml fo pdf -- xsl=$(conf_file docbook-xsl/fo.xsl) -+ xsl="/usr/share/xml/docbook/fo/docbook.xsl" - if [ ! -r "$xsl" ]; then - quit "file not found: $xsl" - fi -@@ -512,9 +512,9 @@ - fo="$SRC_DIR/$SRC_NAME.fo" - pdf="$DESTINATION_DIR/$SRC_NAME.pdf" - to_docbook -- execute_command_2 "xsltproc $XSLTPROC_OPTS --nonet \ -+ execute_command_2 "xsltproc $XSLTPROC_OPTS --nonet --stringparam draft.mode no --stringparam sans.font.family DejaVuSans --stringparam title.font.family DejaVuSans --stringparam body.font.family DejaVuSerif --stringparam dingbat.font.family DejaVuSerif --stringparam monospace.font.family DejaVuSansMono \ - \"$xsl\" \"$xml\" >\"$fo\"" -- execute_command_2 "fop.sh \"$fo\" \"$pdf\"" -+ execute_command_2 "fop -c /usr/share/fop/dejavu-ttf.xml -fo \"$fo\" -pdf \"$pdf\"" - } - - function to_odt() _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git