1
Description: Don't query immodules for the local tree when cross-compiling or
2
when --disable-shared was given
1
From: =?utf-8?q?Lo=C3=AFc_Minier?= <lool@dooz.org>
2
Date: Sat, 21 Sep 2013 23:37:03 +0200
3
Subject: Don't query immodules for the local tree under --disable-shared
5
[mbiebl: follow upstream and use immodules.cache instead of gtk.immodules]
3
7
Bug: http://bugzilla.gnome.org/show_bug.cgi?id=346531
9
Applied-upstream: no, bug was closed due to lack of feedback
12
modules/input/Makefile.am | 17 ++++++++++++++++-
13
2 files changed, 17 insertions(+), 1 deletion(-)
5
Index: gtk+-2.24.19/configure.ac
6
===================================================================
7
--- gtk+-2.24.19.orig/configure.ac 2013-06-28 23:39:49.071200389 +0200
8
+++ gtk+-2.24.19/configure.ac 2013-06-28 23:39:49.063200297 +0200
10
dnl Initialize libtool
13
+AM_CONDITIONAL([ENABLE_STATIC], [test "$enable_static" = yes])
16
dnl Check for a working C++ compiler, but do not bail out, if none is found.
17
Index: gtk+-2.24.19/modules/input/Makefile.am
18
===================================================================
19
--- gtk+-2.24.19.orig/modules/input/Makefile.am 2013-06-28 23:39:49.071200389 +0200
20
+++ gtk+-2.24.19/modules/input/Makefile.am 2013-06-28 23:39:49.063200297 +0200
15
diff --git a/configure.ac b/configure.ac
16
index b75f9c6..58d3492 100644
19
@@ -182,6 +182,7 @@ fi
23
+AM_CONDITIONAL([ENABLE_SHARED], [test "$enable_shared" = yes])
24
dnl when using libtool 2.x create libtool early, because it's used in configure
25
m4_ifdef([LT_OUTPUT], [LT_OUTPUT])
27
diff --git a/modules/input/Makefile.am b/modules/input/Makefile.am
28
index c8610fa..bfe5085 100644
29
--- a/modules/input/Makefile.am
30
+++ b/modules/input/Makefile.am
31
@@ -189,7 +189,11 @@ dist_imconffile_DATA = im-multipress.conf
23
33
RUN_QUERY_IMMODULES_TEST=false
36
RUN_QUERY_IMMODULES_TEST=test -z "$(DESTDIR)"
26
38
+RUN_QUERY_IMMODULES_TEST=false
28
RUN_QUERY_IMMODULES_TEST=test -z "$(DESTDIR)"
32
42
# Running this if cross compiling or if DESTDIR is set is going to
33
# not work at all, so skip it.
43
@@ -253,7 +257,18 @@ noinst_LTLIBRARIES = \
35
44
included-modules: $(noinst_LTLIBRARIES)
37
46
immodules.cache: Makefile.am $(module_LTLIBRARIES)