All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][meta-oe] valijson: update to 0.3
@ 2020-07-26 13:07 Oleksandr Kravchuk
  2020-08-02 20:03 ` [oe] " Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Oleksandr Kravchuk @ 2020-07-26 13:07 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Oleksandr Kravchuk

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
---
 .../recipes-devtools/valijson/valijson_0.3.bb | 36 +++++++++++++++++++
 .../recipes-devtools/valijson/valijson_git.bb | 21 -----------
 2 files changed, 36 insertions(+), 21 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/valijson/valijson_0.3.bb
 delete mode 100644 meta-oe/recipes-devtools/valijson/valijson_git.bb

diff --git a/meta-oe/recipes-devtools/valijson/valijson_0.3.bb b/meta-oe/recipes-devtools/valijson/valijson_0.3.bb
new file mode 100644
index 0000000000..049cdeffc0
--- /dev/null
+++ b/meta-oe/recipes-devtools/valijson/valijson_0.3.bb
@@ -0,0 +1,36 @@
+SUMMARY = "Header-only C++ library for JSON Schema validation"
+HOMEPAGE = "https://github.com/tristanpenman/valijson"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=015106c62262b2383f6c72063f0998f2"
+
+SRC_URI = "git://github.com/tristanpenman/valijson.git"
+SRCREV = "7a52fc88cdffd6678c009ca2fad700151f7363c6"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-DINSTALL_HEADERS=1 -DBUILD_TESTS=0"
+
+DEPENDS = "curlpp"
+
+# valijson is a header only C++ library, so the main package will be empty.
+RDEPENDS_${PN}-dev = ""
+
+BBCLASSEXTEND = "native nativesdk"
+
+do_install() {
+    install -d ${D}${includedir}/compat
+    install -d ${D}${includedir}/valijson
+    install -d ${D}${includedir}/valijson/adapters
+    install -d ${D}${includedir}/valijson/constraints
+    install -d ${D}${includedir}/valijson/internal
+    install -d ${D}${includedir}/valijson/utils
+
+    install -m 0644 ${S}/include/compat/* ${D}${includedir}/compat
+    install -D -m 0644 ${S}/include/valijson/*.hpp -t ${D}${includedir}/valijson
+    install -D -m 0644 ${S}/include/valijson/adapters/*.hpp -t ${D}${includedir}/valijson/adapters
+    install -D -m 0644 ${S}/include/valijson/constraints/*.hpp -t ${D}${includedir}/valijson/constraints
+    install -D -m 0644 ${S}/include/valijson/internal/*.hpp -t ${D}${includedir}/valijson/internal
+    install -D -m 0644 ${S}/include/valijson/utils/*.hpp -t ${D}${includedir}/valijson/utils
+}
diff --git a/meta-oe/recipes-devtools/valijson/valijson_git.bb b/meta-oe/recipes-devtools/valijson/valijson_git.bb
deleted file mode 100644
index c3254d16e7..0000000000
--- a/meta-oe/recipes-devtools/valijson/valijson_git.bb
+++ /dev/null
@@ -1,21 +0,0 @@
-SUMMARY = "Header-only C++ library for JSON Schema validation"
-HOMEPAGE = "https://github.com/tristanpenman/valijson"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=015106c62262b2383f6c72063f0998f2"
-
-SRC_URI = "git://github.com/tristanpenman/valijson.git"
-PV = "0.1+git${SRCPV}"
-
-SRCREV = "c2f22fddf599d04dc33fcd7ed257c698a05345d9"
-
-S = "${WORKDIR}/git"
-
-inherit cmake
-
-EXTRA_OECMAKE = "-DINSTALL_HEADERS=1 -DBUILD_TESTS=0"
-
-# valijson is a header only C++ library, so the main package will be empty.
-RDEPENDS_${PN}-dev = ""
-
-BBCLASSEXTEND = "native nativesdk"
-
-- 
2.25.1


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

* Re: [oe] [PATCH][meta-oe] valijson: update to 0.3
  2020-07-26 13:07 [PATCH][meta-oe] valijson: update to 0.3 Oleksandr Kravchuk
@ 2020-08-02 20:03 ` Martin Jansa
  2020-08-03 11:51   ` Oleksandr Kravchuk
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2020-08-02 20:03 UTC (permalink / raw)
  To: Oleksandr Kravchuk; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 3760 bytes --]

Hi,

new dependency curlpp is only available in meta-networking, so this recipe
in meta-oe cannot depend on it, either move it to meta-networking as well,
or make it optional with PACKAGECONFIG if possible.

Now it causes:
ERROR: Nothing PROVIDES 'curlpp' (but
meta-openembedded/meta-oe/recipes-devtools/valijson/valijson_0.3.bb DEPENDS
on or otherwise requires it). Close matches:

Regards,

On Sun, Jul 26, 2020 at 3:09 PM Oleksandr Kravchuk <
open.source@oleksandr-kravchuk.com> wrote:

> Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
> ---
>  .../recipes-devtools/valijson/valijson_0.3.bb | 36 +++++++++++++++++++
>  .../recipes-devtools/valijson/valijson_git.bb | 21 -----------
>  2 files changed, 36 insertions(+), 21 deletions(-)
>  create mode 100644 meta-oe/recipes-devtools/valijson/valijson_0.3.bb
>  delete mode 100644 meta-oe/recipes-devtools/valijson/valijson_git.bb
>
> diff --git a/meta-oe/recipes-devtools/valijson/valijson_0.3.bb
> b/meta-oe/recipes-devtools/valijson/valijson_0.3.bb
> new file mode 100644
> index 0000000000..049cdeffc0
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/valijson/valijson_0.3.bb
> @@ -0,0 +1,36 @@
> +SUMMARY = "Header-only C++ library for JSON Schema validation"
> +HOMEPAGE = "https://github.com/tristanpenman/valijson"
> +LICENSE = "BSD-2-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=015106c62262b2383f6c72063f0998f2"
> +
> +SRC_URI = "git://github.com/tristanpenman/valijson.git"
> +SRCREV = "7a52fc88cdffd6678c009ca2fad700151f7363c6"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit cmake
> +
> +EXTRA_OECMAKE = "-DINSTALL_HEADERS=1 -DBUILD_TESTS=0"
> +
> +DEPENDS = "curlpp"
> +
> +# valijson is a header only C++ library, so the main package will be
> empty.
> +RDEPENDS_${PN}-dev = ""
> +
> +BBCLASSEXTEND = "native nativesdk"
> +
> +do_install() {
> +    install -d ${D}${includedir}/compat
> +    install -d ${D}${includedir}/valijson
> +    install -d ${D}${includedir}/valijson/adapters
> +    install -d ${D}${includedir}/valijson/constraints
> +    install -d ${D}${includedir}/valijson/internal
> +    install -d ${D}${includedir}/valijson/utils
> +
> +    install -m 0644 ${S}/include/compat/* ${D}${includedir}/compat
> +    install -D -m 0644 ${S}/include/valijson/*.hpp -t
> ${D}${includedir}/valijson
> +    install -D -m 0644 ${S}/include/valijson/adapters/*.hpp -t
> ${D}${includedir}/valijson/adapters
> +    install -D -m 0644 ${S}/include/valijson/constraints/*.hpp -t
> ${D}${includedir}/valijson/constraints
> +    install -D -m 0644 ${S}/include/valijson/internal/*.hpp -t
> ${D}${includedir}/valijson/internal
> +    install -D -m 0644 ${S}/include/valijson/utils/*.hpp -t
> ${D}${includedir}/valijson/utils
> +}
> diff --git a/meta-oe/recipes-devtools/valijson/valijson_git.bb
> b/meta-oe/recipes-devtools/valijson/valijson_git.bb
> deleted file mode 100644
> index c3254d16e7..0000000000
> --- a/meta-oe/recipes-devtools/valijson/valijson_git.bb
> +++ /dev/null
> @@ -1,21 +0,0 @@
> -SUMMARY = "Header-only C++ library for JSON Schema validation"
> -HOMEPAGE = "https://github.com/tristanpenman/valijson"
> -LICENSE = "BSD-2-Clause"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=015106c62262b2383f6c72063f0998f2"
> -
> -SRC_URI = "git://github.com/tristanpenman/valijson.git"
> -PV = "0.1+git${SRCPV}"
> -
> -SRCREV = "c2f22fddf599d04dc33fcd7ed257c698a05345d9"
> -
> -S = "${WORKDIR}/git"
> -
> -inherit cmake
> -
> -EXTRA_OECMAKE = "-DINSTALL_HEADERS=1 -DBUILD_TESTS=0"
> -
> -# valijson is a header only C++ library, so the main package will be
> empty.
> -RDEPENDS_${PN}-dev = ""
> -
> -BBCLASSEXTEND = "native nativesdk"
> -
> --
> 2.25.1
>
> 
>

[-- Attachment #2: Type: text/html, Size: 5708 bytes --]

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

* Re: [oe] [PATCH][meta-oe] valijson: update to 0.3
  2020-08-02 20:03 ` [oe] " Martin Jansa
@ 2020-08-03 11:51   ` Oleksandr Kravchuk
  2020-08-19 21:23     ` Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Oleksandr Kravchuk @ 2020-08-03 11:51 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 4911 bytes --]

Hi,

Oh, I was not aware those layers cannot depend on each other. I'll see 
what can be done.

On 02/08/2020 22:03, Martin Jansa wrote:
> Hi,
>
> new dependency curlpp is only available in meta-networking, so this 
> recipe in meta-oe cannot depend on it, either move it to 
> meta-networking as well, or make it optional with PACKAGECONFIG if 
> possible.
>
> Now it causes:
> ERROR: Nothing PROVIDES 'curlpp' (but 
> meta-openembedded/meta-oe/recipes-devtools/valijson/valijson_0.3.bb 
> <http://valijson_0.3.bb> DEPENDS on or otherwise requires it). Close 
> matches:
>
> Regards,
>
> On Sun, Jul 26, 2020 at 3:09 PM Oleksandr Kravchuk 
> <open.source@oleksandr-kravchuk.com 
> <mailto:open.source@oleksandr-kravchuk.com>> wrote:
>
>     Signed-off-by: Oleksandr Kravchuk
>     <open.source@oleksandr-kravchuk.com
>     <mailto:open.source@oleksandr-kravchuk.com>>
>     ---
>      .../recipes-devtools/valijson/valijson_0.3.bb
>     <http://valijson_0.3.bb> | 36 +++++++++++++++++++
>      .../recipes-devtools/valijson/valijson_git.bb
>     <http://valijson_git.bb> | 21 -----------
>      2 files changed, 36 insertions(+), 21 deletions(-)
>      create mode 100644
>     meta-oe/recipes-devtools/valijson/valijson_0.3.bb
>     <http://valijson_0.3.bb>
>      delete mode 100644
>     meta-oe/recipes-devtools/valijson/valijson_git.bb
>     <http://valijson_git.bb>
>
>     diff --git a/meta-oe/recipes-devtools/valijson/valijson_0.3.bb
>     <http://valijson_0.3.bb>
>     b/meta-oe/recipes-devtools/valijson/valijson_0.3.bb
>     <http://valijson_0.3.bb>
>     new file mode 100644
>     index 0000000000..049cdeffc0
>     --- /dev/null
>     +++ b/meta-oe/recipes-devtools/valijson/valijson_0.3.bb
>     <http://valijson_0.3.bb>
>     @@ -0,0 +1,36 @@
>     +SUMMARY = "Header-only C++ library for JSON Schema validation"
>     +HOMEPAGE = "https://github.com/tristanpenman/valijson"
>     +LICENSE = "BSD-2-Clause"
>     +LIC_FILES_CHKSUM =
>     "file://LICENSE;md5=015106c62262b2383f6c72063f0998f2"
>     +
>     +SRC_URI = "git://github.com/tristanpenman/valijson.git
>     <http://github.com/tristanpenman/valijson.git>"
>     +SRCREV = "7a52fc88cdffd6678c009ca2fad700151f7363c6"
>     +
>     +S = "${WORKDIR}/git"
>     +
>     +inherit cmake
>     +
>     +EXTRA_OECMAKE = "-DINSTALL_HEADERS=1 -DBUILD_TESTS=0"
>     +
>     +DEPENDS = "curlpp"
>     +
>     +# valijson is a header only C++ library, so the main package will
>     be empty.
>     +RDEPENDS_${PN}-dev = ""
>     +
>     +BBCLASSEXTEND = "native nativesdk"
>     +
>     +do_install() {
>     +    install -d ${D}${includedir}/compat
>     +    install -d ${D}${includedir}/valijson
>     +    install -d ${D}${includedir}/valijson/adapters
>     +    install -d ${D}${includedir}/valijson/constraints
>     +    install -d ${D}${includedir}/valijson/internal
>     +    install -d ${D}${includedir}/valijson/utils
>     +
>     +    install -m 0644 ${S}/include/compat/* ${D}${includedir}/compat
>     +    install -D -m 0644 ${S}/include/valijson/*.hpp -t
>     ${D}${includedir}/valijson
>     +    install -D -m 0644 ${S}/include/valijson/adapters/*.hpp -t
>     ${D}${includedir}/valijson/adapters
>     +    install -D -m 0644 ${S}/include/valijson/constraints/*.hpp -t
>     ${D}${includedir}/valijson/constraints
>     +    install -D -m 0644 ${S}/include/valijson/internal/*.hpp -t
>     ${D}${includedir}/valijson/internal
>     +    install -D -m 0644 ${S}/include/valijson/utils/*.hpp -t
>     ${D}${includedir}/valijson/utils
>     +}
>     diff --git a/meta-oe/recipes-devtools/valijson/valijson_git.bb
>     <http://valijson_git.bb>
>     b/meta-oe/recipes-devtools/valijson/valijson_git.bb
>     <http://valijson_git.bb>
>     deleted file mode 100644
>     index c3254d16e7..0000000000
>     --- a/meta-oe/recipes-devtools/valijson/valijson_git.bb
>     <http://valijson_git.bb>
>     +++ /dev/null
>     @@ -1,21 +0,0 @@
>     -SUMMARY = "Header-only C++ library for JSON Schema validation"
>     -HOMEPAGE = "https://github.com/tristanpenman/valijson"
>     -LICENSE = "BSD-2-Clause"
>     -LIC_FILES_CHKSUM =
>     "file://LICENSE;md5=015106c62262b2383f6c72063f0998f2"
>     -
>     -SRC_URI = "git://github.com/tristanpenman/valijson.git
>     <http://github.com/tristanpenman/valijson.git>"
>     -PV = "0.1+git${SRCPV}"
>     -
>     -SRCREV = "c2f22fddf599d04dc33fcd7ed257c698a05345d9"
>     -
>     -S = "${WORKDIR}/git"
>     -
>     -inherit cmake
>     -
>     -EXTRA_OECMAKE = "-DINSTALL_HEADERS=1 -DBUILD_TESTS=0"
>     -
>     -# valijson is a header only C++ library, so the main package will
>     be empty.
>     -RDEPENDS_${PN}-dev = ""
>     -
>     -BBCLASSEXTEND = "native nativesdk"
>     -
>     -- 
>     2.25.1
>
>     
>

[-- Attachment #2: Type: text/html, Size: 8489 bytes --]

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

* Re: [oe] [PATCH][meta-oe] valijson: update to 0.3
  2020-08-03 11:51   ` Oleksandr Kravchuk
@ 2020-08-19 21:23     ` Martin Jansa
  2020-08-20  8:58       ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2020-08-19 21:23 UTC (permalink / raw)
  To: Oleksandr Kravchuk; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 4212 bytes --]

Any update on this?

Can we revert the upgrade until you figure it out?

On Mon, Aug 3, 2020 at 1:51 PM Oleksandr Kravchuk <
open.source@oleksandr-kravchuk.com> wrote:

> Hi,
>
> Oh, I was not aware those layers cannot depend on each other. I'll see
> what can be done.
>
> On 02/08/2020 22:03, Martin Jansa wrote:
>
> Hi,
>
> new dependency curlpp is only available in meta-networking, so this recipe
> in meta-oe cannot depend on it, either move it to meta-networking as well,
> or make it optional with PACKAGECONFIG if possible.
>
> Now it causes:
> ERROR: Nothing PROVIDES 'curlpp' (but
> meta-openembedded/meta-oe/recipes-devtools/valijson/valijson_0.3.bb
> DEPENDS on or otherwise requires it). Close matches:
>
> Regards,
>
> On Sun, Jul 26, 2020 at 3:09 PM Oleksandr Kravchuk <
> open.source@oleksandr-kravchuk.com> wrote:
>
>> Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
>> ---
>>  .../recipes-devtools/valijson/valijson_0.3.bb | 36 +++++++++++++++++++
>>  .../recipes-devtools/valijson/valijson_git.bb | 21 -----------
>>  2 files changed, 36 insertions(+), 21 deletions(-)
>>  create mode 100644 meta-oe/recipes-devtools/valijson/valijson_0.3.bb
>>  delete mode 100644 meta-oe/recipes-devtools/valijson/valijson_git.bb
>>
>> diff --git a/meta-oe/recipes-devtools/valijson/valijson_0.3.bb
>> b/meta-oe/recipes-devtools/valijson/valijson_0.3.bb
>> new file mode 100644
>> index 0000000000..049cdeffc0
>> --- /dev/null
>> +++ b/meta-oe/recipes-devtools/valijson/valijson_0.3.bb
>> @@ -0,0 +1,36 @@
>> +SUMMARY = "Header-only C++ library for JSON Schema validation"
>> +HOMEPAGE = "https://github.com/tristanpenman/valijson"
>> +LICENSE = "BSD-2-Clause"
>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=015106c62262b2383f6c72063f0998f2"
>> +
>> +SRC_URI = "git://github.com/tristanpenman/valijson.git"
>> +SRCREV = "7a52fc88cdffd6678c009ca2fad700151f7363c6"
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +inherit cmake
>> +
>> +EXTRA_OECMAKE = "-DINSTALL_HEADERS=1 -DBUILD_TESTS=0"
>> +
>> +DEPENDS = "curlpp"
>> +
>> +# valijson is a header only C++ library, so the main package will be
>> empty.
>> +RDEPENDS_${PN}-dev = ""
>> +
>> +BBCLASSEXTEND = "native nativesdk"
>> +
>> +do_install() {
>> +    install -d ${D}${includedir}/compat
>> +    install -d ${D}${includedir}/valijson
>> +    install -d ${D}${includedir}/valijson/adapters
>> +    install -d ${D}${includedir}/valijson/constraints
>> +    install -d ${D}${includedir}/valijson/internal
>> +    install -d ${D}${includedir}/valijson/utils
>> +
>> +    install -m 0644 ${S}/include/compat/* ${D}${includedir}/compat
>> +    install -D -m 0644 ${S}/include/valijson/*.hpp -t
>> ${D}${includedir}/valijson
>> +    install -D -m 0644 ${S}/include/valijson/adapters/*.hpp -t
>> ${D}${includedir}/valijson/adapters
>> +    install -D -m 0644 ${S}/include/valijson/constraints/*.hpp -t
>> ${D}${includedir}/valijson/constraints
>> +    install -D -m 0644 ${S}/include/valijson/internal/*.hpp -t
>> ${D}${includedir}/valijson/internal
>> +    install -D -m 0644 ${S}/include/valijson/utils/*.hpp -t
>> ${D}${includedir}/valijson/utils
>> +}
>> diff --git a/meta-oe/recipes-devtools/valijson/valijson_git.bb
>> b/meta-oe/recipes-devtools/valijson/valijson_git.bb
>> deleted file mode 100644
>> index c3254d16e7..0000000000
>> --- a/meta-oe/recipes-devtools/valijson/valijson_git.bb
>> +++ /dev/null
>> @@ -1,21 +0,0 @@
>> -SUMMARY = "Header-only C++ library for JSON Schema validation"
>> -HOMEPAGE = "https://github.com/tristanpenman/valijson"
>> -LICENSE = "BSD-2-Clause"
>> -LIC_FILES_CHKSUM = "file://LICENSE;md5=015106c62262b2383f6c72063f0998f2"
>> -
>> -SRC_URI = "git://github.com/tristanpenman/valijson.git"
>> -PV = "0.1+git${SRCPV}"
>> -
>> -SRCREV = "c2f22fddf599d04dc33fcd7ed257c698a05345d9"
>> -
>> -S = "${WORKDIR}/git"
>> -
>> -inherit cmake
>> -
>> -EXTRA_OECMAKE = "-DINSTALL_HEADERS=1 -DBUILD_TESTS=0"
>> -
>> -# valijson is a header only C++ library, so the main package will be
>> empty.
>> -RDEPENDS_${PN}-dev = ""
>> -
>> -BBCLASSEXTEND = "native nativesdk"
>> -
>> --
>> 2.25.1
>>
>> 
>>
>

[-- Attachment #2: Type: text/html, Size: 7839 bytes --]

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

* Re: [oe] [PATCH][meta-oe] valijson: update to 0.3
  2020-08-19 21:23     ` Martin Jansa
@ 2020-08-20  8:58       ` Khem Raj
  0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2020-08-20  8:58 UTC (permalink / raw)
  To: Martin Jansa; +Cc: Oleksandr Kravchuk, openembedded-devel

On Wed, Aug 19, 2020 at 2:24 PM Martin Jansa <Martin.Jansa@gmail.com> wrote:
>
> Any update on this?
>
> Can we revert the upgrade until you figure it out?
>

For once, I have fixed it myself since reverts are not my best choice,
I would appreciate all patch submitters taking responsibility of
addressing comments and feedback posted to their patches in timely
manner

> On Mon, Aug 3, 2020 at 1:51 PM Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> wrote:
>>
>> Hi,
>>
>> Oh, I was not aware those layers cannot depend on each other. I'll see what can be done.
>>
>> On 02/08/2020 22:03, Martin Jansa wrote:
>>
>> Hi,
>>
>> new dependency curlpp is only available in meta-networking, so this recipe in meta-oe cannot depend on it, either move it to meta-networking as well, or make it optional with PACKAGECONFIG if possible.
>>
>> Now it causes:
>> ERROR: Nothing PROVIDES 'curlpp' (but meta-openembedded/meta-oe/recipes-devtools/valijson/valijson_0.3.bb DEPENDS on or otherwise requires it). Close matches:
>>
>> Regards,
>>
>> On Sun, Jul 26, 2020 at 3:09 PM Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> wrote:
>>>
>>> Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
>>> ---
>>>  .../recipes-devtools/valijson/valijson_0.3.bb | 36 +++++++++++++++++++
>>>  .../recipes-devtools/valijson/valijson_git.bb | 21 -----------
>>>  2 files changed, 36 insertions(+), 21 deletions(-)
>>>  create mode 100644 meta-oe/recipes-devtools/valijson/valijson_0.3.bb
>>>  delete mode 100644 meta-oe/recipes-devtools/valijson/valijson_git.bb
>>>
>>> diff --git a/meta-oe/recipes-devtools/valijson/valijson_0.3.bb b/meta-oe/recipes-devtools/valijson/valijson_0.3.bb
>>> new file mode 100644
>>> index 0000000000..049cdeffc0
>>> --- /dev/null
>>> +++ b/meta-oe/recipes-devtools/valijson/valijson_0.3.bb
>>> @@ -0,0 +1,36 @@
>>> +SUMMARY = "Header-only C++ library for JSON Schema validation"
>>> +HOMEPAGE = "https://github.com/tristanpenman/valijson"
>>> +LICENSE = "BSD-2-Clause"
>>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=015106c62262b2383f6c72063f0998f2"
>>> +
>>> +SRC_URI = "git://github.com/tristanpenman/valijson.git"
>>> +SRCREV = "7a52fc88cdffd6678c009ca2fad700151f7363c6"
>>> +
>>> +S = "${WORKDIR}/git"
>>> +
>>> +inherit cmake
>>> +
>>> +EXTRA_OECMAKE = "-DINSTALL_HEADERS=1 -DBUILD_TESTS=0"
>>> +
>>> +DEPENDS = "curlpp"
>>> +
>>> +# valijson is a header only C++ library, so the main package will be empty.
>>> +RDEPENDS_${PN}-dev = ""
>>> +
>>> +BBCLASSEXTEND = "native nativesdk"
>>> +
>>> +do_install() {
>>> +    install -d ${D}${includedir}/compat
>>> +    install -d ${D}${includedir}/valijson
>>> +    install -d ${D}${includedir}/valijson/adapters
>>> +    install -d ${D}${includedir}/valijson/constraints
>>> +    install -d ${D}${includedir}/valijson/internal
>>> +    install -d ${D}${includedir}/valijson/utils
>>> +
>>> +    install -m 0644 ${S}/include/compat/* ${D}${includedir}/compat
>>> +    install -D -m 0644 ${S}/include/valijson/*.hpp -t ${D}${includedir}/valijson
>>> +    install -D -m 0644 ${S}/include/valijson/adapters/*.hpp -t ${D}${includedir}/valijson/adapters
>>> +    install -D -m 0644 ${S}/include/valijson/constraints/*.hpp -t ${D}${includedir}/valijson/constraints
>>> +    install -D -m 0644 ${S}/include/valijson/internal/*.hpp -t ${D}${includedir}/valijson/internal
>>> +    install -D -m 0644 ${S}/include/valijson/utils/*.hpp -t ${D}${includedir}/valijson/utils
>>> +}
>>> diff --git a/meta-oe/recipes-devtools/valijson/valijson_git.bb b/meta-oe/recipes-devtools/valijson/valijson_git.bb
>>> deleted file mode 100644
>>> index c3254d16e7..0000000000
>>> --- a/meta-oe/recipes-devtools/valijson/valijson_git.bb
>>> +++ /dev/null
>>> @@ -1,21 +0,0 @@
>>> -SUMMARY = "Header-only C++ library for JSON Schema validation"
>>> -HOMEPAGE = "https://github.com/tristanpenman/valijson"
>>> -LICENSE = "BSD-2-Clause"
>>> -LIC_FILES_CHKSUM = "file://LICENSE;md5=015106c62262b2383f6c72063f0998f2"
>>> -
>>> -SRC_URI = "git://github.com/tristanpenman/valijson.git"
>>> -PV = "0.1+git${SRCPV}"
>>> -
>>> -SRCREV = "c2f22fddf599d04dc33fcd7ed257c698a05345d9"
>>> -
>>> -S = "${WORKDIR}/git"
>>> -
>>> -inherit cmake
>>> -
>>> -EXTRA_OECMAKE = "-DINSTALL_HEADERS=1 -DBUILD_TESTS=0"
>>> -
>>> -# valijson is a header only C++ library, so the main package will be empty.
>>> -RDEPENDS_${PN}-dev = ""
>>> -
>>> -BBCLASSEXTEND = "native nativesdk"
>>> -
>>> --
>>> 2.25.1
>>>
>>>
> 

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

end of thread, other threads:[~2020-08-20  8:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-26 13:07 [PATCH][meta-oe] valijson: update to 0.3 Oleksandr Kravchuk
2020-08-02 20:03 ` [oe] " Martin Jansa
2020-08-03 11:51   ` Oleksandr Kravchuk
2020-08-19 21:23     ` Martin Jansa
2020-08-20  8:58       ` Khem Raj

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.