Patchwork libomxil: Fix link issue for gst-omx

login
register
mail settings
Submitter Sébastien Mennetrier
Date Feb. 27, 2014, 2:02 p.m.
Message ID <1393509724-26931-1-git-send-email-s.mennetrier@innotis.org>
Download mbox | patch
Permalink /patch/67589/
State New
Headers show

Comments

Sébastien Mennetrier - Feb. 27, 2014, 2:02 p.m.
gst-omx element can not load due to a missing symbol.
Missing symbol RM_Deinit.

Signed-off-by: Sébastien Mennetrier <s.mennetrier@innotis.org>
---
 .../libomxil/libomxil-0.9.3/dynamicloader-linking.patch       | 11 +++++++++++
 meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb            |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-multimedia/libomxil/libomxil-0.9.3/dynamicloader-linking.patch
Saul Wold - Feb. 27, 2014, 8:51 p.m.
On 02/27/2014 04:02 PM, Sébastien Mennetrier wrote:
> gst-omx element can not load due to a missing symbol.
> Missing symbol RM_Deinit.
>
> Signed-off-by: Sébastien Mennetrier <s.mennetrier@innotis.org>
> ---
>   .../libomxil/libomxil-0.9.3/dynamicloader-linking.patch       | 11 +++++++++++
>   meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb            |  3 ++-
>   2 files changed, 13 insertions(+), 1 deletion(-)
>   create mode 100644 meta/recipes-multimedia/libomxil/libomxil-0.9.3/dynamicloader-linking.patch
>
> diff --git a/meta/recipes-multimedia/libomxil/libomxil-0.9.3/dynamicloader-linking.patch b/meta/recipes-multimedia/libomxil/libomxil-0.9.3/dynamicloader-linking.patch
> new file mode 100644
> index 0000000..c0fa6d8
> --- /dev/null
> +++ b/meta/recipes-multimedia/libomxil/libomxil-0.9.3/dynamicloader-linking.patch

This patch needs a Upstream-Status and Signed-off-by: tag

Sau!

> @@ -0,0 +1,11 @@
> +--- a/src/dynamic_loader/Makefile.am	2014-02-25 15:29:10.128549636 +0100
> ++++ b/src/dynamic_loader/Makefile.am	2014-02-25 15:30:15.756548808 +0100
> +@@ -3,7 +3,7 @@
> + omxdynamicloader_LTLIBRARIES = libomxdynamicloader.la
> + libomxdynamicloader_la_SOURCES = ste_dynamic_component_loader.c ste_dynamic_component_loader.h
> +
> +-libomxdynamicloader_la_LDFLAGS =
> ++libomxdynamicloader_la_LDFLAGS = -lomxil-bellagio -L$(top_builddir)/src/.libs
> + libomxdynamicloader_la_CFLAGS = -I$(top_srcdir)/include \
> + 			-I$(top_srcdir)/src \
> + 			-I$(top_srcdir)/src/base \
> diff --git a/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb b/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb
> index f6c6a16..4a7633d 100644
> --- a/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb
> +++ b/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb
> @@ -9,7 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ae6f0f4dbc7ac193b50f323a6ae191cb \
>   SRC_URI = "${SOURCEFORGE_MIRROR}/omxil/libomxil-bellagio-${PV}.tar.gz \
>              file://configure-fix.patch \
>              file://parallel-make.patch \
> -           file://makefile-docdir-fix.patch"
> +           file://makefile-docdir-fix.patch \
> +           file://dynamicloader-linking.patch"
>
>   SRC_URI[md5sum] = "a1de827fdb75c02c84e55f740ca27cb8"
>   SRC_URI[sha256sum] = "593c0729c8ef8c1467b3bfefcf355ec19a46dd92e31bfc280e17d96b0934d74c"
>

Patch

diff --git a/meta/recipes-multimedia/libomxil/libomxil-0.9.3/dynamicloader-linking.patch b/meta/recipes-multimedia/libomxil/libomxil-0.9.3/dynamicloader-linking.patch
new file mode 100644
index 0000000..c0fa6d8
--- /dev/null
+++ b/meta/recipes-multimedia/libomxil/libomxil-0.9.3/dynamicloader-linking.patch
@@ -0,0 +1,11 @@ 
+--- a/src/dynamic_loader/Makefile.am	2014-02-25 15:29:10.128549636 +0100
++++ b/src/dynamic_loader/Makefile.am	2014-02-25 15:30:15.756548808 +0100
+@@ -3,7 +3,7 @@
+ omxdynamicloader_LTLIBRARIES = libomxdynamicloader.la
+ libomxdynamicloader_la_SOURCES = ste_dynamic_component_loader.c ste_dynamic_component_loader.h
+ 
+-libomxdynamicloader_la_LDFLAGS =
++libomxdynamicloader_la_LDFLAGS = -lomxil-bellagio -L$(top_builddir)/src/.libs
+ libomxdynamicloader_la_CFLAGS = -I$(top_srcdir)/include \
+ 			-I$(top_srcdir)/src \
+ 			-I$(top_srcdir)/src/base \
diff --git a/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb b/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb
index f6c6a16..4a7633d 100644
--- a/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb
+++ b/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb
@@ -9,7 +9,8 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=ae6f0f4dbc7ac193b50f323a6ae191cb \
 SRC_URI = "${SOURCEFORGE_MIRROR}/omxil/libomxil-bellagio-${PV}.tar.gz \
            file://configure-fix.patch \
            file://parallel-make.patch \
-           file://makefile-docdir-fix.patch"
+           file://makefile-docdir-fix.patch \
+           file://dynamicloader-linking.patch"
 
 SRC_URI[md5sum] = "a1de827fdb75c02c84e55f740ca27cb8"
 SRC_URI[sha256sum] = "593c0729c8ef8c1467b3bfefcf355ec19a46dd92e31bfc280e17d96b0934d74c"