libXfont 1.4.2 build issue
Marty Jack
martyj19 at comcast.net
Wed Jun 23 11:40:54 PDT 2010
On my system libXfont 1.4.2 fails attempting to build doc/fontlib.txt. This happens because xmlto needs Lynx or similar to do this.
I would claim that Lynx should not be a required build dependency for libXfont, in this day and age when most people are able to read doc/fontlib.html and moreover it appears none of what is generated is installed anywhere.
I suggest the following patch to discontinue generating the .txt version entirely.
diff -Naur libXfont-1.4.2.orig/Makefile.am libXfont-1.4.2/Makefile.am
--- libXfont-1.4.2.orig/Makefile.am 2010-06-23 07:18:18.000000000 -0400
+++ libXfont-1.4.2/Makefile.am 2010-06-23 14:19:06.000000000 -0400
@@ -60,14 +60,11 @@
if ENABLE_DEVEL_DOCS
if HAVE_XMLTO
-noinst_DATA = doc/fontlib.txt doc/fontlib.html $(srcdir)/doc/fontlib.css
+noinst_DATA = doc/fontlib.html $(srcdir)/doc/fontlib.css
if HAVE_FOP
noinst_DATA += doc/fontlib.pdf doc/fontlib.ps
endif
-CLEANFILES = doc/fontlib.txt doc/fontlib.html doc/fontlib.pdf doc/fontlib.ps
-
-doc/fontlib.txt: $(srcdir)/doc/fontlib.xml $(srcdir)/doc/fontlib.xsl
- $(AM_V_GEN)$(XMLTO) -m $(srcdir)/doc/fontlib.xsl -o doc txt $(srcdir)/doc/fontlib.xml
+CLEANFILES = doc/fontlib.html doc/fontlib.pdf doc/fontlib.ps
doc/fontlib.html: $(srcdir)/doc/fontlib.xml $(srcdir)/doc/fontlib.xsl
$(AM_V_GEN)$(XMLTO) -m $(srcdir)/doc/fontlib.xsl -o doc xhtml-nochunks $(srcdir)/doc/fontlib.xml
More information about the xorg
mailing list