mpich: Upgrade to 3.4.1
PATCH 1/2 mpich: Upgrade to 3.4.1
Add fixes to work with/with-out X
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-devtools/mpich/mpich_3.2.bb | 47 ------------------- meta-oe/recipes-devtools/mpich/mpich_3.4.1.bb | 18 +++++-- 2 files changed, 13 insertions(+), 52 deletions(-) delete mode 100644 meta-oe/recipes-devtools/mpich/mpich_3.2.bb
meta-oe/recipes-devtools/mpich/mpich_3.2.bb deleted +0 -47
@@ -1,47 +0,0 @@ -SUMMARY = "Message Passing Interface (MPI) implementation" -HOMEPAGE = "http://www.mpich.org/" -SECTION = "devel" - -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=2106f0435056f3dd9349747a766e5816" - -SRC_URI = " \ - http://www.mpich.org/static/downloads/${PV}/mpich-${PV}.tar.gz \ -" - -SRC_URI[md5sum] = "f414cfa77099cd1fa1a5ae4e22db508a" -SRC_URI[sha256sum] = "0778679a6b693d7b7caff37ff9d2856dc2bfc51318bf8373859bfa74253da3dc" - -RDEPENDS_${PN} += "bash perl libxml2" -S = "${WORKDIR}/${BP}" - -EXTRA_OECONF = "--enable-debuginfo \ - --enable-fast \ - --enable-shared \ - --with-pm=gforker \ - --disable-rpath \ - --disable-f77 \ - --disable-fc \ - --disable-fortran \ - --disable-cxx \ - BASH_SHELL='${USRBINPATH}/env bash' \ - PERL='${USRBINPATH}/env perl' \ -" - -inherit autotools-brokensep gettext - -do_configure_prepend() { - for d in confdb test/mpi/confdb src/openpa/confdb src/pm/hydra/confdb src/pm/hydra/tools/topo/hwloc/hwloc/config src/pm/hydra/mpl/confdb src/mpl/confdb src/mpi/romio/confdb; do - install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/$d - install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/$d - done - - autoreconf --verbose --install --force -I . -I confdb/ -I maint/ - oe_runconf - exit -} - -do_install_append() { - sed -i 's,${S}/,,g' ${D}/${libdir}/libmpi.la - sed -i 's,${DEBUG_PREFIX_MAP},,g' ${D}/${libdir}/pkgconfig/mpich.pc -}
meta-oe/recipes-devtools/mpich/mpich_3.4.1.bb +13 -5
@@ -19,10 +19,18 @@ EXTRA_OECONF = "--enable-debuginfo \ --disable-fc \ --disable-fortran \ --disable-cxx \ - --with-device=ch4:ucx \ + BASH_SHELL='${USRBINPATH}/env bash' \ + PERL='${USRBINPATH}/env perl' \ + --with-device=ch3:nemesis \ + --with-rdmacm=no \ --disable-numa \ " +PACKAGECONFIG += " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ +" +PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--without-x,virtual/libx11" + inherit autotools gettext pkgconfig do_configure() {
@@ -33,10 +41,10 @@ do_configure() { install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/$d install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/$d done - cd ${S} - autoupdate - autoreconf --verbose --install --force - cd ${B} +# cd ${S} +# autoupdate +# autoreconf --verbose --install --force +# cd ${B} oe_runconf }
Signature · 1 line
2.30.1
PATCH 2/2 gerbera: Update to 1.7.0
Fix build with gcc11
Signed-off-by Khem Raj <[email protected]>
Cc Andreas Müller <[email protected]>
---
.../0001-include-optional-header.patch | 32 +++++++++++++++++++
.../{gerbera_1.6.0.bb => gerbera_1.7.0.bb} | 5 +--
2 files changed, 35 insertions(+), 2 deletions(-)
create mode 100644 meta-multimedia/recipes-multimedia/gerbera/gerbera/0001-include-optional-header.patch
rename meta-multimedia/recipes-multimedia/gerbera/{gerbera_1.6.0.bb => gerbera_1.7.0.bb} (88%)meta-multimedia/recipes-multimedia/gerbera/gerbera/0001-include-optional-header.patch new file +32 -0
@@ -0,0 +1,32 @@ +From 5719ed8ce9ba60beb9c1670b49296b1c66430dc2 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Tue, 2 Mar 2021 12:57:37 -0800 +Subject: [PATCH] include <optional> header + +Fixes build with gcc11 +/src/util/tools.h:165:6: error: 'optional' in na +mespace 'std' does not name a template type +| 165 | std::optional<std::vector<std::byte>> readBinaryFile(const fs::path& path); +| | ^~~~~~~~ + +Upstream-Status: Submitted [https://github.com/gerbera/gerbera/pull/1273] +Signed-off-by: Khem Raj <[email protected]> +--- + src/util/tools.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/util/tools.h b/src/util/tools.h +index 3a4064e9..e5142966 100644 +--- a/src/util/tools.h ++++ b/src/util/tools.h +@@ -37,6 +37,7 @@ + #include <sstream> + #include <string> + #include <unordered_set> ++#include <optional> + #include <vector> + namespace fs = std::filesystem; + +-- +2.30.1 +
meta-multimedia/recipes-multimedia/gerbera/gerbera_1.7.0.bb renamed from meta-multimedia/recipes-multimedia/gerbera/gerbera_1.6.0.bb +3 -2
@@ -4,9 +4,10 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=25cdec9afe3f1f26212ead6bd2f7fac8" SRC_URI = "git://github.com/v00d00/gerbera.git;protocol=https \ -" + file://0001-include-optional-header.patch \ + " -SRCREV = "b219e22f09e346dd048f614a01ca2cbc55edd940" +SRCREV = "7bc33b98994411e1748d3b3fa9a8424c49e236d6" S = "${WORKDIR}/git"
Signature · 1 line
2.30.1