Commit graph

222 commits

Author SHA1 Message Date
Mike Arthur
ea309d16bb Freedesktop.org intltool formula
intltool is a set of tools to centralize translation of many different file
formats using GNU gettext-compatible PO files.
2009-09-11 17:42:53 +01:00
Seth Fitzsimmons
838af375a2 Exuberant Ctags
Ctags comes with OS X but Exuberant is better.

Ctags generates an index (or tag) file of language objects found in source
files that allows these items to be quickly and easily located by a text
editor or other utility. A tag signifies a language object for which an index
entry is available (or, alternatively, the index entry created for that
object).
2009-09-11 17:42:53 +01:00
Chris Wanstrath
ce7da674d7 Add default configuration for Redis
Signed-off-by: Max Howell <max@methylblue.com>

indirect beat defunkt to the redis formula slightly, but defunkt improved it, so everyone gets credit :)
2009-09-11 17:42:53 +01:00
Andre Arko
8bb7db980c Add formula for redis, a key-value store 2009-09-11 09:08:33 -07:00
Max Howell
bf7a82e66d Dependency resolution
Specify dependencies in your formula's deps function. You can return an Array,
String or Hash, eg:

    def deps
      { :optional => 'libogg', :required => %w[flac sdl], :recommended => 'cmake' }
    end

Note currently the Hash is flattened and qualifications are ignored. If you
only return an Array or String, the qualification is assumed to be :required.

Other packaging systems have problems when it comes to packages requiring a
specific version of a package, or some patches that may not work well with
other software. With Homebrew we have some options:

1.  If the formula is vanilla but an older version we can cherry-pick the old
    version and install it in the Cellar in parallel, but just not symlink it
    into /usr/local while forcing the formula that depends on it to link to
    that one and not any other versions of it.
2.  If the dependency requires patches then we shouldn't install this for use
    by any other tools, (I guess this needs to be decided on a per-situation
    basis). It can be installed into the parent formula's prefix, and not
    symlinked into /usr/local. In this case the dependency's Formula
    derivation should be saved in the parent formula's file (check git or
    flac for an example of this).

Both the above can be done currently with hacks, so I'll flesh out a proper
way sometime this week.
2009-09-10 19:23:03 +01:00
Max Howell
4144ff5875 Fix some "GCC cannot create executables"
This regards Issue Homebrew/homebrew#30.

Turns out -march=native isn't supported by Apple's GCC, but while investigating it I found they'd back ported the -march=core2 option, so we win anyway.

Logic reverted to how it was yesterday.

I moved the gcc options stuff back to brewkit.rb as we manipulate the cflags more later and it seemed bad form to split the logic for this area over two files.

