Commit graph

63 commits

Author SHA1 Message Date
Jack Nagel
523701ff15 glib: disable modular tests
glib's configure script looks for libdbus, and tries to link a test
program against it if it exists. This fails when the architectures of
the two do not match, for example when compiling glib as universal.

Since the alternative is to add a universal option to dbus and then add
a dependency here, just disable this test.

Fixes Homebrew/homebrew#17570.
2013-02-04 00:31:16 -06:00
Jack Nagel
49c64373f1 glib: use test DSL 2013-02-01 23:38:51 -06:00
Jack Nagel
54681c8120 glib 2.34.3 2012-12-08 15:25:45 -06:00
nibbles 2bits
395b58d5da glib: use the official patch for gsocket.c instead
- Remove the third patch added today. The bug report is resolved.
- Add the official fix for that bug in `gio/gsocket.c`.

The devs got back in contact and reported that they had reverted
the offending change to `gsocket.c` and gave us the right patch
to do that.  Noted in the comments to remove at the next version.

Closes Homebrew/homebrew#16157.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-20 09:02:25 -08:00
nibbles 2bits
201b0f854e glib 2.34.2
- Upgrade to 2.34.2.
- Note one of the patches is resolved and the new removal version.
- Add a new patch to fix an undeclared `avail_len` in `gio/gsocket.c`
- Note in comments the new bug report url.

Closes Homebrew/homebrew#16154.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-19 20:25:45 -06:00
Jack Nagel
fb8a113bcd glib 2.34.1
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-20 17:22:06 -05:00
Jack Nagel
c8591739cb Use HTTP for gnome URLs
c.f. Homebrew/homebrew#10377.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-05 15:57:45 -05:00
Adam Vandenberg
11587636ca glib: use options dsl 2012-08-09 22:00:54 -07:00
samueljohn
f5108d7632 glib: test needs CFLAGS, too
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-23 07:25:14 -07:00
Jack Nagel
017beeea02 glib 2.32.4
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-19 02:59:56 -05:00
Jack Nagel
a2ab065728 glib 2.32.3
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-17 21:49:01 -05:00
nibbles 2bits
e62f0fc2fa glib 2.32.2
Upgrade glib to version 2.32.2.  Note in comments bugreport status.
Remove `fails_with :clang` because it works with mc.

There were just a few bugfixes in the changelog for 2.32.2
including one to the gdatetime tests, which get further before
they fail.  Tested glib by building pango and running its def test
and by running mc for a while.

[jn: use localstatedir]

Closes Homebrew/homebrew#12116.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-08 22:08:46 -05:00
Don Onwunumah
b2426b2037 glib: disable dtrace
This was apparently lost in a recent update to the glib formula.

See https://trac.macports.org/ticket/30413

Closes Homebrew/homebrew#11977.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-03 18:10:42 -05:00
Camillo Lugaresi
2fdf5497f0 glib 2.32.1
Reviewed most patches (minus the UB stuff), fixed bugs, sent
patches upstream, updated to 2.32.1.

Closes Homebrew/homebrew#11279.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-22 18:10:17 -05:00
Jack Nagel
fc2a20d3aa glib: fails with clang
cf. Homebrew/homebrew#11575, Homebrew/homebrew#10653.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-10 22:53:41 -05:00
Jack Nagel
64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Jack Nagel
449d9f7a19 glib: make patch URLs copy-paste friendly
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-13 20:44:41 -05:00
Adam Vandenberg
ec6535cf62 glib: fail if pkg-config not found; use actual compiler 2012-03-13 20:44:41 -05:00
Jack Nagel
48f1ac068d glib: add test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-13 20:44:41 -05:00
Jack Nagel
42100c89ba glib 2.30.3
- Remove autoconf cruft for building universal; the relevant MacPorts
   patch now patches configure rather than configure.ac, rendering this
   a no-op.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-13 20:44:40 -05:00
Jack Nagel
7797d554c3 glib: fix typos
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-06 23:48:05 -06:00
Jack Nagel
f088a08e87 Normalize MacPorts patch URLs
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-22 19:18:29 -06:00
Jack Nagel
065978ba16 glib: replace paths in patched files
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-13 00:22:16 -06:00
Brett Koonce
4fbd52cf8c Fix spelling mistake
Closes Homebrew/homebrew#9412.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-06 09:47:42 -06:00
Misty De Meo
88ce3f8f9e glib: find libffi without pkg-config
glib's dependency on pkg-config can be eliminated if a few environment
variables are set. This needed to be updated for libffi in order to
build correctly.

