Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save spicyjack/6315905 to your computer and use it in GitHub Desktop.
Save spicyjack/6315905 to your computer and use it in GitHub Desktop.
Homebrew: enable object introspection in ATK/Gdk-Pixbuf/GTK+3/Pango
diff --git a/Library/Formula/atk.rb b/Library/Formula/atk.rb
index 74ac570..d594d47 100644
--- a/Library/Formula/atk.rb
+++ b/Library/Formula/atk.rb
@@ -15,7 +15,7 @@ class Atk < Formula
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
- "--enable-introspection=no"
+ "--enable-introspection=yes"
system "make"
system "make install"
end
diff --git a/Library/Formula/gdk-pixbuf.rb b/Library/Formula/gdk-pixbuf.rb
index ed11892..3c7bb4a 100644
--- a/Library/Formula/gdk-pixbuf.rb
+++ b/Library/Formula/gdk-pixbuf.rb
@@ -23,7 +23,7 @@ class GdkPixbuf < Formula
"--disable-maintainer-mode",
"--enable-debug=no",
"--prefix=#{prefix}",
- "--enable-introspection=no",
+ "--enable-introspection=yes",
"--disable-Bsymbolic",
"--without-gdiplus"
system "make"
diff --git a/Library/Formula/gtk+3.rb b/Library/Formula/gtk+3.rb
index 0a170be..cb691c6 100644
--- a/Library/Formula/gtk+3.rb
+++ b/Library/Formula/gtk+3.rb
@@ -21,9 +21,7 @@ class Gtkx3 < Formula
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
- "--prefix=#{prefix}",
- "--disable-glibtest",
- "--disable-introspection"
+ "--prefix=#{prefix}"
system "make install"
# Prevent a conflict between this and Gtk+2
mv bin/'gtk-update-icon-cache', bin/'gtk3-update-icon-cache'
diff --git a/Library/Formula/pango.rb b/Library/Formula/pango.rb
index 19c8d42..37a39e7 100644
--- a/Library/Formula/pango.rb
+++ b/Library/Formula/pango.rb
@@ -35,7 +35,7 @@ class Pango < Formula
--prefix=#{prefix}
--enable-man
--with-html-dir=#{share}/doc
- --disable-introspection
+ --enable-introspection=yes
]
if build.include? 'without-x'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment