From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 58B74C433F5 for ; Thu, 14 Apr 2022 17:51:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id DB62D4177C; Thu, 14 Apr 2022 17:51:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oMjR9n4NB4_C; Thu, 14 Apr 2022 17:51:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 9A44241765; Thu, 14 Apr 2022 17:51:16 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id D689B1BF39C for ; Thu, 14 Apr 2022 17:51:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id D302A60E50 for ; Thu, 14 Apr 2022 17:51:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (1024-bit key) header.d=linux.microsoft.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OU5yyDgGNwUK for ; Thu, 14 Apr 2022 17:51:14 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp3.osuosl.org (Postfix) with ESMTP id 16A2960B61 for ; Thu, 14 Apr 2022 17:51:14 +0000 (UTC) Received: from pwmachine.localnet (unknown [92.186.13.154]) by linux.microsoft.com (Postfix) with ESMTPSA id B2C6620C34F4; Thu, 14 Apr 2022 10:51:11 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com B2C6620C34F4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1649958673; bh=zneY1MNWtnaaIHITyemsOh1/S9Ol2HOGlDS0kuTD9MU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SKi/hg06uREuRrbEayfnZHrMFxza3j7S7+53xzoCzNRh/jfa4Wy10svYIzUgpIaGp 0myiWgmO+o/4UOPIqP7AeeKl+Jdoc3NoyvdrmDp6gnUP0GzAOAExIEFk2L0fQhJG4M dZf6d9EiGdhkZ+z2up7Is9d8LTLX2dX1TcDlMVSM= From: Francis Laniel To: buildroot@buildroot.org Date: Thu, 14 Apr 2022 18:51:08 +0100 Message-ID: <5557572.DvuYhMxLoT@pwmachine> Organization: Microsoft In-Reply-To: References: <20220414174358.38059-1-flaniel@linux.microsoft.com> <20220414174358.38059-2-flaniel@linux.microsoft.com> MIME-Version: 1.0 Subject: Re: [Buildroot] [PATCH 1/3] nlohmann-json: add new package. X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Samuel Martin , Angelo Compagnucci , Graeme Smecher , "Yann E . MORIN" Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Le jeudi 14 avril 2022, 18:46:23 BST Graeme Smecher a =E9crit : > Hi Francis, Hi. > Is this different from packages/json-for-modern-cpp? Not at all! Thank you for pointing it! I should have search more carefully. I will rework my first patch to bump the existing one! > best, Best regards. > Graeme > = > On 2022-04-14 10:43, Francis Laniel wrote: > > Signed-off-by: Francis Laniel > > --- > > = > > DEVELOPERS | 1 + > > package/Config.in | 1 + > > package/nlohmann-json/Config.in | 7 +++++++ > > package/nlohmann-json/nlohmann-json.hash | 3 +++ > > package/nlohmann-json/nlohmann-json.mk | 14 ++++++++++++++ > > 5 files changed, 26 insertions(+) > > create mode 100644 package/nlohmann-json/Config.in > > create mode 100644 package/nlohmann-json/nlohmann-json.hash > > create mode 100644 package/nlohmann-json/nlohmann-json.mk > > = > > diff --git a/DEVELOPERS b/DEVELOPERS > > index ca9decb58f..b997b859ed 100644 > > --- a/DEVELOPERS > > +++ b/DEVELOPERS > > @@ -969,6 +969,7 @@ F: package/ipmitool/ > > = > > F: package/odhcploc/ > > = > > N: Francis Laniel > > = > > +F: package/nlohmann-json > > = > > F: package/pahole/ > > F: package/sysdig/ > > F: package/tbb/ > > = > > diff --git a/package/Config.in b/package/Config.in > > index 24f7af5ea8..46df1b3540 100644 > > --- a/package/Config.in > > +++ b/package/Config.in > > @@ -1700,6 +1700,7 @@ menu "JSON/XML" > > = > > source "package/libxslt/Config.in" > > source "package/libyaml/Config.in" > > source "package/mxml/Config.in" > > = > > + source "package/nlohmann-json/Config.in" > > = > > source "package/pugixml/Config.in" > > source "package/rapidjson/Config.in" > > source "package/rapidxml/Config.in" > > = > > diff --git a/package/nlohmann-json/Config.in > > b/package/nlohmann-json/Config.in new file mode 100644 > > index 0000000000..1e63fbc029 > > --- /dev/null > > +++ b/package/nlohmann-json/Config.in > > @@ -0,0 +1,7 @@ > > +config BR2_PACKAGE_NLOHMANN_JSON > > + bool "nlohmann-json" > > + help > > + nlohmann/json is a header C++ library that allows manipulating JSON > > + with an intuitive syntax. > > + > > + https://github.com/nlohmann/json > > diff --git a/package/nlohmann-json/nlohmann-json.hash > > b/package/nlohmann-json/nlohmann-json.hash new file mode 100644 > > index 0000000000..d69c4daf72 > > --- /dev/null > > +++ b/package/nlohmann-json/nlohmann-json.hash > > @@ -0,0 +1,3 @@ > > +# sha256 locally computed > > +sha256 2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa8= 01 = > > nlohmann-json-v3.3.0.tar.gz +sha256 = > > 7b875bb7a4e28abb7956ea821b4b7d88ff6a2a4fabf261c3993730a365ec56dd = > > LICENSE.MIT diff --git a/package/nlohmann-json/nlohmann-json.mk > > b/package/nlohmann-json/nlohmann-json.mk new file mode 100644 > > index 0000000000..0810fe7b61 > > --- /dev/null > > +++ b/package/nlohmann-json/nlohmann-json.mk > > @@ -0,0 +1,14 @@ > > +######################################################################= ### > > ####### +# > > +# nlohmann > > +# > > +######################################################################= ### > > ####### + > > +NLOHMANN_JSON_VERSION =3D v3.3.0 > > +NLOHMANN_JSON_SITE =3D $(call > > github,nlohmann,json,$(NLOHMANN_JSON_VERSION)) > > +NLOHMANN_JSON_LICENSE =3D MIT > > +NLOHMANN_JSON_LICENSE_FILES =3D LICENSE.MIT > > +NLOHMANN_JSON_CPE_ID_VENDOR =3D json++ > > +NLOHMANN_JSON_INSTALL_STAGING =3D YES > > + > > +$(eval $(cmake-package)) _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot