* Bump build-dependencies according to configure.ac: - glib 2.39.5 and gtk-doc 1.20 * Use quilt to refresh all patches. * Update debian/libgtk-3-0.symbols
39 lines
1.1 KiB
Diff
39 lines
1.1 KiB
Diff
Description: Fall back to the hard-coded pre-multiarch module directory
|
|
Include /usr/lib/gtk-3.0 in the path as a fallback when building for
|
|
multiarch, to maintain compatibility with packages installing modules to
|
|
the old directories.
|
|
Author: Steve Langasek <steve.langasek@linaro.org>
|
|
Forwarded: not-needed
|
|
|
|
--- a/gtk/gtkmodules.c
|
|
+++ b/gtk/gtkmodules.c
|
|
@@ -55,6 +55,7 @@
|
|
const gchar *exe_prefix;
|
|
gchar *module_path;
|
|
gchar *default_dir;
|
|
+ gchar *pre_multiarch_dir = NULL;
|
|
static gchar **result = NULL;
|
|
|
|
if (result)
|
|
@@ -65,15 +66,17 @@
|
|
|
|
if (exe_prefix)
|
|
default_dir = g_build_filename (exe_prefix, "lib", "gtk-3.0", NULL);
|
|
- else
|
|
+ else {
|
|
default_dir = g_build_filename (_gtk_get_libdir (), "gtk-3.0", NULL);
|
|
+ pre_multiarch_dir = "/usr/lib/gtk-3.0";
|
|
+ }
|
|
|
|
if (module_path_env)
|
|
module_path = g_build_path (G_SEARCHPATH_SEPARATOR_S,
|
|
- module_path_env, default_dir, NULL);
|
|
+ module_path_env, default_dir, pre_multiarch_dir, NULL);
|
|
else
|
|
module_path = g_build_path (G_SEARCHPATH_SEPARATOR_S,
|
|
- default_dir, NULL);
|
|
+ default_dir, pre_multiarch_dir, NULL);
|
|
|
|
g_free (default_dir);
|
|
|