The `mkoctfile` tool, used to compile Octave packages, does not understand
`-framework <foo>`. Therefore, `-Wl,-framework -Wl,<foo>` must be used.
FixesHomebrew/homebrew#12229.
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 Homebrew/homebrew#12051ClosesHomebrew/homebrew#12213.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
* 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.
ClosesHomebrew/homebrew#12219.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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.
ClosesHomebrew/homebrew#12218.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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.
FixesHomebrew/homebrew#12198.
ClosesHomebrew/homebrew#12212.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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.
FixesHomebrew/homebrew#12127.
ClosesHomebrew/homebrew#12211.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
* 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.
ClosesHomebrew/homebrew#12167.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrage gtkwave to version 3.3.36 and remove the `--mandir` flag
because it uses the right directory now. It apparently cannot
build its tcl support against the Lion tcl-8.5. But if the user
has a newer tcl installed it could; therefore, the tcl code is
not explicitly disabled in this commit, even though it gives a
warning that it won't work:
checking for Tcl_CreateInterp in -ltcl8.5... no
configure: WARNING:
Tcl support not enabled.
There are no self tests, but the `gtkwave` binary runs and brings
up its gui when compiled with clang and llvm from XCode-4.3.2.
ClosesHomebrew/homebrew#12175.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Libdnet is used by snort, but the manual autoreconf statements
cause a build error on Lion. This is likely due to some subtle
changes in autoconf-2.69.
* Remove manual autotools statements.
* Set `ACLOCAL` to include the `config` directory.
* Use `autoreconf -ivf` the way the `autoconf` docs recommend.
* Remove the unrecognized `--disable-debug` flag.
This compiles with or without the `--with-python` flag, and it
functions well in `snort` using all five compilers from XCode
4.3.2 and 4.0.2 on Lion and Snow Leopard. It's interesting to
see software from 2007 build the python bindings and install
them into the HB site-packages correctly.
FixesHomebrew/homebrew#12174
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade simh to version 3.9-0.
Add fails_with :clang.
Adjust inreplace because of a modified makefile.
Simh will be moving its development to GitHub after 3.9-0.
The new webiste is noted in the comments. Over there you can
see from the commits that they are supporting Clang. At
this time, though, the whole makefile is very closely tied to
gcc or llvm-gcc because it queries the `--help` to determine
which flags to add to the compile commands. To respect that,
and to avoid the dozen warnings from clang at every step,
a fails_with :clang is added along with a note to remove it at
the next revision. The two `inreplace` commands need to be
modified because the makefile changed a lot. This compiles on
Lion with XCode-4.3.2.
ClosesHomebrew/homebrew#12121.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
* Upgrade mpg123 to 1.14.0.
* Remove skip clean. Use --with-module-suffix=.so instead.
* Remove --with-audio list. It builds coreaudio, openal, dummy.
* Remove LDFLAGS inreplace that added read-only-relocs,suppress.
Mpg123 builds output modules using the .so suffix by default.
So let it load them with that name. Tested by playing mp3s.
Also let it build the modules it wants to build. Someone
may desire that functionality. The read-only-relocs inreplace
was removed because that is not valid on x86_64. It generates
warnings. @mxcl asked in a comment why it was there.
It may be needed for 32bit SL or Leopard. There was nothing
in the history or past issues that explained adding that.
The `--with-cpu` flags are still needed.
This compiles on Lion with clang and llvm from XCode-4.3.2.
ClosesHomebrew/homebrew#12149.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade movgrab to version 1.1.10. Adjust the patch line number
which was off by a bit. Adjust the comments and commands to fall
within the 80 character margins. Add info about the upstream bug
report status.
ClosesHomebrew/homebrew#12152.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade newlisp to version 10.4.3. Rapid bugfix release.
It passes its `def test` compiled with clang or llvm on Lion.
ClosesHomebrew/homebrew#12150.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade glib to version 2.32.2. Note in comments bugreport status.
Remove `fails_with :clang` because it works with mc.
There were just a few bugfixes in the changelog for 2.32.2
including one to the gdatetime tests, which get further before
they fail. Tested glib by building pango and running its def test
and by running mc for a while.
[jn: use localstatedir]
ClosesHomebrew/homebrew#12116.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This is the configure default, but may as well make it explicit. Without this
functionality any library which builds on top of SQLite, such as SpatiaLite,
won't work.
Upgrade ffmpeg to version 0.10.3 which includes many security
fixes and bugfixes. The changelog can be seen in their git repo
under the 0.10.3 tag, tree view, raw link to Changelog.
This still fails with llvm on Lion with undefined symbols. Using
clang all the the tools and ffplay compile and display an mkv
with sound using sdl.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
The gs formula stopped working after libtiff was upgraded to 4.0.1.
It gives an error `no rule to make target obj/libtiff_.dev`.
Add the `--with-system-libtiff` flag so it compiles against 4.0.1.
Remove the `--disable-debug` flag, which is not a valid option.
Add deps on little-cms2 and jbig2dec and
Add `lcms2` and `jbig2dec` to the `renames` variable so that gs
will properly link against those two libraries that many people
already have installed who deal with images frequently. Without
those additions on systems with `lcms2` and `jbig2dec` installed,
`configure` will find them but not link correctly against them.
`autogen.sh` automatically calls configure and warns the user
that it is running configure with no args, explaining how to put
the args after `autogen.sh` if args are desired. Do that for
head builds. It is proper and saves configure from being run twice
when brewing head.
FixesHomebrew/homebrew#12098
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade cfengine to version 3.3.1. Tested on Lion with XCode-4.3.2
using clang and llvm-gcc, where it passes its def test.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Imagemagick-6.7.x uses libxml2, but Apple changed the file
`xml2-config` starting in Mt. Lion, removing the `--prefix` flag.
That breaks Imagemagick, which uses it to find the library.
Because all versions of OSX have libxml2 in the same location,
this commit is safe for all users.
* Patch `configure` to not run `xml2-config --prefix` by placing
the value it returns, `/usr`, into the corresonding variable.
FixesHomebrew/homebrew#11789.
ClosesHomebrew/homebrew#11883.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Ammend links for freexl, libspatialite, librasterlite, libgaiagraphics and
spatialite-tools to point at the archives rather than the front page.
The front page link breaks when new releases are made.
Subversion will fail with clang when it queries the compiler
used to build system Python and finds it is llvm-gcc. It then
uses the clang cflags with llvm-gcc to compile the python bindings
which causes the usual unknown `-march=native` flag issue.
Pre-define the configure variable `ac_cv_python_compile` as ENV.cc
FixesHomebrew/homebrew#10914.
ClosesHomebrew/homebrew#12059.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade libtiff to version 4.0.1.
Add ENV.x11 so it can find GL/gl.h.
Remove the apple-opengl flag. It doesn't exist and is the default.
Remove the mandir flag. It gets the directory correct.
Libtiff-4.0.1 is the new stable version. Testing was done by
building several programs that use it, including lcms, lcms2,
gdk-pixbuf, imagemagick, openjpeg, and openimageio. Runtime tests
using the oiio testsuite and imagemagick's identify confirm the
library's functionality.
ClosesHomebrew/homebrew#12029.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Add patch to mapnik.rb to use an absolute path into site-packages
rather than a relative path in the file `paths.py`. The upstream
bug report is noted in the formula comments and is where the patch
offered by the developer came from.
FixesHomebrew/homebrew#12026.
ClosesHomebrew/homebrew#12043.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Add build time dep on pkg-config that it uses.
Remove `--disable-debug`, which is not a valid option.
Remove option to enable MacOS Keyring. It is the default.
Compiles with clang and llvm-gcc from XCode-4.3.2.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
When referencing `Hardware.processor_count`, `ENV.make_jobs` will return an
integer. If referencing the environment variable `HOMEBREW_MAKE_JOBS`, it
returned a string.
Now, the function always returns an integer.
FixesHomebrew/homebrew#12033.
The zsh-completion path in the caveat was missing the
`share` directory component.
ClosesHomebrew/homebrew#12035.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
ffmpeg when built as head checks if x264 is installed using
`Formula.factory.installed?` that won't find x264 stable as it looks for a HEAD
build. Switch from `.installed?` to `linked_keg.exist?` for all dependencies
as this will find them whether they are installed as head or stable.
FixesHomebrew/homebrew#11996.
ClosesHomebrew/homebrew#12020.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
`_autojump` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.
Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted. `site-functions` can change during a zsh
process's lifetime.
This will enable homebrew's zsh to automatically use the completion.
See issue Homebrew/homebrew#11936 for details.
ClosesHomebrew/homebrew#11942.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
`_git-flow` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.
Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted. `site-functions` can change during a zsh
process's lifetime.
This will enable homebrew's zsh to automatically use the completion.
See issue Homebrew/homebrew#11936 for details.
ClosesHomebrew/homebrew#11941.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
`_git-now` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.
Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted. `site-functions` can change during a zsh
process's lifetime.
This will enable homebrew's zsh to automatically use the completion.
See issue Homebrew/homebrew#11936 for details.
ClosesHomebrew/homebrew#11940.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
`_task` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.
Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted. `site-functions` can change during a zsh
process's lifetime.
ClosesHomebrew/homebrew#11939.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
`_hub` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.
Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted. `site-functions` can change during a zsh
process's lifetime.
ClosesHomebrew/homebrew#11938.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
`_ack` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.
Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted. `site-functions` can change during a zsh
process's lifetime.
ClosesHomebrew/homebrew#11937.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This fixes the `site-scripts` and `site-functions` directories
so that zsh points to the HOMEBREW_PREFIX version of these files
instead of the Cellar version.
This means you can drop files in these directories and the files
will persist when you upgrade zsh. Otherwise they disappear when
you upgrade zsh.
ClosesHomebrew/homebrew#11955.
[jn: mkpath everything under share/zsh]
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The current series of fetch invocations in GitDownloadStrategy has the
unfortunate behavior of fetching full history even in shallow clones
that only need the history between the clone point and the remote HEAD.
It should be possible to determine if it is actually necessary to fetch
the full history, including all tags, and if it is not to avoid this
overhead.
FixesHomebrew/homebrew#11958, and several other recurring problems.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
GIT_DIR is convenient, but it does not work when both a formula and
subformula try to stage a git checkout, as git will use the main
formula's repository when staging the subformula.
Stop setting it, and restore the kludge to the git-multipush formula.
FixesHomebrew/homebrew#10893.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Avidemux-2.5.6 had its one patch merged upstream the day this
formula was accepted. That was hoped for but unexpected. This
commit adjusts the conditional for def patches so that it only
gets applied to stable. Fixes a patch failure for 32bit + HEAD.
Also in this commit, remove the hardcoded `ENV.llvm` and switch
to using `fails_with :clang`, surrounded by a conditional so it
can still be built with clang if `--with-debug`.
ClosesHomebrew/homebrew#11959.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
New website, and new maintainer.
fping has been mothballed since 2002. A new maintainer has taken
over this project, set up a new website, fping.org, and committed
the project on GitHub.
Change homepage.
Upgrade to version 3.1
Add head url on GitHub
Remove `--man` because it uses a modern configure that works.
Add caveat about this software needing to be owned by root
and run as root or with the setuid bit set. An issue is open
with the developer to see if there is a workaround for that.
ClosesHomebrew/homebrew#11931.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
* Upgrade wkhtmltopdf to version 0.11.0_rc1
* Adjust existing inreplace because the file has a different name.
* Fix compile error when 64bit Qt4 doesn't have i386 symbols by
using inreplace to set the qmake build as 64bit, not universal.
* Use `qmake -spec macx-g++` to configure it, from Sharpie.
* Temporarily set DYLD_LIBRARY_PATH to help the binaries find
libwkhtmltopdf.0.dylib for generating the man pages.
* Adjust command to generate man page, as wkhtmltopdf is in bin.
* Add command to generate man page for wkhtmltoimage.
* Add command to install wkhtmltoimage.
* Add command to install wkhtmltoimage.1 into man1.
* Add command to install all libraries.
Built and tested by converting a url to pdf on Lion and 64bit SL
using all five compilers from XCode-4.3.2 and 4.0.2.
FixesHomebrew/homebrew#9265
Signed-off-by: Adam Vandenberg <flangy@gmail.com>