Skip to contentSkip to conversation

jsoncpp: Upgrade to 1.9.4

PATCH In review Andrej Valek 2 participants 5 messages Feb 23, 2021 – Mar 7, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 jsoncpp: Upgrade to 1.9.4

- do not install obj files

---
 .../recipes-devtools/jsoncpp/{jsoncpp_1.9.3.bb => jsoncpp_1.9.4.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-devtools/jsoncpp/{jsoncpp_1.9.3.bb => jsoncpp_1.9.4.bb} (82%)
meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.4.bb renamed from meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.3.bb +2 -2
similarity index 82%
rename from meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.3.bb
rename to meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.4.bb
index e41907de4..a02ff4a4d 100644
@@ -13,13 +13,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fa2a23dd1dc6c139f35105379d76df2b"
 
 PE = "1"
 
-SRCREV = "6aba23f4a8628d599a9ef7fa4811c4ff6e4070e2"
+SRCREV = "9059f5cad030ba11d37818847443a53918c327b1"
 SRC_URI = "git://github.com/open-source-parsers/jsoncpp"
 
 S = "${WORKDIR}/git"
 
 inherit cmake
 
-EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DJSONCPP_WITH_TESTS=OFF"
+EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DBUILD_OBJECT_LIBS=OFF -DJSONCPP_WITH_TESTS=OFF"
 
 BBCLASSEXTEND = "native"
Signature · 1 line
2.11.0
#1 lore raw
Quoted 1 line · Andrej Valek

- do not install obj files

What kind of update is this.

What problem is not install obj fixing?

These changes are not in Master.

-armin

Quoted 33 lines
---
 .../recipes-devtools/jsoncpp/{jsoncpp_1.9.3.bb => jsoncpp_1.9.4.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-devtools/jsoncpp/{jsoncpp_1.9.3.bb => jsoncpp_1.9.4.bb} (82%)
meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.4.bb renamed from meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.3.bb +2 -2
similarity index 82%
rename from meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.3.bb
rename to meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.4.bb
index e41907de4..a02ff4a4d 100644
@@ -13,13 +13,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fa2a23dd1dc6c139f35105379d76df2b"
 
 PE = "1"
 
-SRCREV = "6aba23f4a8628d599a9ef7fa4811c4ff6e4070e2"
+SRCREV = "9059f5cad030ba11d37818847443a53918c327b1"
 SRC_URI = "git://github.com/open-source-parsers/jsoncpp"
 
 S = "${WORKDIR}/git"
 
 inherit cmake
 
-EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DJSONCPP_WITH_TESTS=OFF"
+EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DBUILD_OBJECT_LIBS=OFF -DJSONCPP_WITH_TESTS=OFF"
 
 BBCLASSEXTEND = "native"
#2 lore raw

Hi Armin

Regarding to OBJS_LIBS, it was added here https://github.com/open-source-parsers/jsoncpp/pull/1197/ . But why to install it? Aren't the headers and libs enough? Previous versions don't have this "feature".

Regarding to adding into dunfell/master. I wanted to ask if it's possible to add it also into dunfel + master branch. If not, then I have to search for security fixes only for dunfell branch.

Regards,
Andrej

Quoted 43 lines
Quoted 1 line

- do not install obj files

What kind of update is this.

What problem is not install obj fixing?

These changes are not in Master.

-armin

Quoted 35 lines
---
 .../recipes-devtools/jsoncpp/{jsoncpp_1.9.3.bb => jsoncpp_1.9.4.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)  rename 

meta-oe/recipes-devtools/jsoncpp/{jsoncpp_1.9.3.bb => jsoncpp_1.9.4.bb} (82%)

meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.4.bb renamed from meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.3.bb +2 -2
similarity index 82%
rename from meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.3.bb
rename to meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.4.bb
index e41907de4..a02ff4a4d 100644
@@ -13,13 +13,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fa2a23dd1dc6c139f35105379d76df2b"
 
 PE = "1"
 
-SRCREV = "6aba23f4a8628d599a9ef7fa4811c4ff6e4070e2"
+SRCREV = "9059f5cad030ba11d37818847443a53918c327b1"
 SRC_URI = "git://github.com/open-source-parsers/jsoncpp"
 
 S = "${WORKDIR}/git"
 
 inherit cmake
 
-EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DJSONCPP_WITH_TESTS=OFF"
+EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DBUILD_OBJECT_LIBS=OFF -DJSONCPP_WITH_TESTS=OFF"
 
 BBCLASSEXTEND = "native"
#3 lore raw

Hi Armin,

Did you have some time to look at that?

Regards,
Andrej

Quoted 52 lines

Hi Armin

Regarding to OBJS_LIBS, it was added here https://github.com/open-source-parsers/jsoncpp/pull/1197/ . But why to install it? Aren't the headers and libs enough? Previous versions don't have this "feature".

Regarding to adding into dunfell/master. I wanted to ask if it's possible to add it also into dunfel + master branch. If not, then I have to search for security fixes only for dunfell branch.

Regards,
Andrej

Quoted 43 lines
Quoted 1 line

- do not install obj files

What kind of update is this.

What problem is not install obj fixing?

These changes are not in Master.

-armin

Quoted 35 lines
---
 .../recipes-devtools/jsoncpp/{jsoncpp_1.9.3.bb => jsoncpp_1.9.4.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)  rename 

meta-oe/recipes-devtools/jsoncpp/{jsoncpp_1.9.3.bb => jsoncpp_1.9.4.bb} (82%)

meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.4.bb renamed from meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.3.bb +2 -2
similarity index 82%
rename from meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.3.bb
rename to meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.4.bb
index e41907de4..a02ff4a4d 100644
@@ -13,13 +13,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fa2a23dd1dc6c139f35105379d76df2b"
 
 PE = "1"
 
-SRCREV = "6aba23f4a8628d599a9ef7fa4811c4ff6e4070e2"
+SRCREV = "9059f5cad030ba11d37818847443a53918c327b1"
 SRC_URI = "git://github.com/open-source-parsers/jsoncpp"
 
 S = "${WORKDIR}/git"
 
 inherit cmake
 
-EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DJSONCPP_WITH_TESTS=OFF"
+EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DBUILD_OBJECT_LIBS=OFF -DJSONCPP_WITH_TESTS=OFF"
 
 BBCLASSEXTEND = "native"
#4 lore raw
In reply to Andrej Valek

Andrej,

Quoted 5 lines · Andrej

Hi Armin

Regarding to OBJS_LIBS, it was added here https://github.com/open-source-parsers/jsoncpp/pull/1197/ . But why to install it? Aren't the headers and libs enough? Previous versions don't have this "feature".

Regarding to adding into dunfell/master. I wanted to ask if it's possible to add it also into dunfel + master branch. If not, then I have to search for security fixes only for dunfell branch.

The upgrade to 1.9.3 was reverted back in July 2020 do to ABI changes so will not be taking this update. See commit:

https://git.openembedded.org/meta-openembedded/commit/meta-oe?h=dunfell&id=0e0b4892f50808b87223a1e8dbcd13d4e16368cf

Master is @ 1.9.3 so this patch could apply to Master.

-armin

Quoted 45 lines

Regards,
Andrej

Quoted 42 lines
Quoted 1 line

- do not install obj files

What kind of update is this.

What problem is not install obj fixing?

These changes are not in Master.

-armin

Quoted 34 lines
---
 .../recipes-devtools/jsoncpp/{jsoncpp_1.9.3.bb => jsoncpp_1.9.4.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)  rename 

meta-oe/recipes-devtools/jsoncpp/{jsoncpp_1.9.3.bb => jsoncpp_1.9.4.bb} (82%)

meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.4.bb renamed from meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.3.bb +2 -2
similarity index 82%
rename from meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.3.bb
rename to meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.4.bb
index e41907de4..a02ff4a4d 100644
@@ -13,13 +13,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fa2a23dd1dc6c139f35105379d76df2b"
 
 PE = "1"
 
-SRCREV = "6aba23f4a8628d599a9ef7fa4811c4ff6e4070e2"
+SRCREV = "9059f5cad030ba11d37818847443a53918c327b1"
 SRC_URI = "git://github.com/open-source-parsers/jsoncpp"
 
 S = "${WORKDIR}/git"
 
 inherit cmake
 
-EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DJSONCPP_WITH_TESTS=OFF"
+EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DBUILD_OBJECT_LIBS=OFF -DJSONCPP_WITH_TESTS=OFF"
 
 BBCLASSEXTEND = "native"