Debian Patches

Status for nlohmann-json3/3.12.0.really.3.12.0.really.3.11.3-2

Patch Description Author Forwarded Bugs Origin Last update
0002-fix-ignored-attr-warn.patch Fix Wignored-attributes during build * d/p/0002-fix-ignored-attr-warn.patch: Fix ignored
attributes warning during build
Pragyansh Chaturvedi <pragyansh.chaturvedi@canonical.com> yes 2025-02-04
060414037ef9de7499b5fad96ce0ba36a2bd166e.patch commit 060414037ef9de7499b5fad96ce0ba36a2bd166e

feat: Rebase `feature/optional` to `develop` (#4036)

* :construction: conversions for std::optional

* :checkered_flag: fix <optional> inclusion

* :green_heart: overwork tests

* Use JSON_HAS_CPP_17 only after it has been defined

* :white_check_mark: update tests

* :checkered_flag: include right <optional> header

* :recycle: do not include experimental headers

* Add missing #endif after rebase

* Fix failing test

* Only define conversion to std::optional when JSON_USE_IMPLICIT_CONVERSION is disabled.

* missing endif

* Remove Wfloat-equal suppress

* amalgamate

* Move include of optional out of macro_scope; probably does not make sense to be there

* Make clang-tidy happy

* Suppress lint instead of changing to 'contains'

---------

Co-authored-by: Niels Lohmann <mail@nlohmann.me>
Co-authored-by: Markus Palonen <markus.palonen@gmail.com>

===================================================================
Fredrik Sandhei <fredrik.sandhei@gmail.com> no 2024-11-16
96c1b52f1cc4742a00ee02b34e043f61bbffa6ae.patch [PATCH] Fix conversion to std::optional (#4742)
* :alembic: remove JSON_USE_IMPLICIT_CONVERSIONS check for from_json(json, std::optional)


* :alembic: remove JSON_USE_IMPLICIT_CONVERSIONS check for from_json(json, std::optional)


* :alembic: remove JSON_USE_IMPLICIT_CONVERSIONS check for from_json(json, std::optional)


* :alembic: remove JSON_USE_IMPLICIT_CONVERSIONS check for from_json(json, std::optional)


* :alembic: remove JSON_USE_IMPLICIT_CONVERSIONS check for from_json(json, std::optional)


* :alembic: add C++ standard library as matrix option


* :rewind: remove inline
Niels Lohmann <mail@nlohmann.me> no 2025-04-15
0fa326a8e82dea3c3d2d6b481536d0f11803ee95.patch commit 0fa326a8e82dea3c3d2d6b481536d0f11803ee95

Use Clang image to run iwyu (#4574)

* :wrench: use Clang image to run iwyu

* :wrench: use Clang image to run iwyu

===================================================================
Niels Lohmann <mail@nlohmann.me> no 2024-12-29
1825117e630636f5c7c71a852855d5249cf2b7ff.patch commit 1825117e630636f5c7c71a852855d5249cf2b7ff

Another desperate try to fix the CI (#4489)

* :rotating_light: fix warning

* :green_heart: update actions

* :rotating_light: fix warning

* :rotating_light: fix warning

* :rotating_light: fix warning

* :green_heart: update actions

* :green_heart: update actions

* :rotating_light: fix warning

* :rotating_light: fix warning

* :green_heart: update actions

* :rotating_light: fix warning

* :green_heart: update actions

* :green_heart: update actions

* :green_heart: update actions

* :rotating_light: fix warning

* :rotating_light: fix warning

* :rotating_light: fix warning

* :rotating_light: fix warning

* :green_heart: update actions

* :green_heart: update actions

* :rotating_light: fix warning

* :green_heart: update actions

* :green_heart: update actions

* :green_heart: update actions

* :green_heart: update actions

* :green_heart: update actions

===================================================================
Niels Lohmann <mail@nlohmann.me> no 2024-11-13
e3ac5a64bf547ed35c90ff84ae82770d5090e779.patch commit e3ac5a64bf547ed35c90ff84ae82770d5090e779

Add test for libstdc++ (#4495)

* :construction_worker: add test for libstdc++

* :construction_worker: add test for libstdc++

* :green_heart: add fixes from #4490

* :green_heart: add fixes from #4490

===================================================================
Niels Lohmann <mail@nlohmann.me> no 2024-11-17
11aa5f944d17ed5b96250ca133bf33c5ca8b0161.patch commit 11aa5f944d17ed5b96250ca133bf33c5ca8b0161

Make std::filesystem::path conversion to/from UTF-8 encoded string explicit (#4631)

* Make std::filesystem::path conversion to/from UTF-8 encoded JSON string explicit.

Signed-off-by: Richard Musil <risa2000x@gmail.com>

* Experimental: Changing C++ standard detection logic to accommodate potential corner cases.

Signed-off-by: Richard Musil <risa2000x@gmail.com>

* Drop C++ standard tests for compilers which do not implement required features.

Signed-off-by: Richard Musil <risa2000x@gmail.com>

* Drop C++ standard tests for MSVC versions which do not implement required features.

Signed-off-by: Richard Musil <risa2000x@gmail.com>

---------

Signed-off-by: Richard Musil <risa2000x@gmail.com>
Co-authored-by: Richard Musil <risa2000x@gmail.com>

===================================================================
risa2000 <1336835+risa2000@users.noreply.github.com> no 2025-04-04
756ca22ec5b0d89b5d107b4c30891d1293650c87.patch [PATCH] Provide fallback for missing `char8_t` support (#4736) Sergiu Deitsch <sergiud@users.noreply.github.com> no 2025-04-23
6b9199382bca57d5c85609c54f70279f0d5e7f25.patch [PATCH] Add missing header (#4763)
* :bug: add missing header


* :rotating_light: fix warning


* :rotating_light: fix warning
Niels Lohmann <mail@nlohmann.me> no 2025-04-27
20ae363a71b20a743ee63ad9d85e0410f004f966.patch commit 20ae363a71b20a743ee63ad9d85e0410f004f966

Replace EOF with char_traits (#4532)

* :memo: update customers

* :recycle: replace EOF with char_traits #2755

#diff --git a/docs/mkdocs/docs/home/customers.md b/docs/mkdocs/docs/home/customers.md
#index 5b43f2db..67c5a62d 100644
#--- a/docs/mkdocs/docs/home/customers.md
#+++ b/docs/mkdocs/docs/home/customers.md
#@@ -3,7 +3,7 @@
# The library is used in multiple projects, applications, operating systems, etc. The list below is not exhaustive, but
# the result of an internet search. If you know further customers of the library, [please let me know](mailto:mail@nlohmann.me).
#
#-![](../images/customers.png)
#+[![](../images/customers.png)](../images/customers.png)
#
# ## Space Exploration
#
#@@ -70,6 +70,7 @@ the result of an internet search. If you know further customers of the library,
# - [**ImHex**](https://github.com/WerWolv/ImHex), a hex editor designed for reverse engineering, providing advanced features for data analysis and manipulation
# - [**Intel GPA Framework**](https://intel.github.io/gpasdk-doc/src/licenses.html), a suite of cross-platform tools for capturing, analyzing, and optimizing graphics applications across different APIs
# - [**Meta Yoga**](https://github.com/facebook/yoga), a layout engine that facilitates flexible and efficient user interface design across multiple platforms
#+- [**MKVToolNix**](https://mkvtoolnix.download/doc/README.md), a set of tools for creating, editing, and inspecting MKV (Matroska) multimedia container files
# - [**NVIDIA Nsight Compute**](https://docs.nvidia.com/nsight-compute/2022.2/pdf/CopyrightAndLicenses.pdf), a performance analysis tool for CUDA applications that provides detailed insights into GPU performance metrics
# - [**Notepad++**](https://github.com/notepad-plus-plus/notepad-plus-plus), a free source code editor that supports various programming languages
# - [**OpenRGB**](https://gitlab.com/CalcProgrammer1/OpenRGB), an open source RGB lighting control that doesn't depend on manufacturer software
#@@ -129,6 +130,7 @@ the result of an internet search. If you know further customers of the library,
#
# - [**Arcturus HoloSuite**](https://www.datocms-assets.com/104353/1698904597-holosuite-third-party-software-credits-and-attributions-2.pdf), a software toolset for capturing, editing, and streaming volumetric video, featuring advanced compression technologies for high-quality 3D content creation
# - [**azul**](https://pure.tudelft.nl/ws/files/85338589/tgis.12673.pdf), a fast and efficient 3D city model viewer designed for visualizing urban environments and spatial data
#+- [**Blender**](https://projects.blender.org/blender/blender/search?q=nlohmann), a free and open-source 3D creation suite for modeling, animation, rendering, and more
# - [**cpplot**](https://cpplot.readthedocs.io/en/latest/library_api/function_eigen_8h_1ac080eac0541014c5892a55e41bf785e6.html), a library for creating interactive graphs and charts in C++, which can be viewed in web browsers
# - [**NVIDIA Omniverse**](https://docs.omniverse.nvidia.com/composer/latest/common/product-licenses/usd-explorer/usd-explorer-2023.2.0-licenses-manifest.html), a platform for 3D content creation and collaboration that enables real-time simulations and interactive experiences across various industries
# - [**Pixar Renderman**](https://rmanwiki-26.pixar.com/space/REN26/19662083/Legal+Notice), a photorealistic 3D rendering software developed by Pixar, widely used in the film industry for creating high-quality visual effects and animations
#diff --git a/docs/mkdocs/docs/images/customers.png b/docs/mkdocs/docs/images/customers.png
#index f324cb27..e122f508 100644
#Binary files a/docs/mkdocs/docs/images/customers.png and b/docs/mkdocs/docs/images/customers.png differ
===================================================================
Niels Lohmann <mail@nlohmann.me> no 2024-12-10
3b02afb9d981614813915d432e89777b346a6ddb.patch [PATCH] Specialize char_traits for std::byte to fix from_msgpack (fixes #4756) (#4760)

* Specialize char_traits for std::byte to fix from_msgpack (fixes #4756)

Provide a char_traits<std::byte> specialization under __cpp_lib_byte
to allow parsing MessagePack data from containers of std::byte.


* Fix comments for cstddef include and MessagePack tests


* Fix include <cstddef> only when __cpp_lib_byte is defined and sufficient


* Fix clang-tidy warnings in MessagePack std::byte tests


* Fix handle return value in MessagePack tests
Xiaochuan Ye <tap91624@gmail.com> no 2025-04-28
eef76c200e1d5b88a2cf0b5264756c4a020a88db.patch [PATCH] Make library work with C++20 modules (#4764)
* :white_check_mark: add test for C++20 modules


* :rotating_light: fix warning


* Add missing header (#4763)

* :bug: add missing header


* :rotating_light: fix warning


* :rotating_light: fix warning
Niels Lohmann <mail@nlohmann.me> no 2025-04-28
30d27df61c7758a948559cebfe5e3e6c9e1803b6.patch commit 30d27df61c7758a948559cebfe5e3e6c9e1803b6

Fix CI (#4871)

* :construction_worker: fix CI

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* :construction_worker: fix CI

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* :construction_worker: fix CI

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* :construction_worker: fix CI

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* :construction_worker: fix CI

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* :construction_worker: fix CI

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* :construction_worker: fix CI

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* :construction_worker: fix CI

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* :construction_worker: fix CI

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* :construction_worker: fix CI

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* :construction_worker: fix CI

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* :construction_worker: fix CI

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* :construction_worker: fix CI

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* :construction_worker: fix CI

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* :construction_worker: fix CI

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

---------

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

===================================================================
Niels Lohmann <mail@nlohmann.me> no 2025-07-31
4851.patch [PATCH] Make sure tests can be run offline and by adding new cmake switch Gianfranco Costamagna <locutusofborg@debian.org> no 2025-08-25

All known versions for source package 'nlohmann-json3'

Links