aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-06-27Homebrew 0.9.10.9.1Adam Vandenberg
Bump the version number due to the Xcode/CLT change.
2012-06-27Simplify check_non_librariesAdam Vandenberg
2012-06-26doctor: check for ~/.pydistutils.cfgsamueljohn
Closes Homebrew/homebrew#12363. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-26config: omit Xcode path for CLT-only systemsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-26Clean up --config outputJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-25Improve bug report wiki page text.Mike McQuaid
Fixes Homebrew/homebrew#12674.
2012-06-25MacOS.sdk_path: silence stderr from xcode-selectMisty De Meo
2012-06-25MacOS.sdk_path: use strip instead of chomp.chompMisty De Meo
2012-06-25MacOS.sdk_path: make sure xcode-select is saneMisty De Meo
According to a user on IRC with a brand-new Mac, xcode-select is preconfigured to /Developer out of the box even though that doesn't exist on modern Xcode. So we shouldn't trust that it makes any sense.
2012-06-25MacOS.sdk_path: chomp harder!Misty De Meo
There were two newlines being returned by the command being called in sdk_path, not just one.
2012-06-25Hotfix for stack overflowMisty De Meo
Under certain circumstances, MacOS.locate and MacOS.dev_tools_path would call each other recursively. This was limited to systems with Xcode minus the CLT. See Homebrew/homebrew#13012.
2012-06-25brew-upgrade: Respect --ignore-dependencies flagCharlie Sharpsteen
Passing `--ignore-dependencies` to `brew upgrade` will now have the desired effect.
2012-06-25StandardCompilers: add Xcode 4.3.3Misty De Meo
2012-06-24Core change: XCode only install, with CLT or bothsamueljohn
Allow XCode without the Command Line Tools to work with homebrew, so it's not necessary to register an Apple Dev ID and/or go to the XCode prefs and download the CLT. Yay! Further, this commit allows to use the CLT solely (without the need for XCode). Saves quite some megs. (Some furmulae require xcodebuild) Of course XCode together with the CLT is still fine and has been tested on 10.7 and 10.6 with Xcode 4 and Xcode 3. Only on Lion or above, tell the user about the options, which are - Xcode without CLT - CLT without Xcode - both (ok, it's not directly stated, but implicit) So if no Xcode is found and we are on Lion or above, we don't fail but check for the CLTs now. For older Macs, the old message that Xcode is needed and the installer should be run is still displayed. If the CLT are not found but Xcode is, then we print out about the experimental status of this setup. Closes Homebrew/homebrew#10510. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-23doctor: rewrite Volume class to fix issue with google update engineTim Oram
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-19doctor: skip missing_deps when no Cellar existsMisty De Meo
Another fix for Homebrew/homebrew#5188.
2012-06-19doctor: skip outdated_homebrew check when no gitMisty De Meo
2012-06-19doctor: don't warn about recent MacGPG2 versionsMisty De Meo
Fixes Homebrew/homebrew#12238.
2012-06-19doctor: skip Cellar test if Cellar doesn't existMisty De Meo
Fixes Homebrew/homebrew#5188 (again).
2012-06-17audit: prefer ARGV.build_head? to inspecting 'version'Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-17audit: prefer modifying ENV to using env or exportJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-17audit: catch unnecessary 'ENV.foo' interpolationJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-17fix_install_names: try harder to find referenced dylibsJack Nagel
Keg#fix_install_names punts if bad install names reference dylibs that aren't "nearby". Enable this machinery to fix more complex directory hierarchies by searching everything under 'lib' for the bad name's basename. Additionally, teach it to correctly handle Mach-O bundle files. Fixes Homebrew/homebrew#12810. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-17doctor: Mono-specific warning for pkg-configMisty De Meo
Mono installs its own pkg-config symlink into /usr/bin/pkg-config, which breaks non-Mono builds. Provide a specific warning. Closes Homebrew/homebrew#12859.
2012-06-16Teach Mach-O machinery about bundlesJack Nagel
c.f. Homebrew/homebrew#12810. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-16Fix indentation in MachO#mach_dataJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-15Improve Pathname#text_executable? regexpJack Nagel
file(1) does not allow leading whitespace on shebang lines, and there appears to be no restrictions on what characters follow '#!', either. While at it, fix an erroneous shebang test. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-15Add comment about error pipe (mis)behaviorJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-15warn if unrar is needed but not found.samueljohn
You can `brew unrar` Closes Homebrew/homebrew#12858. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-06-15blacklist: update Xcode message for 10.8Misty De Meo
2012-06-15Xcode from the App Store is no more an installer.samueljohn
- Removed outdated message about running the installer. Closes Homebrew/homebrew#12857. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-06-13Allow --get for non-interactive builds.Adam Vandenberg
This is useful for doing a --debug build, as the git repo will pick up any changes that have been made up to that point in the build process. --git is still most useful in conjunction with --interactive, though.
2012-06-13Completion for "brew missing"Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-12Fix doctor's use of missing.Adam Vandenberg
`brew doctor` shelled to `brew missing` and parsed the results. When VERBOSE was true, this caused an error as extra, unexpected output is generated. Make missing an internal command, and give it a programmatic interface.
2012-06-12Use "legacy" search API when completing tap namesJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-12Switch to "legacy" GitHub search APIJack Nagel
GitHub's v2 API entry point is gone, but search as been ported to API v3 as a "legacy" feature. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-12Use which method in doctorJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-10Add ARGV.build_stable?Adam Vandenberg
2012-06-07Point AWS environment variables at LinkedKegKarsten Sperling
(rather than the version being installed) This avoids having to change the variable when a different version is linked. Also ensure the private key / cert variables point to only 1 file. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-07brew-linkapps: note where symlinks are installedRanmocy
Closes Homebrew/homebrew#12619. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-06Use sha1 as the default checksum for new formulaeAdam Vandenberg
See: https://github.com/mxcl/homebrew/pull/12587
2012-06-03Handle EOF in Pathname#text_executable?Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-03std_cmake_args: Search for Frameworks lastCharlie Sharpsteen
Most Homebrew builds produce libraries, so CMake should give priority to libraries when resolving dependencies. Closes Homebrew/homebrew#12497. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-06-03doctor: improve outdated Homebrew checkJack Nagel
We now skip the outdated check if our local origin/master tracking branch matches the origin remote's current master. This prevents false positives when we are actually up-to-date but the latest commit is over 24 hours old. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-01Replace /usr/bin/ruby with full Framework pathMisty De Meo
Rationale: some users insist on replacing the /usr/bin/ruby symlink to point to another ruby on their system, which may break homebrew. Use the full Framework path instead, which is less likely to be tampered with. This also reorganizes the brew --config checks to reflect the different path. Fixes Homebrew/homebrew#12009. Closes Homebrew/homebrew#12333. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-05-30fix_install_names: make failures verbose in debug modeJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-30cleaner: use new Mach-O pathname methods in clean_fileJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-30archs_for_command: use new Mach-O Pathname methodsJack Nagel
- Reimplement archs_for_command on top of the new Mach-O methods - Move ArchitectureListExtension to mach.rb - Add a test for the ArchitectureListExtension Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-30fix_install_names: use Mach-O methods to find dylibsJack Nagel
Some libraries do not have the .dylib extension (e.g. Qt framework libs), but need to have their install names rewritten to prevent other packages from breaking due to upgrades. Use the new Pathname#dylib? instead.
2012-05-30Pathname: add Mach-O moduleJack Nagel
The MachO module contains methods for learning about Mach-O binaries, and can be used where one might normally shell out to file(1). Signed-off-by: Jack Nagel <jacknagel@gmail.com>