summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/asciidoc
Commit message (Collapse)AuthorAgeFilesLines
* asciidoc: use correct XML catalog pathRoss Burton2019-04-051-1/+1
| | | | | | | | | | Now that docbook-xml and docbook-xsl are writing catalog files, tell xmllint/xsltproc where the catalog is. (From OE-Core rev: e60ec1dc23df918a7ec2e4572233ee12e73f4aff) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* asciidoc: specify XML catalogue to useRoss Burton2019-04-032-2/+60
| | | | | | | | | | | | | | | | libxml-native by default uses a XML catalogue at /etc/xml/catalog, instead of the one in the sysroot. Until this is fixed (#13260) override the XML catalogue manually in the recipe to point explicitly at the docbook-xml and docbook-xsl catalogues. This fixes either complete build failures (where the host doesn't have docbook-xml installed) or slow builds (where the host doesn't have docbook-xsl installed). (From OE-Core rev: efb6168e41797ad6ed00ede6f3d9141b90eff4b5) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* asciidoc: use Python 3 portRoss Burton2019-03-291-9/+12
| | | | | | | | | | | | | | | | | | There's a sort-of-official port of asciidoc to Python 3. Whilst the official replacement is asciidoctor which is rewritten in Ruby, this is a fairly trivial swap and removes Python 2 from core-image-sato builds entirely. Moving forward we should evaluate asciidoctor, but that can wait. Change the RDEPENDS so that python3 is only a dependency for target and nativesdk builds, for native this can use the host python3. Remove redundant DESTDIR export that isn't needed. (From OE-Core rev: 266a13139ea45e28deb167f077917f04c3bdb7e6) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* asciidoc: drop distutils inherit, not actually requiredAlexander Kanavin2017-05-161-1/+1
| | | | | | | | (From OE-Core rev: 15373057c3a87e247f0b3bcdc71bed7d6d3092e6) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* asciidoc: set CLEANBROKEN to fix rebuildRobert Yang2016-09-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | The make clean removes doc/a2x.1 and doc/asciidoc.1, then it would cause build failures since in the second build: Fixing CONF_DIR in asciidoc.py Fixing CONF_DIR in a2x.py python a2x.py -f manpage doc/a2x.1.txt a2x: ERROR: "xmllint" --nonet --noout --valid "/path/to/asciidoc-native/8.6.9-r0/asciidoc-8.6.9/doc/a2x.1.xml" returned non-zero exit status 4 make: *** [doc/a2x.1] Error 1 The xmllint failed because "--nonext" is used: I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd /buildarea/lyang1/test_arm/tmp/work/x86_64-linux/asciidoc-native/8.6.9-r0/asciidoc-8.6.9/doc/a2x.1.xml:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" Avoid running make clean will fix the problem. (From OE-Core rev: f60fc2dc231ffc8cbf5939b0dbfa06c5fe805b86) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* asciidoc: fix upstream version checkAlexander Kanavin2016-09-031-0/+1
| | | | | | | (From OE-Core rev: 88d18dc0a838b56e5b663320100184c381076cc4) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* asciidoc-native: add dependency on docbook-xml-dtd4-nativeAwais Belal2016-08-201-0/+1
| | | | | | | | | | | | | | During the compilation phase asciidoc runs a2x for validation of some xmls which in turn invokes xmllint with --nonet parameter that requires DTDs to be available locally in order to succeed otherwise the do_compile fails. We now add a direct dependency on docbook-xml-dtd4 so the DTDs are always available locally. (From OE-Core rev: 14be679c7b8241b2d0872242ed358e5eb4f7acac) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Asciidoc: add itDengke Du2016-08-041-0/+20
In order to enable perf man pages for basic 'help' functionality, it needs to produce man pages for perf, which depends on the xmlto and asciidoc tools. So add the asciidoc recipe to help produce man pages for perf and other commands. (From OE-Core rev: 1f57ac3b10df184d5ce992297ec0626895174ec9) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>