Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] gtk+3: only set GTKIMMODULES_PACKAGES if we have immodules
@ 2013-08-29 16:28 Christopher Larson
  2013-08-29 16:28 ` [PATCH 2/2] gtk+3: pull forward the gtk+2 hardcoded libtool patch Christopher Larson
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Larson @ 2013-08-29 16:28 UTC (permalink / raw)
  To: openembedded-core; +Cc: Christopher Larson

From: Christopher Larson <chris_larson@mentor.com>

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
---
 meta/recipes-gnome/gtk+/gtk+3.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3.inc
index f4d5254..e769ca5 100644
--- a/meta/recipes-gnome/gtk+/gtk+3.inc
+++ b/meta/recipes-gnome/gtk+/gtk+3.inc
@@ -94,7 +94,10 @@ python populate_packages_prepend () {
     immodules_root = os.path.join(gtk_libdir, 'immodules')
     printmodules_root = os.path.join(gtk_libdir, 'printbackends');
 
-    d.setVar('GTKIMMODULES_PACKAGES', ' '.join(do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk3-immodule-%s', 'GTK input module for %s')))
+    immodules = do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk3-immodule-%s', 'GTK input module for %s')
+    if immodules:
+        d.setVar("GTKIMMODULES_PACKAGES", " ".join(immodules))
+
     do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk3-printbackend-%s', 'GTK printbackend module for %s')
 
     if (d.getVar('DEBIAN_NAMES', 1)):
-- 
1.8.3.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-29 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-29 16:28 [PATCH 1/2] gtk+3: only set GTKIMMODULES_PACKAGES if we have immodules Christopher Larson
2013-08-29 16:28 ` [PATCH 2/2] gtk+3: pull forward the gtk+2 hardcoded libtool patch Christopher Larson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox