From patchwork Sat Sep 29 18:43:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 147850 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp2159618lji; Sat, 29 Sep 2018 11:43:50 -0700 (PDT) X-Google-Smtp-Source: ACcGV62fcmq6oifM1wnOBUiCi3PhFFuPx7CIYdR4BEJBUcYbEMktiLXFMqhpgfkkSfY6lvoWCg+e X-Received: by 2002:a17:902:5a0f:: with SMTP id q15-v6mr4261380pli.253.1538246630252; Sat, 29 Sep 2018 11:43:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538246630; cv=none; d=google.com; s=arc-20160816; b=PO/FArvZxISsVCH93+WeAyYKotQKQRLJGZKTFDGB2Q17BbQj8PeCZVlEAKlIJE/jNR E7Bf8kz7KWpeZf+zILo31cF4lLkkZSroBff+yrBEdFfkP7VWAFX0HbuMavGkbKvBEMq7 vxzmtzeTbTMOT89jHBqOfhwFtqaqp18LjDejkZ0ziLTzQrnzdqiJPbaLltnsEmfCZuGX 7AikfY+reJJ9pXA93F7UGXaqUFxhjmkOCKvAKG2RPXA2hTCcnZHmLdyybGcwTc65u9zb K82Glgon4MunNjIB+hHGQQ0WSQ88G7FXmLrzOBKmJxBkGv2TEGxzxFv8FUALdKlJcZxO UqEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=xY+WiLH8H5owcnrGH/HO5A07p47DdIsC/QA50TRKLOw=; b=BW6QAf4iH4ra4JxDF3l4ZiY8Wc5joiwisfRexeAIm12EhJYOdlbWXd7/ZZJ5qEBJW6 dmtfKALm/uWS2dEuy0aVMpKxIddssZelD2AuvfTAcyUk+FLugfg3Vdro0zwRtGOeev09 Jl9FddbWJT2OLoM/hpnUMrKq302nCcu3xapC+kh+cWRYRXmqGhuM+VOHe28ydORTvE4a MA8BwZhVJhEPB4OKdYIiKpYoMMQ2/11stLNDrJEp0dCDXhv3SxR66PZkmydkpMrRcIlG S5yy6J/JtyMK4cXOvMa48lHfYJhFJd1LjrXg+Z3POckcx0vMdoXIifqKpcayn4WbST9f 6zOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=nI6XPAw2; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id m21-v6si605151pgh.167.2018.09.29.11.43.49; Sat, 29 Sep 2018 11:43:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=nI6XPAw2; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 9EC96799D2; Sat, 29 Sep 2018 18:43:45 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by mail.openembedded.org (Postfix) with ESMTP id B2FB678E65 for ; Sat, 29 Sep 2018 18:43:43 +0000 (UTC) Received: by mail-pf1-f194.google.com with SMTP id d4-v6so6470010pfn.0 for ; Sat, 29 Sep 2018 11:43:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XR1JgwNwF7sGuOCZgSiJPTvfB/yFILFv8li2cGdU8ZI=; b=nI6XPAw2wKooSo9F+PykcGBWThGKBAPY1C1+MLRbNLvXAGjYjuPa3Kv8sW4gBNlKTk nyBC4WBFasHBysRGz3++OMtwL6eaz97bwyWVcCXAqc/AsvF0obmR4Y8pdpn7yWZlFY8f BxMf3XhaB+DfI1vkjYi0xpLm61riZJreqcOWEoMO7SLJe4jaKD5IZg6EG2RBXn4ak3JS 6lwOKw/UTxnv6HtJMsg5oYUb5EMCrN0SkPk22b9njfDFlRSBQZcdyll3jnosOmulQ3dr se9Nwlh7HzVlt0hlvfaNZCb4CFPCAAJk9ZnD86Vb66Eq8XmIeUWl0gPMIYbJUk0Jlg0d 7DbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XR1JgwNwF7sGuOCZgSiJPTvfB/yFILFv8li2cGdU8ZI=; b=tvKPA8YnXIKQTYLpJnEUjlYfO67CQEMqQLlD2Je3ZjSVpFVSGxiaBPicZU/lmI4PJa T0k88KX1Sx52/T8GlZs+XsPxLBCjlU8kfPi4M0NnwepyIanj66fhu3D+MA6cQdM7SbNI fR1r5ZuPQYcSPM7d38hgsVVWNH8CVUACCX5AN1C+3tII9lrmdL64IZumB6da6pmYSj5H 9pbgJwlHMDfJWx8pPaycj0RWVP03dERJQ6KQqh87r0S8VyteA6xm8d+gHQd7y+BYdPkk Ccfz+oLlE237izSnkoebc3DIGdlzyzxz9A/dEaFHPYi8ejd8BHhH1CQHjha1xhJEll2q BWUw== X-Gm-Message-State: ABuFfoijZMpwKE2r6szntVb/zYNTtqHor14SIpWywkNZWzV7tKWE/oY/ JQh27Mumnqw8qltJQf8ebCD6v9tC X-Received: by 2002:a63:5b14:: with SMTP id p20-v6mr3857665pgb.56.1538246624163; Sat, 29 Sep 2018 11:43:44 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::fd07]) by smtp.gmail.com with ESMTPSA id g6-v6sm12276815pgg.7.2018.09.29.11.43.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Sep 2018 11:43:43 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 29 Sep 2018 11:43:34 -0700 Message-Id: <20180929184335.39059-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 1/2] botan: Add recipe X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org botan is a common crypto library used by various infrastructures e.g. qtcreator chromium etc. Its beneficial to build it once for the system and let apps use it if possible Signed-off-by: Khem Raj --- meta-oe/recipes-crypto/botan/botan_2.7.0.bb | 55 +++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 meta-oe/recipes-crypto/botan/botan_2.7.0.bb -- 2.19.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-crypto/botan/botan_2.7.0.bb b/meta-oe/recipes-crypto/botan/botan_2.7.0.bb new file mode 100644 index 0000000000..92853d00e8 --- /dev/null +++ b/meta-oe/recipes-crypto/botan/botan_2.7.0.bb @@ -0,0 +1,55 @@ +# Copyright (C) 2018 Khem Raj +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "Crypto and TLS for C++11" +HOMEPAGE = "https://botan.randombit.net" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://license.txt;md5=bf361fc63df3fa25652ee82c43b7601a" +SECTION = "libs" + + +#v2.7.0 +SRCREV = "5874000d42c338ec95a7ff24cdc0c64e70f967b5" +SRC_URI = "git://github.com/randombit/botan.git" + +S = "${WORKDIR}/git" + +inherit python3native siteinfo lib_package + +CPU ?= "${TARGET_ARCH}" +CPU_x86 = "x86_32" +CPU_armv7a = "armv7" +CPU_armv7ve = "armv7" + +do_configure() { + python3 ${S}/configure.py \ + --prefix="${D}${prefix}" \ + --cpu="${CPU}" \ + --cc-bin="${CXX}" \ + --cxxflags="${CXXFLAGS}" \ + --ldflags="${LDFLAGS}" \ + --with-endian=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \ + ${@bb.utils.contains("TUNE_FEATURES","neon","","--disable-neon",d)} \ + --with-sysroot-dir=${STAGING_DIR_TARGET} \ + --with-build-dir="${B}" \ + --optimize-for-size \ + --with-stack-protector \ + --enable-shared-library \ + --with-python-versions=3 \ + ${EXTRA_OECONF} +} + +do_compile() { + oe_runmake +} +do_install() { + oe_runmake install + sed -i -e "s|${D}||g" ${D}${libdir}/pkgconfig/botan-2.pc +} + +PACKAGES += "${PN}-python3" + +FILES_${PN}-python3 = "${libdir}/python3" + +RDEPENDS_${PN}-python3 += "python3" + From patchwork Sat Sep 29 18:43:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 147851 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp2159844lji; Sat, 29 Sep 2018 11:44:09 -0700 (PDT) X-Google-Smtp-Source: ACcGV60DEh6A2ktDLVCBM2MAkptAUpjWEzBftxnGbUVlp6JTX5Ec6SycUn1cYRtn/D4WrIWE/CCW X-Received: by 2002:a17:902:722:: with SMTP id 31-v6mr4217776pli.207.1538246648898; Sat, 29 Sep 2018 11:44:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538246648; cv=none; d=google.com; s=arc-20160816; b=i39KE1SEZI/1R/bZvblA2aiYliGoA01twrsWzVDnkV7JT3pcgbNldx44Ifp+4FBIis zj4Jj9/dHHesRWYUhABuC6x4h3MjTUrldJZ/cHXID76+3PYs5owvxdvAjMvl973L5xqq wVnj1kjfAOjqscFQMOmlifkUb9xzKZbWWfwvDvEfcmITr3A2ynzMH3owtjbqsx+tMuj1 o/MsO7Vdoag1dB61BYZyqdsrQ6udzrSju0C4Sz+qHBtk+Px7oNUk2MV0Q2knp+LtkW9V LzMZyIciTgsNS6ONg8+OmJMqfZD1aLa2UOEqCLOOWZszyvuCJH6Z6dEotSaCeECyLm0H /DWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=cYviSA3e3XpgQP5dC5sJK2qEyks50S9npcs4FS/3Mlc=; b=DoOCBlotUS5aQN1QVS7wgyNotKSVSDZbaGqp9txIsgg6+PET/zzlNWb/U8YzdDPF4O z/MOPFHhYlIEyzcJNDQljSpFoejjICNk7n6OhWG3ofwBn3wiZwKnjJrFbE30Vy5SqqoX wDU0Pkn2rX27tMJMKEv4z1COxEOy8vHVYCHy0QJhdI3kYxO8INbNfQJJ/bBK4yC12Wdy 2XxKMyNN/ck+NBykxLMIbWUegHfsnHiE6Hg2MqPvIPVgJ5ypDy2MtV60eDWrSAjmWIzY kS/nnojKru/eOE2wTnxhvALgAJ6I8cgwhkrGuo+iG8sLyBWhbnLDncQUwrJVM+YYPXY3 SrIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Lm5g2hlG; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id q24-v6si7813796pgb.11.2018.09.29.11.44.08; Sat, 29 Sep 2018 11:44:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Lm5g2hlG; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B2EC4799D3; Sat, 29 Sep 2018 18:44:05 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mail.openembedded.org (Postfix) with ESMTP id 4C0E778E65 for ; Sat, 29 Sep 2018 18:43:44 +0000 (UTC) Received: by mail-pf1-f174.google.com with SMTP id a23-v6so6421277pfi.12 for ; Sat, 29 Sep 2018 11:43:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AnlLwaKPCl3fpFBt2UUDWzRyiK7i5i5QA6x9DRkw7FE=; b=Lm5g2hlGv0j1vcTOfJaxO4tKs3apkNSAVvt4NMyhhqQKR01xnAgiT4FPcpd7arYARi Ytd9KQgRHGU/sGE9d0/Pu8mDMCEVypsK+qHTjPknvxXCRf8tbOFsaymbqmVlUvMaC0TW lOOX0JYtJrhHBOggqp+Pl6TFmYRYhDHCe+SFqUpHU83Lc9FT9onDoWZn6MpEajrCSwqx yOSGtWD2GoR1aq38UwHfJIsd4Jpay0Igqi96b0FwrbmoKfXSJugs7N/JMCK8h7jPIuT+ zTxWKV09khmVeZbSVDVKd6JE0l+Xh0UZ/yibmU2irYaU+5/RPo2J2RMeKrpvbysJnM5M Oyhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AnlLwaKPCl3fpFBt2UUDWzRyiK7i5i5QA6x9DRkw7FE=; b=XHaRUyS6RL5ABWsaBIdLXlamyKZszxlwvZns5k9pyP81Z/+QNiNA3f/XoNBIPtxorl QA0a0Y05+5gxRO8esfDZXs6ZxTEwM7kFRoBtXvuzVMYiu9gYV3RQbEiYT5ymefXrCzK8 C6G76XDqqhiG9451mzPe3TMTf2PFhN+qbNrR+2gfX8It8cWPa5e4hPfb2yqw6GZsbusS vk/ak+FlS6v94eg9uOJyYexnJYshr6OdPk2Gld7YZ2yp1blIyEh5j/5EGRxyLc5LZd/7 ILFf6rQcWya8yuotzcCuLmPGiEJd0rtK30SZzkzrO0aDaGjCLnUPDp7NA8MC+2P9YSU2 3tcQ== X-Gm-Message-State: ABuFfoi2VLi4WN+7dK4XBJ75kJWRm3VZCFlb5X++bWhpZjQzfRWxj14f a2WBkAee+mmhFa8wa8zSMO463Xkb X-Received: by 2002:a62:d206:: with SMTP id c6-v6mr4175207pfg.8.1538246624935; Sat, 29 Sep 2018 11:43:44 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::fd07]) by smtp.gmail.com with ESMTPSA id g6-v6sm12276815pgg.7.2018.09.29.11.43.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Sep 2018 11:43:44 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 29 Sep 2018 11:43:35 -0700 Message-Id: <20180929184335.39059-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180929184335.39059-1-raj.khem@gmail.com> References: <20180929184335.39059-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-networking][PATCH 2/2] grpc-native: Fix buld on ubuntu 14.04 with gcc 4.8 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Fixes a compiler error terminate called after throwing an instance of 'std::system_error' what(): Enable multithreading to use std::thread: Operation not permitted Signed-off-by: Khem Raj --- meta-networking/recipes-devtools/grpc/grpc_1.14.1.bb | 3 +++ 1 file changed, 3 insertions(+) -- 2.19.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-devtools/grpc/grpc_1.14.1.bb b/meta-networking/recipes-devtools/grpc/grpc_1.14.1.bb index 784e0d2b4b..7b3f73657c 100644 --- a/meta-networking/recipes-devtools/grpc/grpc_1.14.1.bb +++ b/meta-networking/recipes-devtools/grpc/grpc_1.14.1.bb @@ -17,6 +17,9 @@ SRC_URI = "git://github.com/grpc/grpc.git;protocol=https;branch=${BRANCH} \ " SRC_URI_append_class-target = " file://0001-CMakeLists.txt-Fix-grpc_cpp_plugin-path-during-cross.patch" +# Fixes build with older compilers 4.8 especially on ubuntu 14.04 +CXXFLAGS_append_class-native = " -Wl,--no-as-needed" + inherit cmake EXTRA_OECMAKE = " \