Commit Graph
20799 Commits
Author SHA1 Message Date
Adam Vandenberg 260cda6554 Add test for matching formula filename/class. 2009-09-25 19:21:03 +01:00
Adam Vandenberg 5bd5a126c0 Add better error message for misnamed formula class. 2009-09-25 19:20:59 +01:00
Adam Vandenberg 9a87d6f6cf Update bash completions. 2009-09-25 18:58:06 +01:00
Adam Vandenberg 69c9010695 Find version number in *-src.tarball
Signed-Off-By: Max Howell <max@methylblue.com>

I added a unittest.
2009-09-25 18:57:44 +01:00
Max Howell 6bd182e845 Default to LLVM on Snow Leopard
On Leopard you can enable it by defining the environment variable:

    HOMEBREW_USE_LLVM

I didn't enable it on Leopard by default because it doesn't get as much testing, and I don't want to rock the boat. On Snow Leopard people are forigiving of issues because it is new and many compiles fail anyway. And if you installed Snow Leopard you *want* the cutting edge.

Closes #29
2009-09-25 18:06:37 +01:00
Boris Gordon 5eee2c2cb0 MCrypt formula
MCrypt is a replacement for the old crypt() package and crypt(1) command, with
extensions. It allows developers to use a wide range of encryption functions,
without making drastic changes to their code. It allows users to encrypt
files or data streams without having to be cryptographers. Above all, it
allows you to have some really neat code on your machine. :)
2009-09-25 18:03:41 +01:00
Steve Agalloco 1ef3d9810a Mysql 5.1.38
5.1.37 *already* no longer available to download on mirrors.
2009-09-25 15:40:29 +01:00
Christian Mayer d4aeb37caa Axel formula
Axel tries to accelerate downloads by using multiple connections (possibly to
multiple servers) for one download. Because of its size, it might be very
useful on bootdisks or other small systems as a wget replacement.
2009-09-25 15:31:55 +01:00
Max Howell 07b8bb7cc5 Fix readline
Patches were level 0, not level 1
2009-09-25 15:31:55 +01:00
Brian Smyth 5a6f278c51 Links formula.
Text mode web browser that support tables and frames.
2009-09-25 00:00:55 -04:00
Max Howell 9d92cb0ad0 Don't use quotes with the comma separated version of system()
As you don't escape to that version.
2009-09-25 01:24:05 +01:00
Piotr Usewicz c81a1d33ff Add full version and build numbers to user agent
Signed-off-by: Max Howell <max@methylblue.com>

I adapted it slightly based on the user agent that Safari gives.
2009-09-25 01:24:05 +01:00
Abhay Kumar e60e1d7b7a Don't prematurely bump Erlang
Thou shall not bump a packaging system's erlang version before it's released
even though you love to live on the edge.

Signed-off-by: Max Howell <max@methylblue.com>

Agreed, Homebrew sticks to stable releases in the main url, the @head url is used for cutting edge.
2009-09-25 01:24:05 +01:00
Erlend Finvåg 045c6f7312 cksfv formula 2009-09-25 01:24:01 +01:00
Max Howell 9f52fea520 Fixes #60
Well, I guessed keg_only would have issues.

Here, glib assumes GNU gettext will be in the same path as itself. Which would
be true if we symlinked gettext into the tree, but we don't to avoid conflicts
with the BSD version: /usr/lib/libgettext.dylib

We'll have to do this a lot, so I need to figure out how to automate it, or
how to avoid doing this kind of thing altogether.
2009-09-25 00:04:55 +01:00
Matt Freels b06bd60957 Ack moved to github 2009-09-24 23:47:34 +01:00
Julien BLANCHARD 08a5eb4960 Updated nginx to 0.7.62 2009-09-24 23:47:34 +01:00
Ben Alpert 106b82ed7c Don't use file, just check the magic numbers instead
Closes #58
2009-09-24 16:30:40 -06:00
Ben Alpert c89f7f2b51 Simplify first_dir in MacFUSE formula 2009-09-24 16:30:36 -06:00
Ben Alpert 5d7cab9703 Add Hardware.is_64_bit? method
Closes #53
2009-09-24 16:30:26 -06:00
Max Howell e698609ada Summarised listings with brew list
I'm trying to only show the interesting stuff. You can see a full listing with
brew -v list, or by piping to other commands.

Tell me if you hate it or love it.
2009-09-24 22:38:42 +01:00
Max Howell 9433168920 Install man pages correctly (libtiff formula) 2009-09-24 21:46:39 +01:00
Max Howell 5aa007a085 Don't install .bat files (Maven formula) 2009-09-24 21:46:35 +01:00
Max Howell f2a69797f9 brew log command
Shows the git-log for that formula.
2009-09-24 21:09:46 +01:00
Max Howell 675d4a87be Use new instance var syntax for brew create 2009-09-24 18:49:49 +01:00
Max Howell 8d405a04bf Use new instance var syntax in example formula 2009-09-24 18:49:32 +01:00
Max Howell 51dcb8c9e7 Use full paths to all system utilities
Otherwise you run the risk of not running the exact version / make of the utility you planned.

Fixes #48

Really we need to do this formula too, so I guess a make and cmake function are on the way…
2009-09-24 18:26:24 +01:00
Max Howell 0836244a23 Remove Fink and Macports from the PATH earlier
References issue #48
2009-09-24 18:26:24 +01:00
Clinton R. Nixon 3acaab7139 DRYed up "@foo=self.class.foo unless @foo" statements
Using the example from the existing code:

  CHECKSUM_TYPES.each do |type|
    if !instance_variable_defined?("@#{type}")
      class_value = self.class.send(type)
      instance_variable_set("@#{type}", class_value) if class_value
    end
  end

I extracted that block into a method 'set_instance_variable' which I
then used in all places where this behavior was being used.
2009-09-24 18:26:16 +01:00
Clinton R. Nixon 9713b07890 Added small DSL for formulas
You can now use "url", "version", "homepage", and any checksums as
class methods, like so:

    class Dos2unix <Formula
      url 'http://www.sfr-fresh.com/linux/misc/old/dos2unix-3.1.tar.gz'
      md5 '25ff56bab202de63ea6f6c211c416e96'
      homepage 'http://www.sfr-fresh.com/linux/misc/'
    end

The previous usage ("@url = 'http://example.com/tarball.tgz'") still
works, maintaining compatibility with previous formulas.

"dos2unix.rb" is translated into the new format as an example.
2009-09-23 14:51:11 -04:00
elliottcable b8c17e90f7 #caveats expects me to return a string, I don’t have to #puts it myself. 2009-09-22 13:47:40 -08:00
elliottcable 51018acf79 No need for a @version, that is extracted from the URL 2009-09-22 13:45:11 -08:00
elliottcable cec6cdd3c7 Building Ruby with pthread is bad practice.
Ruby is not natively threaded; there is absolutely no reason to build against
pthread unless you intend to link against libraries themselves built with
pthread (tcl/tk). More information: http://blogs.sun.com/prashant/entry/ruby_and_enable_pthreads
2009-09-22 13:21:54 -08:00
elliottcable 28b8ed2773 I can’t find an explanation of CFLAGS=-D_XOPEN_SOURCE=1, so I’m removing it.
As far as I can deduce, the source of that flag is in Dan Benjamin’s article,
here: http://hivelogic.com/articles/ruby-rails-leopard

However, he provides no explanation for its use, and did not respond to
commentors’ requests for said explanation; on top of that, I can find no useful
references anywhere else. Hence, removing it.
2009-09-22 13:18:38 -08:00
elliottcable eaa86409d9 Added a Formula to install the EC2 API tools.
Unfortunately, dealing with them requires quite a bit of shell configuration.
I offered the best documentation of this configuration that I could, but it’s
fairly verbose and a bit repulsive… unfortunately, the other option (attempting
to preform the setup automatically) turns out to be even messier, and prone to
mistakes to boot.
2009-09-22 13:15:15 -08:00
elliottcable d7c3954e30 The bash completion stuff should go in the bash profile 2009-09-22 13:15:15 -08:00
August Lilleaas e35b8e0191 Mentioning mysql.server when installing mysql, as an alternative to a start-on-boot plist. 2009-09-22 21:47:54 +02:00
Max Howell b54bee33a1 brew install --ignore-dependencies
I used the same option flag as ruby gems does.
2009-09-22 19:58:10 +01:00
Max Howell 10b1f9404c Fix readline on Snow Leopard
The patches broke the build.
2009-09-22 19:56:23 +01:00
Miikka Koskinen aa34166af8 Add missing end to readline formula. 2009-09-22 19:56:23 +01:00
Miikka Koskinen 193bfc6984 Gnuplot formula
Gnuplot is a portable command-line driven interactive data and function
plotting utility.
2009-09-22 19:56:22 +01:00
Miikka Koskinen 243ab49a12 pwsafe formula
pwsafe is a unix commandline program that manages encrypted password
databases.
2009-09-22 19:56:22 +01:00
Pierre Riteau 7a7876d678 Don't print text as columns when the output is not a tty
The code also makes sure to terminate with a newline, unless the
output is empty.
2009-09-22 20:43:06 +02:00
Brian Smyth feb69f8f53 Fix logrotate build.
Make the build independent of POPT_DIR. The makefile will honor it if
it's in the environment, but will use the standard env variables
otherwise.
2009-09-22 08:03:15 -04:00
Brian Smyth fd6913b920 Shorten formula.
Shorten reduces the size of waveform files (such as audio) using Huffman
coding of prediction residuals and optional additional quantisation. In
lossless mode the amount of compression obtained depends on the nature
of the waveform. Those composing of low frequencies and low amplitudes
give the best compression, which may be 2:1 or better. Lossy compression
operates by specifying a minimum acceptable segmental signal to noise
ratio or a maximum bit rate. Lossy compression operates by zeroing the
lower order bits of the waveform, so retaining waveform shape.
2009-09-22 08:03:15 -04:00
Max Howell cb6b4cc64a Clean up the empty dir cleaner a little
Using more Pathname methods.

Only show text if verbose mode is on, as is typical for the rest of our install output.

TODO: would be nice if we knew you were a dev and automatically enabled verbose mode perhaps.
2009-09-22 11:38:22 +01:00
Max Howell b01c13d11c ImageMagick install works, fixes #35
Careless mistake from me.
2009-09-22 10:54:27 +01:00
Adam Vandenberg 7d19be0789 Rename :libpng to :x11 and alias. 2009-09-21 20:55:41 -07:00
Adam Vandenberg cf0e5439f1 Replace perl one-liner for removing empty dirs with Ruby.
Allow Formula.skip_clean? to prevent empty folders from being removed
as part of the brewing cleanup process.
2009-09-21 16:12:01 -07:00
Max Howell d1d835ab18 Don't always say "Patching" 2009-09-21 23:51:31 +01:00