All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] libbson: new package
@ 2017-04-10 14:59 Arnout Vandecappelle
  2017-04-10 15:01 ` Arnout Vandecappelle
  2017-04-12 19:52 ` Thomas Petazzoni
  0 siblings, 2 replies; 5+ messages in thread
From: Arnout Vandecappelle @ 2017-04-10 14:59 UTC (permalink / raw)
  To: buildroot

From: Sam <semenak94@mail.ru>

Signed-off-by: Semyon Kolganov <semenak94@mail.ru>
[Arnout: remove _SOURCE, fix spelling in comment]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/Config.in            |  1 +
 package/libbson/Config.in    |  6 ++++++
 package/libbson/libbson.hash |  2 ++
 package/libbson/libbson.mk   | 21 +++++++++++++++++++++
 4 files changed, 30 insertions(+)
 create mode 100644 package/libbson/Config.in
 create mode 100644 package/libbson/libbson.hash
 create mode 100644 package/libbson/libbson.mk

diff --git a/package/Config.in b/package/Config.in
index c12e5b56f9..3683578f1e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1159,6 +1159,7 @@ menu "JSON/XML"
 	source "package/json-c/Config.in"
 	source "package/json-glib/Config.in"
 	source "package/jsoncpp/Config.in"
+	source "package/libbson/Config.in"
 	source "package/libfastjson/Config.in"
 	source "package/libjson/Config.in"
 	source "package/libroxml/Config.in"
diff --git a/package/libbson/Config.in b/package/libbson/Config.in
new file mode 100644
index 0000000000..719271c732
--- /dev/null
+++ b/package/libbson/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBBSON
+	bool "libbson"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	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 0000000000..27abe90bfd
--- /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 0000000000..8a71fc394c
--- /dev/null
+++ b/package/libbson/libbson.mk
@@ -0,0 +1,21 @@
+################################################################################
+#
+# libbson
+#
+################################################################################
+
+LIBBSON_VERSION = 1.6.2
+LIBBSON_SITE = https://github.com/mongodb/libbson/releases/download/$(LIBBSON_VERSION)
+LIBBSON_LICENSE = Apache-2.0, MIT (jsonl), ISC (b64), Zlib (md5)
+LIBBSON_LICENSE_FILES = COPYING THIRD_PARTY_NOTICES
+LIBBSON_CONF_OPTS = \
+	--disable-tests \
+	--disable-examples \
+	--disable-man-pages \
+	--disable-html-docs
+
+LIBBSON_INSTALL_STAGING = YES
+
+# Also has CMake support, but that forces shared+static libs and static
+# lib has a different name.
+$(eval $(autotools-package))
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] libbson: new package
  2017-04-10 14:59 [Buildroot] [PATCH] libbson: new package Arnout Vandecappelle
@ 2017-04-10 15:01 ` Arnout Vandecappelle
  2017-04-12 19:52 ` Thomas Petazzoni
  1 sibling, 0 replies; 5+ messages in thread
From: Arnout Vandecappelle @ 2017-04-10 15:01 UTC (permalink / raw)
  To: buildroot



On 10-04-17 16:59, Arnout Vandecappelle (Essensium/Mind) wrote:
> From: Sam <semenak94@mail.ru>

 Darn, patchwork screwed up the From. Thomas, can you fix while applying? Needs
to be done anyway...

