aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2012-01-16Use more generic cflags when building bottles.Mike McQuaid
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-01-16Add option for building bottles.Mike McQuaid
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-01-16Don't try and use GCC on Xcode 4.2: it's gone Jim.Mike McQuaid
Closes Homebrew/homebrew#9622. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-01-16Bump highest seen LLVM version.Mike McQuaid
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-01-15Unlink old keg when upgrading dependenciesJack Nagel
Installing a formula via `brew install` may trigger upgrades of its dependencies if the dependencies are installed but outdated. However, we never unlinked the existing keg in FormulaInstaller#install_dependency which caused the link step to fail. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-13search: return results while parsingMisty De Meo
Instead of returning a full list of results after parsing, yield and print each result as it's found for a snappier user experience. Closes Homebrew/homebrew#9576. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-01-14Fix libinet version detectionMax Howell
2012-01-13search: use v2 APIMisty De Meo
The v3 API currently lacks a search feature. Use the v2 API instead for much faster pull request filtering. Closes Homebrew/homebrew#9592. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-01-14Use the basename of which_editorMax Howell
I had EDITOR set to /usr/local/bin/mate set and got the whole of /usr/local opened in TextMate which takes fricking forever!
2012-01-12pathname: recognize ".cpio.*" double extensionsJack Nagel
Just a cosmetic nicety. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-12search: don't try to escape nilJack Nagel
Fixes Homebrew/homebrew#9575. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-12versions: use the actual class name when unloadingJack Nagel
And document a bit more why this hack is present. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-11ENV.gcc: search HOMEBREW_PREFIX/bin for gcc-4.2Misty De Meo
Allow the use of a Homebrewed gcc-4.2 in order to support homebrew-alt's apple-gcc42 formula. This also removes the :force filtering for the gcc-4.2 check error. Closes Homebrew/homebrew#9384. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-01-11search: return matches from open pull requestsJack Nagel
When search can't find any local results, hit the GitHub API and search the titles of pending pull requests. This will help people find the many proposed formulae and prevent them from wasting time duplicating them. Closes Homebrew/homebrew#9018. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-11Make MacOS.clang_build_version more usefulJack Nagel
Let's choose the first \d{2,} as the build number, as it is the most likely to indicate significant changes, and we need something to use for comparison when selecting compilers. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-06versions: unload old class before obtaining versionJack Nagel
This is silly, but I am no Rubyist and I don't have time to figure out why Formula.factory(foo).url works as expected but Formula.factory(foo).version does not. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-06versions: enable '--compact' outputJack Nagel
This will be useful for shell tab completion when something like `brew install <formula> --version <version>` is implemented. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-06versions: determine version from a Formula instanceJack Nagel
Rather than regex the output of `git show <rev>:<path>`, we write the output of `git cat-file blog <rev>:<path>` to a temporary file, and then operate on it just as we would a normal formula. I haven't observed any speed difference. `git cat-file blob` is faster than `git show`, but the "slow part" is still the git-rev-list invocation. But really it's pretty fast overall. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-05Tab: handle non-core kegs without receiptsJack Nagel
Passing Formula.factory the name of a keg that belongs to a non-core formula will cause an error to be raised; we don't really care, so just fake a totally empty install receipt in this case. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-04Force creation of locale-specific man directoriesJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-03info: always mark currently linked keg with *Jack Nagel
When multiple kegs are installed, `brew info` marks a keg with an asterisk if f.installed_prefix == keg, but this is only true if either HEAD or the newest version of the formula is installed. This isn't always useful, so let's mark the currently linked keg with an asterisk regardless of the version. Obviously, keg-only formula will never be marked, but this is probably a feature. When multiple keg-only kegs exist, chances are that they are each being utilized by something, so there isn't really a "used" and "unused" version. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-03info: display used options for all installed kegsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-03tab: allow retrieving tabs from arbitrary kegsJack Nagel
This will be useful in places where we need information about things other than the currently linked keg, such as `brew info`. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-03Add a helper to determine if a keg is linkedJack Nagel
'keg.linked?' will return true if there is an entry for 'keg' in LinkedKegs. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-02audit: do not complain about --32-bitAdam Vandenberg
2012-01-02Standardize 32 bit build switchAdam Vandenberg
2012-01-01tests: add missing require to test_ENVJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-01Omit check_m4 warning when appropriateFelix Buenemann
If the suggested modifications are already in place, just skip the warning. Closes Homebrew/homebrew#8624. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-31brew --env: respect --universalJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-31audit: check for trailing newlineJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-30Only show gcc build if it's really gccJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-28doctor: clean up check_git_statusJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-28config: prettify sha methodJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-26Generalize formula_installer dependency resolutionCharlie Sharpsteen
Use `Formula.factory dep.path` instead of `Formula.factory dep.name` so that non-standard dependencies specified as URLs or paths can be handled properly.
2011-12-26Allow Formula.canonical_name to use Pathname objectsCharlie Sharpsteen
2011-12-26Resolve multi-level gcc symlinksJack Nagel
In later XCodes, gcc is a symlink to gcc-4.2 which is itself a symlink to llvm-gcc, so it is necessary to resolve multiple symlinks. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-24formula.rb: Don't apply fails_with_llvm to ClangCharlie Sharpsteen
Clang is vastly different than LLVM-GCC and is under active development. Using Clang is a viable solution to formula that fail with LLVM and a suggested recourse for users of XCode 4.2 or newer. Fixes Homebrew/homebrew#9242.
2011-12-21audit: remove --strictAdam Vandenberg
2011-12-21Homebrew 0.8.10.8.1Adam Vandenberg
This version number is arbitrary, and only used to differentiate versions in bug reports. There have been enough changes to compiler detection since 0.8 that it makes sense to bump the version here.
2011-12-21Clean up --configAdam Vandenberg
2011-12-20Omit empty caveatsAdam Vandenberg
2011-12-18--HEAD checksAdam Vandenberg
* Force --HEAD for head-only installs * Don't allow --HEAD for stable-only formulae
2011-12-18Audit: warn about head-only formulaeAdam Vandenberg
2011-12-18Expose stable/unstable specsAdam Vandenberg
2011-12-18Extract checksum type functionAdam Vandenberg
2011-12-18Simplify a couple of commentsAdam Vandenberg
2011-12-18doctor: check for Enthought PythonAdam Vandenberg
2011-12-16doctor: normalize representation of env variablesJack Nagel
Current warnings contain a mix of variable names with a '$' prefix and without; most documentation omits the '$', so drop it. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-16doctor: fix a couple of git-related checksJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-16--env: dump a few more environment variablesJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>