Additionally the brew command exits immediately on powerpc now. Brewkit doesn't throw as theoretically it is a useful library file for other projects.
2009-09-03 22:39:49 +01:00
Erlend Finvåg
45d8ad4acc Bash Completion formula 2009-09-03 18:02:26 +01:00
Julien BLANCHARD
0cce3529ae NGinx formula
A HTTP and mail proxy server licensed under a 2-clause BSD-like license.
2009-09-03 17:36:22 +01:00
Ask Solem
3abd5ee762 Thrift formula
Thrift is a software framework for scalable cross-language services
development. It combines a powerful software stack with a code generation
engine to build services that work efficiently and seamlessly between C++,
Java, Python, PHP, and Ruby. Thrift was developed at Facebook and released as
open source.
2009-09-03 16:34:35 +01:00
Andre Arko
1c83671bd6 Oniguruma formula
Oniguruma is a regular expressions library. The characteristics of this
library is that different character encoding for every regular expression
object can be specified.
2009-09-03 13:05:01 +01:00
August Lilleaas
0e35890e98 fish shell formula
fish is a user friendly command line shell for UNIX-like operating
systems such as Linux.
2009-09-03 00:47:47 +01:00
nmeans
1bea6b4f2f Expat formula
Expat is an XML parser library written in C.
2009-09-03 00:38:28 +01:00
Ben Alpert
7ec0a04093 Install Antiword manpage 2009-09-02 23:48:06 +01:00
Adam Vandenberg
7b6c2ee425 Update Subersion to 1.6.5, add SSL support, turn off BDB support. 2009-09-02 23:48:06 +01:00
Max Howell
f456fe71bf Use std_cmake_parameters for yajl 2009-09-02 15:07:26 +01:00
Max Howell
76d4952b9a Use my fork of playdar
My fork has a number of build fixes.
2009-09-02 15:07:26 +01:00
Max Howell
cc891f7f76 Tests for Pathname+Yeast
I removed the rename and mv functions as when I wrote the tests I realised the function implied the pathname object would be updated to reflect the moved or renamed file. However that cannot be done. Also frankly I think writing it out in full makes clearer code.
2009-09-02 15:07:26 +01:00
Joshua Peek
e222fc1249 Dnsmasq formula 2009-09-02 01:43:17 -05:00
Brett Porter
dbe49dd33d Document how to start Dovecot 2009-09-01 11:50:43 +01:00
Brett Porter
6fb42abbcf GnuPG 1.4 formula
Doesn't build on 10.6 currently.
2009-09-01 11:50:39 +01:00
Brett Porter
6491e4a564 Litmus formula
Litmus is a WebDAV server test suite, which aims to test whether a server is
compliant with the WebDAV protocol as specified in RFC2518.
2009-09-01 11:39:21 +01:00
Ben Alpert
62b48f298d XAR formula
The XAR project aims to provide an easily extensible archive format.
2009-09-01 11:35:23 +01:00
Ben Alpert
8e6b52b392 Antiword formula
Antiword is a free MS Word reader that converts the binary files into plain
text or Postscript.
2009-09-01 11:35:16 +01:00
Ben Alpert
22aec56902 GNU Ddrescue formula
GNU ddrescue is a data recovery tool. It copies data from one file or block
device (hard disc, cdrom, etc) to another, trying hard to rescue data in case
of read errors.
2009-09-01 11:15:36 +01:00
Ben Alpert
44f8141f1a Dict.org client formula
Added Formula::etc()

Added Pathname::write() convenience function which can write a string out to
the file it points too, raising if it would have to overwrite.
2009-09-01 11:15:25 +01:00
Sean Wolfe
3d86eaf9e6 Lua formula
Lua is a powerful, fast, lightweight, embeddable scripting language.
2009-09-01 10:32:34 +01:00
Sean Wolfe
b3161bd96b Ruby Fastri service and library
> The fri executable will run much faster if you install FastRI from a
> tarball, since RubyGems introduces a noticeable overhead.

Source: http://eigenclass.org/hiki/fastri
2009-09-01 09:45:21 +01:00
Abhay Kumar
d1330fb0b4 updated erlang to R13B01 and added man pages 2009-08-31 17:06:11 -07:00
Adam Vandenberg
5146745f31 Bump glib to 2.20.5. 2009-08-31 21:59:51 +01:00
Adam Vandenberg
06fffd045a Grammar. 2009-08-31 18:45:45 +01:00
Tom von Schwerdtner
13af1c5120 GNU Core Utilities formula
The GNU Core Utilities are the basic file, shell and text manipulation
utilities of the GNU operating system. These are the core utilities which are
expected to exist on every operating system.
2009-08-31 18:09:20 +01:00
Brett Porter
3c3fad572e Dovecot formula
Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems,
written with security primarily in mind. Dovecot is an excellent choice for
both small and large installations. It's fast, simple to set up, requires no
special administration and it uses very little memory.
2009-08-31 18:09:13 +01:00
julienXX
02532ee1b9 LLVM formula
The Low Level Virtual Machine, generally known as LLVM, is a compiler
infrastructure, written in C++, which is designed for compile-time, link-time,
run-time, and "idle-time" optimization of programs written in arbitrary
programming languages.
2009-08-31 18:09:06 +01:00
Adam Vandenberg
815fb809e3 PCRE Formula
The PCRE library is a set of functions that implement regular expression
pattern matching using the same syntax and semantics as Perl 5. PCRE has its
own native API, as well as a set of wrapper functions that correspond to the
POSIX regular expression API. The PCRE library is free, even for building
commercial software.
2009-08-31 18:09:01 +01:00
Fabian Jakobs
32ec3665a6 Universal unpacker (unp) formula
unp is a small perl script which makes extraction of any archive files a bit
easier. It support several compressors and archiver programs, chooses the
right one(s) automatically and extracts one or more files in one go.