> 
> Signed-off-by: Semyon Kolganov <semenak94@mail.ru>
> [Arnout: remove _SOURCE, fix spelling in comment]
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
>  package/Config.in            |  1 +
>  package/libbson/Config.in    |  6 ++++++
>  package/libbson/libbson.hash |  2 ++
>  package/libbson/libbson.mk   | 21 +++++++++++++++++++++
>  4 files changed, 30 insertions(+)
>  create mode 100644 package/libbson/Config.in
>  create mode 100644 package/libbson/libbson.hash
>  create mode 100644 package/libbson/libbson.mk
> 
> diff --git a/package/Config.in b/package/Config.in
> index c12e5b56f9..3683578f1e 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1159,6 +1159,7 @@ menu "JSON/XML"
>  	source "package/json-c/Config.in"
>  	source "package/json-glib/Config.in"
>  	source "package/jsoncpp/Config.in"
> +	source "package/libbson/Config.in"
>  	source "package/libfastjson/Config.in"
>  	source "package/libjson/Config.in"
>  	source "package/libroxml/Config.in"
> diff --git a/package/libbson/Config.in b/package/libbson/Config.in
> new file mode 100644
> index 0000000000..719271c732
> --- /dev/null
> +++ b/package/libbson/Config.in
> @@ -0,0 +1,6 @@
> +config BR2_PACKAGE_LIBBSON
> +	bool "libbson"
> +	depends on BR2_TOOLCHAIN_HAS_THREADS
> +	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 0000000000..27abe90bfd
> --- /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 0000000000..8a71fc394c
> --- /dev/null
> +++ b/package/libbson/libbson.mk
> @@ -0,0 +1,21 @@
> +################################################################################
> +#
> +# libbson
> +#
> +################################################################################
> +
> +LIBBSON_VERSION = 1.6.2
> +LIBBSON_SITE = https://github.com/mongodb/libbson/releases/download/$(LIBBSON_VERSION)
> +LIBBSON_LICENSE = Apache-2.0, MIT (jsonl), ISC (b64), Zlib (md5)
> +LIBBSON_LICENSE_FILES = COPYING THIRD_PARTY_NOTICES
> +LIBBSON_CONF_OPTS = \
> +	--disable-tests \
> +	--disable-examples \
> +	--disable-man-pages \
> +	--disable-html-docs
> +
> +LIBBSON_INSTALL_STAGING = YES
> +
> +# Also has CMake support, but that forces shared+static libs and static
> +# lib has a different name.
> +$(eval $(autotools-package))
> 

-- 
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] libbson: new package
  2017-04-10 14:59 [Buildroot] [PATCH] libbson: new package Arnout Vandecappelle
  2017-04-10 15:01 ` Arnout Vandecappelle
@ 2017-04-12 19:52 ` Thomas Petazzoni
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2017-04-12 19:52 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 10 Apr 2017 16:59:15 +0200, Arnout Vandecappelle

>  package/Config.in            |  1 +
>  package/libbson/Config.in    |  6 ++++++
>  package/libbson/libbson.hash |  2 ++
>  package/libbson/libbson.mk   | 21 +++++++++++++++++++++

This lacked an updated to the DEVELOPERS file, so I've fixed this up
when applying.

> diff --git a/package/libbson/Config.in b/package/libbson/Config.in
> new file mode 100644
> index 0000000000..719271c732
> --- /dev/null
> +++ b/package/libbson/Config.in
> @@ -0,0 +1,6 @@
> +config BR2_PACKAGE_LIBBSON
> +	bool "libbson"
> +	depends on BR2_TOOLCHAIN_HAS_THREADS
> +	help
> +	  libbson is a library providing useful routines related to
> +	  building, parsing, and iterating BSON documents.

Thread dependency, but no Config.in comment? I've also fixed this up.

Applied with these two issues fixed. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] libbson: new package
  2017-04-07 11:42 ` Semyon Kolganov
@ 2017-04-07 12:01   ` Arnout Vandecappelle
  0 siblings, 0 replies; 5+ messages in thread
From: Arnout Vandecappelle @ 2017-04-07 12:01 UTC (permalink / raw)
  To: buildroot



On 07-04-17 13:42, Semyon Kolganov wrote:
> Signed-off-by: Semyon Kolganov <semenak94@mail.ru>
> ---
>  package/Config.in            |  1 +
>  package/libbson/Config.in    |  5 +++++
>  package/libbson/libbson.hash |  2 ++
>  package/libbson/libbson.mk   | 16 ++++++++++++++++
>  4 files changed, 24 insertions(+)
>  create mode 100644 package/libbson/Config.in
>  create mode 100644 package/libbson/libbson.hash
>  create mode 100644 package/libbson/libbson.mk
> 
> diff --git a/package/Config.in b/package/Config.in
> index 71bd44a..f312e42 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1434,6 +1434,7 @@ menu "Text and terminal handling"
>  	source "package/augeas/Config.in"
>  	source "package/enchant/Config.in"
>  	source "package/icu/Config.in"
> +	source "package/libbson/Config.in"
>  	source "package/libcli/Config.in"
>  	source "package/libedit/Config.in"
>  	source "package/libenca/Config.in"
> diff --git a/package/libbson/Config.in b/package/libbson/Config.in
> new file mode 100644
> index 0000000..5e361ea
> --- /dev/null
> +++ b/package/libbson/Config.in
> @@ -0,0 +1,5 @@
> +config BR2_PACKAGE_LIBBSON
> +	bool "libbson"
> +	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..a0abdb6
> --- /dev/null
> +++ b/package/libbson/libbson.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256	d9a1b2229a4aac2edb1564b909f0770a972af9bf94994acce2b21b2905913aed libbson-1.6.2.tar.gz
> diff --git a/package/libbson/libbson.mk b/package/libbson/libbson.mk
> new file mode 100644
> index 0000000..9941a2f
> --- /dev/null
> +++ b/package/libbson/libbson.mk
> @@ -0,0 +1,16 @@
> +################################################################################
> +#
> +# libbson
> +#
> +################################################################################
> +
> +LIBBSON_VERSION = 1.6.2
> +LIBBSON_SITE = $(call github,mongodb,libbson,$(LIBBSON_VERSION))
> +LIBBSON_LICENSE = GPL-2.0
> +LIBBSON_LICENSE_FILES = COPYING

 jsonl is covered by MIT license, which can be found in src/jsonl/LICENSE.

 The rest seems to be Apache-2.0. Please use Debian's licensecheck to evaluate
