From d6851033f9da72746eea1e382e228c4abb311e76 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 8 Mar 2012 20:31:32 -0600 Subject: Fix gdk-pixbuf module installation 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 --- Library/Homebrew/keg.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library') diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index edc948f76..0d31136eb 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -88,6 +88,7 @@ class Keg < Pathname # pkg-config database gets explicitly created when 'pkgconfig' then :mkpath # lib/language folders also get explicitly created + when /^gdk-pixbuf/ then :mkpath when 'ghc' then :mkpath when 'lua' then :mkpath when 'node' then :mkpath -- cgit v1.2.3