Skip to contentSkip to conversation

classes/sanity: remove texi2html from required host utilities

PATCH In review Paul Eggleton 2 participants 3 messages Aug 20, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 classes/sanity: remove texi2html from required host utilities

texi2html is not actually required to build world of OE-Core anymore, so we don't need to mandate it. The only difference without it (verified with buildhistory) is that groff doesn't produce HTML documentation; the rest of its docs are still produced and packaged and no other packages are affected.

Part of the work towards [YOCTO #2423].

---
 meta/classes/sanity.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/sanity.bbclass +1 -1
index 575ce15..ff7c73b 100644
@@ -2,7 +2,7 @@
 # Sanity check the users setup for common misconfigurations
 #
 
-SANITY_REQUIRED_UTILITIES ?= "patch diffstat texi2html makeinfo git bzip2 tar gzip gawk chrpath wget cpio"
+SANITY_REQUIRED_UTILITIES ?= "patch diffstat makeinfo git bzip2 tar gzip gawk chrpath wget cpio"
 
 def raise_sanity_error(msg, d):
     if d.getVar("SANITY_USE_EVENTS", True) == "1":
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 5 lines · Paul Eggleton

texi2html is not actually required to build world of OE-Core anymore, so we don't need to mandate it. The only difference without it (verified with buildhistory) is that groff doesn't produce HTML documentation; the rest of its docs are still produced and packaged and no other packages are affected.

Can we fix groff to make it not even try to use texi2html even if it's installed? It seems a bit undesirable for the amount of documentation you get to vary depending on the host environment.

p.

#2 lore raw
Quoted 10 lines · On Monday 20 August 2012 09:48:20 Phil Blundell wrote:
Quoted 5 lines · Paul Eggleton

texi2html is not actually required to build world of OE-Core anymore, so we don't need to mandate it. The only difference without it (verified with buildhistory) is that groff doesn't produce HTML documentation; the rest of its docs are still produced and packaged and no other packages are affected.

Can we fix groff to make it not even try to use texi2html even if it's installed? It seems a bit undesirable for the amount of documentation you get to vary depending on the host environment.

Actually, upon closer inspection, texi2html has nothing to do with this. The host needs to have pnmcut, pnmcrop, pnmtopng, psselect, pnmtops and gs installed or neither the HTML nor PDF backends for groff will be enabled.

This leaves us with two alternatives:

1) Make groff depend on ghostscript, and that would at least enable the PDF backend, but for HTML it still leaves netpbm (for pnm*) and psutils (for psselect), neither of which we have in OE-Core.

2) Alternatively I can add --without-gs to the groff configure options which will always disable both backends.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre