Skip to contentSkip to conversation

mkvtoolnix: fix Boost 1.58 build, update to 7.9.0

PATCH Superseded Manuel Bachmann 2 participants 3 messages Oct 3, 2015

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mkvtoolnix: fix Boost 1.58 build, update to 7.9.0

mkvtoolnix does not compile with newest Boost 1.58, mostly due to the following bugs :
https://github.com/mbunkus/mkvtoolnix/issues/1172
https://github.com/mbunkus/mkvtoolnix/issues/1176

Update to the version immediately subsequent to their fixes, and adapt configure steps accordingly.

---
 meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb +5 -3
index dd613b3..223b4ed 100644
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 DEPENDS = "curl boost expat zlib libebml libmatroska libogg libvorbis bzip2 lzo file ruby-native"
 
-PV = "7.1.0+git${SRCPV}"
-SRCREV = "0c89ff941bfdd9f3378312f293a84f13cf3e2a96"
+PV = "7.9.0+git${SRCPV}"
+SRCREV = "1a8b23b1e82ed180a5aaeb43537f2426be252985"
 SRC_URI = "git://github.com/mbunkus/mkvtoolnix.git"
 
 S = "${WORKDIR}/git"
@@ -28,7 +28,9 @@ EXTRA_OECONF = " --with-boost-libdir=${STAGING_LIBDIR} \
 
 # remove some hardcoded searchpaths
 do_configure_prepend() {
-    sed -i -e s:/usr/local/lib:${STAGING_LIBDIR}:g -e s:/usr/local/include:${STAGING_INCDIR}:g ${S}/ac/ebml.m4
+    sed -i -e s:/usr/local/lib:${STAGING_LIBDIR}:g -e s:/usr/local/include:${STAGING_INCDIR}:g ${S}/ac/qt5.m4
+    git submodule init
+    git submodule update
 }
 
 # Yeah, no makefile
Signature · 1 line
1.8.3.1
#1 lore raw

List all submodules in SRC_URI, we shouldn't bypass bitbake fetcher in do_configure.

Quoted 53 lines · Manuel Bachmann

mkvtoolnix does not compile with newest Boost 1.58, mostly due to the following bugs :
https://github.com/mbunkus/mkvtoolnix/issues/1172
https://github.com/mbunkus/mkvtoolnix/issues/1176

Update to the version immediately subsequent to their fixes, and adapt configure steps accordingly.

---
 meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb +0 -0
index dd613b3..223b4ed 100644
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM =

"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

DEPENDS = "curl boost expat zlib libebml libmatroska libogg libvorbis
bzip2 lzo file ruby-native"

meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb +2 -3
-PV = "7.1.0+git${SRCPV}"
-SRCREV = "0c89ff941bfdd9f3378312f293a84f13cf3e2a96"
+PV = "7.9.0+git${SRCPV}"
+SRCREV = "1a8b23b1e82ed180a5aaeb43537f2426be252985"
 SRC_URI = "git://github.com/mbunkus/mkvtoolnix.git"
 
 S = "${WORKDIR}/git"
@@ -28,7 +28,9 @@ EXTRA_OECONF = " --with-boost-libdir=${STAGING_LIBDIR} \
 
 # remove some hardcoded searchpaths
 do_configure_prepend() {
-    sed -i -e s:/usr/local/lib:${STAGING_LIBDIR}:g -e

s:/usr/local/include:${STAGING_INCDIR}:g ${S}/ac/ebml.m4
+ sed -i -e s:/usr/local/lib:${STAGING_LIBDIR}:g -e
s:/usr/local/include:${STAGING_INCDIR}:g ${S}/ac/qt5.m4

meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb +2 -1
+    git submodule init
+    git submodule update
 }
 
 # Yeah, no makefile
--

1.8.3.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw

Thanks Martin, will do and send a v2.

Regards,

*Manuel Bachmann, Graphics Engineer www.iot.bzh <http://iot.bzh> *

2015-10-03 22:00 GMT+02:00 Martin Jansa <[email protected]>:

Quoted 66 lines

List all submodules in SRC_URI, we shouldn't bypass bitbake fetcher in do_configure.

meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb EXTRA_OECONF = " --with-boost-libdir=${STAGING_LIBDIR}

Quoted 32 lines · Manuel Bachmann

mkvtoolnix does not compile with newest Boost 1.58, mostly due to the following bugs :
https://github.com/mbunkus/mkvtoolnix/issues/1172
https://github.com/mbunkus/mkvtoolnix/issues/1176

Update to the version immediately subsequent to their fixes, and adapt configure steps accordingly.

---
 meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb +0 -0
index dd613b3..223b4ed 100644
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM =

"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

DEPENDS = "curl boost expat zlib libebml libmatroska libogg libvorbis
bzip2 lzo file ruby-native"

meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb +2 -2
-PV = "7.1.0+git${SRCPV}"
-SRCREV = "0c89ff941bfdd9f3378312f293a84f13cf3e2a96"
+PV = "7.9.0+git${SRCPV}"
+SRCREV = "1a8b23b1e82ed180a5aaeb43537f2426be252985"
 SRC_URI = "git://github.com/mbunkus/mkvtoolnix.git"
 
 S = "${WORKDIR}/git"
@@ -28,7 +28,9 @@ EXTRA_OECONF = " --with-boost-libdir=${STAGING_LIBDIR}

\

Quoted 15 lines
meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb +0 -1
 # remove some hardcoded searchpaths
 do_configure_prepend() {
-    sed -i -e s:/usr/local/lib:${STAGING_LIBDIR}:g -e

s:/usr/local/include:${STAGING_INCDIR}:g ${S}/ac/ebml.m4
+ sed -i -e s:/usr/local/lib:${STAGING_LIBDIR}:g -e
s:/usr/local/include:${STAGING_INCDIR}:g ${S}/ac/qt5.m4

meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb +2 -1
+    git submodule init
+    git submodule update
 }
 
 # Yeah, no makefile
--

1.8.3.1

Quoted 6 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel