gdk-pixbuf fails to compile on 10.8.2 because it is missing a
dependency on jpeg. Add that.
ClosesHomebrew/homebrew#15598.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
When other packages install gdk-pixbuf modules, they get installed into
the gdk-pixbuf keg. To avoid this, we explicitly create the top level
lib directories for gdk-pixbuf and hack the pkgconfig file to point at
the top-level directories instead of the keg.
This results in other packages installing modules into the top-level
directory and as such they are "lost" and treated as unbrewed files, but
that is still better than losing them during upgrades of gdk-pixbuf
itself.
If we had a post-link hook, we could keep everything confined to its own
keg, linked into the top-level modules directory, and then run
gdk-pixbuf-query-loaders --update-cache
ourselves. In the abscence of that, I think this is the best compromise.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Other packages try to write to this file during a build, and will fail
unless we don't munge the permissions.
The question of "should this file be created in the top-level somehow?"
remains.
ClosesHomebrew/homebrew#4970.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Determining build-time deps as part of the download strategy is probably
a Homebrew 2 topic, so avoid the "you need to install xz" warning by
declaring xz as a dep where used.
The "don't use xz if there are alternatives" policy is still in effect,
though.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This updates gdk-pixbuf to version 2.24.0 and fixes some flags to
configure that were not correct for OSX or were not set correctly
due to strange defaults settings on this build.
--disable-maintainer-mode gets set because it defaults on.
--enable-debug=no gets set because its [no,min,max,auto]
--enable-instrospection=no gets set because it's desired.
--disable-Bsymbolic gets set because it's only for elf32.
--without-gdiplus gets set because it's for Windows.
This compiles with gcc-4.2.1, llvm-2335.9, and clang-2.0 from
XCode-4.0.2 on x86_64 10.6.8.
ClosesHomebrew/homebrew#8112.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>