Red Hat Bugzilla – Bug 454341
RFE: split out drivers requiring TeX into separate sub-package
Last modified: 2018-04-11 09:17:08 EDT
Description of problem:
When building bitlbee (370k src.rpm) I need to install as build requirement
xmlto (53k) and its requirements (69MB!!!), just to generate txt (ps and pdf are
not generated per default). Meanwhile xmlto is able to work perfectly without
TeX-dependent backends, when PS and PDF are not required.
Could you please split xmlto into two packages -- one requiring TeX and other
one which doesn't require it?
Version-Release number of selected component (if applicable):
Those requirements are comming from requirements for passivetex (which needs
tex(latex)). For rebuilt srpm you could easily remove this requirement - as
there is spec file variable tetex(by default enabled). Unfortunately this split
of packages is not so easy - as the supported backends list is not generated
automatically, but comes from Makefile - which can't be splitted easily.
Therefore I would get report of missing backend (if the main package will be
without Requires: xmlto-tetex - which would lead to the same dependencies).
Additionally creating of ps/pdf is frequent usage of xmlto. Maybe you can use
docbook-utils for the job you need - as there is docbook2txt utility (and split
packages for tex related creating pdf).
Yes, I know about docbook2txt (and I use just lynx -dump for my personal build).
The point was that this is not the first moment when I see some package build
txt documentation with xmlto, and so (for them) useless requirement of 69MB is
kind of bad. Thanks for taking this bug.
Ok, Rawhide split to xmlto and xmlto-tex . Built as xmlto-0.0.21-2.fc10 and
xmlto-tex-0.0.21-2.fc10 , closing RAWHIDE.