Commit Graph
23991 Commits
Author SHA1 Message Date
Adeel Ahmad Khan ab6e4b2aa0 Updated dos2unix download URL.
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-12 05:41:04 +08:00
Max Howell 637b37883e Allow user to specify patch level
The default is p0, but if you return a Hash instead of an array from patches you can specify patch level. See the comment documentation.

Closes #10
2009-08-11 18:16:12 +01:00
Max Howell ecf64c3679 Remove MacPorts and Fink from the build environment
Closes #13
2009-08-11 14:52:45 +01:00
Max Howell ba8ac7d02d Some frivalous mods to glib 2009-08-11 01:31:47 +01:00
Max Howell 82fa9b71f4 More ARGV tests 2009-08-11 01:30:39 +01:00
Max Howell 7b3751940d FIX formulae and kegs didn't always work
Strange that they did often enough for my tests to work.
2009-08-11 00:36:47 +01:00
Max Howell 48a5d9b611 rmdir_if_possible should ignore EACCES
It was raising an exception, which stopped prune in its tracks when
something was installed root, eg. Fuse.
2009-08-11 00:27:43 +01:00
Max Howell ea7c8915a2 Raise if ARGV.named and no named arguments 2009-08-11 00:27:18 +01:00
Max Howell ea2f9bbc79 FIX if dst cannot be deleted, it's an error 2009-08-10 23:41:47 +01:00
Max Howell 241d1d498f Escape / in before inreplace too 2009-08-10 23:32:13 +01:00
Max Howell c2f9ee68ab Place /usr/local first in pkg-config path
And uniq! the path list
2009-08-10 18:46:27 +01:00
Adam Vandenberg 1089896d77 Sqlite (newer than pack-in version) 2009-08-10 18:46:15 +01:00
Max Howell e78705e7e5 FIX Flac2Mp3 script 2009-08-10 18:27:53 +01:00
Max Howell a9e277a341 CTRL-C for a child process should interrupt brew too 2009-08-10 18:17:11 +01:00
Max Howell 371786ec96 Abort debug install if exit is not zero 2009-08-10 18:16:47 +01:00
Max Howell 408762e6c2 TEST Zip'd archives can be extracted 2009-08-10 18:16:12 +01:00
Adam Vandenberg ca0d50a006 Recipe for MySQL client tools (5.1.x) 2009-08-10 18:15:25 +01:00
Max Howell ce16f44d3f Allow skip_clean? to skip entire directories
Speeds up Python formula plenty in clean phase
2009-08-10 18:12:16 +01:00
Adam Vandenberg af21407fec Revert readline to version 5.2, but add patches
This is because Python 2.6 needs this. As soon as something needs readline 6,
we need to support both, which of course we can :)
2009-08-10 18:12:16 +01:00
Max Howell 8ede1c5c26 Fix inreplace and yajl formula 2009-08-10 18:12:16 +01:00
Max Howell 7aa95191dd Neon and libmusicbrainz formulae 2009-08-10 18:12:16 +01:00
Max Howell 1d3026c27b ENV.libpng
libpng and that are in the X11 formula
2009-08-10 18:12:16 +01:00
Max Howell e71f1e3093 FIX ImageMagick formula 2009-08-10 18:12:16 +01:00
Max Howell c17e31c179 Only install UNIX d samples 2009-08-10 18:12:16 +01:00
Max Howell f0ea5b96d6 mpg123 formula 2009-08-10 18:12:16 +01:00
Adam Vandenberg 320c05133e Updated Python recipe
No longer strips the main Python executable, as that was breaking the ability
of dlopen() and thus import .so based modules.

This change depends on changes to keg & formula that allow files to not be
cleaned.

