Commit Graph

10 Commits

Author SHA1 Message Date
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
Volker Christian 8bd6e23fad Nlohmannjson: Update to version 3.11.2
Compile tested: OpenWRT-23.05-rc2, arm_cortex-a7_neon-vfpv4, mips_24kc
Run tested: arm_cortex-a7_neon-vfpv4 (Linksys MR8300), mips_24kc (tplink_archer-a7), OpenWrt 23.05-rc2)

* Update package nlohmannjson to version 3.11.2.
* Version 3.11.2 is source compatible with 3.10.2 so no package should fail to compile
* From version 3.11.2 on forward template declarations are collected in the file
  json_fwd.hpp. The json.hpp still contains all template definitions.
  Because in most compilation units of a software package only the file json_fwd.hpp
  needs to be included, the compilation process is accelerated a lot.

Signed-off-by: Volker Christian <me@vchrist.at>
2023-07-10 19:50:30 -07: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 df5d7245b9 treewide: remove PKG_INSTALL for meson projects
It doesn't seem to be used by meson.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-06-15 18:07:46 -07:00
Rosen Penev a6105d1c53 nlohmannjson: update to 3.10.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-26 19:31:24 -07: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
Rosen Penev 4237c1069c
nlohmannjson: update to 3.9.1
Rename PKG_SOURCE. No point in matching with BUILD_DIR.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-25 18:17:20 -07:00
Rosen Penev f21c3b4e99
nlohmannjson: build with meson
Just blindly copying the include files is not quite correct. The build
system merges all of them into one file.

A pkgconfig file also gets generated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-02 00:51:15 -07:00
Rosen Penev 64ec7e6250
nlohmannjson: update to 3.8.0
Add BUILDONLY since this is only used for the headers.

Rearranged variables for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-15 11:53:27 -07:00
Leonid Esman b891d6ad78 nlohmannjson: initial commit
JSON for Modern C++ library.
Design goals: intuitive syntax, trivial integration, serious testing.
https://nlohmann.github.io/json/
IPFS C++ HTTP API client library depends on this library.

Signed-off-by: Leonid Esman <leonid.esman@gmail.com>
2019-12-14 23:40:37 +03:00