Commit Graph
5506 Commits
Author SHA1 Message Date
Max Howell 178dc49350 Solving the GNU GetText issues
GNU GetText breaks eg. Ruby 1.9 builds, and some other formula I have been building too. But it is required by eg. glib. So to solve this we are going to by default not symlink gettext into the Homebrew prefix.

Formula that depend on GetText will have the gettext paths added to the brewing environment automatically. Neat.
2009-09-17 22:01:27 +01:00
Max Howell 01b640a840 Fixes glib
It compiles, but I am not sure this is safe frankly. The problem is that the OS X iconv is bugged and doesn't have a 64 bit symbol for libiconv_open.

Now we must build 64 bit as otherwise everything that links to iconv must be 32 bit too. So we build a static libiconv and link glib to that. This fills in the missing symbol.

However glib still dynamically links to /usr/lib/libiconv.dylib, this is the bit I'm not happy with. It can be fixed but I'm guessing it's ok. At least at this stage of Homebrew.
2009-09-17 22:01:27 +01:00
Max Howell 0d1ec96414 Python depends on a custom Readline
The idea here is that this readline is installed, but not symlinked in.
2009-09-17 22:00:29 +01:00
dbr 1b6c9d8a98 Add weechat formula 2009-09-17 19:51:48 +01:00
dbr 0904f4d54e The "brew gen" command doesn't seem to exist, changed to "brew create", which isn't otherwise mentioned 2009-09-17 19:51:48 +01:00
Max Howell f08a66a8b7 Delete the partial download with any exception
Don't delete it if it doesn't exist.
2009-09-17 18:42:56 +01:00
Max Howell 74c4f8b540 TagLib 1.6 2009-09-17 18:42:56 +01:00
Max Howell 506026e0b1 Prettier install output
This way caveats and other warnings/errors don't appear connected to the Summary text.
2009-09-17 18:42:56 +01:00
Max Howell 0122fb9a48 Warning for bin dirs not in the PATH
Eg. sbin may be part of the formula, but that isn't in the default Mac PATH. Also will avoid bug reports for users who forget to amend their PATH and stick Homebrew somewhere different.
2009-09-17 18:42:56 +01:00
Max Howell c51b128c8e Add license header to update.rb 2009-09-17 18:40:21 +01:00
Max Howell 460ecea933 Rename refresh_brew.rb to update.rb
I didn't change the class name, it's clear from the context where it is used what it does. However when just looking at files to figure out the nature of Homebrew I believe in clear naming.

Otherwise funny names earn you points.
2009-09-17 18:39:58 +01:00
Max Howell 038e6ce6b7 Error out if a git command fails during update 2009-09-17 18:27:12 +01:00
Eloy Duran 08c67c4761 Made the Library tests green on 10.6.0 2009-09-17 00:24:59 +02:00
Eloy Duran 0cb1f6e041 Changed verbose output of git commands during update to use the existing style. 2009-09-17 00:24:12 +02:00
Eloy Duran f822917bf1 Don't break if RubyCocoa can't be loaded, but try to help the user. 2009-09-17 00:24:11 +02:00
Eloy Duran 5092d7b688 Made the output of updating a bit nicer and log more if --verbose. 2009-09-17 00:24:11 +02:00
Eloy Duran 10e83c2a2c Before trying to update, first checkout the masterbrew branch. 2009-09-17 00:24:11 +02:00
Eloy Duran 0a2a38903d Removed the old 'update' when clause and fixed a small spelling error. 2009-09-17 00:24:11 +02:00
Eloy Duran 6c2f11a832 Make sure git commands in RefreshBrew are executed with the proper working dir. 2009-09-17 00:24:11 +02:00
Eloy Duran 55f6546dd0 Added `update' to banner. 2009-09-17 00:24:11 +02:00
Eloy Duran 871b25cf0b Update Homebrew and list the updated formulae. 2009-09-17 00:24:11 +02:00
Max Howell 4fe374dafd Default to patch level 1
Having gone through our patches it's clear that p1 is more standard.

Also fixed a bug where returning DATA outside of an array would fail to patch.
2009-09-16 17:08:32 +01:00
Luke G 9a59a1037c Nmap 5.00 formula
We don't install zenmap as it uses Python dist tools and doesn't play nice.
2009-09-16 15:39:30 +01:00
Daniel Rodríguez Troitiño 9f033332f0 Added patch for environ problems in Gettext.
All Gettext binaries fail at runtime with linking problems related to the
environ variable. According to <http://www.mail-archive.com/bug-gnulib@gnu.org/msg09272.html>
the environ variable is missing from some platforms (between them MacOS X),
and autoconf test for it, and sets HAVE_ENVIRON_DECL accordingly. A common
workaround was declaring "extern char** environ" in the code if the OS didn't
provide the environ variable, but that doesn't work since 10.5. Since then you
have to use _NSGetEnviron() function declared in crt_externs.h. This
workaround works at least since 10.3. t

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

Closes #11
2009-09-16 15:33:30 +01:00
Max Howell 6aa72821ee Add /usr/X11/lib/pkgconfig to pkg-config-path 2009-09-16 15:18:56 +01:00
David Reynolds c66cd52477 LFTP formula
LFTP is sophisticated ftp/http client, file transfer program supporting a
number of network protocols. Like BASH, it has job control and uses readline
library for input. It has bookmarks, built-in mirror, can transfer several
files in parallel. It was designed with reliability in mind.

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

Added MD5 and modified tweaks to the ENV slightly.
2009-09-16 14:49:07 +01:00
Clinton R. Nixon 6aede5fa97 CHICKENscheme formula
CHICKEN is a compiler for the Scheme programming language. CHICKEN produces
portable, efficient C, supports almost all of the R5RS Scheme language
standard, and includes many enhancements and extensions. CHICKEN runs on
Linux, MacOS X, Windows, and many Unix flavours.
2009-09-16 14:49:07 +01:00
Geoff Cant 250ff1ec80 Adding a Formula for the Emacs Erlang refactoring mode Wrangler 2009-09-16 14:49:07 +01:00
Paul J. Davis f3c3418cbb Libffi formula
libffi - FFI stands for Foreign Function Interface. A foreign function
interface is the popular name for the interface that allows code written
in one language to call code written in another language.
2009-09-16 14:49:07 +01:00
Dane Jensen 1a0b95d28d Build spidermonkey with utf-8 support 2009-09-16 14:49:07 +01:00
Geoff Cant a6af73b460 Latest Erlang R13B02 snapshot
Signed-off-by: Max Howell <max@methylblue.com>

I had to amend this quite heavily as it wasn't a patch against the latest formula.
2009-09-16 14:49:06 +01:00
Geoff Cant 9fd6503369 Vilistextum formula
Vilistextum is a html to text / ascii converter specifically programmed to get
the best out of incorrect html.
2009-09-16 14:49:06 +01:00
Darcy Laycock be2f766dc5 Add fish completions for the brew binary
See Library/Contributions
2009-09-16 14:49:06 +01:00
Daniel Rodríguez Troitiño 66fa5b9493 Upgrading s-lang version to 2.2.1. 2009-09-16 14:49:06 +01:00
Daniel Rodríguez Troitiño f3be0fe7ca Most <http://www.jedsoft.org/most/> formula.
Most version 5.0.0a.
Adding S-Lang as a dependency for building.
2009-09-16 14:49:06 +01:00
Dane Jensen 65cf4e87d2 Unittest formula
This is the web page for a C++ unit test framework. Its design goals are to be
simple, to be idiomatic C++, and to follow the basic xUnit style to the extent
that doing so is compatible with the earlier goals. Its main differences from
other xUnit frameworks are that it uses constructors and destructors for
setup/teardown and that it requires you to represent tests as classes, instead
of methods.
2009-09-16 14:49:06 +01:00
Dane Jensen c29448986c Build multi-threaded Boost. 2009-09-16 14:49:06 +01:00
Max Howell c8c2cb2dd3 Use __END__ patch rather than github gist
Also there was seemingly some bug where if you didn't read the pipe for the
patch commmand the exit status was non-zero.
2009-09-16 14:49:06 +01:00
Ben Alpert cfaf813b66 Fix up Lua formula a bit 2009-09-16 14:49:06 +01:00
Brian Smyth 4cce63175a Logrotate formula
The logrotate utility is designed to simplify the administration of log files
on a system which generates a lot of log files. Logrotate allows for the
automatic rotation compression, removal and mailing of log files. Logrotate
can be set to handle a log file daily, weekly, monthly or when the log file
gets to a certain size. Normally, logrotate runs as a daily cron job.

The package is not buildable on Darwin without including an additional
header, nor is it installable without teaching the Makefile what INSTALL
is on Darwin.

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

I made a number of modifications, including comma separating the make call so
that the prefix doesn't need to be escaped if it has spaces in it.

Also setting LDFLAGS to /usr/local/lib is done in brewkit.rb already. The
POPT_DIR var shouldn't be necessary either, but I haven't tested that yet.
2009-09-16 14:49:06 +01:00
Max Howell 2b22c47ee1 Allow formulae to use __END__
For this to work the "running script" must be the formulae file. Making this
so wasn't so hard, there is now an install.rb script which is included with
the -r flag to the ruby executable. An at_exit handler calls the install
function.

Having the install logic in its own file made it feel like there was so much
space that I added extra error handling. So there is something to be said for
separating functionality out into its own files.

Still the error handling sucks, we'll need to marshall the exception back to
the bin/brew command. Which is another PITA.

Still overall I think this will prove worthwhile. But if it doesn't we'll
revert.

As a first usage, you can put a diff after __END__ and return DATA from
Formula::patches to make Homebrew aware of it.
2009-09-16 14:49:06 +01:00
Max Howell 7240098105 Support patching using diffs on local filesystem 2009-09-16 14:49:05 +01:00
Brian Smyth cfb6505767 Teach patch to uncompress patches if necessary.
This change also eliminates the somewhat duplicate codepath if patches
returns and Array rather than a Hash.
2009-09-16 14:49:05 +01:00
Ben Alpert 364f64fefb AtomicParsley formula
AtomicParsley is a lightweight command line program for reading, parsing and
setting metadata into MPEG-4 files
2009-09-16 14:49:05 +01:00
Tom von Schwerdtner 1c57aeb451 Irssi forumula
Irssi is a terminal based IRC client for UNIX systems. It also supports SILC
and ICB protocols via plugins.
2009-09-16 14:49:05 +01:00
Andre Arko e6cffbb158 Add znc-extras sub-package with more useful modules 2009-09-15 17:30:40 -07:00
Andre Arko a4837e77f2 Add znc, the advanced IRC proxy/bouncer
Includes recipes for znc and its dep, the c-ares lib
Now without stripping, so .so plugins will load
2009-09-15 17:30:40 -07:00
Joshua Peek fb633cbe3b Clear CDPATH to avoid make issues that depend on changing directories 2009-09-14 20:33:47 +01:00
David Höppner d3fe291579 Rasqal RDF Query Library Formula
Rasqal is a free software / Open Source C library that handles Resource Description
Framework (RDF) query syntaxes, query construction and query execution returning result
bindings. The supported query languages are SPARQL and RDQL.
2009-09-14 20:33:47 +01:00
David Höppner 657890b804 Raptor formula
Raptor is a free software / Open Source C library that provides a set of parsers
and serializers that generate Resource Description Framework (RDF) triples by parsing
syntaxes or serialize the triples into a syntax. The supported parsing syntaxes are
RDF/XML, N-Triples, TRiG, Turtle, RSS tag soup including all versions of RSS, Atom 1.0
and 0.3, GRDDL and microformats for HTML, XHTML and XML and RDFa. The serializing
syntaxes are RDF/XML (regular, and abbreviated), Atom 1.0, GraphViz, JSON, N-Triples,
RSS 1.0 and XMP.
2009-09-14 20:33:47 +01:00