mu 0.9.8.4, adjust head, fix for xapian + emacs

* Upgrade mu to 0.9.8.4
* Use the new head url at GitHub
* Add conditional deps on automake+libtool for autoreconf
* Add `autoreconf -ivf` for building head
* Add a Requirement for emacs >= version 23
* Patch configure error when using Xapian-1.2.10

The mu developers moved their repo from Gitorious to GitHub.

The previous version of mu compiled without problems using the
Lion system `emacs`.  This version uses a command that is not
available in the system emacs-22.1.1, and the compile will fail
using clang or llvm with many errors like this:

    In toplevel form:
    mu4e-actions.el:30:1:Error: Unknown keyword :safe

So this commit adds a Requirement for emacs >= version 23.

For building head add conditional deps on automake and libtool.
Also add the `autoreconf -ivf` system command for head.

Stable fails to configure against xapian-1.2.10 because it only
tests for version 1.2.[0-9].  Patch configure to support the
latest xapian.  Add comments referring to the upstream bug report,
patch, and removal version.  The issue has been fixed in HEAD.

Tested against the new xapian-1.2.10 on Lion 10.7.4 using clang
and llvm from XCode-4.3.2, both stable and HEAD.

Closes #12167.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
log4cxx: fix compile error with clang using autogen.sh

log4cxx building universal fails to link because the software uses
old libtool scripts that craft one compile command missing both
of the arch flags.

* Add conditional deps on automake & libtool
* Add a system call to `autogen.sh` to update the scripts
* Note in comments the upstream bug report.
* Tested on Lion 10.7.4 with clang and llvm.

Fixes #12127.
Closes #12211.

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

Upgrade appswitch to version 1.1.1 which has changes for Lion.
This software has only one 22k source file, but it now needs a
full XCode and xcodebuild to compile it.  Luckily the developer
includes a precompiled binary in the source tarball.  So this
commit just installs that, allowing CLT only users to run it.

Fixes #12198.
Closes #12212.

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

Upgrade gauche to version 0.9.3.2 and remove the unrecognized
`--disable-debug` flag.  Gauche will build against gdbm-1.10
if it is installed, usually as a dep of Python, but it's optional.
Gauche builds just fine without it.

Closes #12218.

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

* Upgrade mathomatic to version 15.8.4
* Switch from `make install` to `make m4install`
* Add a `make` in the primes subdirectory

By switching to `make m4install` we get everything in the previous
formula plus the m4 macros "which allow easy entry of math
functions like sqrt(x) and sin(x) as macros."

By adding `make` in the primes subdirectory we get the Mathomatic
prime number tools, `matho-primes`.

Changelog is here: http://www.mathomatic.org/NEWS

Mathomatic runs, and testing it by doing simple math is successful
when it's built with clang or llvm from XCode-4.3.2 on Lion.

Closes #12219.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
avidemux: fix failing inreplace

The two inreplaces that add an RPATH to the x264 and xvid dylibs
are not meant to run unless the Qt gui is built.  The conditional
that stops them from running was not coded correctly.  This commit
changes the conditional to only run the inreplaces if Qt4 is
installed using `linked_keg.exist?`.

Fixes an issue reported in #12051

Closes #12213.

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