pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc New package for docbook2odf. From D.H. Gutter...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2005980861d5
branches:  trunk
changeset: 359657:2005980861d5
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Wed Mar 15 18:43:41 2017 +0000

description:
New package for docbook2odf. From D.H. Gutteridge in PR pkg/51906.

docbook2odf is a toolkit that automatically converts DocBook to OASIS
OpenDocument (ODF, the ISO standardized format used for texts,
spreadsheets and presentations). Conversion is based on XSLT which
makes it easy to convert DocBook->ODF, ODT, ODS and ODP as all these
documents are XML-based.

diffstat:

 textproc/Makefile                                    |    3 +-
 textproc/docbook2odf/DESCR                           |    5 +
 textproc/docbook2odf/Makefile                        |   46 ++
 textproc/docbook2odf/PLIST                           |  365 +++++++++++++++++++
 textproc/docbook2odf/distinfo                        |    7 +
 textproc/docbook2odf/patches/patch-utils_docbook2odf |   16 +
 6 files changed, 441 insertions(+), 1 deletions(-)

diffs (truncated from 476 to 300 lines):

diff -r 5b9bd8cd4013 -r 2005980861d5 textproc/Makefile
--- a/textproc/Makefile Wed Mar 15 18:41:42 2017 +0000
+++ b/textproc/Makefile Wed Mar 15 18:43:41 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.911 2017/03/08 15:05:14 wiz Exp $
+# $NetBSD: Makefile,v 1.912 2017/03/15 18:43:41 bsiegert Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -161,6 +161,7 @@
 SUBDIR+=       docbook-xml
 SUBDIR+=       docbook-xsl
 SUBDIR+=       docbook2mdoc
+SUBDIR+=       docbook2odf
 SUBDIR+=       doclifter
 SUBDIR+=       dsssl-docbook-modular
 SUBDIR+=       dtdparse
diff -r 5b9bd8cd4013 -r 2005980861d5 textproc/docbook2odf/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/docbook2odf/DESCR        Wed Mar 15 18:43:41 2017 +0000
@@ -0,0 +1,5 @@
+docbook2odf is a toolkit that automatically converts DocBook to OASIS
+OpenDocument (ODF, the ISO standardized format used for texts,
+spreadsheets and presentations). Conversion is based on XSLT which
+makes it easy to convert DocBook->ODF, ODT, ODS and ODP as all these
+documents are XML-based.
diff -r 5b9bd8cd4013 -r 2005980861d5 textproc/docbook2odf/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/docbook2odf/Makefile     Wed Mar 15 18:43:41 2017 +0000
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1 2017/03/15 18:43:41 bsiegert Exp $
+
+DISTNAME=      docbook2odf-0.244
+CATEGORIES=    textproc perl5
+MASTER_SITES=  http://open.comsultia.com/docbook2odf/dwn/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://open.comsultia.com/docbook2odf
+COMMENT=       Convert DocBook documentation into ODF documents
+LICENSE=       gnu-gpl-v2 OR gnu-gpl-v3
+
+NO_BUILD=      yes
+INSTALLATION_DIRS+=    bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS+=    ${PREFIX}/share/applications
+INSTALLATION_DIRS+=    ${PREFIX}/share/doc/${PKGBASE}
+INSTALLATION_DIRS+=    ${PREFIX}/share/${PKGBASE}/examples
+INSTALLATION_DIRS+=    ${PREFIX}/share/${PKGBASE}/tests
+INSTALLATION_DIRS+=    ${PREFIX}/share/${PKGBASE}/utils
+INSTALLATION_DIRS+=    ${PREFIX}/share/${PKGBASE}/xsl
+
+USE_TOOLS+=    pax perl:run
+
+DEPENDS+=      p5-Archive-Zip-[0-9]*:../../archivers/p5-Archive-Zip
+DEPENDS+=      p5-PerlMagick-[0-9]*:../../graphics/p5-PerlMagick
+DEPENDS+=      p5-XML-LibXSLT-[0-9]*:../../textproc/p5-XML-LibXSLT
+
+SUBST_CLASSES+=                xsl_path
+SUBST_STAGE.xsl_path=  pre-configure
+SUBST_FILES.xsl_path=  utils/docbook2odf
+SUBST_SED.xsl_path=    -e 's,/usr/share/docbook2odf/xsl,${PREFIX}/share/${PKGBASE}/xsl,g'
+
+REPLACE_PERL+=  utils/docbook2odf utils/maketests
+
+do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/utils/docbook2odf ${DESTDIR}${PREFIX}/bin/docbook2odf
+       ${INSTALL_SCRIPT} ${WRKSRC}/utils/maketests ${DESTDIR}${PREFIX}/share/${PKGBASE}/utils/maketests
+       ${INSTALL_MAN} ${WRKSRC}/docs/docbook2odf.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/docbook2odf.1
+       ${INSTALL_DATA} ${WRKSRC}/bindings/desktop/docbook2odf.desktop ${DESTDIR}${PREFIX}/share/applications/docbook2odf.desktop
+       ${INSTALL_DATA} ${WRKSRC}/license ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/license
+       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/README
+       cd ${WRKSRC}/examples; ${PAX} -rw . ${DESTDIR}${PREFIX}/share/${PKGBASE}/examples
+       cd ${WRKSRC}/tests; ${PAX} -rw . ${DESTDIR}${PREFIX}/share/${PKGBASE}/tests
+       cd ${WRKSRC}/xsl; ${PAX} -rw . ${DESTDIR}${PREFIX}/share/${PKGBASE}/xsl
+
+.include "../../mk/bsd.pkg.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
diff -r 5b9bd8cd4013 -r 2005980861d5 textproc/docbook2odf/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/docbook2odf/PLIST        Wed Mar 15 18:43:41 2017 +0000
@@ -0,0 +1,365 @@
+@comment $NetBSD: PLIST,v 1.1 2017/03/15 18:43:41 bsiegert Exp $
+bin/docbook2odf
+man/man1/docbook2odf.1
+share/applications/docbook2odf.desktop
+share/doc/docbook2odf/README
+share/doc/docbook2odf/license
+share/docbook2odf/examples/book.docbook
+share/docbook2odf/examples/docbook2odf.png
+share/docbook2odf/examples/lists.docbook
+share/docbook2odf/examples/media.docbook
+share/docbook2odf/examples/section.docbook
+share/docbook2odf/examples/slides.docbook
+share/docbook2odf/examples/table.docbook
+share/docbook2odf/examples/verbatim.docbook
+share/docbook2odf/examples/xinclude.docbook
+share/docbook2odf/tests/.cvsignore
+share/docbook2odf/tests/Makefile
+share/docbook2odf/tests/README
+share/docbook2odf/tests/RELEASE-NOTES.xml
+share/docbook2odf/tests/VERSION
+share/docbook2odf/tests/fo-debug.xsl
+share/docbook2odf/tests/graphics/U1230.gif
+share/docbook2odf/tests/graphics/duck-co.png
+share/docbook2odf/tests/graphics/duck-small.bmp
+share/docbook2odf/tests/graphics/duck-small.eps
+share/docbook2odf/tests/graphics/duck-small.gif
+share/docbook2odf/tests/graphics/duck-small.pdf
+share/docbook2odf/tests/graphics/duck-small.png
+share/docbook2odf/tests/graphics/duck.png
+share/docbook2odf/tests/graphics/stamp.png
+share/docbook2odf/tests/graphics/stamp200x128.png
+share/docbook2odf/tests/graphics/stamp200x256.png
+share/docbook2odf/tests/graphics/stamp400x256.png
+share/docbook2odf/tests/graphics/svg-001-fallback.png
+share/docbook2odf/tests/graphics/svg-001.xml
+share/docbook2odf/tests/i18n/.cvsignore
+share/docbook2odf/tests/i18n/Makefile
+share/docbook2odf/tests/i18n/af.xml
+share/docbook2odf/tests/i18n/ar.xml
+share/docbook2odf/tests/i18n/book.xml
+share/docbook2odf/tests/i18n/ca.xml
+share/docbook2odf/tests/i18n/cs.xml
+share/docbook2odf/tests/i18n/da.xml
+share/docbook2odf/tests/i18n/de.xml
+share/docbook2odf/tests/i18n/el.xml
+share/docbook2odf/tests/i18n/en.xml
+share/docbook2odf/tests/i18n/es.xml
+share/docbook2odf/tests/i18n/et.xml
+share/docbook2odf/tests/i18n/eu.xml
+share/docbook2odf/tests/i18n/fi.xml
+share/docbook2odf/tests/i18n/fr.xml
+share/docbook2odf/tests/i18n/he.xml
+share/docbook2odf/tests/i18n/hu.xml
+share/docbook2odf/tests/i18n/i18n-fo.xsl
+share/docbook2odf/tests/i18n/id.xml
+share/docbook2odf/tests/i18n/identity.xsl
+share/docbook2odf/tests/i18n/it.xml
+share/docbook2odf/tests/i18n/ja.xml
+share/docbook2odf/tests/i18n/ko.xml
+share/docbook2odf/tests/i18n/localize.xsl
+share/docbook2odf/tests/i18n/lt.xml
+share/docbook2odf/tests/i18n/math_limerick.png
+share/docbook2odf/tests/i18n/nl.xml
+share/docbook2odf/tests/i18n/nn.xml
+share/docbook2odf/tests/i18n/no.xml
+share/docbook2odf/tests/i18n/pl.xml
+share/docbook2odf/tests/i18n/pt.xml
+share/docbook2odf/tests/i18n/pt_br.xml
+share/docbook2odf/tests/i18n/ro.xml
+share/docbook2odf/tests/i18n/ru.xml
+share/docbook2odf/tests/i18n/sk.xml
+share/docbook2odf/tests/i18n/sl.xml
+share/docbook2odf/tests/i18n/source.xml
+share/docbook2odf/tests/i18n/sr.xml
+share/docbook2odf/tests/i18n/sv.xml
+share/docbook2odf/tests/i18n/th.xml
+share/docbook2odf/tests/i18n/titlepage-fo.xml
+share/docbook2odf/tests/i18n/tr.xml
+share/docbook2odf/tests/i18n/translators.xsl
+share/docbook2odf/tests/i18n/uk.xml
+share/docbook2odf/tests/i18n/vi.xml
+share/docbook2odf/tests/i18n/xh.xml
+share/docbook2odf/tests/i18n/zh_cn.xml
+share/docbook2odf/tests/i18n/zh_tw.xml
+share/docbook2odf/tests/imagelib/imagelib.xml
+share/docbook2odf/tests/linking.dtd
+share/docbook2odf/tests/template.xml
+share/docbook2odf/tests/tests/5.0/annotation.001.xml
+share/docbook2odf/tests/tests/5.0/mathphrase.001.xml
+share/docbook2odf/tests/tests/5.0/sidebar.001.xml
+share/docbook2odf/tests/tests/5.0/table.019.xml
+share/docbook2odf/tests/tests/5.0/termdef.001.xml
+share/docbook2odf/tests/tests/admonitions.001.xml
+share/docbook2odf/tests/tests/article.001.xml
+share/docbook2odf/tests/tests/article.002.xml
+share/docbook2odf/tests/tests/article.003.xml
+share/docbook2odf/tests/tests/article.004.xml
+share/docbook2odf/tests/tests/article.005.xml
+share/docbook2odf/tests/tests/article.006.xml
+share/docbook2odf/tests/tests/author.001.xml
+share/docbook2odf/tests/tests/author.002.xml
+share/docbook2odf/tests/tests/bibliography.001.xml
+share/docbook2odf/tests/tests/bibliography.002.xml
+share/docbook2odf/tests/tests/bibliography.003.xml
+share/docbook2odf/tests/tests/bibliography.004.xml
+share/docbook2odf/tests/tests/bibliography.005.xml
+share/docbook2odf/tests/tests/bibliolist.001.xml
+share/docbook2odf/tests/tests/blockinfo.001.xml
+share/docbook2odf/tests/tests/blockinfo.002.xml
+share/docbook2odf/tests/tests/blockquote.001.xml
+share/docbook2odf/tests/tests/book.001.xml
+share/docbook2odf/tests/tests/book.002.xml
+share/docbook2odf/tests/tests/book.003.xml
+share/docbook2odf/tests/tests/book.004.xml
+share/docbook2odf/tests/tests/book.005.xml
+share/docbook2odf/tests/tests/book.006.xml
+share/docbook2odf/tests/tests/book.007.xml
+share/docbook2odf/tests/tests/book.008.xml
+share/docbook2odf/tests/tests/bookinfo.001.xml
+share/docbook2odf/tests/tests/bridgehead.001.xml
+share/docbook2odf/tests/tests/calloutlist.001.xml
+share/docbook2odf/tests/tests/calloutlist.002.xml
+share/docbook2odf/tests/tests/calloutlist.003.xml
+share/docbook2odf/tests/tests/changebars.001.xml
+share/docbook2odf/tests/tests/chapter.001.xml
+share/docbook2odf/tests/tests/chapter.002.xml
+share/docbook2odf/tests/tests/classsynopsis.001.xml
+share/docbook2odf/tests/tests/cmdsynopsis.001.xml
+share/docbook2odf/tests/tests/cmdsynopsis.002.xml
+share/docbook2odf/tests/tests/cmdsynopsis.003.xml
+share/docbook2odf/tests/tests/co.001.xml
+share/docbook2odf/tests/tests/codesample.txt
+share/docbook2odf/tests/tests/dir.001.xml
+share/docbook2odf/tests/tests/docbook-43.001.xml
+share/docbook2odf/tests/tests/draft.001.xml
+share/docbook2odf/tests/tests/ebnf/productionset.001.xml
+share/docbook2odf/tests/tests/ebnf/productionset.002.xml
+share/docbook2odf/tests/tests/ebnf/productionset.003.xml
+share/docbook2odf/tests/tests/ebnf/productionset.004.xml
+share/docbook2odf/tests/tests/ebnf/productionset.005.xml
+share/docbook2odf/tests/tests/ebnf/productionset.006.xml
+share/docbook2odf/tests/tests/emphasis.001.xml
+share/docbook2odf/tests/tests/epigraph.001.xml
+share/docbook2odf/tests/tests/equation.001.xml
+share/docbook2odf/tests/tests/equation.002.xml
+share/docbook2odf/tests/tests/equation.003.xml
+share/docbook2odf/tests/tests/equation.004.xml
+share/docbook2odf/tests/tests/example.001.xml
+share/docbook2odf/tests/tests/extensions.001.xml
+share/docbook2odf/tests/tests/extensions.002.xml
+share/docbook2odf/tests/tests/extensions.003.xml
+share/docbook2odf/tests/tests/extensions.004.xml
+share/docbook2odf/tests/tests/figure.001.xml
+share/docbook2odf/tests/tests/figure.002.xml
+share/docbook2odf/tests/tests/figure.003.xml
+share/docbook2odf/tests/tests/figure.004.xml
+share/docbook2odf/tests/tests/figure.005.xml
+share/docbook2odf/tests/tests/firstterm.001.xml
+share/docbook2odf/tests/tests/footnote.001.xml
+share/docbook2odf/tests/tests/footnote.002.xml
+share/docbook2odf/tests/tests/footnote.003.xml
+share/docbook2odf/tests/tests/formalpara.001.xml
+share/docbook2odf/tests/tests/formalpara.002.xml
+share/docbook2odf/tests/tests/formalpara.003.xml
+share/docbook2odf/tests/tests/funcsynopsis.001.xml
+share/docbook2odf/tests/tests/glossary.001.xml
+share/docbook2odf/tests/tests/glossary.002.data.xml
+share/docbook2odf/tests/tests/glossary.002.xml
+share/docbook2odf/tests/tests/glossary.003.xml
+share/docbook2odf/tests/tests/imagelib.001.xml
+share/docbook2odf/tests/tests/imageobjectco.001.xml
+share/docbook2odf/tests/tests/index.001.xml
+share/docbook2odf/tests/tests/index.002.xml
+share/docbook2odf/tests/tests/index.003.xml
+share/docbook2odf/tests/tests/indexterm.001.xml
+share/docbook2odf/tests/tests/indexterm.002.xml
+share/docbook2odf/tests/tests/indexterm.003.xml
+share/docbook2odf/tests/tests/indexterm.004.xml
+share/docbook2odf/tests/tests/indexterm.005.xml
+share/docbook2odf/tests/tests/informaltable.001.xml
+share/docbook2odf/tests/tests/informaltable.002.xml
+share/docbook2odf/tests/tests/informaltable.003.xml
+share/docbook2odf/tests/tests/informaltable.004.xml
+share/docbook2odf/tests/tests/informaltable.005.xml
+share/docbook2odf/tests/tests/informaltable.006.xml
+share/docbook2odf/tests/tests/informaltable.007.xml
+share/docbook2odf/tests/tests/informaltable.008.xml
+share/docbook2odf/tests/tests/informaltable.009.xml
+share/docbook2odf/tests/tests/informaltable.010.xml
+share/docbook2odf/tests/tests/informaltable.011.xml
+share/docbook2odf/tests/tests/informaltable.012.xml
+share/docbook2odf/tests/tests/informaltable.013.xml
+share/docbook2odf/tests/tests/informaltable.014.xml
+share/docbook2odf/tests/tests/informaltable.015.xml
+share/docbook2odf/tests/tests/informaltable.016.xml
+share/docbook2odf/tests/tests/informaltable.017.xml
+share/docbook2odf/tests/tests/informaltable.018.xml
+share/docbook2odf/tests/tests/inline.001.xml
+share/docbook2odf/tests/tests/inline.002.xml
+share/docbook2odf/tests/tests/itemizedlist.001.xml
+share/docbook2odf/tests/tests/itemizedlist.002.xml
+share/docbook2odf/tests/tests/itemizedlist.003.xml
+share/docbook2odf/tests/tests/itemizedlist.004.xml
+share/docbook2odf/tests/tests/itemizedlist.005.xml
+share/docbook2odf/tests/tests/itemizedlist.006.xml
+share/docbook2odf/tests/tests/legalnotice.001.xml
+share/docbook2odf/tests/tests/lineannotation.001.xml
+share/docbook2odf/tests/tests/link.001.xml
+share/docbook2odf/tests/tests/literallayout.001.xml
+share/docbook2odf/tests/tests/literallayout.002.xml
+share/docbook2odf/tests/tests/literallayout.003.xml
+share/docbook2odf/tests/tests/lot.001.xml
+share/docbook2odf/tests/tests/mathml/informalequation-mml.001.xml
+share/docbook2odf/tests/tests/mathml/mathml.001.xml
+share/docbook2odf/tests/tests/mediaobject.001.xml
+share/docbook2odf/tests/tests/mediaobject.002.xml
+share/docbook2odf/tests/tests/mediaobjectco.001.xml
+share/docbook2odf/tests/tests/mediaobjectco.002.xml
+share/docbook2odf/tests/tests/methodsynopsis.001.xml
+share/docbook2odf/tests/tests/note.001.xml



Home | Main Index | Thread Index | Old Index