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>
bdw-gc: apply patch to fix Makefile issue

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
libvpx: fix build on 64-bit

Fixes #8163.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
mcabber: fixes for autogen.sh

Define a couple of variables to help --HEAD run autogen.sh and locate
our m4 macros.  Adds a Dir.chdir for HEAD, and a depend_on libotr,
otherwise configure will choke once you generate it and run it.  Adds a
caveat to inform the user how to setup their .mcabberrc configuration
file.  This compiles on Lion and Snow Lep with all five compilers,
either stable or head.

Changes --enable-otr from an option to being the default.

Closes #10174.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Monotone: use an in-keg botan 1.8

Monotone does not build against botan 1.10.x, so we need to build an
ad-hoc botan 1.8 in the Monotone keg.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Monotone: builds with LLVM >= 2335

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
boost: builds with latest LLVM

To be safe (because this is an important dep), mark 2335 as the failure
point since a 2335.x shipped with older Xcode. Given that Clang 2.1 is
one of Boost's test compilers, current Xcode compilers should be fine.
And most users will get the bottle, anyway.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
dwarf-fortress 0.34.01

Also removes the patch which is no longer necessary.
more stringent auditing of checksums

Closes #10213.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
audit: only look for empty checksums once

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Fix broken checksums

Both of these were picked up by the checks added in 641d22f. While
lowercase is the convention used across Homebrew, I wonder if the audit
check should be more forgiving; after all, uppercase letters are valid.
And the checksum validation code does an uppercase comparison.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
fetch: compare checksums case-insensitively

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
audit: warn about correct empty checksum type

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
sip & pyqt: Now use lib/pythonX.Y/site-packages

Benefit: For brewed Python, adding stuff to the PYTHONPATH is no longer needed.
For other Pythons nothing changes but the X.Y part in the path. Oh, and you
only need to edit your PYTHONPATH once.

- Added a method to get the major.minor version number from the current python
- Updated the caveats to reflect the new path

Fixes #8182.
Closes #10051.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
GDAL: Install bindings to pythonX.Y/site-packages
qcachegrind: Update to 0.7.1

No longer dependent on qt3 compatibility modules.

Closes #10205.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Support Xcode 4.3 xcode-select being wrong

I installed Xcode 4.3 and xcode-select is wrong, so this will fix it for most users.
pcre: add mirror

Signed-off-by: Jack Nagel <jacknagel@gmail.com>