Also, replaced a duplicate libpython2.6.a with a link (saves 6MB.)
2009-08-10 18:11:23 +01:00
Max Howell c3df8f7723 Install README.txt etc. as README 2009-08-10 18:11:23 +01:00
Max Howell f0f391dcb8 Support github tagged download versions
eg. http://github.com/lloyd/yajl/tarball/1.0.5
2009-08-10 18:11:23 +01:00
Max Howell 2dbe54c2df Ensure ENV is pristine for each installation
Because we modified the ENV global each install this propagated to consecutive
formulae. So exec a new brew process each install. This is the safest way
although Ruby exceptions don't propagate to the parent process so I worry
about it somewhat.
2009-08-10 18:11:23 +01:00
Max Howell 7c0bd6fcb0 ohai takes multiple parameters
Will not show any of the block if the 1st additional parameter is nil
2009-08-10 18:11:23 +01:00
Max Howell 050d753b1f When safe, correct common install issues
Eg. man can be moved into share without consequences
2009-08-10 18:11:23 +01:00
Max Howell 2f8aafd8a2 Delete installed documentation after install
Documentation is all online nowadays, and is more current there.

Documentation often takes up more space than the rest of the package.

Package listings are now more relevent.

We'll make it optional as soon as one person complains.
2009-08-10 18:11:23 +01:00
Max Howell 7c791de39d Remove duplicates from ARGV.named
Includes test
2009-08-10 18:11:23 +01:00
Max Howell d21205067c Apply new ENV capabilities to all existing Formulae 2009-08-10 18:11:22 +01:00
Max Howell 6b6d3699a2 Refactor
Large refactor to Formula, mostly improving reliability and error handling but
also layout and readability.

General improvements so testing can be more complete.

Patches are automatically downloaded and applied for Formula that return a
list of urls from Formula::patches.

Split out the brew command logic to facilitate testing.

Facility from Adam Vandenberg to allow selective cleaning of files, added
because Python doesn't work when stripped.
2009-08-10 18:11:17 +01:00
Max Howell 6442e45741 Extend ENV to make tweaking the build environment easier
eg. ENV.libpng or ENV.deparallelize
2009-08-10 16:48:21 +01:00
Max Howell 6c344eef72 Return the installed path(s) from install 2009-08-10 16:34:04 +01:00
Max Howell c0878c76d0 FIX Pathname.rename
Rename relative to self.dirname
2009-08-10 16:33:15 +01:00
Max Howell ef1e9b1a8c ARGV+yeast
Extensions to ARGV that are convenient or improve our robustness
2009-08-10 16:27:24 +01:00
Adam Vandenberg 1f4081ee83 Pull USERAGENT used by curl into constant 2009-08-10 16:15:24 +01:00
Adam Vandenberg ae4a49610d Extract 'verify_download_integrity' method
In order to support more than just MD5 verification, extract 'verify_download'
into a separate method.
2009-08-10 16:14:43 +01:00
Max Howell e141312b20 Make git install grc --profile work again 2009-08-06 20:25:59 +01:00
Max Howell 7fa88ff6ff Install taglib-extras with Taglib 2009-08-06 20:25:59 +01:00
Max Howell 1b89593c72 Only hardlink git to the other bits if they are indeed the same files 2009-08-06 20:25:59 +01:00
Max Howell 1cf339388b Formula::std_cmake_parameters
Because cmake syntax is batshit-insane, this stops people having to memorize
which parameters to supply, and thus prevents error.

I didn't do the same for Autotools deliberately as I have found that
which parameters are supported is somewhat inconsistent. Plenty don't even
support --disable-debug, thus I want the parameters getting used in the
contributors face so they can easily diagnose what is going on.
2009-08-06 20:25:59 +01:00
Max Howell 432faa4146 Remove all testing temporaries when done 2009-08-04 01:31:32 +01:00
Max Howell 7041ef6290 The unittest now emulates a fresh install better
In future, this will hopefully prevent regressions like issue #7.
2009-08-04 01:07:36 +01:00
Adam Vandenberg bb7b9d988d Homepage takes any formula, installed or not.
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-04 07:48:26 +08:00
Max Howell 6e2a5d13f2 HOMEBREW_CACHE is now a Pathname object
This is consistent with the other HOMEBREW_* path constants
2009-08-04 00:40:12 +01:00
Max Howell e74d891b5b FIX Github gist formulae 2009-08-04 00:36:48 +01:00