fmt: Update to version 9.1.0

Message ID 20221126134126.2490995-1-adolf.belka@ipfire.org
State Accepted
Commit 90d43e54c21bf7f0c201979f50a25a2660ed62a3
Headers
Series fmt: Update to version 9.1.0 |

Commit Message

Adolf Belka Nov. 26, 2022, 1:41 p.m. UTC
  - Update from version 9.0.0 to 9.1.0
- Update of rootfile
- Changelog
    9.1.0 - 2022-08-27
	* ``fmt::formatted_size`` now works at compile time
		  `#3026 <https://github.com/fmtlib/fmt/pull/3026>`_
			  For example (`godbolt <https://godbolt.org/z/1MW5rMdf8>`__):
			   .. code:: c++
			     #include <fmt/compile.h>
			     int main() {
			       using namespace fmt::literals;
			       constexpr size_t n = fmt::formatted_size("{}"_cf, 42);
			       fmt::print("{}\n", n); // prints 2
			     }
	* Fixed handling of invalid UTF-8
		  `#3038 <https://github.com/fmtlib/fmt/pull/3038>`_,
		  `#3044 <https://github.com/fmtlib/fmt/pull/3044>`_,
		  `#3056 <https://github.com/fmtlib/fmt/pull/3056>`_
	* Improved Unicode support in ``ostream`` overloads of ``print``
		  `#2994 <https://github.com/fmtlib/fmt/pull/2994>`_,
		  `#3001 <https://github.com/fmtlib/fmt/pull/3001>`_,
		  `#3025 <https://github.com/fmtlib/fmt/pull/3025>`_
	* Fixed handling of the sign specifier in localized formatting on systems with
	   32-bit ``wchar_t``
		  `#3041 <https://github.com/fmtlib/fmt/issues/3041>`_).
	* Added support for wide streams to ``fmt::streamed``
		  `#2994 <https://github.com/fmtlib/fmt/pull/2994>`_
	* Added the ``n`` specifier that disables the output of delimiters when
	   formatting ranges
		  `#2981 <https://github.com/fmtlib/fmt/pull/2981>`_,
		  `#2983 <https://github.com/fmtlib/fmt/pull/2983>`_
			  For example (`godbolt <https://godbolt.org/z/roKqGdj8c>`__):
			   .. code:: c++
			     #include <fmt/ranges.h>
			     #include <vector>
			     int main() {
			       auto v = std::vector{1, 2, 3};
			       fmt::print("{:n}\n", v); // prints 1, 2, 3
			     }
	* Worked around problematic ``std::string_view`` constructors introduced in C++23
		  `#3030 <https://github.com/fmtlib/fmt/issues/3030>`_,
		  `#3050 <https://github.com/fmtlib/fmt/issues/3050>`_
	* Improve handling (exclusion) of recursive ranges
		  `#2968 <https://github.com/fmtlib/fmt/issues/2968>`_,
		  `#2974 <https://github.com/fmtlib/fmt/pull/2974>`_
	* Improved error reporting in format string compilation
		  `#3055 <https://github.com/fmtlib/fmt/issues/3055>`_
	* Improved the implementation of
		  `Dragonbox <https://github.com/jk-jeon/dragonbox>`_, the algorithm used for
		   the default floating-point formatting
		  `#2984 <https://github.com/fmtlib/fmt/pull/2984>`_
	* Fixed issues with floating-point formatting on exotic platforms.
	* Improved the implementation of chrono formatting
		  `#3010 <https://github.com/fmtlib/fmt/pull/3010>`_
	* Improved documentation
		  `#2966 <https://github.com/fmtlib/fmt/pull/2966>`_,
		  `#3009 <https://github.com/fmtlib/fmt/pull/3009>`_,
		  `#3020 <https://github.com/fmtlib/fmt/issues/3020>`_,
		  `#3037 <https://github.com/fmtlib/fmt/pull/3037>`_
	* Improved build configuration
		  `#2991 <https://github.com/fmtlib/fmt/pull/2991>`_,
		  `#2995 <https://github.com/fmtlib/fmt/pull/2995>`_,
		  `#3004 <https://github.com/fmtlib/fmt/issues/3004>`_,
		  `#3007 <https://github.com/fmtlib/fmt/pull/3007>`_,
		  `#3040 <https://github.com/fmtlib/fmt/pull/3040>`_
	* Fixed various warnings and compilation issues
		  `#2969 <https://github.com/fmtlib/fmt/issues/2969>`_,
		  `#2971 <https://github.com/fmtlib/fmt/pull/2971>`_,
		  `#2975 <https://github.com/fmtlib/fmt/issues/2975>`_,
		  `#2982 <https://github.com/fmtlib/fmt/pull/2982>`_,
		  `#2985 <https://github.com/fmtlib/fmt/pull/2985>`_,
		  `#2988 <https://github.com/fmtlib/fmt/issues/2988>`_,
		  `#3000 <https://github.com/fmtlib/fmt/issues/3000>`_,
		  `#3006 <https://github.com/fmtlib/fmt/issues/3006>`_,
		  `#3014 <https://github.com/fmtlib/fmt/issues/3014>`_,
		  `#3015 <https://github.com/fmtlib/fmt/issues/3015>`_,
		  `#3021 <https://github.com/fmtlib/fmt/pull/3021>`_,
		  `#3023 <https://github.com/fmtlib/fmt/issues/3023>`_,
		  `#3024 <https://github.com/fmtlib/fmt/pull/3024>`_,
		  `#3029 <https://github.com/fmtlib/fmt/pull/3029>`_,
		  `#3043 <https://github.com/fmtlib/fmt/pull/3043>`_,
		  `#3052 <https://github.com/fmtlib/fmt/issues/3052>`_,
		  `#3053 <https://github.com/fmtlib/fmt/pull/3053>`_,
		  `#3054 <https://github.com/fmtlib/fmt/pull/3054>`_

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/packages/fmt | 2 +-
 lfs/fmt                       | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
  

