Building feh without PREFIX=... leads to errors about missing fonts,
since the builtin font paths are hardcoded relative to the PREFIX.
The prefix must be supplied during build, and perhaps during install
(which must be done separately since there is no build dependency on
installation).
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Apparently OS X doesn't include the PCRE headers, which szl's configure
looks for, even though it ends up linking against the system PCRE dylib.
See nginx for similar behavior.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This broke the build for a lot of people, and since nothing of import
explicitly requires a universal build, I think it's best to just revert
it for now.
Though I would really like to get GMP building universal eventually, so
patches welcome.
This reverts commit c0b2528a705891af3f1be9bc33397a334c903655.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
By depending on libsndfile, SoX gains the ability to read and write
CAF (Core Audio Format) files, just like the afconvert command-line
utility. CAF is the preferred uncompressed audio file format on iOS
platforms.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The patch is in the upstream git repository, so it should be in the next
version. FixesHomebrew/homebrew#6606.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The upstream libstemmer project constantly changes the contents of the
tarball, so doing checksum verification isn't feasible unless we want to
be updating the formula constantly. Thus, use a head-only sub-formula
without a checksum.
Rather than make it an option, I've just set it to always build with
libstemmer per Homebrew/homebrew#5730. We can always add the option later if it's
necessary.
Includes an unrelated fix to put the var directory in
HOMEBREW_PREFIX/var.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
bdw-gc fails with LLVM build 2335, but stklos shouldn't fail at all
anymore since bdw-gc is now an explicit dependency instead of being
built internally.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This adds 'bdw-gc' as a dependency and fixes compilation on systems
where ucontext is deprecated. We could just duplicate the fix here, but
listing it as a dependency instead also avoids a symlink race for the
bdw-gc libraries.
Should fixHomebrew/homebrew#7423, for real this time.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The gtest-config script tries to be clever in determining its install
location, but Homebrew's cellar/prefix and symlinks confuse it. This
works around the 'cleverness' by lying to gtest-config.
FixesHomebrew/homebrew#7009.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This includes a patch by @adamv to fix a silly environ/NSGetEnviron
issue, and an additional fix to get the linker to find glib and eventlog
symbols.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
* Install the Mogenerator default templates & provide instructions for
copying them into "~/Library/Application Support/mogenerator".
* Force the use of Clang.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit also streamlines the installation process due to changes in
dependencies and contains a fix for Lion BLAS issues.
ClosesHomebrew/homebrew#6649.
Issue Homebrew/homebrew#2950 mentions that the C++ lib was disabled because it caused LLVM
builds to fail. GraphicsMagick has since been flagged as `fails_with_llvm` so
this is a moot point and the increase in build time is negligible. A
`--without-magick-plus-plus` option has been added in case people want a lean
build.
Also removed ENV.O3 since it is pointless when `fails_with_llvm` is in effect.
Fix install when user has configured Xcode's SYMROOT setting to
point to a custom location instead of the default.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Nettle is yet another crypto library. The GnuTLS 3.x series requires it.
Includes an alias for 'libnettle'.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This is required to build a universal nettle, which is a new library
that is in turn required for the new GnuTLS 3.x series.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
From the Liquibase website: Liquibase is an open source (Apache 2.0 Licensed),
database-independent library for tracking, managing and applying database
changes. It is built on a simple premise: All database changes are stored in
a human readable yet trackable form and checked into source control.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Dfu-util is the host side implementation of the DFU 1.0 specification of
the USB forum. DFU is intended to download and upload firmware to
devices connected over USB. It ranges from small devices like micro-
controller boards up to mobile phones. Also used with the Maple
development board and other open source hardware platforms.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
On Snow Leopard running a 64 bit OS the Botan configure script will
attempt to build a 32 bit binary using a compiler that can support 64
bit, we have to explicitly state that we want to have 64 bit library
built.
Unfortunately there is no way to build a universal library/binary for
Botan as it currently stands.
This is an oversight on my part, it works without issues on Lion where
it picks up the fact that it is a 64 bit OS correctly and compiles
without issues.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
The bash-completion that is installed from head has an entirely new
directory structure. I believe it has some measure of backwards
compatibility in that it will find completion scripts in the old
location, but users still have to source a different file to get it to
actually work, so the caveats have been updated to reflect that.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Cfengine is a configuration-management and automation tool.
This formula uses tokyo-cabinet because cfengine does not compile
cleanly with the Mac OSX-included Berkeley DB.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This package aims to provide the list of the country and
language (and currency) names in one place, rather than
repeated in many programs.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This is libmagic, nobody wants the file command. If they do, they can make a new formula. Though in that case it would be a dupe and we wouldn't want it.
FixesHomebrew/homebrew#7280.
ClosesHomebrew/homebrew#7299.
Signed-off-by: Max Howell <max@methylblue.com>
We'll bottle anything that takes ages to build and that is just "infrastructure".
Not sure how I failed so badly at logic. This should be rewritten so that the build info has a tested MacOS version too. However it seems unlikely that the same LLVM versions on different platforms would have different compile errors. So we'll risk it, and it'll be informative for us too.
The md5sha1sum configure script looks in PREFIX (/usr/local by default)
to see if there are existing md5sum and sha1sum binaries, and adds the
prefix 'ub' to its own binaries if it finds them. This breaks
compatibility with sloccount, which depends on this specific md5
package. Fix it by passing '--prefix=#{prefix}' to configure.
They will override existing md5sum and sha1sum binaries when linked into
the prefix, but some measure of responsibility has to be on the user.
FixesHomebrew/homebrew#5472.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
ffmpeg compilation broke against ffmpeg 0.7; this patch from the
official sox git repo lets it build against the version we use. The
patch should be able to be removed in the next version.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
IPopt is an interior-point solver for non-linear optimization problems. part of
the COIN-OR project.
ClosesHomebrew/homebrew#5856.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Although other loadable lua modules (such as those from luarocks)
should not link against even a dynamic liblua and tie themselves
to a particular release and runtime (e.g. breaking luajit capability):
Having a statically linked non-pic liblua in the lua binary can
and does cause hard to track memory allocation failure aborts due
to some minutae of the way '-bundle -undefined dynamic_lookup' objects
dlopened by the interpreter interact with the symbols resolved in
the static binary. The solution is to always build and install
liblua.dylib.
It appears that this issue is confined to Snow Leopard and/or the
version of gcc it ships with. This thread on the lua list contains
the explanation and patch:
http://lua-users.org/lists/lua-l/2009-10/msg00145.html
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
QFits is a library written in C for accessing FITS image files.
ClosesHomebrew/homebrew#7270.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
We hardlink pythonw and pythonw2.7 to python and python2.7 respectively.
They may be used by 3rd party tools (like PyQt4) and, for some reason, python's
install script doesn't provide them when doing a non-framework install.
The man page (which comes with Mac OS X) on pythonw reads:
As of Python 2.5, python and pythonw are interchangeable; both execute
Python in the context of an application bundle, which means they have access
to the Graphical User Interface; thus both can, when properly programmed,
display windows, dialogs, etc.
See also this discussion https://github.com/mxcl/homebrew/issues/6176.
Hardlinks are placed in the same directory in which python and python2.7 reside
in order to be symlinked to /usr/local/bin as part of the installation process.
This also ensures a clean uninstall of the formula.
ClosesHomebrew/homebrew#6248.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Rationale: the libraries provided by lzma are provided by the xz
package, so installing both results in a race. Any package that requires
liblzma can get it from xz, which is where new development is taking
place.
The lzma formula is now available in Homebrew-alt.
ClosesHomebrew/homebrew#6753.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The lzma package is legacy software (the developer has moved on to
XZutils), so we should use the xz formula to get liblzma.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Does not build mac or GTK user interfaces; GTK makes no sense
for most people and anyone who wants the Mac UI can just go
download the .app from the website.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Apple's version is quite out of date. There's no version number but man unifdef
says it's from 2002. Version 2.6 shipped in February of this year. Some
software like Gevent(.org) won't compile with the devtools version of unifdef.
ClosesHomebrew/homebrew#7283.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
`bbcp` is a remote-copy tool that can transfer large files more efficiently than
`scp` or `rsync` when lots of bandwidth is available.
ClosesHomebrew/homebrew#7214.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
GGobi is a tool for visualizing trends in datasets with high dimensionality.
ClosesHomebrew/homebrew#7291.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Ending `def caveats` with `puts <<-EOS` causes text to be printed whenever the
formula is imported (which confuses the output of things like `brew audit`). A
plain `<<-EOS` should be used.
ClosesHomebrew/homebrew#7303.
Added the option --with-examples to the cfitsio formula, that downloads,
compiles and installs some useful programs, like listhead, modhead, etc.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Created a formula for flann because it's a required dependency for
PCL (Point Cloud Library), which I'm hoping to add to homebrew.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Spiped is a utility for creating symmetrically encrypted and
authenticated pipes between socket addresses, so that one may connect
to one address (e.g., a UNIX socket on localhost) and transparently
have a connection established to another address (e.g., a UNIX socket
on a different system). This is similar to 'ssh -L' functionality, but
does not use SSH and requires a pre-shared symmetric key.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Rationale: the LZMA toolkit was deprecated by its author, who now
maintains XZUtils. XZ includes liblzma; most other package managers use
this version for Tarsnap (even MacPorts!).
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Asymptote needs a serialized `make install` or else things fail due to race
conditions.
Also, altered installation so that TeX packages are no long installed to texmf
trees outside of the Asymptote keg---notably:
/usr/local/texlive/<dist_year>/texmf-local
~/Library/texmf
All packages are now installed to HOMEBREW_PREFIX/share/texmf and instructions
for adding this directory to the TeX search path are given in the caveats.
Our patches to cdparanoia mean that it doesn't build cleanly against
software that expects the standard Linux version. Keeping those libs
around in /usr/local/lib is a problem waiting to happen.
ClosesHomebrew/homebrew#7228.
Signed-off-by: Max Howell <max@methylblue.com>
The old formula would not generate Makefile correctly if the user configures the system
to use Qt toolchains from Nokia.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Corrected the site-packages paths for pyside and pyside-tools to agree with
python's formula.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
To be consistent. And prettier. Even though now I feel it's excessive, we started so must finish.
Apologies I didn't do this as part of the initial commit.
DF is in a bit of a flux it'd appear, the sh script that is the main entry point on OSX is a tiny bit batty, so... if what I ended up doing is nonideal please let me know how to change it.
With Lion fix.
ClosesHomebrew/homebrew#7096.
Signed-off-by: Max Howell <max@methylblue.com>
Removed SDL directory too.
Deprecated use_clang? etc. since the logic was such that multiple states could be set, when in reality only one compiler can be set.
Changed fails_with_llvm handling so if HOMEBREW_USE_LLVM is set then it tries to build even if the formula has fails_with_llvm set. Rationale: mostly they will no longer fail and we need to catch these cases.
PySide is a set of LGPL-licensed Python bindings for the Qt libraries that is
mostly compatible with PyQt.
This formula builds the Python run-time modules. For development tools such as
Qt UI and Resource compilers, see the PySideTools formula.
GeneratorRunner is a library and set of tools for building binding generators
for C++ libraries. GeneratorRunner is used by Shiboken to build the PySide
Python bindings for Qt.
APIExtractor is a library for recovering Qt API information by parsing header
files. APIExtractor is used by Shiboken, the generator that produces the PySide
Python bindings for Qt.
This reverts commit 32dfc2dfd7a2dcf1c2c1552cfe383af655592682.
Formula installs files outside of the Homebrew prefix, specifically to
`~/.emacs.d/auctex`.
Apparently Lion ships with libpng 1.5, which breaks compilation of libharu 2.2.1. Applied patch to fix it before next release.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
- Compilation hangs with LLVM.
- Homebrew/homebrew#4693 claims it was due to SSE2 but even w/o it still hangs.
- add 'fails_with_llvm'
- bring back '--enable-sse2'
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Add ENV.deparallelize because this build no longer seems to build in
parallel. Also add an alias for the alternate spelling 'mediainfo'
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Rationale: There's two things that make my Macbook Air fan spin up. Flash videos and building CMake. God I hate this bloated pile of crap. And I always `brew rm cmake` after installing something that misguidedly decided to use a CMake build system. So bottling it is an easier life for everyone.
There's an annoying hardcoded key combination (Ctrl+Shift) that starts ISO 14755
mode for i18n support. Given the ubiquity of UTF-8, this mode is largely useless
and can only be disabled with a command-line option. A simple search on google
shows how many people find this annoying:
http://www.google.com/search?q=disable+iso14755&oq=disable+iso14755
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Clean XCode 4.x installs (i.e., not on top of an existing XCode 3.2.x
installation) do not include Perl MakeMaker.
Tentatively fixesHomebrew/homebrew#7091.
GRASS 6.4.1 is currently not compatible with FFmpeg 0.8. Removing the
dependency until GRASS is updated.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>