aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2012-12-21doctor: f.prefix is already a pathnameJack Nagel
2012-12-21doctor: print offending paths in check_for_gettextJack Nagel
c.f. #16688.
2012-12-21doctor: rename path_folders to pathsJack Nagel
2012-12-21doctor: use a more rubyish conditionalJack Nagel
2012-12-21doctor: avoid pointless creation of pathname objectJack Nagel
2012-12-21doctor: run slowest checks lastJack Nagel
2012-12-21Make "XQuartz is installed" heurstic stricterJack Nagel
2012-12-19cleanup: fix 1.8.6 compatibilty issueJack Nagel
Fixes #16655.
2012-12-18upgrade.rb: Generate Tab from Keg not FormulaCharlie Sharpsteen
Two issues were preventing `brew upgrade` from functioning properly: - `Tab.for_formula` was used to recover options from prior installs. The problem is that during an upgrade `for_formula` will be directed to a non-existant install of the newer version and thus returns a forged tab claiming no options were invoked. - The assignment to `installer.install_bottle` requires parenthesis in order to function properly.
2012-12-17Better reporting for MacPorts/Fink installationsJack Nagel
closes #15853.
2012-12-16Revert "Add launchctl_instructions method"Jack Nagel
This code makes assumptions about the existence of prefix which are valid in the context of the installer, but not necessarily in the context of `brew info`, thus `brew info` on an outdated formula errors out. This reverts commit e5b53dd64b769b67805d1054d906f7083939d905.
2012-12-16Add launchctl_instructions methodLorenzo Manacorda
Closes #16604. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-12-16Check if Cellar and Cache exist before cleaning.Mike McQuaid
2012-12-16Add another Erlang version format.Mike McQuaid
2012-12-12Improve Xcode and CLT config reportingJack Nagel
We support three configurations: Xcode-only, CLT-only, and Xcode with CLT. Our configuration output should correctly reflect this. While MacOS::Xcode.version has to continue to return a guess if Xcode is not installed in order to maintain backwards compatibility, this is an implementation detail that we don't need to expose to the user. And it makes `brew --config` output confusing. So let's only print the "Xcode" line when an actual Xcode installation is present. This makes it easy to quickly figure out which of the three possible configurations the user is running. Addresses #14941, more or less.
2012-12-12Fix stupid typo in bottle fix.Mike McQuaid
2012-12-11Disable bottle installation correctly on 10.6.Mike McQuaid
2012-12-11Properly escape log filenameJack Nagel
Closes #16485.
2012-12-11pathname.rb: Pass -s to du instead of -d0Shaun Jackman
The option `du -s` is equivalent to `du -d0`. The former is a POSIX standard (IEEE Std 1003.1-2008), whereas the latter is a BSD extension. From the BSD man page: `-s Display an entry for each specified file. (Equivalent to -d 0)` From SUSv4: `-s Instead of the default output, report only the total sum for each of the specified files.` http://pubs.opengroup.org/onlinepubs/9699919799/utilities/du.html Closes #16516. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-12-08Don't print error message when dev_tools_path fails to find toolsJack Nagel
This message is either (a) never printed because the tools are installed, or (b) printed every time this method is called. See #16119. This code shouldn't be responsible for UX anyway, so just remove it and let other parts of Homebrew be responsible for failing or declaring that they need the developer tools.
2012-12-08doctor: don't check keg-onlies if cellar doesn't existJack Nagel
2012-12-04proper version sort in `outdated` commandMislav Marohnić
c.f. #16382. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-12-04propert version sort in `info` commandMislav Marohnić
Closes #16382. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-12-04Improve bottle error messages.Mike McQuaid
On installation or creation of a bottle error out of the current machine does not support bottles. References #16291.
2012-12-04brew-cleanup: check whether keg is a directory.Xiyue Deng
* Avoid problem when encountering `.DS_Store' in Cellar. Closes #16356. Closes #16388. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-12-03Fix startup plist instructions.Mike McQuaid
Closes #16369.
2012-12-01Fix broken `brew cleanup` testsJack Nagel
2012-12-01Fix bad reference to local_bottle_path.Mike McQuaid
Fixes #16337.
2012-12-01Support installing bottles from local files.Mike McQuaid
2012-11-30brew cleanup: don't remove higher version kegs.Xiyue Deng
* Use version compare to only remove kegs with lower version than the current one, not higher version which might be from someone's branch. * Do the same for cache cleanup. - Be conservative so that if a name detected from cache file is not the same as its formula then don't clean it. Closes #15914. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-11-28Fix Formula.factory for Formula subclassesMisty De Meo
Fixes #16288.
2012-11-28Formula.factory: raise on encountering non-FormulaMisty De Meo
Formula.factory naively assumed that any already-loaded constant fed into it was a formula, with confusing results when trying to `brew install` a name from the ruby stdlib. Fixes #16284.
2012-11-26Whitelist 10.8.2 Supplemental Update static libs.Mike McQuaid
Fixes #16215.
2012-11-25Make generic caveats for launchd plist files.Mike McQuaid
2012-11-25Copy rather than move e.g. war files.Mike McQuaid
2012-11-25Rewrite plists when installing from a bottleJack Nagel
2012-11-25brew-test-bot: general cleanup.Mike McQuaid
2012-11-25Overwrite plists.Mike McQuaid
2012-11-25Don't warn users about bad packaging.Mike McQuaid
2012-11-24Remove outdated commentJack Nagel
2012-11-19separate ENV/pkgconfig dirs by OS versionCamillo Lugaresi
Closes #16063. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-19add necessary .pc files for LeopardCamillo Lugaresi
add missing libcrypto.pc override broken system libcurl.pc Closes #16063. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-17tests: add profiling supportJack Nagel
`rake profile` will run ruby-prof on the test suite if the ruby-prof gem is installed.
2012-11-14Try to remove a single .DS_Store when uninstallingAdam Vandenberg
Closes #12976. Closes #15975.
2012-11-13ENV.rb: Configure Objective-C++ compilerCharlie Sharpsteen
Ensures the `OBJCXX` environment variable is correctly set. Also adds `OBJC` and `OBJCXX` to `ENV.remove_cc_etc`.
2012-11-13superenv.rb: Configure Objective-C compilersCharlie Sharpsteen
The [`OBJC`][1] and [`OBJCXX`][2] environment variables should be set along with `CC` and `CXX`. Some formulae require these to be set in order to properly configure against Homebrew's compilers. Fixes #16029. [1]:http://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Objective-C-Compiler.html [2]:http://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Objective-C_002b_002b-Compiler.html
2012-11-13bash completion for doctor checksJack Nagel
2012-11-13superenv: don't set VERBOSEMisty De Meo
haskell-platform falls over badly if VERBOSE is set. Theoretically this could happen to other packages too. Really it's just less painful to avoid setting the env var in the first place. Fixes #15989.
2012-11-12Don't error out if metafiles are linkedAdam Vandenberg
Closes #16008.
2012-11-12Don't advise XQuartz upgrades for system X11Jack Nagel
Yeah, yeah. The XQuartz/X11 stuff is confusing.