Commit Graph

17 Commits

Author SHA1 Message Date
Alexandru Ardelean 8cc210eebf jsoncpp: build with C++17 to enable string_view API
jsoncpp 1.9.7 added std::string_view overloads for Value::get() and
Value::operator[], but these are only compiled when C++17 is active.
Building with the default C++11 standard leaves those symbols out of
the library, causing link failures for consumers that include the
headers with C++17 enabled (e.g. upmpdcli 1.9.17, domoticz 2025.2).

Add -Dcpp_std=c++17 to the meson args so the string_view API is
available in the installed library.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-11 20:43:58 +03:00
Alexandru Ardelean 806158c32d jsoncpp: update to 1.9.7
Changelog:
- Security: reject unescaped control characters in JSON strings
- Security: fix use-after-free in Reader::parse()
- Add std::string_view support in the Value API
- Fix string_view ABI mismatch between library and consumers

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-07 12:59:11 +03:00
Alexandru Ardelean 35d9eadb5b treewide: remove Jan Pavlinec as maintainer
Jan Pavlinec <jan.pavlinec1@gmail.com> is no longer maintaining
these packages. Remove him from the PKG_MAINTAINER field across
all affected packages.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-03-29 09:00:28 +03:00
Alexandru Ardelean 27b6ad53b9 treewide: add Alexandru Ardelean as co-maintainer
Add 'Alexandru Ardelean <ardeleanalex@gmail.com>' as co-maintainer
alongside Jan Pavlinec <jan.pavlinec1@gmail.com> for all packages
where Jan Pavlinec is listed as maintainer.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-03-14 10:51:33 +02:00
Fabrice Fontaine 5afe5c9031 treewide: assign PKG_CPE_ID
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-04 16:16:10 -08:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Rosen Penev e1cc27641c jsoncpp: update to 1.9.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-12-16 15:52:23 -08:00
Rosen Penev 5ccd4d1c25 treewide: compile with tools/meson
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-17 22:06:52 -07:00
Jan Pavlinec 3ee2a087a3 treewide: change email
Change from jan.pavlinec@nic.cz to jan.pavlinec1@gmail.com

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-07-29 13:21:02 +02:00
Rosen Penev 22eefcd7af jsoncpp: add back exceptions
domoticz wants them. No idea how to avoid it. Easier to just add back
here.

Removed several outdated options from CMake times.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-15 20:04:50 -07:00
Rosen Penev 55cec11ad8 jsoncpp: disable exceptions
Reduces size: 59724 to 44439

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-22 22:06:16 -08:00
Jan Pavlinec 12d6eb417f jsoncpp: update to version 1.9.4
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-09-29 14:21:50 +02:00
Jan Pavlinec 683aea435a jsoncpp: update to version 1.9.3
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-07-31 11:08:29 +02:00
Rosen Penev c091932a79 jsoncpp: add size optimizations
Reduces size slightly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-27 15:55:23 -07:00
Jan Pavlinec 5bc5bd27f1 jsoncpp: update to version 1.9.2
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-03-23 12:09:10 +01:00
Rosen Penev af51dbed7b jsoncpp: Fix pkgconfig file
Backported upstream patch to make the pkgconfig file more cross compile
friendly. I don't think anything uses this.

Replaced Installev with CMAKE_INSTALL.

Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-22 18:28:14 -07:00
Daniel Engberg 200a75cc96 jsoncpp: Add to repo
Add (lib)jsoncpp to repo

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2019-01-28 14:01:36 +01:00