Commit Graph
15 Commits
Author SHA1 Message Date
Jack Nagel b712c6a687 docbook: use resources 2013-09-17 21:29:56 -05:00
Peter Eisentraut 214e69d81c Split off docbook-xsl from docbook
These are separate packages developed by (somewhat) separate development
groups on different release cycles, so it makes more sense to have them
as separate packages.

Also take this opportunity to reduce some redundancies between the
docbook-xsl and docbook-xsl-ns formulae.

Closes #19313.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-24 21:44:03 -07:00
Peter Eisentraut 29d0e2a0be docbook: install wrapper script to call dbtoepub
Closes #18164.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-02 23:09:01 -06:00
Peter Eisentraut c7b2b60570 docbook: Update docbook-xsl and docbook-xsl-ns
Closes #17969.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-20 08:12:54 -08:00
Jack Nagel 554d0a9cca docbook: install catalog.xml for v4.1.2
Fixes #16717.
2012-12-24 12:52:08 -06:00
Mike McQuaid bf6ae3235d Fix subformulae sha1s. 2012-09-03 18:59:29 -07:00
Mike McQuaid 3c5ca25cad Batch convert MD5 formula to SHA1.
Closes #14653.
2012-09-03 11:36:42 -07:00
Joseph Bryan 0061792285 docbook: add namespace-aware stylesheets
Docbook 5.0 adds an XML namespace to the specification. The docbook-xsl
stylesheets are not namespace aware, and strip the namespace prior to
transforming XML. The docbook-xsl-ns stylesheets solve this issue.

Closes #14064.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-09 15:12:30 -07: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
Mike McQuaid 4d940a80c9 Upgrade docbook's docbook-xsl to 1.76.1. 2011-02-11 18:29:27 +00:00
Tianyi Cui 7871a99fe3 Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:14:27 -08:00
Michael Wild 2db9c4936c FIX: Install the epub docbook-xsl backend
Signed-off-by: Michael Wild <themiwi@users.sourceforge.net>
Signed-off-by: David Höppner <0xffea@gmail.com>
2010-09-04 16:32:47 +02:00
Adam Vandenberg d0efd9ee94 Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00
Martin Kühl 3f35a5721b New formula: docbook.
DocBook is XML. A lot of XML.
Unfortunately, to some people, it is still used by a lot of projects,
like git, to generate their documentation, and not all of these, like
everything except git, provide pre-built documentation for download.

This formula installs all currently released docbook-xml and the most
recent docbook-xsl package and stuffs them all in the Cellar. In
addition, a script is provided that registers all of these packages in
the global XML catalog, as noted in the caveats.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-03 09:29:54 -07:00