Commit Graph
5 Commits
Author SHA1 Message Date
Karan Lyons 2fba8f1ac7 xmto: fix missing DTD/entities errors
`xmlto` forces the `--nonet` flag on `xsltproc`, which means it throws up an
I/O error whenever it needs to hit the network to pull down any files. So we
patch out the forced flag, and additionally add `docbook-xsl` as a dependency,
which'll reduce the odds of having to hit the network in the first place.

Fixes #21040.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-23 07:29:00 -07:00
Jack Nagel d4ee88a6f7 xmlto 0.0.25
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-20 22:48:45 -05:00
Jack Nagel fba3d905ee docbook: keep XML catalog inside HOMEBREW_PREFIX
Rather than download a shell script and tell users to run it with
`sudo`, it is better to keep everything under Homebrew's control.
Luckily, the XML toolchain provides the environment variable
XML_CATALOG_FILES to allow files otehr than /etc/xml/catalog to be used.

So remove the shell script, and do all the work inside the formula
itself. When we're done, we just tell the user to add
HOMEBREW_PREFIX/etc/xml/catalog to their shell configuration, rather
than tell them to `sudo docbook-register`.

Rather than download the shell script, just download docbook 5.0, which
we need anyway.

This also simplifies the logic in a handful of docbook-using formula.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-15 09:22:59 -06:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Martin Kühl bc2d426c88 New formula: xmlto
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-10 09:40:41 -07:00