Comments

Michael Tremer Nov. 27, 2022, 11:54 a.m. UTC | #1
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>

> On 26 Nov 2022, at 13:41, Adolf Belka <adolf.belka@ipfire.org> wrote:
> 
> - Update from version 9.0.0 to 9.1.0
> - Update of rootfile
> - Changelog
>    9.1.0 - 2022-08-27
> * ``fmt::formatted_size`` now works at compile time
>  `#3026 <https://github.com/fmtlib/fmt/pull/3026>`_
>  For example (`godbolt <https://godbolt.org/z/1MW5rMdf8>`__):
>   .. code:: c++
>     #include <fmt/compile.h>
>     int main() {
>       using namespace fmt::literals;
>       constexpr size_t n = fmt::formatted_size("{}"_cf, 42);
>       fmt::print("{}\n", n); // prints 2
>     }
> * Fixed handling of invalid UTF-8
>  `#3038 <https://github.com/fmtlib/fmt/pull/3038>`_,
>  `#3044 <https://github.com/fmtlib/fmt/pull/3044>`_,
>  `#3056 <https://github.com/fmtlib/fmt/pull/3056>`_
> * Improved Unicode support in ``ostream`` overloads of ``print``
>  `#2994 <https://github.com/fmtlib/fmt/pull/2994>`_,
>  `#3001 <https://github.com/fmtlib/fmt/pull/3001>`_,
>  `#3025 <https://github.com/fmtlib/fmt/pull/3025>`_
> * Fixed handling of the sign specifier in localized formatting on systems with
>   32-bit ``wchar_t``
>  `#3041 <https://github.com/fmtlib/fmt/issues/3041>`_).
> * Added support for wide streams to ``fmt::streamed``
>  `#2994 <https://github.com/fmtlib/fmt/pull/2994>`_
> * Added the ``n`` specifier that disables the output of delimiters when
>   formatting ranges
>  `#2981 <https://github.com/fmtlib/fmt/pull/2981>`_,
>  `#2983 <https://github.com/fmtlib/fmt/pull/2983>`_
>  For example (`godbolt <https://godbolt.org/z/roKqGdj8c>`__):
>   .. code:: c++
>     #include <fmt/ranges.h>
>     #include <vector>
>     int main() {
>       auto v = std::vector{1, 2, 3};
>       fmt::print("{:n}\n", v); // prints 1, 2, 3
>     }
> * Worked around problematic ``std::string_view`` constructors introduced in C++23
>  `#3030 <https://github.com/fmtlib/fmt/issues/3030>`_,
>  `#3050 <https://github.com/fmtlib/fmt/issues/3050>`_
> * Improve handling (exclusion) of recursive ranges
>  `#2968 <https://github.com/fmtlib/fmt/issues/2968>`_,
>  `#2974 <https://github.com/fmtlib/fmt/pull/2974>`_
> * Improved error reporting in format string compilation
>  `#3055 <https://github.com/fmtlib/fmt/issues/3055>`_
> * Improved the implementation of
>  `Dragonbox <https://github.com/jk-jeon/dragonbox>`_, the algorithm used for
>   the default floating-point formatting
>  `#2984 <https://github.com/fmtlib/fmt/pull/2984>`_
> * Fixed issues with floating-point formatting on exotic platforms.
> * Improved the implementation of chrono formatting
>  `#3010 <https://github.com/fmtlib/fmt/pull/3010>`_
> * Improved documentation
>  `#2966 <https://github.com/fmtlib/fmt/pull/2966>`_,
>  `#3009 <https://github.com/fmtlib/fmt/pull/3009>`_,
>  `#3020 <https://github.com/fmtlib/fmt/issues/3020>`_,
>  `#3037 <https://github.com/fmtlib/fmt/pull/3037>`_
> * Improved build configuration
>  `#2991 <https://github.com/fmtlib/fmt/pull/2991>`_,
>  `#2995 <https://github.com/fmtlib/fmt/pull/2995>`_,
>  `#3004 <https://github.com/fmtlib/fmt/issues/3004>`_,
>  `#3007 <https://github.com/fmtlib/fmt/pull/3007>`_,
>  `#3040 <https://github.com/fmtlib/fmt/pull/3040>`_
> * Fixed various warnings and compilation issues
>  `#2969 <https://github.com/fmtlib/fmt/issues/2969>`_,
>  `#2971 <https://github.com/fmtlib/fmt/pull/2971>`_,
>  `#2975 <https://github.com/fmtlib/fmt/issues/2975>`_,
>  `#2982 <https://github.com/fmtlib/fmt/pull/2982>`_,
>  `#2985 <https://github.com/fmtlib/fmt/pull/2985>`_,
>  `#2988 <https://github.com/fmtlib/fmt/issues/2988>`_,
>  `#3000 <https://github.com/fmtlib/fmt/issues/3000>`_,
>  `#3006 <https://github.com/fmtlib/fmt/issues/3006>`_,
>  `#3014 <https://github.com/fmtlib/fmt/issues/3014>`_,
>  `#3015 <https://github.com/fmtlib/fmt/issues/3015>`_,
>  `#3021 <https://github.com/fmtlib/fmt/pull/3021>`_,
>  `#3023 <https://github.com/fmtlib/fmt/issues/3023>`_,
>  `#3024 <https://github.com/fmtlib/fmt/pull/3024>`_,
>  `#3029 <https://github.com/fmtlib/fmt/pull/3029>`_,
>  `#3043 <https://github.com/fmtlib/fmt/pull/3043>`_,
>  `#3052 <https://github.com/fmtlib/fmt/issues/3052>`_,
>  `#3053 <https://github.com/fmtlib/fmt/pull/3053>`_,
>  `#3054 <https://github.com/fmtlib/fmt/pull/3054>`_
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
> config/rootfiles/packages/fmt | 2 +-
> lfs/fmt                       | 6 +++---
> 2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/config/rootfiles/packages/fmt b/config/rootfiles/packages/fmt
> index af371d939..49601ca2b 100644
> --- a/config/rootfiles/packages/fmt
> +++ b/config/rootfiles/packages/fmt
> @@ -19,5 +19,5 @@
> #usr/lib/cmake/fmt/fmt-targets.cmake
> #usr/lib/libfmt.so
> usr/lib/libfmt.so.9
> -usr/lib/libfmt.so.9.0.0
> +usr/lib/libfmt.so.9.1.0
> #usr/lib/pkgconfig/fmt.pc
> diff --git a/lfs/fmt b/lfs/fmt
> index 1ef96a501..a689cdc43 100644
> --- a/lfs/fmt
> +++ b/lfs/fmt
> @@ -26,7 +26,7 @@ include Config
> 
> SUMMARY    = Open-source formatting library for C++
> 
> -VER        = 9.0.0
> +VER        = 9.1.0
> 
> THISAPP    = fmt-$(VER)
> DL_FILE    = $(THISAPP).tar.gz
> @@ -34,7 +34,7 @@ DL_FROM    = $(URL_IPFIRE)
> DIR_APP    = $(DIR_SRC)/$(THISAPP)
> TARGET     = $(DIR_INFO)/$(THISAPP)
> PROG       = fmt
> -PAK_VER    = 1
> +PAK_VER    = 2
> SUP_ARCH   = aarch64 armv6l x86_64
> 
> DEPS       =
> @@ -47,7 +47,7 @@ objects = $(DL_FILE)
> 
> $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
> 
> -$(DL_FILE)_BLAKE2 = 1455aec5bec73c56d4d4074ae034176143a3f6171aa60505ee48cbc4b6c66e0de4b5600c4a91e2d16073a285f98b3e5b5ee89b4061e49578c005bccc04855045
> +$(DL_FILE)_BLAKE2 = ff1daa43140615b63aeb1ecd0aa1c32d24decfd5006805080293ef3db04d544c0445a30e8da0d985a6f5a25ad48ce4f6ae61e52da5ea4a4d3b031c212da38b18
> 
> install : $(TARGET)
> 
> -- 
> 2.38.1
>
  

