summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/xmlto
Commit message (Collapse)AuthorAgeFilesLines
* xmlto: set CLEANBROKEN = "1"Hongxu Jia2020-01-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | While rebuilding xmlto or xmlto-native, `make clean' in do_configure will remove man/man1/xmlif.1 which triger failure in do_compile $ bitbake xmlto-native $ bitbake xmlto-native -cconfigure -f $ bitbake xmlto-native -ccompile -f ... |FORMAT_DIR=./format /bin/bash ./xmlto -o man/man1 man doc/xmlif.xml |xmlto: tmp-glibc/work/x86_64-linux/xmlto-native/0.0.28-r0/xmlto-0.0.28/ doc/xmlif.xml does not validate (status 3) |xmlto: Fix document syntax or use --skip-validation option I/O error : Attempt to load network entity http://www.oasis-open.org/ docbook/xml/4.2/docbookx.dtd ... (From OE-Core rev: 08a77b751a07389cf97342b210472be8ebcd8c9d) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto: clean up RDEPENDSRoss Burton2019-04-051-2/+4
| | | | | | | | | | | | | | Because of differences in how RDEPENDS works for native/target, add libxml2 and libxslt to RDEPENDS (so that native dependencies work), but also add libxml2-utils (for xmllint) and libxslt-bin (for xsltproc) to target RDEPENDS. Also add libxml2-native to DEPENDS as that is needed for the docbook-(xml,xsl)-native catalog to be generated. (From OE-Core rev: b571315acb59f61335c20849d2ce7f5059258c1a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto: remove XML catalogRoss Burton2019-04-052-24/+2
| | | | | | | | | | | | | | | | | Now that docbook-xml and docbook-xsl use the xmlcatalog class, xmlto can stop shipping a hand-coded catalogue. It still needs to keep the wrapper so that the sysroot catalog is used instead of /etc/xml/catalog. The wrapper is native-specific so mark it as such. Note that this does effectively break xmlto on the target as the xmlcatalog class doesn't write a catalog for the target yet, but I'm hoping that nobody actually uses it on target. (From OE-Core rev: b12686ecdd0b0bdb36c8d1a2baeeb66aadff1b8c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto: replace fedorahosted.org SRC_URI with pagure.io sourceChoong YinThong2017-04-051-2/+2
| | | | | | | | | | | | | | fedorahosted.org was retired on March 1st, 2017. This is to update the SRC_URI to point to pagure.io. pagure.io is a replacement for fedorahosted. [YOCTO #11226] (From OE-Core rev: 79ae1e98a7c3fd4c732ea4cd0b3099d4e319a111) Signed-off-by: Choong YinThong <yin.thong.choong@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto: Don't hardcode the path to tailRichard Purdie2017-01-311-1/+1
| | | | | | | | | We don't need to hardcode a path to tail, follow the other tools examples and don't specify a path since PATH is good enough for us. (From OE-Core rev: 1a1e70304932cce5ad194e0a7ebb495da7b24c2e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto: Add libxslt to native DEPENDSSaul Wold2016-10-071-0/+1
| | | | | | | | | | | | xmlto requires xsltproc to work correctly, it was being included for the target, but may have been finding host contamination. [YOCTO #10366] (From OE-Core rev: b7e5b9ec4f71a3b8dcb4fe56aa1b971383a6fa27) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto: only target requires coreutilsRobert Yang2016-07-201-1/+1
| | | | | | | | | | | | | | | | The coreutils added to RDEPENDS was for tail command which is everywhere on the build host, so only add it to target. There was a side effect if coreutils-native was build, when its commands install to sysroots, they would be removed during rebuild, and cause other recipes fail to build: /path/to/tmp/sysroots/x86_64-linux/usr/bin/mkdir -p lib/sys make: /path/to/tmp/sysroots/x86_64-linux/usr/bin/mkdir: Command not found (From OE-Core rev: 4a0e3ca3733e2b6f3f20065421dbb9da2058014c) 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>
* xmlto: xmlto needs tail to runRoy Li2016-05-301-1/+3
| | | | | | | | (From OE-Core rev: 5c70c799643f9c62c58d6fb1fe97e2e6ee7ccf0f) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto: tell xmlto where cp isRoss Burton2016-03-091-1/+1
| | | | | | | | | | | | xmlto looks for a cp binary, and on e.g. Fedora 23 will find it at /usr/bin/cp but most other distros have it at /bin/cp. This causing problems with sharing sstate between distributions, but as /bin is a symlink on F23 we can safely force the path to /bin/cp. (From OE-Core rev: 46baed0fc22ab33c6481ec1cb1697f85593b4794) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto: ensure /bin/bash is used as bashRoss Burton2016-03-071-1/+1
| | | | | | | | | | | | The xmlto script uses bashisms and checks at configure time to find a bash binary. If the build host has /bin/sh as bash then this gets detected, which causes problems in native builds if the sstate is then shared to a machine with /bin/sh as dash. (From OE-Core rev: e89cd308792f613e5b4765dc0f7f21569aaaab6f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto: 0.0.26 -> 0.0.28Hongxu Jia2016-01-152-2/+2
| | | | | | | (From OE-Core rev: a88be02e893fc98404e205b04b5a1aad1e4ab0ee) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Fix Upstream-Status statementsRoss Burton2015-09-121-1/+1
| | | | | | | | | | Fix a variety of problems such as typos, bad punctuations, or incorrect Upstream-Status values. (From OE-Core rev: bd220fe6ce8c3a0805f13a14706d3130ea872604) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto-native: fixes slow creation of yocto docsAlejandro Hernandez2015-02-031-0/+1
| | | | | | | | | | | | | | | Forces native RDEPENDS of xmlto-native to be built and installed since those files are required when creating yocto-docs if not found, they are downloaded from upstream everytime significant time difference is achieved. [YOCTO #7148] (From OE-Core rev: 928d41cb7343c23f586a2a1a5e6f81569d9c261b) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto: upgrade to 0.0.25Hongxu Jia2015-01-233-15/+2
| | | | | | | | | Drop obsolete_automake_macros.patch, it has been merged to 0.0.25 (From OE-Core rev: fc96d1443213f189b5fbfb25f2c1d23d6fbd6d92) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto: add bash to RDEPENDS_xmltoRobert Yang2014-08-231-1/+2
| | | | | | | | | | Bash scripts: xmlto/usr/bin/xmlto.real (From OE-Core rev: b19c8990ef064a95b18784443be7e7e6a921ec23) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto: add version 0.0.25Hongxu Jia2014-07-164-0/+98
It moved from meta-oe and fixed the defect that xmlto/xsltproc stylesheets cannot be found even when they are installed in sysroot. About the config files (catalog.xml), we refered what Ubuntu 13.04 did, so it could correctly search the xsl stylesheets and xml dtds. Assigned the environment variable XML_CATALOG_FILES, so the xmlto will use oe-core's config as priority to avoid the the search from build system. [YOCTO #2416] (From OE-Core rev: 6eccf7940e90dd06568f7a2da36ce2d5d090aed5) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>