aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-03-13 15:45:27 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-03-17 21:51:43 +0000
commit61193fc0a26362faff91c762449f38fb5b23cf04 (patch)
tree44663ab6948c1e46869af36e27c392844c6ae9a0
parente1a7d95053b7f19a2a7d9bf4da7625a4154c57e3 (diff)
Fix missing link to unistring for rygel lms plugin
Bug-AGL: SPEC-478 Change-Id: I0a48b05fb027da254c6823db91b24d847f3ed0d7 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
-rw-r--r--meta-agl/recipes-connectivity/rygel/files/0001-Fix-missing-link-to-unistring-for-lms-plugin.patch28
-rw-r--r--meta-agl/recipes-connectivity/rygel/rygel_%.bbappend1
2 files changed, 29 insertions, 0 deletions
diff --git a/meta-agl/recipes-connectivity/rygel/files/0001-Fix-missing-link-to-unistring-for-lms-plugin.patch b/meta-agl/recipes-connectivity/rygel/files/0001-Fix-missing-link-to-unistring-for-lms-plugin.patch
new file mode 100644
index 000000000..57b97a6ca
--- /dev/null
+++ b/meta-agl/recipes-connectivity/rygel/files/0001-Fix-missing-link-to-unistring-for-lms-plugin.patch
@@ -0,0 +1,28 @@
+From 10602ca53b1c1231e96d8d446904617528c11dae Mon Sep 17 00:00:00 2001
+From: Ronan Le Martret <ronan.lemartret@iot.bzh>
+Date: Mon, 13 Mar 2017 15:31:41 +0100
+Subject: [PATCH] Fix missing link to unistring for lms plugin
+
+Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
+---
+ configure.ac | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index c5cbc00..2f7dc78 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -248,6 +248,10 @@ AS_IF([test "x$enable_lms_plugin" = "xyes"],
+ gio-2.0 >= $GIO_REQUIRED
+ sqlite3 >= $LIBSQLITE3_REQUIRED])
+ RYGEL_PLUGIN_LMS_DEPS_VALAFLAGS="$RYGEL_COMMON_MODULES_VALAFLAGS --pkg gio-2.0 --pkg gee-0.8 --pkg sqlite3"
++ AS_IF([test "x$have_unistring" = "xyes"],
++ [
++ RYGEL_PLUGIN_LMS_DEPS_LIBS="$RYGEL_PLUGIN_LMS_DEPS_LIBS -lunistring"
++ ])
+ AC_SUBST([RYGEL_PLUGIN_LMS_DEPS_VALAFLAGS])
+ ])
+
+--
+2.6.6
+
diff --git a/meta-agl/recipes-connectivity/rygel/rygel_%.bbappend b/meta-agl/recipes-connectivity/rygel/rygel_%.bbappend
index 8294978a5..082d456c4 100644
--- a/meta-agl/recipes-connectivity/rygel/rygel_%.bbappend
+++ b/meta-agl/recipes-connectivity/rygel/rygel_%.bbappend
@@ -7,6 +7,7 @@ PACKAGECONFIG[lms] = "--enable-lms-plugin,--disable-lms-plugin,sqlite3"
# LightMediaScanner plugin patches
SRC_URI += "file://0001-Add-LightMediaScanner-plugin.patch \
file://0002-lms-add-C-source-files.patch \
+ file://0001-Fix-missing-link-to-unistring-for-lms-plugin.patch \
file://rygel.service \
"