Wed Jul 14 07:31:10 2021 UTC ()
fmtlib: updated to 8.0.1

8.0.1:
Fixed the version number in the inline namespace
Added a missing presentation type check for std::string
Fixed a linkage error when mixing code built with clang and gcc
Fixed documentation issues
Removed dead code in FP formatter
Fixed various warnings and compilation issues

8.0.0:
Enabled compile-time format string check by default.
Added compile-time formatting
Optimized handling of format specifiers during format string compilation. For example, hexadecimal formatting ("{:x}") is now 3-7x faster than before when using format_to with format string compilation and a stack-allocated buffer
Added the _cf user-defined literal to represent a compiled format string. It can be used instead of the FMT_COMPILE macro
Format string compilation now requires format functions of formatter specializations for user-defined types to be const
Added UDL-based named argument support to format string compilation
Added format string compilation support to fmt::print
Added initial support for compiling {fmt} as a C++20 module
Made symbols private by default reducing shared library size. For example there was a ~15% reported reduction on one platform
Optimized includes making the result of preprocessing fmt/format.h ~20% smaller with libstdc++/C++20 and slightly improving build times
Added support of ranges with non-const begin / end
Added support of std::byte and other formattable types to fmt::join
Implemented the default format for std::chrono::system_clock
Made more chrono specifiers locale independent by default. Use the 'L' specifier to get localized formatting.
Improved locale handling in chrono formatting


(adam)
diff -r1.9 -r1.10 pkgsrc/textproc/fmtlib/Makefile
diff -r1.6 -r1.7 pkgsrc/textproc/fmtlib/PLIST
diff -r1.10 -r1.11 pkgsrc/textproc/fmtlib/distinfo

cvs diff -r1.9 -r1.10 pkgsrc/textproc/fmtlib/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/fmtlib/Makefile 2020/11/26 09:31:18 1.9
+++ pkgsrc/textproc/fmtlib/Makefile 2021/07/14 07:31:10 1.10
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.9 2020/11/26 09:31:18 adam Exp $ 1# $NetBSD: Makefile,v 1.10 2021/07/14 07:31:10 adam Exp $
2 2
3DISTNAME= fmt-7.1.3 3DISTNAME= fmt-8.0.1
4PKGNAME= ${DISTNAME:S/fmt/fmtlib/} 4PKGNAME= ${DISTNAME:S/fmt/fmtlib/}
5CATEGORIES= textproc 5CATEGORIES= textproc
6MASTER_SITES= ${MASTER_SITE_GITHUB:=fmtlib/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=fmtlib/}
7GITHUB_PROJECT= fmt 7GITHUB_PROJECT= fmt
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://fmt.dev/ 10HOMEPAGE= https://fmt.dev/
11COMMENT= Formatting library 11COMMENT= Formatting library
12LICENSE= mit 12LICENSE= mit
13 13
14USE_CMAKE= yes 14USE_CMAKE= yes
15USE_LANGUAGES= c c++11 15USE_LANGUAGES= c c++11
16PKGCONFIG_OVERRIDE= support/cmake/fmt.pc.in 16PKGCONFIG_OVERRIDE= support/cmake/fmt.pc.in

cvs diff -r1.6 -r1.7 pkgsrc/textproc/fmtlib/PLIST (expand / switch to unified diff)

--- pkgsrc/textproc/fmtlib/PLIST 2020/09/12 09:32:07 1.6
+++ pkgsrc/textproc/fmtlib/PLIST 2021/07/14 07:31:10 1.7
@@ -1,21 +1,22 @@ @@ -1,21 +1,22 @@
1@comment $NetBSD: PLIST,v 1.6 2020/09/12 09:32:07 mef Exp $ 1@comment $NetBSD: PLIST,v 1.7 2021/07/14 07:31:10 adam Exp $
 2include/fmt/args.h
2include/fmt/chrono.h 3include/fmt/chrono.h
3include/fmt/color.h 4include/fmt/color.h
4include/fmt/compile.h 5include/fmt/compile.h
5include/fmt/core.h 6include/fmt/core.h
6include/fmt/format-inl.h 7include/fmt/format-inl.h
7include/fmt/format.h 8include/fmt/format.h
8include/fmt/locale.h 9include/fmt/locale.h
9include/fmt/os.h 10include/fmt/os.h
10include/fmt/ostream.h 11include/fmt/ostream.h
11include/fmt/posix.h 
12include/fmt/printf.h 12include/fmt/printf.h
13include/fmt/ranges.h 13include/fmt/ranges.h
 14include/fmt/xchar.h
14lib/cmake/fmt/fmt-config-version.cmake 15lib/cmake/fmt/fmt-config-version.cmake
15lib/cmake/fmt/fmt-config.cmake 16lib/cmake/fmt/fmt-config.cmake
16lib/cmake/fmt/fmt-targets-release.cmake 17lib/cmake/fmt/fmt-targets-release.cmake
17lib/cmake/fmt/fmt-targets.cmake 18lib/cmake/fmt/fmt-targets.cmake
18lib/libfmt.so 19lib/libfmt.so
19lib/libfmt.so.7 
20lib/libfmt.so.${PKGVERSION} 20lib/libfmt.so.${PKGVERSION}
 21lib/libfmt.so.8
21lib/pkgconfig/fmt.pc 22lib/pkgconfig/fmt.pc

cvs diff -r1.10 -r1.11 pkgsrc/textproc/fmtlib/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/fmtlib/distinfo 2020/11/26 09:31:18 1.10
+++ pkgsrc/textproc/fmtlib/distinfo 2021/07/14 07:31:10 1.11
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.10 2020/11/26 09:31:18 adam Exp $ 1$NetBSD: distinfo,v 1.11 2021/07/14 07:31:10 adam Exp $
2 2
3SHA1 (fmt-7.1.3.tar.gz) = 5936a766e3754fdfa4131bf892916c23d972b5ae 3SHA1 (fmt-8.0.1.tar.gz) = 79338d262ac521f9ff159963603fce20f15094e5
4RMD160 (fmt-7.1.3.tar.gz) = 018da7d9de0bd34970c3bc3e6bbae8b66422707d 4RMD160 (fmt-8.0.1.tar.gz) = e50872c1a3c70587d4594fe0cb7bb6c57f0345f3
5SHA512 (fmt-7.1.3.tar.gz) = cfb2431de822202f17a6f34a302b1922b9cd696d8d4c27ad50ea08add781d2af9944db987603c2eb294ee7d73054a60cc11d3a0693f7f6db61949f3041cb9517 5SHA512 (fmt-8.0.1.tar.gz) = 643e68d5b2e0e9c83231ab2b0036596a6297b1d9ed6bd7b1172bee4ff134c8af8f09174c06c94225132c1b635b0977ea4ce783748d7bd76a9a0b5ad597456c84
6Size (fmt-7.1.3.tar.gz) = 770029 bytes 6Size (fmt-8.0.1.tar.gz) = 805616 bytes