All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/valijson: bump version to 0.2
@ 2019-10-21  6:37 Santosh Multhalli
  2019-10-21 12:59 ` Matthew Weber
  2019-10-21 17:02 ` Peter Seiderer
  0 siblings, 2 replies; 5+ messages in thread
From: Santosh Multhalli @ 2019-10-21  6:37 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Santosh Multhalli <santosh.multhalli@rockwellcollins.com>
---
 package/valijson/Config.in     | 3 ++-
 package/valijson/valijson.hash | 2 +-
 package/valijson/valijson.mk   | 6 +++---
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/package/valijson/Config.in b/package/valijson/Config.in
index 10721b3..cf9954c 100644
--- a/package/valijson/Config.in
+++ b/package/valijson/Config.in
@@ -5,6 +5,7 @@ config BR2_PACKAGE_VALIJSON
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_BOOST
 	select BR2_PACKAGE_BOOST_REGEX
+        select BR2_PACKAGE_CURLPP 
 	help
 	  Valijson is a header-only JSON Schema Validation library for
 	  C++. Valijson provides a simple validation API that allows
@@ -15,4 +16,4 @@ config BR2_PACKAGE_VALIJSON
 	  https://github.com/tristanpenman/valijson
 
 comment "valijson needs a toolchain w/ C++, threads, wchar  support"
-	depends on !BR2_INSTALL_LIBSTDCPP  || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+	depends on !BR2_INSTALL_LIBSTDCPP  || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR 
diff --git a/package/valijson/valijson.hash b/package/valijson/valijson.hash
index cd34ecb..f245750 100644
--- a/package/valijson/valijson.hash
+++ b/package/valijson/valijson.hash
@@ -1,2 +1,2 @@
 # Locally Computed:
-sha256  d22c1f8fe27d43e5a27aad1d3cbe9f1318ec28ccfa913e615663ed2bd6a5d063  valijson-0.1.tar.gz
+sha256  77dbebb40dab2e834557c2fcc39122cdb2d0fe26bf591c2b3e0df5a316a45592  valijson-0.2.tar.gz
diff --git a/package/valijson/valijson.mk b/package/valijson/valijson.mk
index a804334..24e720e 100644
--- a/package/valijson/valijson.mk
+++ b/package/valijson/valijson.mk
@@ -4,13 +4,13 @@
 #
 ################################################################################
 
-VALIJSON_VERSION = 0.1
+VALIJSON_VERSION = 0.2
 VALIJSON_SITE = $(call github,tristanpenman,valijson,v$(VALIJSON_VERSION))
 VALIJSON_LICENSE = BSD-2-Clause
 VALIJSON_LICENSE_FILES = LICENSE
 VALIJSON_INSTALL_STAGING = YES
 VALIJSON_INSTALL_TARGET = NO
-VALIJSON_DEPENDENCIES = boost
-VALIJSON_CONF_OPTS = -DINSTALL_HEADERS=TRUE
+VALIJSON_DEPENDENCIES = boost curlpp
+VALIJSON_CONF_OPTS = -Dvalijson_INSTALL_HEADERS=TRUE
 
 $(eval $(cmake-package))
-- 
2.5.0

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

* [Buildroot] [PATCH 1/1] package/valijson: bump version to 0.2
  2019-10-21  6:37 [Buildroot] [PATCH 1/1] package/valijson: bump version to 0.2 Santosh Multhalli
@ 2019-10-21 12:59 ` Matthew Weber
  2019-10-21 17:02 ` Peter Seiderer
  1 sibling, 0 replies; 5+ messages in thread
From: Matthew Weber @ 2019-10-21 12:59 UTC (permalink / raw)
  To: buildroot

Santosh,

On Mon, Oct 21, 2019 at 1:37 AM Santosh Multhalli
<santosh.multhalli@rockwellcollins.com> wrote:
>

Could you add some notes here describing the new curlpp dependency and
make file change?

> Signed-off-by: Santosh Multhalli <santosh.multhalli@rockwellcollins.com>
> ---
>  package/valijson/Config.in     | 3 ++-
>  package/valijson/valijson.hash | 2 +-
>  package/valijson/valijson.mk   | 6 +++---
>  3 files changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/package/valijson/Config.in b/package/valijson/Config.in
> index 10721b3..cf9954c 100644
> --- a/package/valijson/Config.in
> +++ b/package/valijson/Config.in
> @@ -5,6 +5,7 @@ config BR2_PACKAGE_VALIJSON
>         depends on BR2_TOOLCHAIN_HAS_THREADS
>         select BR2_PACKAGE_BOOST
>         select BR2_PACKAGE_BOOST_REGEX
> +        select BR2_PACKAGE_CURLPP

See above, probably need to describe this in the commit description.

>         help
>           Valijson is a header-only JSON Schema Validation library for
>           C++. Valijson provides a simple validation API that allows
> @@ -15,4 +16,4 @@ config BR2_PACKAGE_VALIJSON
>           https://github.com/tristanpenman/valijson
>
>  comment "valijson needs a toolchain w/ C++, threads, wchar  support"
> -       depends on !BR2_INSTALL_LIBSTDCPP  || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
> +       depends on !BR2_INSTALL_LIBSTDCPP  || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR

Was this formatting change found manually?  If so, could you run
./utils/check-package package/valijson/* to validate against the
schema?

> diff --git a/package/valijson/valijson.hash b/package/valijson/valijson.hash
> index cd34ecb..f245750 100644
> --- a/package/valijson/valijson.hash
> +++ b/package/valijson/valijson.hash
> @@ -1,2 +1,2 @@
>  # Locally Computed:
> -sha256  d22c1f8fe27d43e5a27aad1d3cbe9f1318ec28ccfa913e615663ed2bd6a5d063  valijson-0.1.tar.gz
> +sha256  77dbebb40dab2e834557c2fcc39122cdb2d0fe26bf591c2b3e0df5a316a45592  valijson-0.2.tar.gz

Suggest adding a license file hash (for example, see
package/libcurl/libcurl.hash)

> diff --git a/package/valijson/valijson.mk b/package/valijson/valijson.mk
> index a804334..24e720e 100644
> --- a/package/valijson/valijson.mk
> +++ b/package/valijson/valijson.mk
> @@ -4,13 +4,13 @@
>  #
>  ################################################################################
>
> -VALIJSON_VERSION = 0.1
> +VALIJSON_VERSION = 0.2
>  VALIJSON_SITE = $(call github,tristanpenman,valijson,v$(VALIJSON_VERSION))
>  VALIJSON_LICENSE = BSD-2-Clause
>  VALIJSON_LICENSE_FILES = LICENSE
>  VALIJSON_INSTALL_STAGING = YES
>  VALIJSON_INSTALL_TARGET = NO
> -VALIJSON_DEPENDENCIES = boost
> -VALIJSON_CONF_OPTS = -DINSTALL_HEADERS=TRUE
> +VALIJSON_DEPENDENCIES = boost curlpp
> +VALIJSON_CONF_OPTS = -Dvalijson_INSTALL_HEADERS=TRUE

See above, probably need to describe this in the commit description.

Thanks for the bump!

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

* [Buildroot] [PATCH 1/1] package/valijson: bump version to 0.2
  2019-10-21  6:37 [Buildroot] [PATCH 1/1] package/valijson: bump version to 0.2 Santosh Multhalli
  2019-10-21 12:59 ` Matthew Weber
@ 2019-10-21 17:02 ` Peter Seiderer
  1 sibling, 0 replies; 5+ messages in thread
From: Peter Seiderer @ 2019-10-21 17:02 UTC (permalink / raw)
  To: buildroot

Hello Santosh,

On Mon, 21 Oct 2019 12:07:08 +0530, Santosh Multhalli <santosh.multhalli@rockwellcollins.com> wrote:

> Signed-off-by: Santosh Multhalli <santosh.multhalli@rockwellcollins.com>
> ---
>  package/valijson/Config.in     | 3 ++-
>  package/valijson/valijson.hash | 2 +-
>  package/valijson/valijson.mk   | 6 +++---
>  3 files changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/package/valijson/Config.in b/package/valijson/Config.in
> index 10721b3..cf9954c 100644
> --- a/package/valijson/Config.in
> +++ b/package/valijson/Config.in
> @@ -5,6 +5,7 @@ config BR2_PACKAGE_VALIJSON
>  	depends on BR2_TOOLCHAIN_HAS_THREADS
>  	select BR2_PACKAGE_BOOST
>  	select BR2_PACKAGE_BOOST_REGEX
> +        select BR2_PACKAGE_CURLPP

Indent should be done with one tab (instead of spaces) and the line contains
a trailing space...

>  	help
>  	  Valijson is a header-only JSON Schema Validation library for
>  	  C++. Valijson provides a simple validation API that allows
> @@ -15,4 +16,4 @@ config BR2_PACKAGE_VALIJSON
>  	  https://github.com/tristanpenman/valijson
>
>  comment "valijson needs a toolchain w/ C++, threads, wchar  support"
> -	depends on !BR2_INSTALL_LIBSTDCPP  || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
> +	depends on !BR2_INSTALL_LIBSTDCPP  || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR

Unneeded change (adding trailing space)...

Maybe try to run ./utils/check-package ;-)

Regards,
Peter

> diff --git a/package/valijson/valijson.hash b/package/valijson/valijson.hash
> index cd34ecb..f245750 100644
> --- a/package/valijson/valijson.hash
> +++ b/package/valijson/valijson.hash
> @@ -1,2 +1,2 @@
>  # Locally Computed:
> -sha256  d22c1f8fe27d43e5a27aad1d3cbe9f1318ec28ccfa913e615663ed2bd6a5d063  valijson-0.1.tar.gz
> +sha256  77dbebb40dab2e834557c2fcc39122cdb2d0fe26bf591c2b3e0df5a316a45592  valijson-0.2.tar.gz
> diff --git a/package/valijson/valijson.mk b/package/valijson/valijson.mk
> index a804334..24e720e 100644
> --- a/package/valijson/valijson.mk
> +++ b/package/valijson/valijson.mk
> @@ -4,13 +4,13 @@
>  #
>  ################################################################################
>
> -VALIJSON_VERSION = 0.1
> +VALIJSON_VERSION = 0.2
>  VALIJSON_SITE = $(call github,tristanpenman,valijson,v$(VALIJSON_VERSION))
>  VALIJSON_LICENSE = BSD-2-Clause
>  VALIJSON_LICENSE_FILES = LICENSE
>  VALIJSON_INSTALL_STAGING = YES
>  VALIJSON_INSTALL_TARGET = NO
> -VALIJSON_DEPENDENCIES = boost
> -VALIJSON_CONF_OPTS = -DINSTALL_HEADERS=TRUE
> +VALIJSON_DEPENDENCIES = boost curlpp
> +VALIJSON_CONF_OPTS = -Dvalijson_INSTALL_HEADERS=TRUE
>
>  $(eval $(cmake-package))

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

* [Buildroot] [PATCH 1/1] package/valijson: bump version to 0.2
  2019-10-22 10:51 Santosh Multhalli
@ 2019-10-22 19:36 ` Thomas Petazzoni
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2019-10-22 19:36 UTC (permalink / raw)
  To: buildroot

Hello Santosh,

On Tue, 22 Oct 2019 16:21:55 +0530
Santosh Multhalli <santosh.multhalli@rockwellcollins.com> wrote:

> --------

These signs are not needed.

> 
> 1) Added hash  of LICENSE file in valijson.hash
> 2) Updated hash of valijson tar file in valijson.hash file
> 3) Added libcurlpp dependency in valijson.mk file
> 4) Update Config.in file to select curlpp in case  valijson selected
> 
> --------

These are also not needed.

> diff --git a/package/valijson/Config.in b/package/valijson/Config.in
> index 10721b3..36a19c3 100644
> --- a/package/valijson/Config.in
> +++ b/package/valijson/Config.in
> @@ -5,6 +5,7 @@ config BR2_PACKAGE_VALIJSON
>  	depends on BR2_TOOLCHAIN_HAS_THREADS
>  	select BR2_PACKAGE_BOOST
>  	select BR2_PACKAGE_BOOST_REGEX
> +	select BR2_PACKAGE_CURLPP

Are you sure curlpp is mandatory? As far as I can see, it's only used
for building some of the examples, and the examples are not built by
default.

Could you check this ?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 1/1] package/valijson: bump version to 0.2
@ 2019-10-22 10:51 Santosh Multhalli
  2019-10-22 19:36 ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Santosh Multhalli @ 2019-10-22 10:51 UTC (permalink / raw)
  To: buildroot

--------

1) Added hash  of LICENSE file in valijson.hash
2) Updated hash of valijson tar file in valijson.hash file
3) Added libcurlpp dependency in valijson.mk file
4) Update Config.in file to select curlpp in case  valijson selected

--------

Signed-off-by: Santosh Multhalli <santosh.multhalli@rockwellcollins.com>
---
 package/valijson/Config.in     | 1 +
 package/valijson/valijson.hash | 3 ++-
 package/valijson/valijson.mk   | 6 +++---
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/package/valijson/Config.in b/package/valijson/Config.in
index 10721b3..36a19c3 100644
--- a/package/valijson/Config.in
+++ b/package/valijson/Config.in
@@ -5,6 +5,7 @@ config BR2_PACKAGE_VALIJSON
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_BOOST
 	select BR2_PACKAGE_BOOST_REGEX
+	select BR2_PACKAGE_CURLPP
 	help
 	  Valijson is a header-only JSON Schema Validation library for
 	  C++. Valijson provides a simple validation API that allows
diff --git a/package/valijson/valijson.hash b/package/valijson/valijson.hash
index cd34ecb..6f11000 100644
--- a/package/valijson/valijson.hash
+++ b/package/valijson/valijson.hash
@@ -1,2 +1,3 @@
 # Locally Computed:
-sha256  d22c1f8fe27d43e5a27aad1d3cbe9f1318ec28ccfa913e615663ed2bd6a5d063  valijson-0.1.tar.gz
+sha256  77dbebb40dab2e834557c2fcc39122cdb2d0fe26bf591c2b3e0df5a316a45592  valijson-0.2.tar.gz
+sha256  1a0f99926a2dbec30eba3db820236d9953fbe3048976923ac24980e655fbe991  LICENSE
diff --git a/package/valijson/valijson.mk b/package/valijson/valijson.mk
index a804334..24e720e 100644
--- a/package/valijson/valijson.mk
+++ b/package/valijson/valijson.mk
@@ -4,13 +4,13 @@
 #
 ################################################################################
 
-VALIJSON_VERSION = 0.1
+VALIJSON_VERSION = 0.2
 VALIJSON_SITE = $(call github,tristanpenman,valijson,v$(VALIJSON_VERSION))
 VALIJSON_LICENSE = BSD-2-Clause
 VALIJSON_LICENSE_FILES = LICENSE
 VALIJSON_INSTALL_STAGING = YES
 VALIJSON_INSTALL_TARGET = NO
-VALIJSON_DEPENDENCIES = boost
-VALIJSON_CONF_OPTS = -DINSTALL_HEADERS=TRUE
+VALIJSON_DEPENDENCIES = boost curlpp
+VALIJSON_CONF_OPTS = -Dvalijson_INSTALL_HEADERS=TRUE
 
 $(eval $(cmake-package))
-- 
2.5.0

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

end of thread, other threads:[~2019-10-22 19:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-21  6:37 [Buildroot] [PATCH 1/1] package/valijson: bump version to 0.2 Santosh Multhalli
2019-10-21 12:59 ` Matthew Weber
2019-10-21 17:02 ` Peter Seiderer
2019-10-22 10:51 Santosh Multhalli
2019-10-22 19:36 ` Thomas Petazzoni

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.