Signed Off By: Max Howell <max@methylblue.com>

I amended the formula slightly to use Homebrew's install functions, and
Homebrew's automatic installation for README, etc. files.
2009-08-31 18:08:30 +01:00
Brett Porter
e969a9d8bf Tree formula
Tree is a recursive directory listing program that produces a depth indented
listing of files, which is colorized ala dircolors if the LS_COLORS
environment variable is set and output is to tty.
2009-08-31 18:07:44 +01:00
Adam Vandenberg
9ecfe73bf9 Vorbis depends on libogg not 'ogg' 2009-08-31 01:46:19 +01:00
Adam Vandenberg
6cd8b3c160 Formula for ScummVM.
This formula needs a lot of work, on optimising and getting (optional)
dependencies figured out.
2009-08-31 01:46:19 +01:00
Adam Vandenberg
9faf689de1 Formula for SDL. 2009-08-31 01:46:19 +01:00
Joshua Peek
f417831be1 Formula for memcached 2009-08-30 11:36:27 -05:00
Joshua Peek
226b921337 Formula for elinks 2009-08-30 11:36:19 -05:00
Max Howell
33844d7ccf Git 1.6.4.2 2009-08-30 17:07:31 +01:00
Max Howell
8956290274 Full ImageMagick install
I used the imagemagick-installer script that made the rounds on Twitter lately as a basis.

But a number of improvements, eg. lets not mess around with the OS X installation of cups.
2009-08-30 16:12:46 +01:00
Max Howell
d8ba293d16 Update Boost to 1.40 2009-08-29 14:15:22 +01:00
Adam Vandenberg
af881c407f Bump Git to version 1.6.4.1 2009-08-29 13:37:52 +01:00
Adam Vandenberg
b39863d81d Bump sqlite version. 2009-08-25 02:53:15 +01:00
Adam Vandenberg
8f5d80231f Formula for mod_wsgi.
mod_wsgi is an Apache module that allows wsgi-compliant Python apps to run
under Apache or as separate daemons.
2009-08-25 02:48:13 +01:00
Max Howell
19399fc3c1 Playdar formula
Fix git download strategy
2009-08-24 01:04:54 +01:00
Max Howell
8d2610ee57 Three omissions corrected 2009-08-24 01:04:54 +01:00
Adam Vandenberg
64e2c3cdb5 MacFUSE formula
Signed-off-by: Max Howell <max@methylblue.com>

I made everything compile, however I haven't tested it yet as I have a mix of
MacFUSE installations and am thus not a good test case!
2009-08-24 01:04:54 +01:00
Adam Vandenberg
ef7438148d Formula for sshfs
SSHFS is a MacFuse based filesystem that lets you mount remote machines
(via ssh) so they are visible to Finder (and on the command line, of course.)

To use this formula, you must first install the binary of MacFuse,
because it is (not yet) avaiable via brew.
2009-08-24 01:04:53 +01:00
Max Howell
c213cdc1b3 MPlayer formula 2009-08-24 01:04:53 +01:00
Max Howell
12b0f8799c Fabricate formula
Demonstrates how to use the new SubversionDownloadStrategy, ie. it's automatic
baby.
2009-08-24 01:03:30 +01:00
Adam Vandenberg
6df42ad45a Support building from Subversion repositories
Adds a new DownloadStrategy that checks files out from Subversion to the
cache, then exports over to the temp folder for the build.

