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.
This commit is contained in:
bsiegert 2017-03-15 18:43:41 +00:00
parent 891596615f
commit dabd61ca9f
6 changed files with 441 additions and 1 deletions

View file

@ -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-website
SUBDIR+= docbook-xml
SUBDIR+= docbook-xsl
SUBDIR+= docbook2mdoc
SUBDIR+= docbook2odf
SUBDIR+= doclifter
SUBDIR+= dsssl-docbook-modular
SUBDIR+= dtdparse

View file

@ -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.

View file

@ -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
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"

365
textproc/docbook2odf/PLIST Normal file
View file

@ -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
share/docbook2odf/tests/tests/olink.001.xml
share/docbook2odf/tests/tests/orderedlist.001.xml
share/docbook2odf/tests/tests/orderedlist.002.xml
share/docbook2odf/tests/tests/orderedlist.003.xml
share/docbook2odf/tests/tests/part.001.xml
share/docbook2odf/tests/tests/personname.001.xml
share/docbook2odf/tests/tests/procedure.001.xml
share/docbook2odf/tests/tests/procedure.002.xml
share/docbook2odf/tests/tests/procedure.003.xml
share/docbook2odf/tests/tests/profile.001.xml
share/docbook2odf/tests/tests/programlisting.001.xml
share/docbook2odf/tests/tests/programlisting.002.xml
share/docbook2odf/tests/tests/programlisting.003.xml
share/docbook2odf/tests/tests/programlisting.004.xml
share/docbook2odf/tests/tests/programlisting.005.xml
share/docbook2odf/tests/tests/programlisting.006.xml
share/docbook2odf/tests/tests/programlistingco.001.xml
share/docbook2odf/tests/tests/programlistingco.002.xml
share/docbook2odf/tests/tests/protocol.001.xml
share/docbook2odf/tests/tests/pubsnumber.xml
share/docbook2odf/tests/tests/qandaset.001.xml
share/docbook2odf/tests/tests/qandaset.002.xml
share/docbook2odf/tests/tests/qandaset.003.xml
share/docbook2odf/tests/tests/qandaset.004.xml
share/docbook2odf/tests/tests/qandaset.005.xml
share/docbook2odf/tests/tests/refentry.001.xml
share/docbook2odf/tests/tests/refentry.002.xml
share/docbook2odf/tests/tests/refentry.003.xml
share/docbook2odf/tests/tests/refentry.004.xml
share/docbook2odf/tests/tests/refentry.005.xml
share/docbook2odf/tests/tests/refentry.006.xml
share/docbook2odf/tests/tests/refentry.007.xml
share/docbook2odf/tests/tests/refentry.008.xml
share/docbook2odf/tests/tests/refentry.009.xml
share/docbook2odf/tests/tests/refentry.010.xml
share/docbook2odf/tests/tests/reference.001.xml
share/docbook2odf/tests/tests/reference.002.xml
share/docbook2odf/tests/tests/remark.001.xml
share/docbook2odf/tests/tests/remark.002.xml
share/docbook2odf/tests/tests/revhistory.001.xml
share/docbook2odf/tests/tests/screen.001.xml
share/docbook2odf/tests/tests/sect1.001.xml
share/docbook2odf/tests/tests/sect1.002.xml
share/docbook2odf/tests/tests/section.001.xml
share/docbook2odf/tests/tests/section.002.xml
share/docbook2odf/tests/tests/section.003.xml
share/docbook2odf/tests/tests/section.004.xml
share/docbook2odf/tests/tests/section.005.xml
share/docbook2odf/tests/tests/segmentedlist.001.xml
share/docbook2odf/tests/tests/segmentedlist.002.xml
share/docbook2odf/tests/tests/segmentedlist.003.xml
share/docbook2odf/tests/tests/set.001.xml
share/docbook2odf/tests/tests/sgmltag.xml
share/docbook2odf/tests/tests/sidebar.001.xml
share/docbook2odf/tests/tests/simplelist.001.xml
share/docbook2odf/tests/tests/simplesect.001.xml
share/docbook2odf/tests/tests/stamp.001.xml
share/docbook2odf/tests/tests/stamp.002.xml
share/docbook2odf/tests/tests/stamp.003.xml
share/docbook2odf/tests/tests/stamp.004.xml
share/docbook2odf/tests/tests/stamp.005.xml
share/docbook2odf/tests/tests/stamp.006.xml
share/docbook2odf/tests/tests/stamp.007.xml
share/docbook2odf/tests/tests/stamp.008.xml
share/docbook2odf/tests/tests/stamp.009.xml
share/docbook2odf/tests/tests/stamp.010.xml
share/docbook2odf/tests/tests/stamp.011.xml
share/docbook2odf/tests/tests/stamp.012.xml
share/docbook2odf/tests/tests/stamp.013.xml
share/docbook2odf/tests/tests/stepalternatives.001.xml
share/docbook2odf/tests/tests/subtitle.001.xml
share/docbook2odf/tests/tests/superscript.001.xml
share/docbook2odf/tests/tests/svg.002.xml
share/docbook2odf/tests/tests/svg/svg.001.xml
share/docbook2odf/tests/tests/table.001.xml
share/docbook2odf/tests/tests/table.002.xml
share/docbook2odf/tests/tests/table.003.xml
share/docbook2odf/tests/tests/table.004.xml
share/docbook2odf/tests/tests/table.005.xml
share/docbook2odf/tests/tests/table.006.xml
share/docbook2odf/tests/tests/table.007.xml
share/docbook2odf/tests/tests/table.008.xml
share/docbook2odf/tests/tests/table.009.xml
share/docbook2odf/tests/tests/table.010.xml
share/docbook2odf/tests/tests/table.011.xml
share/docbook2odf/tests/tests/table.012.xml
share/docbook2odf/tests/tests/table.013.xml
share/docbook2odf/tests/tests/table.014.xml
share/docbook2odf/tests/tests/table.015.xml
share/docbook2odf/tests/tests/table.016.xml
share/docbook2odf/tests/tests/table.017.xml
share/docbook2odf/tests/tests/table.018.xml
share/docbook2odf/tests/tests/textobject.001.xml
share/docbook2odf/tests/tests/textobject.002.xml
share/docbook2odf/tests/tests/title.001.xml
share/docbook2odf/tests/tests/toc.001.xml
share/docbook2odf/tests/tests/ulink.001.xml
share/docbook2odf/tests/tests/ulink.002.xml
share/docbook2odf/tests/tests/variablelist.001.xml
share/docbook2odf/tests/tests/variablelist.002.xml
share/docbook2odf/tests/tests/variablelist.003.xml
share/docbook2odf/tests/tests/variablelist.004.xml
share/docbook2odf/tests/tests/wordsize.001.xml
share/docbook2odf/tests/tests/xmlspace.001.xml
share/docbook2odf/tests/tests/xref.001.xml
share/docbook2odf/tests/tests/xref.002.xml
share/docbook2odf/tests/tests/xref.003.xml
share/docbook2odf/tests/tests/xref.004.xml
share/docbook2odf/tests/tests/xrefstyle.001.xml
share/docbook2odf/tests/xrefstyle.xsl
share/docbook2odf/utils/maketests
share/docbook2odf/xsl/common/common.xsl
share/docbook2odf/xsl/docbook.xsl
share/docbook2odf/xsl/document-content.xsl
share/docbook2odf/xsl/document-content/article.xsl
share/docbook2odf/xsl/document-content/articleinfo.xsl
share/docbook2odf/xsl/document-content/automatic-styles.xsl
share/docbook2odf/xsl/document-content/bibliography.xsl
share/docbook2odf/xsl/document-content/block.xsl
share/docbook2odf/xsl/document-content/book.xsl
share/docbook2odf/xsl/document-content/chapter.xsl
share/docbook2odf/xsl/document-content/formal.xsl
share/docbook2odf/xsl/document-content/info.xsl
share/docbook2odf/xsl/document-content/inline.xsl
share/docbook2odf/xsl/document-content/lists.xsl
share/docbook2odf/xsl/document-content/media.xsl
share/docbook2odf/xsl/document-content/notes.xsl
share/docbook2odf/xsl/document-content/paragraph.xsl
share/docbook2odf/xsl/document-content/section.xsl
share/docbook2odf/xsl/document-content/slides.xsl
share/docbook2odf/xsl/document-content/synop.xsl
share/docbook2odf/xsl/document-content/tables.xsl
share/docbook2odf/xsl/document-content/verbatim.xsl
share/docbook2odf/xsl/document-meta.xsl
share/docbook2odf/xsl/document-settings.xsl
share/docbook2odf/xsl/document-styles.xsl
share/docbook2odf/xsl/document-styles/automatic-styles.xsl
share/docbook2odf/xsl/document-styles/font-face-decls.xsl
share/docbook2odf/xsl/document-styles/master-styles.xsl
share/docbook2odf/xsl/document-styles/office-styles.xsl
share/docbook2odf/xsl/document-styles/page-layout.xsl
share/docbook2odf/xsl/manifest.xsl
share/docbook2odf/xsl/odf.xsl
share/docbook2odf/xsl/overlay/default.xsl
share/docbook2odf/xsl/param.xsl

