pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/fmtlib
Module Name: pkgsrc
Committed By: adam
Date: Sun Oct 6 16:36:28 UTC 2019
Modified Files:
pkgsrc/textproc/fmtlib: Makefile PLIST distinfo
Removed Files:
pkgsrc/textproc/fmtlib/patches: patch-CMakeLists.txt
patch-include_fmt_posix.h
Log Message:
fmtlib: updated to 6.0.0
6.0.0:
Switched to the MIT license with an optional exception that allows distributing binary code without attribution.
Floating-point formatting is now locale-independent by default.
Added an experimental Grisu floating-point formatting algorithm implementation (disabled by default). To enable it compile with the FMT_USE_GRISU macro defined to 1.
Separated formatting and parsing contexts for consistency with C++20 std::format, removing the undocumented basic_format_context::parse_context() function.
Added oss-fuzz support.
formatter specializations now always take precedence over operator<<.
Introduced the experimental fmt::compile function that does format string compilation.
Added the % format specifier that formats floating-point values as percentages.
Implemented precision for floating-point durations.
Implemented chrono format specifiers %Q and %q that give the value and the unit respectively .
Fixed handling of dynamic width in chrono formatter.
Removed deprecated fmt/time.h. Use fmt/chrono.h instead.
Added fmt::format and fmt::vformat overloads that take text_style.
Removed the deprecated color API (print_colored). Use the new API, namely print overloads that take text_style instead.
Made std::unique_ptr and std::shared_ptr formattable as pointers via fmt::ptr.
Made print and vprint report I/O errors.
Marked deprecated APIs with the [[deprecated]] attribute and removed internal uses of deprecated APIs.
Modernized the codebase using more C++11 features and removing workarounds. Most importantly, buffer_context is now an alias template, so use buffer_context<T> instead of buffer_context<T>::type.
These features require GCC 4.8 or later.
formatter specializations now always take precedence over implicit conversions to int and the undocumented convert_to_int trait is now deprecated.
Moved the undocumented basic_writer, writer, and wwriter types to the internal namespace.
Removed deprecated basic_format_context::begin(). Use out() instead.
Disallowed passing the result of join as an lvalue to prevent misuse.
Refactored the undocumented structs that represent parsed format specifiers to simplify the API and allow multibyte fill.
Moved SFINAE to template parameters to reduce symbol sizes.
Switched to fputws for writing wide strings so that it's no longer required to call _setmode on Windows.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/fmtlib/Makefile \
pkgsrc/textproc/fmtlib/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/fmtlib/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/textproc/fmtlib/patches/patch-CMakeLists.txt \
pkgsrc/textproc/fmtlib/patches/patch-include_fmt_posix.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/fmtlib/Makefile
diff -u pkgsrc/textproc/fmtlib/Makefile:1.2 pkgsrc/textproc/fmtlib/Makefile:1.3
--- pkgsrc/textproc/fmtlib/Makefile:1.2 Tue Feb 26 10:58:25 2019
+++ pkgsrc/textproc/fmtlib/Makefile Sun Oct 6 16:36:27 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2019/02/26 10:58:25 adam Exp $
+# $NetBSD: Makefile,v 1.3 2019/10/06 16:36:27 adam Exp $
-DISTNAME= fmt-5.3.0
+DISTNAME= fmt-6.0.0
PKGNAME= ${DISTNAME:S/fmt/fmtlib/}
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=fmtlib/}
@@ -9,11 +9,12 @@ GITHUB_PROJECT= fmt
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://fmtlib.net/
COMMENT= Formatting library
-LICENSE= modified-bsd
+LICENSE= mit
USE_CMAKE= yes
USE_LANGUAGES= c c++11
PKGCONFIG_OVERRIDE= support/cmake/fmt.pc.in
+TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}
TEST_TARGET= test
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
Index: pkgsrc/textproc/fmtlib/PLIST
diff -u pkgsrc/textproc/fmtlib/PLIST:1.2 pkgsrc/textproc/fmtlib/PLIST:1.3
--- pkgsrc/textproc/fmtlib/PLIST:1.2 Tue Feb 26 10:58:25 2019
+++ pkgsrc/textproc/fmtlib/PLIST Sun Oct 6 16:36:27 2019
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.2 2019/02/26 10:58:25 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/10/06 16:36:27 adam Exp $
include/fmt/chrono.h
include/fmt/color.h
+include/fmt/compile.h
include/fmt/core.h
include/fmt/format-inl.h
include/fmt/format.h
@@ -9,12 +10,12 @@ include/fmt/ostream.h
include/fmt/posix.h
include/fmt/printf.h
include/fmt/ranges.h
-include/fmt/time.h
+include/fmt/safe-duration-cast.h
lib/cmake/fmt/fmt-config-version.cmake
lib/cmake/fmt/fmt-config.cmake
lib/cmake/fmt/fmt-targets-release.cmake
lib/cmake/fmt/fmt-targets.cmake
lib/libfmt.so
lib/libfmt.so.${PKGVERSION}
-lib/libfmt.so.5
+lib/libfmt.so.6
lib/pkgconfig/fmt.pc
Index: pkgsrc/textproc/fmtlib/distinfo
diff -u pkgsrc/textproc/fmtlib/distinfo:1.3 pkgsrc/textproc/fmtlib/distinfo:1.4
--- pkgsrc/textproc/fmtlib/distinfo:1.3 Tue Feb 26 10:58:25 2019
+++ pkgsrc/textproc/fmtlib/distinfo Sun Oct 6 16:36:27 2019
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.3 2019/02/26 10:58:25 adam Exp $
+$NetBSD: distinfo,v 1.4 2019/10/06 16:36:27 adam Exp $
-SHA1 (fmt-5.3.0.tar.gz) = 787a568322e08cebb1e164b3c9766e27ca18b2c8
-RMD160 (fmt-5.3.0.tar.gz) = db698a683c6be3bb2423965f00ca661e849308c1
-SHA512 (fmt-5.3.0.tar.gz) = 9ef0f3d328681253c1e1776576d54d67dec49c19fd7fc422ae63c3610b01a3f05f6e83cdf5e913dfd09bac42e52fe35c38ebe1ea91f4207d226a32aaf69eb4a8
-Size (fmt-5.3.0.tar.gz) = 662493 bytes
-SHA1 (patch-CMakeLists.txt) = 122c1694b7772e4f444ec550a3d1fb9b6b8d0690
-SHA1 (patch-include_fmt_posix.h) = 083c19a7f1fc02e04f355e3d45781b47364baca1
+SHA1 (fmt-6.0.0.tar.gz) = 40635ee94d24cb9856422293c04150017a8911df
+RMD160 (fmt-6.0.0.tar.gz) = 4a60315dc2e914b3f174055deca8c3cf8f3268b1
+SHA512 (fmt-6.0.0.tar.gz) = 7deb5bd843ae6b9d4b58dca9c68c1cfe7b55a41040f358247f5309655188d1ae194ff414437c068f74367f078faa214b5883e8c9e634c7623dcda50850e24766
+Size (fmt-6.0.0.tar.gz) = 708425 bytes
Home |
Main Index |
Thread Index |
Old Index