To use checkout with the svn:// protocol or reimplement download_strategy and
return SubversionDownloadStrategy.
2009-08-24 01:03:30 +01:00
Adam Vandenberg
337bd38c7c Reduce MySQL configure arg duplication 2009-08-21 14:34:27 +01:00
Max Howell
e108130e4c Mhash library formula for scoates at ##homebrew 2009-08-11 23:45:07 +01:00
Adam Vandenberg
ffbe67c95b Reformatted ./configure
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-12 05:42:57 +08:00
Adeel Ahmad Khan
679f743045 Modified imagemagick formula to compile (for me).
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-12 05:41:06 +08:00
Adeel Ahmad Khan
76181ad926 Updated dos2unix download URL.
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-12 05:41:04 +08:00
Max Howell
ead43565c2 Remove MacPorts and Fink from the build environment
Closes Homebrew/homebrew#13
2009-08-11 14:52:45 +01:00
Max Howell
a4e1acad42 Some frivalous mods to glib 2009-08-11 01:31:47 +01:00
Max Howell
4d7eef35c6 Place /usr/local first in pkg-config path
And uniq! the path list
2009-08-10 18:46:27 +01:00
Adam Vandenberg
7775d479cf Sqlite (newer than pack-in version) 2009-08-10 18:46:15 +01:00
Max Howell
428dd6181f FIX Flac2Mp3 script 2009-08-10 18:27:53 +01:00
Adam Vandenberg
21c1afa34d Recipe for MySQL client tools (5.1.x) 2009-08-10 18:15:25 +01:00
Max Howell
0c12437417 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
c491bc9ed2 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
408c3e49aa Fix inreplace and yajl formula 2009-08-10 18:12:16 +01:00
Max Howell
dcff7e0064 Neon and libmusicbrainz formulae 2009-08-10 18:12:16 +01:00
Max Howell
df51b41db8 FIX ImageMagick formula 2009-08-10 18:12:16 +01:00
Max Howell
fe99e07595 Only install UNIX d samples 2009-08-10 18:12:16 +01:00
Max Howell
c9188f1f84 mpg123 formula 2009-08-10 18:12:16 +01:00
Adam Vandenberg
3a6b50192b 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
aa14a25a43 Apply new ENV capabilities to all existing Formulae 2009-08-10 18:11:22 +01:00
Max Howell
c81d5b6ca6 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
63fcc79593 Make git install grc --profile work again 2009-08-06 20:25:59 +01:00
Max Howell
907d9779ba Install taglib-extras with Taglib 2009-08-06 20:25:59 +01:00
Max Howell
6a1082617e Only hardlink git to the other bits if they are indeed the same files 2009-08-06 20:25:59 +01:00
Max Howell
0380bb0372 Updated PNGcrush to version 1.7.0 2009-08-02 13:00:40 +01:00
Adam Vandenberg
8a2132a7b9 Add subversion formula. 2009-08-02 01:25:01 +01:00
Adam Vandenberg
d387e38c71 'tig' formula, a curses-based front end for Git. 2009-08-02 01:25:01 +01:00
Max Howell
6acb6af0d2 Added Readline formula; updated Python formula. 2009-08-02 01:25:01 +01:00
Max Howell
b949554b09 FIX flac install 2009-07-31 14:04:49 +01:00
Max Howell
b5706e2d9c Refactor $foo into HOMEBREW_FOO
CONSTANTS are the far saner choice for these important parameters.

Split env up so I can redefine the CONSTANTS in unittest.rb.
2009-07-31 04:59:02 +01:00
Max Howell
99ecbb09a2 Use our CFLAGS for dos2unix 2009-07-31 01:29:00 +01:00
Max Howell
0696e671e9 Use our CFLAGS and LDFLAGS for pngcrush 2009-07-31 01:28:27 +01:00
Max Howell
4b4ee4ce60 Git 1.6.4 2009-07-31 00:32:42 +01:00
Adam Vandenberg
16727d3937 Basic Python 2.6 recipe. 2009-07-31 00:28:38 +01:00
Adam Vandenberg
aa17c639ec Recipe for mysql client library.
Signed-off-by: Max Howell <max@methylblue.com>
2009-07-28 18:47:45 +08:00
Max Howell
b088d88244 CMake 2.6.4
Also removed xmlrpc-c dep, by coercing cmake into using its own xmlrpc
copy. It statically linked xmlrpc before anyway, so it's better for our
users not to have this crappy dependency.

