Commit Graph
20799 Commits
Author SHA1 Message Date
Jack Nagel f82b9ae644 libmp3splt: needs libtool everywhere, apparently
Closes #14533.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 16:41:22 -05:00
Jack Nagel 0ea83ca0ac ocaml: depends on X11
Discovered by superenv, which removes explicitly removes X11 paths, and
needs this to add them back.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 16:38:21 -05:00
Paul Mucur ff5ca47ffe New formula: mlxcc
Closes #12272.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 16:08:56 -05:00
Jack Nagel 6f1c1b96f7 tests: support "rake rcov" if rcov is installed
If the rcov gem is installed, `rake rcov` will generate a test coverage
report in the coverage directory.

I picked rcov because it is 1.8 compatible. But it could easily be
swapped out for another coverage tool.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 15:56:36 -05:00
Jack Nagel 67108d402f tests: adjust expectations for 'opt' directory
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 15:37:58 -05:00
Max Howell 92a4981541 Display skip-clean warning only before clean
Not anytime the formula loads.
2012-08-29 15:43:28 -04:00
Max Howell a96686ab33 Warn about removed warnings less shockingly
The problem here now is though that the warnings only appear when compiling verbosely. But they should thus be visible if the build fails. Or if people are hunting for problems.
2012-08-29 15:19:42 -04:00
Max Howell 45aef5a812 Fixes #14528; undefined vars.
Due to copy/pasta.
2012-08-29 14:54:07 -04:00
Max Howell 340a293b0e Typo
Not sure how I forgot to test that.
2012-08-29 14:52:00 -04:00
Max Howell 7857453ac4 Don't fail pre-Xcode 4.3
Refs #14392.
2012-08-29 14:49:03 -04:00
Max Howell f60875189d Don't use full paths to tools anymore
xcwoclt doesn't have /usr/bin/ar, and superenv ensures that PATHs are in a good order so that our tools are used.

std-env may break… but I can fix this by massaging std-env's paths. I want to keep std-env around. It's the traditional route.
2012-08-29 14:45:05 -04:00
Max Howell 6c21f8dc16 Use fortran from std-env in superenv
Fixes #14524.
2012-08-29 14:45:04 -04:00
Max Howell 888e89f6a6 Deprecate skip_clean :all
This was mostly used to prevent stripping. Now we don't strip. Force formula to remove this setting or be more specific about folders they don't want pruned.
2012-08-29 14:45:04 -04:00
Kenn Knowles d751d6cc48 coq: Do not pass -arch to ./configure
Closes #14526.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-29 11:01:23 -07:00
Stepan Koltsov 9b21aead68 abcmidi 2012-08-08
abcMIDI is a package of programs developed by James Allwright for
processing ABC music notation files. It consists of several programs:
abc2midi, abc2abc, yaps, and midi2abc.

Closes #12928.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-29 10:57:30 -07:00
Shaun Jackman 595e620381 BWA 0.6.2
Closes #13009.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-29 10:38:16 -07:00
Lior Shiponi 704e694943 recoverjpeg 2.1.1
Closes #12395.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-29 10:14:35 -07:00
Adam Vandenberg f83cad0362 Homebrew 0.9.3 for superenv 2012-08-29 10:08:46 -07:00
Nicolas Brousse fde3b5bd5a sflowtool 3.27
Closes #12570.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-29 09:47:01 -07:00
Max Howell 15efd32835 brew sh: a shell with superenv loaded
If you need to build software on OS X by hand, a brew shell is the way to do it.

Closes #14381.
2012-08-29 12:41:38 -04:00
Max Howell 3a35b5208e superenv only adds X11 paths if required
Since we are moving towards only depending on X11 for X-headers, superenv now doesn't automatically add X11 compilation. I was reluctant to do this, but it is the right thing to do now that X11 is not automatically installed by OS X or Xcode.

I didn't implement ENV.x11 because the order that the X headers are inserted is important. It must be done at initial setup to ensure that brewed versions of e.g. freetype and Cairo are used and not the ones installed by XQuartz.
2012-08-29 12:41:37 -04:00
Max Howell 7a0802ef6e Doctor suggest git clean -f if unstaged files
This is safe, I tested various scenarios, including Homebrew installed in ~. The only files that are removed are unexpected files in Homebrew's already managed directories.
2012-08-29 12:41:37 -04:00
Max Howell 6fca47ae5f Warn user if they set CFLAGS, etc. with superenv
Since we remove some CFLAGS under their noses, this would otherwise be quite confusing.

Notably, this will now trigger in numerous formula. Sucks.
2012-08-29 12:41:37 -04:00
Max Howell 5e13bc0bbf Speed up brew instantiation
Adding MacOS.dev_tools_path to our PATH was slow. We no longer need to do this because of the previous commit making a script wrapper for git and svn. It was slow because the function calls out to lots of slow utilities to determine this path.
2012-08-29 12:41:36 -04:00
Max Howell 025e84d548 Always find git and svn without trying hard
Two wrapper scripts that find git and svn using the ENV variables we support and then searching through the PATH and looking inside Xcode.app if necessary.

Now just calling git or svn in Homebrew code will find and exec the right tool and we can stop fussing.

Apologies to @adamv who is probably unimpressed that the cmds directory has non-commands in it now. If it's consolation these are temporary pending some more work on superenv whereby some more directories are created under the superenv root.
2012-08-29 12:41:36 -04:00
Max Howell 7116a5bd3d Attempt to fix opt link if absent
This is mainly to prevent errors when users for the transitionary period where most installed kegs do not have an opt link.
2012-08-29 12:41:36 -04:00
Max Howell 1392cd40f8 Ensure mktemp cleans up after itself
Ignore interrupts.
2012-08-29 12:41:36 -04:00
Max Howell a72397ca8f If installed but not linked, say so
Rationale: if ack is unlinked but installed, typing ack does nothing, but then user tries to install and it says it is already installed. What gives? The user thinks.

