summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-multimedia/libomxil/libomxil-0.9.3/disable-so-versioning.patch69
-rw-r--r--meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb17
2 files changed, 6 insertions, 80 deletions
diff --git a/meta/recipes-multimedia/libomxil/libomxil-0.9.3/disable-so-versioning.patch b/meta/recipes-multimedia/libomxil/libomxil-0.9.3/disable-so-versioning.patch
deleted file mode 100644
index 9c63b4d964..0000000000
--- a/meta/recipes-multimedia/libomxil/libomxil-0.9.3/disable-so-versioning.patch
+++ /dev/null
@@ -1,69 +0,0 @@
1Disable so versioning since they are really not a versioned shared lib.
2
3Upstream-Status: Submitted @ https://sourceforge.net/p/omxil/bugs/59/
4
5Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
6
7diff -rub libomxil-bellagio-0.9.3-orig/src/components/audio_effects/Makefile.am libomxil-bellagio-0.9.3/src/components/audio_effects/Makefile.am
8--- libomxil-bellagio-0.9.3-orig/src/components/audio_effects/Makefile.am 2014-07-20 15:22:00.858425234 -0400
9+++ libomxil-bellagio-0.9.3/src/components/audio_effects/Makefile.am 2014-07-20 15:25:42.687525225 -0400
10@@ -10,4 +10,5 @@
11 libomxaudio_effects_la_CFLAGS = -I$(top_srcdir)/include \
12 -I$(top_srcdir)/src \
13 -I$(top_srcdir)/src/base
14+libomxaudio_effects_la_LDFLAGS = -avoid-version
15
16diff -rub libomxil-bellagio-0.9.3-orig/src/components/clocksrc/Makefile.am libomxil-bellagio-0.9.3/src/components/clocksrc/Makefile.am
17--- libomxil-bellagio-0.9.3-orig/src/components/clocksrc/Makefile.am 2014-07-20 15:22:00.858425234 -0400
18+++ libomxil-bellagio-0.9.3/src/components/clocksrc/Makefile.am 2014-07-20 15:24:49.151259753 -0400
19@@ -10,4 +10,4 @@
20 -I$(top_srcdir)/include \
21 -I$(top_srcdir)/src \
22 -I$(top_srcdir)/src/base
23-
24+libomxclocksrc_la_LDFLAGS = -avoid-version
25diff -rub libomxil-bellagio-0.9.3-orig/src/components/videoscheduler/Makefile.am libomxil-bellagio-0.9.3/src/components/videoscheduler/Makefile.am
26--- libomxil-bellagio-0.9.3-orig/src/components/videoscheduler/Makefile.am 2014-07-20 15:22:00.862425254 -0400
27+++ libomxil-bellagio-0.9.3/src/components/videoscheduler/Makefile.am 2014-07-20 15:22:36.462601786 -0400
28@@ -6,7 +6,7 @@
29 library_entry_point.c
30
31 libomxvideosched_la_LIBADD = $(top_builddir)/src/libomxil-bellagio.la
32-libomxvideosched_la_LDFLAGS =
33+libomxvideosched_la_LDFLAGS = -avoid-version
34 libomxvideosched_la_CFLAGS = -I$(top_srcdir)/include \
35 -I$(top_srcdir)/src \
36 -I$(top_srcdir)/src/base
37diff -rub libomxil-bellagio-0.9.3-orig/src/dynamic_loader/Makefile.am libomxil-bellagio-0.9.3/src/dynamic_loader/Makefile.am
38--- libomxil-bellagio-0.9.3-orig/src/dynamic_loader/Makefile.am 2014-07-20 15:22:00.862425254 -0400
39+++ libomxil-bellagio-0.9.3/src/dynamic_loader/Makefile.am 2014-07-20 15:22:36.462601786 -0400
40@@ -3,7 +3,7 @@
41 omxdynamicloader_LTLIBRARIES = libomxdynamicloader.la
42 libomxdynamicloader_la_SOURCES = ste_dynamic_component_loader.c ste_dynamic_component_loader.h
43
44-libomxdynamicloader_la_LDFLAGS = -lomxil-bellagio -L$(top_builddir)/src/.libs
45+libomxdynamicloader_la_LDFLAGS = -lomxil-bellagio -L$(top_builddir)/src/.libs -avoid-version
46 libomxdynamicloader_la_CFLAGS = -I$(top_srcdir)/include \
47 -I$(top_srcdir)/src \
48 -I$(top_srcdir)/src/base \
49diff -rub libomxil-bellagio-0.9.3-orig/src/Makefile.am libomxil-bellagio-0.9.3/src/Makefile.am
50--- libomxil-bellagio-0.9.3-orig/src/Makefile.am 2014-07-20 15:22:00.862425254 -0400
51+++ libomxil-bellagio-0.9.3/src/Makefile.am 2014-07-20 15:22:36.462601786 -0400
52@@ -8,7 +8,7 @@
53 omxregister_bellagio_CFLAGS = -DOMXILCOMPONENTSPATH=\"$(plugindir)/\" \
54 -I$(top_srcdir)/include
55 omxregister_bellagio_LDADD = $(lib_LTLIBRARIES)
56-omxregister_bellagio_LDFLAGS = -lomxil-bellagio -L$(builddir)
57+omxregister_bellagio_LDFLAGS = -lomxil-bellagio -L$(builddir) -avoid-version
58
59 lib_LTLIBRARIES = libomxil-bellagio.la
60 libomxil_bellagio_la_SOURCES = component_loader.h \
61@@ -29,7 +29,7 @@
62 libomxil_bellagio_la_CFLAGS = -I$(top_srcdir)/include -I$(srcdir)/base -I$(srcdir)/core_extensions \
63 -DINSTALL_PATH_STR=\"$(plugindir)\" -DOMX_LOADERS_DIRNAME=\"$(libdir)/omxloaders\/\"
64 libomxil_bellagio_la_LIBADD = base/libomxbase.la core_extensions/libomxcoreext.la -lpthread
65-libomxil_bellagio_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@
66+libomxil_bellagio_la_LDFLAGS = -avoid-version
67
68 include_extradir = $(includedir)/bellagio
69
diff --git a/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb b/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb
index ba3d4911f5..103d789482 100644
--- a/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb
+++ b/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb
@@ -12,8 +12,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/omxil/libomxil-bellagio-${PV}.tar.gz \
12 file://configure-fix.patch \ 12 file://configure-fix.patch \
13 file://parallel-make.patch \ 13 file://parallel-make.patch \
14 file://makefile-docdir-fix.patch \ 14 file://makefile-docdir-fix.patch \
15 file://dynamicloader-linking.patch \ 15 file://dynamicloader-linking.patch"
16 file://disable-so-versioning.patch"
17 16
18SRC_URI[md5sum] = "a1de827fdb75c02c84e55f740ca27cb8" 17SRC_URI[md5sum] = "a1de827fdb75c02c84e55f740ca27cb8"
19SRC_URI[sha256sum] = "593c0729c8ef8c1467b3bfefcf355ec19a46dd92e31bfc280e17d96b0934d74c" 18SRC_URI[sha256sum] = "593c0729c8ef8c1467b3bfefcf355ec19a46dd92e31bfc280e17d96b0934d74c"
@@ -24,17 +23,13 @@ inherit autotools
24 23
25EXTRA_OECONF += "--disable-doc --disable-Werror" 24EXTRA_OECONF += "--disable-doc --disable-Werror"
26 25
27# 26FILES_${PN} += "${libdir}/bellagio/*${SOLIBS} \
28# The .so files populated by libomxil are not intended to be versioned and symlinked. 27 ${libdir}/omxloaders/*${SOLIBS}"
29# Make sure they get packaged in the main package.
30#
31FILES_SOLIBSDEV = ""
32FILES_${PN} += "${libdir}/*.so \
33 ${libdir}/bellagio/*.so \
34 ${libdir}/omxloaders/*.so"
35FILES_${PN}-staticdev += "${libdir}/bellagio/*.a \ 28FILES_${PN}-staticdev += "${libdir}/bellagio/*.a \
36 ${libdir}/omxloaders/*.a" 29 ${libdir}/omxloaders/*.a"
37FILES_${PN}-dev += "${libdir}/bellagio/*.la \ 30FILES_${PN}-dev += "${libdir}/bellagio/*.la \
38 ${libdir}/omxloaders/*.la" 31 ${libdir}/bellagio/*${SOLIBSDEV} \
32 ${libdir}/omxloaders/*.la \
33 ${libdir}/omxloaders/*${SOLIBSDEV}"
39FILES_${PN}-dbg += "${libdir}/bellagio/.debug/ \ 34FILES_${PN}-dbg += "${libdir}/bellagio/.debug/ \
40 ${libdir}/omxloaders/.debug/" 35 ${libdir}/omxloaders/.debug/"