aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2010-06-22Exclude "HEAD" formula from outdated list.SHIBATA Hiroshi
2010-06-18cleans only existing directoriesPaul O'Neil
The previous code works fine on ruby 1.8.x, but under 1.9 trying find on a non-existent folder gives: ==> No such file or directory /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/find.rb:38:in `block in find' Fixes #1633
2010-06-18Fix LLVM compilation under OS X 10.6 where cflags was not being defined.Brett Cannon
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Unshare code between ENV.llvm and ENV.setup_build_environment
2010-06-18Note how to redownload tarballs on failed checksum.Adam Vandenberg
Fixes #659
2010-06-17Remove buggy, unsupported TeX-live brew, and suggest MacTex.Adam Vandenberg
The TeX-live 2008 formula was out of date (there's a 2009), buggy, and doesn't build 64-bit. The MacTeX package works and is supported, with a 2010 version in the works. Let's recommend that instead. Fixes #1087
2010-06-17Remove unused global defineAdam Vandenberg
2010-06-17Bug fix for METAFILES that are actually directories.Adam Vandenberg
If a package contains a folder that has the same name as one of our expected meta files, skip trying to install that folder. (Otherwise we install an empty folder and can get odd permission errors when trying to summarize after install.)
2010-06-17Tweak "clean".Adam Vandenberg
The code to try to move man into share didn't seem to be working, since the code that warns if a top-level man was found was firing off. Removing this apparently dead code.
2010-06-17filter out aliases when real name was foundAdam Vandenberg
2010-06-17Extract search_brews methodAdam Vandenberg
2010-06-17Refactor llvm compiler selection so formula can use itChris Hoffman
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-06-17Fix exception when installing with --use-llvmChris Hoffman
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-06-16Use same LLVM binary to check build # as we do to build with.Adam Vandenberg
Different llvm binaries were used to check build numbers and to compile with. Normalize this, and normalize the variable name used to hold the xcode location. (Calling it "prefix" is confusing, since there are already concepts in Homebrew called "prefx".)
2010-06-16Add "fails_with_llvm" to formula to document LLVM build breaks.Adam Vandenberg
Replaced ENV.gcc_4_2 + comments with calls to "fails_with_llvm", to specifically message to the user when a formula is known or suspected to not build with LLVM. If the user specifies "--use-llvm", the message will be displayed, but compilation will be tried anyway. Since using LLVM is now an advanced/hidden feature instead of the default on 10.6, we'll let the user try anyway (and submit patches if things are now working.)
2010-06-16Move code to find outdated brew listAdam Vandenberg
2010-06-15Modify brew update to show if any formulae were removed.Trevor Stevens
2010-06-15External: 'brew fetch' downloads tarballs to cache.Adam Vandenberg
2010-06-15Set HOMEBREW_DEBUG_INSTALL when in a shell during install -d|-iAdam Vandenberg
When an "install -d formula" fails, and the user gets dropped into an interactive shell, set the HOMEBREW_DEBUG_INSTALL env var to the name for the formula that failed. Also set variable if the user requests an interactive install in the first place. Note that this may be different than the formula being installed, since it may have been a dep that failed. Also remove todo in utils; users can now look for HOMEBREW_DEBUG_INSTALL in their prompt command, and adjust their prompts accordingly.
2010-06-10Fix: attr doesn't take a list.Adam Vandenberg
2010-06-10Added check for stray 'config' scripts in $PATH.Adam Vandenberg
If the user has, for instance, a non-system "xml2-config" in the path ahead of the system and Homebrew folders, ./configure scripts which look for and use this config script will get confused.
2010-06-10Failures during ./configure should mention config.log.Adam Vandenberg
2010-06-10MercurialDownloadStrategy: pull and update instead of update onlyTuncer Ayaz
2010-06-10MercurialDownloadStrategy: pull and update instead of update onlyTuncer Ayaz
2010-06-08Subversion now supports revisions on externals.Adam Vandenberg
A formula using svn can now provide a spec: :revisions => {...revision numbers...} that contains a mapping of revision numbers to use for externals. The name of the external is keyed to the revision to use for that external. The symbol :trunk should be used to specify the reivsion of the main repo. An example from the Ffmpeg formula: head 'svn://svn.ffmpeg.org/ffmpeg/trunk', :revisions => { :trunk => 22916, 'libswscale' => 31045 } Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-06-08More efficient SVN download that handles externalsFergal Hainey
Now makes use of `svn up` to make cache act like a cache. Externals without a revision specified are now checked out at HEAD, whereas before they were ignored. Escaping arguments to backticks. Making sure main repo is checked out before the externals. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-06-07Add --cache support to hg and bzr.Adam Vandenberg
2010-06-07Add cache location support to CVS.Adam Vandenberg
This allows formulaes which use CVS to support: brew --cache [formula]
2010-06-01Split patching message into downloading and patchingAdam Vandenberg
2010-06-01Don't symlink lib/python2.6Adam Vandenberg
Like pkgconfig, perl5 & php, we don't want any one formula to "own" the lib/python2.6 path. Fixes #1218.
2010-06-01Warn if a keg-level "man" is found.Adam Vandenberg
Homebrew expects manpages to be linked in shared/man/... and not man/...
2010-05-12Fix the update testsDavid Porter
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-05-10Improve archs_for_commandAdam Vandenberg
* Work on commands or dylibs * Use an extension for the list of arches
2010-05-07Allow SVN to report cache location.Adam Vandenberg
2010-05-06Move dump_build_env to utils and use during installs too.Adam Vandenberg
2010-05-05Let GitDownloadStrategy report its cache location.Adam Vandenberg
2010-05-02Merge keg_only? blocks in installer.Adam Vandenberg
2010-05-02Tweak formatting in previous commit.Adam Vandenberg
2010-05-02Show digest mismatch in verify_download_integrityYarrow
Report "Expected <supplied digest>, got <file's digest>" when verify_download_integrity sees a mismatch. (It had been, confusingly, reporting "Expected <file's digest>".) Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-05-01Add check for gettext to brew_doctor.Adam Vandenberg
If the user has linked the keg-only gettext, then a large number of formulae which don't have "depends_on 'gettext'" will pick it up anyway. Knowing this about the user's setup may help diagnose bug reports.
2010-05-01Update gcc version checks in brew_doctorAdam Vandenberg
brew_doctor's gcc version checks wasn't taking into account the case where the user doesn't have one or both of GCC 4.0.x and 4.2.x installed.
2010-04-29Add 'Arrandale' for core i7 MBPlistrophy
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-22Fix universal builds on 32-bit CPUs.Adam Vandenberg
2010-04-22Add --git option to 'brew install -i'.Adam Vandenberg
This allows for easy generation of diffs, per a trick in http://wiki.github.com/mxcl/homebrew/formula-cookbook
2010-04-20brew doctor now checks pkg-config search pathAdam Vandenberg
Homebrew's pkg-config didn't originally add X11 to its search path. This causes problems for long-time Homebrew users brewing software that depends on X11-related packages, such as Cairo.
2010-04-17Read all formula in a 'rescue' block.Adam Vandenberg
For operations that read all formulae, catch exceptions and skip broken ones, rather than bomb out entirely.
2010-04-15Do not assume /Developer when checking LLVM. Fixes #1160.Adam Vandenberg
2010-04-12Use Array#length instead of count. Fixes #1165Adam Vandenberg
2010-04-12Make mod_wsgi and mod_python arch code more similar.Adam Vandenberg
2010-04-10Only respect :using specs when downloading HEAD.Martin Kühl
When a formula specifies both an `url` and a `head`, and the latter specified a `:using` spec, brew would try to fetch the `url` using the specified download strategy. With this change, brew respects `:using` specs only when determining the download strategy for `head`. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-09Support jruby external dependencies.Adam Vandenberg
* Add tests that run only if 'jruby' is installed. * Note that if your formula has :jruby deps, it should likely "depend_on 'jruby'" as well.