Formula ending up unlinked can happen due to failures during the link phase and we recommend unlinking formula for conflicts. So common enough to justify this amendment.
2012-08-29 12:41:35 -04:00
Max Howell b1dc03861e Much better CTRL-C handling
Let's not show weird error messages when user interrupts during various stages of brew initialization.

Tested by doing `for x in $(brew search); do brew install $x; done` and pressing CTRL-C at random short intervals.
2012-08-29 12:41:35 -04:00
Max Howell f4f5994dc4 Allow eg. brew --env libxml2
Example useful usage:

    eval $(brew --env gettext) && clang -Wl,-t -lssl 2>/dev/null
2012-08-29 12:41:35 -04:00
Max Howell 7206febe53 Superenv wrapper for sed
Fixes Mountain Lion specific sed issue.

Provided scripts don't use the full-path to see we are fine. They never do though, that would assume too much.
2012-08-29 12:41:35 -04:00
Max Howell 8e55e5eabc Support HOMEBREW_MAKE_JOBS 2012-08-29 12:41:34 -04:00
Max Howell 74bdd04729 Force --env=std for stuff using scons, etc.
Python et al, require stdenv because otherwise pip, gem, etc. don't work. Can be fixed, just I'm not doing it now.

We want a DSL to do this but I couldn't be bothered to make that work etc. I want to commit. Apologies.
2012-08-29 12:41:34 -04:00
Max Howell 59736fb537 superenv: build-environments that just work
1. A minimal build environment, we don't set CFLAGS, CPPFLAGS, LDFLAGS, etc. the rationale being, the less that is set, the less variables we are introducing that can break builds.
2. A set of scripts that replace cc, ld, etc. and inject the -I, -L, etc. flags we need into the args passed to the build-tools.

Because we now have complete control over compiler instantiations we do a variety of clean-up tasks, like removing bad flags, enforcing universal builds and ensuring makefiles don't try to change the order of library and include paths from ones that work to ones that don't.

The previous ENV-system is still available when --env=std is specified.

superenv applies to Xcode >= 4.3 only currently.
2012-08-29 12:41:34 -04:00
Max Howell 4d92a605eb Use opt paths in keg-only messages 2012-08-29 12:41:34 -04:00
Max Howell 1a1bcbeaa8 Figure out if we can cleanup keg-only kegs 2012-08-29 12:41:33 -04:00
Max Howell 0c74cd92cf Create active symlinks for installed formula
Similar to the LinkedKegs record, we write a symlink for installed kegs to PREFIX/opt.

Unlike the linked-keg record, unlinking doesn't remove the link, only uninstalling, and keg-only formula have a record too.

The reason for this addition is so that formula that depend on keg-only formula can build against the opt directory and not the cellar keg. Thus surviving upgrades.

To enforce this fix_install_names and built were adapted to use the opt path.

Standard kegs also create an opt symlink so that caveats can now refer to the opt directory and thus provide steps that survive upgrades too.

Thus the choice of /opt. It is short, neat and the right choice: POSIX dictates that opt is for stand-alone prefixes of software.
2012-08-29 12:41:33 -04:00
Max Howell 8c87b475a9 Record HEAD SHA and date of installs in receipt 2012-08-29 12:41:33 -04:00
Max Howell 0ed5daf86d Produce good error messages for bad tarballs 2012-08-29 12:41:33 -04:00
Lifepillar 5b1ac77d74 libpqxx 4.0
Libpqxx is the official C++ client API for PostgreSQL
(http://pqxx.org/development/libpqxx/).

Closes #12436.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-29 09:31:42 -07:00
Matthias Granberry ddd62a4fb8 Miredo 1.2.5
Miredo is an open-source implementation of the Teredo
transitional IPV6 tunneling package.  The recipe Includes a
patch to include a usable default configuration for OS X and
fix an upstream compilation issue on OS X.  The compile fix
should be unnecessary upon the next upstream release.

Closes #12673.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-29 09:22:03 -07:00
Adam Vandenberg a3f0696505 epubcheck: fix audit warnings 2012-08-29 09:08:53 -07:00
Marica Odagaki bf44a4ff72 SEC 2.6.2
SEC is a tool for accomplishing event correlation tasks in the domains of
log analysis, system monitoring, network and security management, etc.

Closes #11892.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-29 09:07:53 -07:00
Adam Vandenberg c238de8f0c bitlbee: install dev headers
Closes #13985.
2012-08-29 08:52:44 -07:00
John Calsbeek 894f668a85 Lua 5.2.1
Closes #14512.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 09:47:54 -05:00
Justin Clift 44ab88f76d libvirt --devel 0.10.0
Closes #14517.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-29 07:04:47 -07:00
Hao Song 36b31aca5d New Formula: MPFI
Closes #11660.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-08-28 22:44:23 -07:00
Marc Abramowitz 7a36bfa853 graylog2-server: add mongodb and elasticsearch deps
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-28 20:52:59 -07:00
Yoji SHIDARA c81ba1f9a1 groonga 2.0.6
Closes #14510.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-28 20:32:10 -07:00
Jack Nagel f605c57b93 ocaml: re-apply upstream patch for 4.00.0
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-28 21:26:28 -05:00