summaryrefslogtreecommitdiffstats
path: root/package/libgtk3/libgtk3-0002-fix-introspection-check.patch
diff options
context:
space:
mode:
authorHadrien Boutteville <hadrien.boutteville@gmail.com>2014-10-13 14:54:23 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-10-15 14:52:23 +0200
commitc4ec97d505e080298c2225c123d1f3ec560018e6 (patch)
treef74302cca3c7255a71e5686c6f8aa00eeeb92fc7 /package/libgtk3/libgtk3-0002-fix-introspection-check.patch
parentced34ea1036ab5360146ca80fd7816060e3783b5 (diff)
downloadbuildroot-c4ec97d505e080298c2225c123d1f3ec560018e6.tar.gz
buildroot-c4ec97d505e080298c2225c123d1f3ec560018e6.zip
libgtk3: new package
This package provides Gtk+ 3.0, a graphical toolkit. [Peter: fix Config.in deps, ensure atleast 1 backend, remove redundant info] Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com> Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> [Eric: added backend support, use of pkgconf for host-libgtk3] Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libgtk3/libgtk3-0002-fix-introspection-check.patch')
-rw-r--r--package/libgtk3/libgtk3-0002-fix-introspection-check.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/libgtk3/libgtk3-0002-fix-introspection-check.patch b/package/libgtk3/libgtk3-0002-fix-introspection-check.patch
new file mode 100644
index 0000000000..4c2806d819
--- /dev/null
+++ b/package/libgtk3/libgtk3-0002-fix-introspection-check.patch
@@ -0,0 +1,28 @@
+Fix HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
+
+During autoreconf GOBJECT_INTROSPECTION_CHECK could not be resolved because we
+don't have introspection which provides its custom m4 macro. Reconfigure fails
+with:
+
+gdk/Makefile.am:196: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
+gtk/Makefile.am:1347: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
+
+We avoid to add a copy of introspection.m4 in the m4 directory of libgtk3 by
+adding a check, as performed in Systemd.
+
+Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com>
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -1621,7 +1621,10 @@
+ # GObject introspection
+ ##################################################
+
+-GOBJECT_INTROSPECTION_CHECK(introspection_required_version)
++m4_ifdef([GOBJECT_INTROSPECTION_CHECK],
++ [GOBJECT_INTROSPECTION_CHECK(introspection_required_version)],
++ [AM_CONDITIONAL([HAVE_INTROSPECTION], [false])
++ enable_introspection=no])
+
+ ##################################################
+ # colord module
OpenPOWER on IntegriCloud