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: Tue Feb 26 10:58:25 UTC 2019
Modified Files:
pkgsrc/textproc/fmtlib: Makefile PLIST distinfo
Added Files:
pkgsrc/textproc/fmtlib/patches: patch-CMakeLists.txt
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/fmtlib/Makefile \
pkgsrc/textproc/fmtlib/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/fmtlib/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/fmtlib/patches/patch-CMakeLists.txt
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.1 pkgsrc/textproc/fmtlib/Makefile:1.2
--- pkgsrc/textproc/fmtlib/Makefile:1.1 Sun Dec 2 17:12:18 2018
+++ pkgsrc/textproc/fmtlib/Makefile Tue Feb 26 10:58:25 2019
@@ -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 @@ HOMEPAGE= http://fmtlib.net/
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
Index: pkgsrc/textproc/fmtlib/PLIST
diff -u pkgsrc/textproc/fmtlib/PLIST:1.1 pkgsrc/textproc/fmtlib/PLIST:1.2
--- pkgsrc/textproc/fmtlib/PLIST:1.1 Sun Dec 2 17:12:18 2018
+++ pkgsrc/textproc/fmtlib/PLIST Tue Feb 26 10:58:25 2019
@@ -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/cmake/fmt/fmt-targets.cmake
lib/libfmt.so
lib/libfmt.so.${PKGVERSION}
lib/libfmt.so.5
+lib/pkgconfig/fmt.pc
Index: pkgsrc/textproc/fmtlib/distinfo
diff -u pkgsrc/textproc/fmtlib/distinfo:1.2 pkgsrc/textproc/fmtlib/distinfo:1.3
--- pkgsrc/textproc/fmtlib/distinfo:1.2 Tue Dec 4 10:05:22 2018
+++ pkgsrc/textproc/fmtlib/distinfo Tue Feb 26 10:58:25 2019
@@ -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
Added files:
Index: pkgsrc/textproc/fmtlib/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/textproc/fmtlib/patches/patch-CMakeLists.txt:1.1
--- /dev/null Tue Feb 26 10:58:25 2019
+++ pkgsrc/textproc/fmtlib/patches/patch-CMakeLists.txt Tue Feb 26 10:58:25 2019
@@ -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