Still completely in the dark about how cmake can possibly need an
xmlrpc library!
2009-07-28 02:28:46 +01:00
Max Howell
1965601a62 Refactor--object orientate where sensible 2009-07-24 23:57:54 +01:00
Max Howell
4c28749866 Update Qt to 4.5.2 2009-07-23 13:03:23 +01:00
Max Howell
74b4c3fcca Update JPEG to v7 2009-07-23 13:03:15 +01:00
Max Howell
3b15855efa Update and improve dmd formula 2009-07-23 04:12:36 +01:00
Max Howell
d67aab20d1 Fix ack formula 2009-07-23 04:12:25 +01:00
Max Howell
b1a09741d9 Improvements to cmake install 2009-07-23 03:02:09 +01:00
Max Howell
3394cc7d88 Fix issues with Pathname.install and arrays 2009-07-23 01:14:22 +01:00
Max Howell
819c9d54de Fix hard link dissociation bug
strip unlinks the file first, breaking hard links, so we detect instances where we are about to strip a file with many linkages and prevent it.

This fixes the libexec non executable bug in the git package.

Took me a long time to figure out what was wrong! :P
2009-07-22 20:28:42 +01:00
Max Howell
4fa8c73570 Gloox beta7 2009-07-10 03:11:33 +01:00
Max Howell
e366c352bf GRC version 1.3 2009-07-10 03:10:35 +01:00
Max Howell
a8a5c57e2a Fix cmake formula 2009-07-10 00:49:27 +01:00
Max Howell
8d275a2e6e Make git formula work again 2009-07-10 00:36:59 +01:00
Max Howell
91dc7e7e85 Update PNGcrush and FLAC formulae 2009-07-07 16:09:44 +01:00
Max Howell
4018e05d35 ImageMagick and Jpeg-lib formulae 2009-06-28 16:56:15 +01:00
Max Howell
46e09a2d6e Use newer flac2mp3 script 2009-06-28 16:41:06 +01:00
Max Howell
042a5d4400 Use FileUtils.chmod 2009-06-26 12:58:32 +01:00
Max Howell
481379d5ad P7ZIP formula 2009-06-26 12:58:00 +01:00
Max Howell
8412fa92f8 Tidied things up a little in light of recent changes 2009-06-18 11:13:11 +01:00
Max Howell
8a2140553a vorbis-tools and libao formulae 2009-06-18 11:00:03 +01:00
Max Howell
ccd34265bc libvorbis formula 2009-06-18 10:34:43 +01:00
Max Howell
4923207da9 libogg doesn't support parallel builds during install 2009-06-18 10:31:23 +01:00
Max Howell
3779273f09 Unrar formula
Very optimised, inspired by KDE's --enable-final
2009-06-18 08:20:47 +01:00
Max Howell
53e6ca1618 Artistic Style code beautifier 2009-06-15 00:55:32 +01:00
Max Howell
3ecaf72273 Rename mv_from to install 2009-06-15 00:55:18 +01:00
Max Howell
9bc3e7c0c8 Small tweaks to two formulae 2009-06-08 16:03:13 +01:00
Max Howell
f207933a60 dos2unix formula 2009-06-08 16:00:25 +01:00
Max Howell
c70918c00b Wireshark depends on glib depends on gettext 2009-06-06 23:54:52 +01:00
Max Howell
93112b88e6 Refactor class heirarchy 2009-06-05 23:39:56 +01:00
Max Howell
502cfe2252 Erlang formula 2009-06-05 23:38:23 +01:00
Max Howell
428db6ec56 Don't version docs with cmake and flac 2009-06-05 13:43:11 +01:00
Max Howell
b392ad324d FLAC formula including flac2mp3 script 2009-06-05 12:57:50 +01:00
Max Howell
97b1ada08d Created /Library moved brew tool to /bin
Moved Forumla and Cellar/homebrew into Library.

This way the homebrew core files are more sensibly placed, Cellar is
more internally consistent and only generated. And Homebrew is ready for
use straight out of the tarball.
2009-06-04 19:36:58 +01:00