the license. Or at least, open the COPYING file and read it!


> +LIBBSON_INSTALL_STAGING = YES
> +
> +LIBBSON_CONF_OPTS = \
> +	-DENABLE_TESTS=OFF
> +
> +$(eval $(cmake-package))
> \ No newline at end of file

 Please add a newline at the end of the file (not an empty line, just make sure
that the last line has a newline at the end).

 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] libbson: new package
       [not found] <libbson: new package>
@ 2017-04-07 11:42 ` Semyon Kolganov
  2017-04-07 12:01   ` Arnout Vandecappelle
  0 siblings, 1 reply; 5+ messages in thread
From: Semyon Kolganov @ 2017-04-07 11:42 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Semyon Kolganov <semenak94@mail.ru>
---
 package/Config.in            |  1 +
 package/libbson/Config.in    |  5 +++++
 package/libbson/libbson.hash |  2 ++
 package/libbson/libbson.mk   | 16 ++++++++++++++++
 4 files changed, 24 insertions(+)
 create mode 100644 package/libbson/Config.in
 create mode 100644 package/libbson/libbson.hash
 create mode 100644 package/libbson/libbson.mk

diff --git a/package/Config.in b/package/Config.in
index 71bd44a..f312e42 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1434,6 +1434,7 @@ menu "Text and terminal handling"
 	source "package/augeas/Config.in"
 	source "package/enchant/Config.in"
 	source "package/icu/Config.in"
+	source "package/libbson/Config.in"
 	source "package/libcli/Config.in"
 	source "package/libedit/Config.in"
 	source "package/libenca/Config.in"
diff --git a/package/libbson/Config.in b/package/libbson/Config.in
new file mode 100644
index 0000000..5e361ea
--- /dev/null
+++ b/package/libbson/Config.in
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_LIBBSON
+	bool "libbson"
+	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..a0abdb6
--- /dev/null
+++ b/package/libbson/libbson.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	d9a1b2229a4aac2edb1564b909f0770a972af9bf94994acce2b21b2905913aed libbson-1.6.2.tar.gz
diff --git a/package/libbson/libbson.mk b/package/libbson/libbson.mk
new file mode 100644
index 0000000..9941a2f
--- /dev/null
+++ b/package/libbson/libbson.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# libbson
+#
+################################################################################
+
+LIBBSON_VERSION = 1.6.2
+LIBBSON_SITE = $(call github,mongodb,libbson,$(LIBBSON_VERSION))
+LIBBSON_LICENSE = GPL-2.0
+LIBBSON_LICENSE_FILES = COPYING
+LIBBSON_INSTALL_STAGING = YES
+
+LIBBSON_CONF_OPTS = \
+	-DENABLE_TESTS=OFF
+
+$(eval $(cmake-package))
\ No newline at end of file
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-04-12 19:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-10 14:59 [Buildroot] [PATCH] libbson: new package Arnout Vandecappelle
2017-04-10 15:01 ` Arnout Vandecappelle
2017-04-12 19:52 ` Thomas Petazzoni
     [not found] <libbson: new package>
2017-04-07 11:42 ` Semyon Kolganov
2017-04-07 12:01   ` Arnout Vandecappelle

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.