View file

@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.1 2017/03/15 18:43:41 bsiegert Exp $
SHA1 (docbook2odf-0.244.tar.gz) = 299388451c53d135c8f9bbde6f99c7b861d9efad
RMD160 (docbook2odf-0.244.tar.gz) = 1b011cb9cdffe6e1e3814f242ec5ce9feb728009
SHA512 (docbook2odf-0.244.tar.gz) = 050a45c38c74b424a283e599a0a64169531b024ef7c69e0df97b816cc184f4c0671ea22ecd9d1387f64edaf05e91b6382784693136f210bdb09aa6fe7c2a7910
Size (docbook2odf-0.244.tar.gz) = 567200 bytes
SHA1 (patch-utils_docbook2odf) = 5305e5f69da38faf118ca8cee1f59e89ebe5255c

View file

@ -0,0 +1,16 @@
$NetBSD: patch-utils_docbook2odf,v 1.1 2017/03/15 18:43:41 bsiegert Exp $
Correct confusion with "require" vs. "use" capabilities, otherwise
the test returns false.
--- utils/docbook2odf.orig 2007-05-19 06:55:08.000000000 -0400
+++ utils/docbook2odf
@@ -49,7 +49,7 @@
}
my $USE_ZIP = 0;
-if (eval "require Archive::Zip qw( :ERROR_CODES :CONSTANTS )")
+if (eval "require Archive::Zip;")
{
$USE_ZIP = 1;
}