Patch

diff --git a/config/rootfiles/packages/fmt b/config/rootfiles/packages/fmt
index af371d939..49601ca2b 100644
--- a/config/rootfiles/packages/fmt
+++ b/config/rootfiles/packages/fmt
@@ -19,5 +19,5 @@ 
 #usr/lib/cmake/fmt/fmt-targets.cmake
 #usr/lib/libfmt.so
 usr/lib/libfmt.so.9
-usr/lib/libfmt.so.9.0.0
+usr/lib/libfmt.so.9.1.0
 #usr/lib/pkgconfig/fmt.pc
diff --git a/lfs/fmt b/lfs/fmt
index 1ef96a501..a689cdc43 100644
--- a/lfs/fmt
+++ b/lfs/fmt
@@ -26,7 +26,7 @@  include Config
 
 SUMMARY    = Open-source formatting library for C++
 
-VER        = 9.0.0
+VER        = 9.1.0
 
 THISAPP    = fmt-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -34,7 +34,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = fmt
-PAK_VER    = 1
+PAK_VER    = 2
 SUP_ARCH   = aarch64 armv6l x86_64
 
 DEPS       =
@@ -47,7 +47,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 1455aec5bec73c56d4d4074ae034176143a3f6171aa60505ee48cbc4b6c66e0de4b5600c4a91e2d16073a285f98b3e5b5ee89b4061e49578c005bccc04855045
+$(DL_FILE)_BLAKE2 = ff1daa43140615b63aeb1ecd0aa1c32d24decfd5006805080293ef3db04d544c0445a30e8da0d985a6f5a25ad48ce4f6ae61e52da5ea4a4d3b031c212da38b18
 
 install : $(TARGET)