Fixes Homebrew/homebrew#9045.

Closes Homebrew/homebrew#9064.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-09 13:04:03 -06:00
Jack Nagel
4b7d657dc7 glib: builds with LLVM >= 2335
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-08 21:27:15 -06:00
Camillo Lugaresi
97aa9a5fbd glib: patch to use native iconv
Closes Homebrew/homebrew#6868.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-08 21:19:32 -06:00
Jack Nagel
9ba17400cd glib 2.30.2
This has a dependency on libffi that 2.28.x did not have; perhaps the
system library isn't good enough anymore. MacPorts had to add this, too.

Closes Homebrew/homebrew#8946.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-03 16:36:15 -06:00
Chad Catlett
ff0bc10a82 glib: fix patch URL
Use revision 79276 of patches from MacPorts.

Closes Homebrew/homebrew#8756.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-23 13:41:46 -06:00
Mykhailo Kotsur
0e4383e6f9 Glib: Configure without dtrace
Fixes build failures on Lion. See this MacPorts ticket for more info:

  https://trac.macports.org/ticket/30413

Fixes Homebrew/homebrew#7604.
Closes Homebrew/homebrew#7606.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-13 09:51:17 -07:00
Max Howell
e20df6c4de This hack (?) means glib doesn't depend on pkg-config
So in theory we can upgrade to pkg-config 0.26 now.
2011-08-22 10:26:01 +01:00
Birger J. Nordølum
2a82a51078 GLib 2.28.8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-15 13:51:20 -07:00
Max Howell
2c897104af Glib and GTK+ won't build on Lion *without* LLVM
Probably 10.6 LLVM is now good enough too, but can't test.
2011-08-05 13:55:26 +01:00
Max Howell
4567b8159c Statically building our own iconv into formula deemed unnecessary
Now we have our libiconv formula.

Sadly Lion still lacks the iconv_open symbol in 64 bit flavour. Sucks.

Fixes Homebrew/homebrew#6066. Indirectly.
2011-08-05 13:55:25 +01:00
Adam Vandenberg
a27f3083f7 glib: universal binary 2011-06-06 10:21:37 -07:00
Birger J. Nordølum
1c51dee7ab GLib 2.28.7
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-22 13:36:44 -07:00
Birger J. Nordølum
bcf38f88aa GLib 2.28.6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-14 13:59:57 -07:00
Adam Vandenberg
84cf604b9f Move fails_with_llvm for glib/gtk/gnu-smalltalk 2011-04-09 09:36:16 -07:00
Birger J. Nordølum
c7f0fbeab5 GTK+ 2.24.4, GLib 2.28.5
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-03 10:16:51 -07:00
Birger J. Nordølum
a6907434ac GLib: 2.28.4
Thanks to MacPorts.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-26 13:24:15 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg
19e5e6e64a Mark scons, cmake & pkg-config as build-time deps 2010-10-12 07:13:29 -07:00
Adam Vandenberg
549cb09411 Add MacPorts patches to glib
This fixes some 64-bit issues.
2010-10-06 07:54:02 -07:00
Anatol Pomozov
921f3ed3d3 Update glib to the latest stable release 2.24.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-27 09:32:04 -07:00
Douglas Creager
8835fffce9 Fixing several formulae that fail with LLVM
Specifically: emacs, glib, igraph, and zeromq
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-18 17:14:14 -07:00
Adam Vandenberg
55b98a9421 Update formulae to use path shortcuts 2010-08-08 11:24:36 -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
1a72a0f46b glib - supress a folder already exists warning 2010-07-29 13:24:00 -07:00
Adam Vandenberg
906cb27dac Update glib to 2.24.1 2010-05-13 09:21:58 -07:00
Adam Vandenberg
193a78de04 Use more inreplace features.
Update formulas to make more idiomatic use of "inreplace", including
its new ability to take a list of files to act on.
2010-02-21 23:37:49 -08:00