Commit graph

28 commits

Author SHA1 Message Date
Jack Nagel
8d72b8ddcc gettext: always use bundled libraries
We have been explicitly passing "--without-included-glib", etc. to the
but this doesn't make sense: the flag does not mean "don't use glib at
all", it means "don't use the bundled glib", which means "use an
external copy of glib if one exists, but otherwise fall back to the
included version anyway".

This can lead to subtle breakage: if a user has installed glib, and then
gettext is built from source, gettext will link to the external glib.
When the user goes to upgrade glib the next time around, the build will
fail when it tries to use the now broken gettext binaries.

So in most cases, our gettext formula has been using these bundled
libraries anyway. The most obvious case is the bottles, which do not
have external linkage to glib, libunistring, etc.

In order to cover all cases, _always_ build with the included libraries.

There is no need to rebuild the bottles for these changes, as they are
correct already.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-20 17:22:07 -05:00
Jack Nagel
d9a9ec777a gettext: fix checksum
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-03 22:30:16 -05:00
Mike McQuaid
88779ade49 Batch convert MD5 formula to SHA1.
Closes Homebrew/homebrew#14653.
2012-09-03 11:36:42 -07:00
Mike McQuaid
ecb600b034 gettext: add Mountain Lion and Snow Leopard bottles. 2012-08-11 15:24:21 +01:00
Adam Vandenberg
311c9cbd5e gettext: use options dsl 2012-08-09 22:00:54 -07:00
Jack Nagel
9f90cd8794 gettext: remove Snow Leopard bottle
The bottle was linked against libunistring, which is not a hard
dependency but gets picked up by the build if its present; this results
in breakage on systems where libunistring is not installed.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-22 18:00:05 -05:00
Misty De Meo
861f0c916e gettext: add Snow Leopard bottle 2012-04-10 11:06:57 -05:00
Mike McQuaid
1e3dc00c15 Add gettext bottle. 2012-02-27 09:49:20 +00:00
Adam Vandenberg
782007ff6e Don't override default -O flag.
Way back in the day, Homebrew defaulted to LLVM/-O3. A lot of stuff
failed to compile, and a lot of stuff just took forever with -O4.

We don't default this way anymore, and in fact use -Os per Apple
guidelines.

So remove these old "fixes" since they are no longer needed.
2012-02-25 21:00:28 -08:00
Jack Nagel
83fcafb5aa Add mirrors for GNU formulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30 12:56:07 -06:00
Jack Nagel
fa3d89a7c0 Use automatic mirror selection for GNU downloads
It seems that the main GNU download site has issues in some places
outside the U.S., so we'll use the provided "ftpmirror.gnu.org" to pick
a nearby mirror.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-12 15:08:20 -05:00
José Martínez
e6b852f411 gettext: fix build with Xcode 4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-21 06:31:48 -07:00
Adam Vandenberg
4533710634 gettext: universal binary 2011-06-06 10:21:37 -07:00
Adam Vandenberg
1fe061bf37 gettext: simplify build process
Don't build examples and then delete them; use the MacPorts
patch to not build examples in the first place, unless explicitly
asked for.
2011-06-05 08:07:41 -07:00
Adam Vandenberg
c3d38d819f Change keg-only text slightly. 2011-03-22 13:14:57 -07:00
Adam Vandenberg
b3b559d2af gettext - add configure switch
--without-git was required for some users.
2011-03-19 11:42:27 -07:00
Fred Wenzel
e1f53bf047 updated gettext to 0.18.1.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-12 11:55:12 -08:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Tianyi Cui
8b275c916a Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:14:27 -08:00
Adam Vandenberg
ac4e28a5ba Document all existing install options. 2010-08-10 13:05:20 -07:00
Adam Vandenberg
7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00
Adam Vandenberg
e76912ac4a gettext - fix Mac Pro 10.6 issue Homebrew/homebrew#540
LLVM -O4 doesn't work on Mac Pro.
2010-02-11 15:02:11 -08:00
Max Howell
61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00
Max Howell
bd67abc121 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
3b4dac6ddd 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
Daniel Rodríguez Troitiño
0da74e36e8 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 Homebrew/homebrew#11
2009-09-16 15:33:30 +01:00
Max Howell
aa14a25a43 Apply new ENV capabilities to all existing Formulae 2009-08-10 18:11:22 +01:00
Max Howell
c70918c00b Wireshark depends on glib depends on gettext 2009-06-06 23:54:52 +01:00