All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCHv3] libbson: new package
Date: Mon, 10 Apr 2017 15:52:12 +0200	[thread overview]
Message-ID: <8b147fef-dc96-ad32-34ce-0f68af4bfe11@mind.be> (raw)
In-Reply-To: <1491823008-28670-1-git-send-email-semenak94@mail.ru>

 Hi Semyon,

 We're getting there :-)

On 10-04-17 13:16, Semyon Kolganov wrote:
> Signed-off-by: Semyon Kolganov <semenak94@mail.ru>
> 
> ---

[snip]
> diff --git a/package/libbson/Config.in b/package/libbson/Config.in
> new file mode 100644
> index 0000000..df28462
> --- /dev/null
> +++ b/package/libbson/Config.in
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_LIBBSON
> +	bool "libbson"
> +	depends on BR2_TOOLCHAIN_HAS_THREADS
> +	depends on !BR2_STATIC_LIBS # CMakeLists forces dynamic library

 Since you're no longer using cmake, this should be removed.

> +	help
> +	  libbson is a library providing useful routines related to
> +	  building, parsing, and iterating BSON documents.
> diff --git a/package/libbson/libbson.hash b/package/libbson/libbson.hash
> new file mode 100644
> index 0000000..27abe90
> --- /dev/null
> +++ b/package/libbson/libbson.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256	aad410123e4bd8a9804c3c3d79e03344e2df104872594dc2cf19605d492944ba libbson-1.6.2.tar.gz
> diff --git a/package/libbson/libbson.mk b/package/libbson/libbson.mk
> new file mode 100644
> index 0000000..b2faa4b
> --- /dev/null
> +++ b/package/libbson/libbson.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# libbson
> +#
> +################################################################################
> +
> +LIBBSON_VERSION = 1.6.2
> +LIBBSON_SITE = https://github.com/mongodb/libbson/releases/download/$(LIBBSON_VERSION)
> +LIBBSON_SOURCE = libbson-$(LIBBSON_VERSION).tar.gz
> +LIBBSON_LICENSE = Apache-2.0, MIT(jsonl), ISC(b64), Zlib(md5)

 There should be a space between the license and the object, so MIT (jsonl) etc.

> +LIBBSON_LICENSE_FILES = COPYING

LIBBSON_LICENSE_FILES = COPYING THIRD_PARTY_NOTICES

 I said this in my previous review.

 I also mentioned:

LIBBSON_CONF_OPTS = --disable-tests --disable-examples

(otherwise it will fail on NOMMU)

 Please use support/scripts/test-pkg to validate that the package builds with
all supported toolchains.


> +LIBBSON_INSTALL_STAGING = YES
> +

 For posterity, it could be useful to add:

# Also has CMake supports, but that forces shared+static libs and static
# lib has a different name.
> +$(eval $(autotools-package))


 Regards,
 Arnout

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

  reply	other threads:[~2017-04-10 13:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <libbson: new package>
2017-04-07 11:42 ` [Buildroot] [PATCH] libbson: new package Semyon Kolganov
2017-04-07 12:01   ` Arnout Vandecappelle
2017-04-07 12:18 ` [Buildroot] [PATCHv2] " Semyon Kolganov
2017-04-07 17:23   ` Arnout Vandecappelle
     [not found]     ` <1491587714.491322104@f30.my.com>
2017-04-10 11:53       ` Arnout Vandecappelle
2017-04-10 11:16 ` [Buildroot] [PATCHv3] " Semyon Kolganov
2017-04-10 13:52   ` Arnout Vandecappelle [this message]
2017-04-10 14:29 ` [Buildroot] [PATCHv4] " Semyon Kolganov
2017-04-10 14:59   ` Arnout Vandecappelle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8b147fef-dc96-ad32-34ce-0f68af4bfe11@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.