Skip to contentSkip to conversation

libbson: new package

PATCH New Arnout Vandecappelle (Essensium/Mind) 2 participants 3 messages Apr 10, 2017 – Apr 12, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libbson: new package

From: Sam <[email protected]>

---
 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
package/Config.in +1 -0
index c12e5b56f9..3683578f1e 100644
@@ -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"
package/libbson/Config.in new file +6 -0
new file mode 100644
index 0000000000..719271c732
@@ -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.
package/libbson/libbson.hash new file +2 -0
new file mode 100644
index 0000000000..27abe90bfd
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	aad410123e4bd8a9804c3c3d79e03344e2df104872594dc2cf19605d492944ba libbson-1.6.2.tar.gz
package/libbson/libbson.mk new file +21 -0
new file mode 100644
index 0000000000..8a71fc394c
@@ -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))
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 libbson: new package

Quoted 1 line · Arnout Vandecappelle (Essensium/Mind)

From: Sam <[email protected]>

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

Quoted 75 lines
---
 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
package/Config.in +1 -0
index c12e5b56f9..3683578f1e 100644
@@ -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"
package/libbson/Config.in new file +6 -0
new file mode 100644
index 0000000000..719271c732
@@ -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.
package/libbson/libbson.hash new file +2 -0
new file mode 100644
index 0000000000..27abe90bfd
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	aad410123e4bd8a9804c3c3d79e03344e2df104872594dc2cf19605d492944ba libbson-1.6.2.tar.gz
package/libbson/libbson.mk new file +21 -0
new file mode 100644
index 0000000000..8a71fc394c
@@ -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))
Signature · 6 lines
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
#2 lore raw

PATCH 1/1 libbson: new package

In reply to Arnout Vandecappelle (Essensium/Mind)

Hello,

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

Quoted 4 lines
 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.

package/libbson/Config.in line 6

Quoted 12 lines
package/libbson/Config.in new file +6 -0
new file mode 100644
index 0000000000..719271c732
@@ -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

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