pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/fmtlib fmtlib: updated to 5.3.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/3d96528a3bb4
branches: trunk
changeset: 320044:3d96528a3bb4
user: adam <adam%pkgsrc.org@localhost>
date: Tue Feb 26 10:58:25 2019 +0000
description:
fmtlib: updated to 5.3.0
5.3.0:
* Introduced experimental chrono formatting support
* Added experimental support for emphasis (bold, italic, underline, strikethrough), colored output to a file stream, and improved colored formatting API
* Added support for 4-bit terminal colors
* Parameterized formatting functions on the type of the format string. Any object of type S that has an overloaded to_string_view(const S&) returning fmt::string_view can be used as a format string
* Made std::string_view work as a format string
* Added wide string support to compile-time format string checks
* Made colored print functions work with wide strings
* Introduced experimental Unicode support
* Improved locale support
* Constrained formatting functions on proper iterator types
* Added make_printf_args and make_wprintf_args functions
* Deprecated fmt::visit, parse_context, and wparse_context. Use fmt::visit_format_arg, format_parse_context, and wformat_parse_context instead.
* Removed undocumented basic_fixed_buffer which has been superseded by the iterator-based API
* Disallowed repeated leading zeros in an argument ID
* Reintroduced support for gcc 4.4
* Fixed compilation on platforms with exotic double
* Improved documentation
* Added pkgconfig support which makes it easier to consume the library from meson and other build systems
diffstat:
textproc/fmtlib/Makefile | 11 ++++++-----
textproc/fmtlib/PLIST | 5 ++++-
textproc/fmtlib/distinfo | 11 ++++++-----
textproc/fmtlib/patches/patch-CMakeLists.txt | 15 +++++++++++++++
4 files changed, 31 insertions(+), 11 deletions(-)
diffs (82 lines):
diff -r 39f6e2fae828 -r 3d96528a3bb4 textproc/fmtlib/Makefile
--- a/textproc/fmtlib/Makefile Tue Feb 26 10:55:01 2019 +0000
+++ b/textproc/fmtlib/Makefile Tue Feb 26 10:58:25 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2018/12/02 17:12:18 adam Exp $
+# $NetBSD: Makefile,v 1.2 2019/02/26 10:58:25 adam Exp $
-DISTNAME= fmt-5.2.1
+DISTNAME= fmt-5.3.0
PKGNAME= ${DISTNAME:S/fmt/fmtlib/}
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=fmtlib/}
@@ -11,9 +11,10 @@
COMMENT= Formatting library
LICENSE= modified-bsd
-USE_CMAKE= yes
-USE_LANGUAGES= c c++11
-TEST_TARGET= test
+USE_CMAKE= yes
+USE_LANGUAGES= c c++11
+PKGCONFIG_OVERRIDE= support/cmake/fmt.pc.in
+TEST_TARGET= test
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
diff -r 39f6e2fae828 -r 3d96528a3bb4 textproc/fmtlib/PLIST
--- a/textproc/fmtlib/PLIST Tue Feb 26 10:55:01 2019 +0000
+++ b/textproc/fmtlib/PLIST Tue Feb 26 10:58:25 2019 +0000
@@ -1,8 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2018/12/02 17:12:18 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/02/26 10:58:25 adam Exp $
+include/fmt/chrono.h
include/fmt/color.h
include/fmt/core.h
include/fmt/format-inl.h
include/fmt/format.h
+include/fmt/locale.h
include/fmt/ostream.h
include/fmt/posix.h
include/fmt/printf.h
@@ -15,3 +17,4 @@
lib/libfmt.so
lib/libfmt.so.${PKGVERSION}
lib/libfmt.so.5
+lib/pkgconfig/fmt.pc
diff -r 39f6e2fae828 -r 3d96528a3bb4 textproc/fmtlib/distinfo
--- a/textproc/fmtlib/distinfo Tue Feb 26 10:55:01 2019 +0000
+++ b/textproc/fmtlib/distinfo Tue Feb 26 10:58:25 2019 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2018/12/04 10:05:22 jperkin Exp $
+$NetBSD: distinfo,v 1.3 2019/02/26 10:58:25 adam Exp $
-SHA1 (fmt-5.2.1.tar.gz) = 8b38f1ecdf137e8ca24e9b66145c1b94fa5f921d
-RMD160 (fmt-5.2.1.tar.gz) = 35cec2d51a003bdb35282897e0d1400d0b2f9db2
-SHA512 (fmt-5.2.1.tar.gz) = 2b63a741df4df9c3cbf04098c6548bb3d0f9836fe912325542298df57c888f43e72159469fb87685b423694e43e4418545377d5ee6393f2709955be2c13780a8
-Size (fmt-5.2.1.tar.gz) = 648668 bytes
+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
diff -r 39f6e2fae828 -r 3d96528a3bb4 textproc/fmtlib/patches/patch-CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/fmtlib/patches/patch-CMakeLists.txt Tue Feb 26 10:58:25 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2019/02/26 10:58:25 adam Exp $
+
+Install .pc to lib/pkgconfig.
+
+--- CMakeLists.txt.orig 2019-02-12 22:54:39.000000000 +0000
++++ CMakeLists.txt
+@@ -205,7 +205,7 @@ if (FMT_INSTALL)
+ set(FMT_INC_DIR ${CMAKE_INSTALL_INCLUDEDIR}/fmt CACHE STRING
+ "Installation directory for include files, relative to ${CMAKE_INSTALL_PREFIX}.")
+
+- set(FMT_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/share/pkgconfig" CACHE PATH
++ set(FMT_PKGCONFIG_DIR "${CMAKE_INSTALL_LIBDIR}/pkgconfig" CACHE PATH
+ "Installation directory for pkgconfig (.pc) files, relative to ${CMAKE_INSTALL_PREFIX}.")
+
+ # Generate the version, config and target files into the build directory.
Home |
Main Index |
Thread Index |
Old Index