commit fmt for openSUSE:Factory

2020-11-06 Thread root
Hello community,

here is the log from the commit of package fmt for openSUSE:Factory checked in 
at 2020-11-06 23:44:13

Comparing /work/SRC/openSUSE:Factory/fmt (Old)
 and  /work/SRC/openSUSE:Factory/.fmt.new.11331 (New)


Package is "fmt"

Fri Nov  6 23:44:13 2020 rev:14 rq:846063 version:7.1.2

Changes:

--- /work/SRC/openSUSE:Factory/fmt/fmt.changes  2020-11-02 09:37:07.901422136 
+0100
+++ /work/SRC/openSUSE:Factory/.fmt.new.11331/fmt.changes   2020-11-06 
23:44:31.299330277 +0100
@@ -1,0 +2,20 @@
+Wed Nov  4 17:34:46 UTC 2020 - aloi...@gmx.com
+
+- Update to version 7.1.2
+  * Fixed floating point formatting with large precision
+
+---
+Mon Nov  2 15:27:46 UTC 2020 - aloi...@gmx.com
+
+- Update to version 7.1.1
+  * Fixed ABI compatibility with 7.0.x
+  * Added the FMT_ARM_ABI_COMPATIBILITY macro to work around
+ABI incompatibility between GCC and Clang on ARM
+  * Worked around a SFINAE bug in GCC 8
+  * Fixed linkage errors when building with GCC's LTO
+  * Fixed a compilation error when building without
+__builtin_clz or equivalent
+  * Fixed a sign conversion warning
+- Dropped fmt-7.1.0-LTO.patch (merged upstream)
+
+---

Old:

  fmt-7.1.0-LTO.patch
  fmt-7.1.0.tar.gz

New:

  fmt-7.1.2.tar.gz



Other differences:
--
++ fmt.spec ++
--- /var/tmp/diff_new_pack.dUA8z8/_old  2020-11-06 23:44:31.751329408 +0100
+++ /var/tmp/diff_new_pack.dUA8z8/_new  2020-11-06 23:44:31.755329400 +0100
@@ -18,15 +18,13 @@
 
 %define sover   7
 Name:   fmt
-Version:7.1.0
+Version:7.1.2
 Release:0
 Summary:A formatting library for C++
 License:MIT
 URL:http://fmtlib.net/
 Source0:
https://github.com/fmtlib/fmt/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
-# PATCH-FIX-UPSTREAM fmt-7.1.0-LTO.patch
-Patch0: fmt-7.1.0-LTO.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig

++ fmt-7.1.0.tar.gz -> fmt-7.1.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fmt-7.1.0/ChangeLog.rst new/fmt-7.1.2/ChangeLog.rst
--- old/fmt-7.1.0/ChangeLog.rst 2020-10-25 18:44:22.0 +0100
+++ new/fmt-7.1.2/ChangeLog.rst 2020-11-04 15:50:09.0 +0100
@@ -1,3 +1,33 @@
+7.1.2 - 2020-11-04
+--
+
+* Fixed floating point formatting with large precision
+  (`#1976 `_).
+
+7.1.1 - 2020-11-01
+--
+
+* Fixed ABI compatibility with 7.0.x
+  (`#1961 `_).
+
+* Added the ``FMT_ARM_ABI_COMPATIBILITY`` macro to work around ABI
+  incompatibility between GCC and Clang on ARM
+  (`#1919 `_).
+
+* Worked around a SFINAE bug in GCC 8
+  (`#1957 `_).
+
+* Fixed linkage errors when building with GCC's LTO
+  (`#1955 `_).
+
+* Fixed a compilation error when building without ``__builtin_clz`` or 
equivalent
+  (`#1968 `_).
+  Thanks `@tohammer (Tobias Hammer) `_.
+
+* Fixed a sign conversion warning
+  (`#1964 `_).
+  Thanks `@OptoCloud `_.
+
 7.1.0 - 2020-10-25
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fmt-7.1.0/doc/build.py new/fmt-7.1.2/doc/build.py
--- old/fmt-7.1.0/doc/build.py  2020-10-25 18:44:22.0 +0100
+++ new/fmt-7.1.2/doc/build.py  2020-11-04 15:50:09.0 +0100
@@ -6,7 +6,7 @@
 from subprocess import check_call, check_output, CalledProcessError, Popen, 
PIPE
 from distutils.version import LooseVersion
 
-versions = ['1.0.0', '1.1.0', '2.0.0', '3.0.2', '4.0.0', '4.1.0', '5.0.0', 
'5.1.0', '5.2.0', '5.2.1', '5.3.0', '6.0.0', '6.1.0', '6.1.1', '6.1.2', 
'6.2.0', '6.2.1', '7.0.0', '7.0.1', '7.0.2', '7.0.3', '7.1.0']
+versions = ['1.0.0', '1.1.0', '2.0.0', '3.0.2', '4.0.0', '4.1.0', '5.0.0', 
'5.1.0', '5.2.0', '5.2.1', '5.3.0', '6.0.0', '6.1.0', '6.1.1', '6.1.2', 
'6.2.0', '6.2.1', '7.0.0', '7.0.1', '7.0.2', '7.0.3', '7.1.0', '7.1.1', '7.1.2']
 
 def pip_install(package, commit=None, **kwargs):
   "Install package using pip."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fmt-7.1.0/include/fmt/color.h 
new/fmt-7.1.2/include/fmt/color.h
--- old/fmt-7.1.0/include/fmt/color.h   2020-10-25 18:44:22.0 +0100
+++ 

commit fmt for openSUSE:Factory

2020-11-02 Thread root
Hello community,

here is the log from the commit of package fmt for openSUSE:Factory checked in 
at 2020-11-02 09:36:57

Comparing /work/SRC/openSUSE:Factory/fmt (Old)
 and  /work/SRC/openSUSE:Factory/.fmt.new.3463 (New)


Package is "fmt"

Mon Nov  2 09:36:57 2020 rev:13 rq:844382 version:7.1.0

Changes:

--- /work/SRC/openSUSE:Factory/fmt/fmt.changes  2020-08-12 10:55:22.416709798 
+0200
+++ /work/SRC/openSUSE:Factory/.fmt.new.3463/fmt.changes2020-11-02 
09:37:07.901422136 +0100
@@ -1,0 +2,64 @@
+Mon Oct 26 14:54:41 UTC 2020 - Luigi Baldoni 
+
+- Update to version 7.1.0
+  * Switched from Grisu3 to Dragonbox for the default
+floating-point formatting which gives the shortest decimal
+representation with round-trip guarantee and correct rounding.
+This makes {fmt} up to 20-30x faster than common
+implementations of std::ostringstream and sprintf on
+dtoa-benchmark and faster than double-conversion and Ryƫ. It
+is possible to get even better performance at the cost of
+larger binary size by compiling with the
+FMT_USE_FULL_CACHE_DRAGONBOX macro set to 1.
+  * Added an experimental unsynchronized file output API which,
+together with format string compilation can give 5-9 times
+speed up compared to fprintf on common platforms.
+  * Added a formatter for std::chrono::time_point
+  * Added support for ranges with non-const begin/end to fmt::join
+  * Added a memory_buffer::append overload that takes a range.
+  * Improved handling of single code units in FMT_COMPILE.
+  * Added dynamic width support to format string compilation.
+  * Improved error reporting for unformattable types: now you'll
+get the type name directly in the error message instead of
+the note.
+  * Added the make_args_checked function template that allows
+you to write formatting functions with compile-time format
+string checks and avoid binary code bloat.
+  * Replaced snprintf fallback with a faster internal IEEE 754
+float and double formatter for arbitrary precision.
+  * Made format_to_n and formatted_size part of the core API.
+  * Added fmt::format_to_n overload with format string
+compilation.
+  * Added fmt::format_to overload that take text_style.
+  * Made the # specifier emit trailing zeros in addition to the
+decimal point.
+  * Changed the default floating point format to not include .0
+for consistency with std::format and std::to_chars. It is
+possible to get the decimal point and trailing zero with the
+# specifier.
+  * Fixed an issue with floating-point formatting that could
+result in addition of a non-significant trailing zero in
+rare cases e.g. 1.00e-34 instead of 1.0e-34.
+  * Made fmt::to_string fallback on ostream insertion operator
+if the formatter specialization is not provided.
+  * Added support for the append mode to the experimental file
+API and improved fcntl.h detection.
+  * Fixed handling of types that have both an implicit
+conversion operator and an overloaded ostream insertion
+operator.
+  * Fixed a slicing issue in an internal iterator type.
+  * Fixed an issue in locale-specific integer formatting.
+  * Fixed handling of exotic code unit types.
+  * Improved FMT_ALWAYS_INLINE.
+  * Improved documentation.
+  * Added the FMT_REDUCE_INT_INSTANTIATIONS CMake option that
+reduces the binary code size at the cost of some integer
+formatting performance. This can be useful for extremely
+memory-constrained embedded systems.
+  * Added the FMT_USE_INLINE_NAMESPACES macro to control usage
+of inline namespaces.
+  * Improved build configuration.
+  * Fixed various warnings and compilation issues.
+- Add fmt-7.1.0-LTO.patch
+
+---

Old:

  fmt-7.0.3.tar.gz

New:

  fmt-7.1.0-LTO.patch
  fmt-7.1.0.tar.gz



Other differences:
--
++ fmt.spec ++
--- /var/tmp/diff_new_pack.Vkb28h/_old  2020-11-02 09:37:08.509422719 +0100
+++ /var/tmp/diff_new_pack.Vkb28h/_new  2020-11-02 09:37:08.513422723 +0100
@@ -18,13 +18,15 @@
 
 %define sover   7
 Name:   fmt
-Version:7.0.3
+Version:7.1.0
 Release:0
 Summary:A formatting library for C++
 License:MIT
 URL:http://fmtlib.net/
 Source0:
https://github.com/fmtlib/fmt/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
+# PATCH-FIX-UPSTREAM fmt-7.1.0-LTO.patch
+Patch0: fmt-7.1.0-LTO.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
@@ -51,7 +53,6 @@
 
 %build
 %cmake -DCMAKE_INSTALL_INCLUDEDIR:PATH=%{_includedir}
-
 %make_jobs
 
 %install

++ fmt-7.1.0-LTO.patch ++
>From 

commit fmt for openSUSE:Factory

2020-08-12 Thread root
Hello community,

here is the log from the commit of package fmt for openSUSE:Factory checked in 
at 2020-08-12 10:55:20

Comparing /work/SRC/openSUSE:Factory/fmt (Old)
 and  /work/SRC/openSUSE:Factory/.fmt.new.3399 (New)


Package is "fmt"

Wed Aug 12 10:55:20 2020 rev:12 rq:824910 version:7.0.3

Changes:

--- /work/SRC/openSUSE:Factory/fmt/fmt.changes  2020-08-02 12:29:38.723936530 
+0200
+++ /work/SRC/openSUSE:Factory/.fmt.new.3399/fmt.changes2020-08-12 
10:55:22.416709798 +0200
@@ -1,0 +2,9 @@
+Fri Aug  7 19:56:36 UTC 2020 - aloi...@gmx.com
+
+- Update to version 7.0.3
+  * Worked around broken ``numeric_limits`` for 128-bit integers
+  * Added error reporting on missing named arguments
+  * Stopped using 128-bit integers with clang-cl
+  * Fixed issues in locale-specific integer formatting
+
+---

Old:

  fmt-7.0.2.tar.gz

New:

  fmt-7.0.3.tar.gz



Other differences:
--
++ fmt.spec ++
--- /var/tmp/diff_new_pack.j5TgnE/_old  2020-08-12 10:55:22.936710056 +0200
+++ /var/tmp/diff_new_pack.j5TgnE/_new  2020-08-12 10:55:22.936710056 +0200
@@ -18,7 +18,7 @@
 
 %define sover   7
 Name:   fmt
-Version:7.0.2
+Version:7.0.3
 Release:0
 Summary:A formatting library for C++
 License:MIT

++ fmt-7.0.2.tar.gz -> fmt-7.0.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fmt-7.0.2/ChangeLog.rst new/fmt-7.0.3/ChangeLog.rst
--- old/fmt-7.0.2/ChangeLog.rst 2020-07-29 16:30:55.0 +0200
+++ new/fmt-7.0.3/ChangeLog.rst 2020-08-06 17:51:01.0 +0200
@@ -1,3 +1,20 @@
+7.0.3 - 2020-08-06
+--
+
+* Worked around broken ``numeric_limits`` for 128-bit integers
+  (`#1787 `_).
+
+* Added error reporting on missing named arguments
+  (`#1796 `_).
+
+* Stopped using 128-bit integers with clang-cl
+  (`#1800 `_).
+  Thanks `@Kingcom `_.
+
+* Fixed issues in locale-specific integer formatting
+  (`#1782 `_,
+  `#1801 `_).
+
 7.0.2 - 2020-07-29
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fmt-7.0.2/doc/build.py new/fmt-7.0.3/doc/build.py
--- old/fmt-7.0.2/doc/build.py  2020-07-29 16:30:55.0 +0200
+++ new/fmt-7.0.3/doc/build.py  2020-08-06 17:51:01.0 +0200
@@ -6,7 +6,7 @@
 from subprocess import check_call, check_output, CalledProcessError, Popen, 
PIPE
 from distutils.version import LooseVersion
 
-versions = ['1.0.0', '1.1.0', '2.0.0', '3.0.2', '4.0.0', '4.1.0', '5.0.0', 
'5.1.0', '5.2.0', '5.2.1', '5.3.0', '6.0.0', '6.1.0', '6.1.1', '6.1.2', 
'6.2.0', '6.2.1', '7.0.0', '7.0.1', '7.0.2']
+versions = ['1.0.0', '1.1.0', '2.0.0', '3.0.2', '4.0.0', '4.1.0', '5.0.0', 
'5.1.0', '5.2.0', '5.2.1', '5.3.0', '6.0.0', '6.1.0', '6.1.1', '6.1.2', 
'6.2.0', '6.2.1', '7.0.0', '7.0.1', '7.0.2', '7.0.3']
 
 def pip_install(package, commit=None, **kwargs):
   "Install package using pip."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fmt-7.0.2/include/fmt/core.h 
new/fmt-7.0.3/include/fmt/core.h
--- old/fmt-7.0.2/include/fmt/core.h2020-07-29 16:30:55.0 +0200
+++ new/fmt-7.0.3/include/fmt/core.h2020-08-06 17:51:01.0 +0200
@@ -18,7 +18,7 @@
 #include 
 
 // The fmt library version in the form major * 1 + minor * 100 + patch.
-#define FMT_VERSION 70002
+#define FMT_VERSION 70003
 
 #ifdef __clang__
 #  define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__)
@@ -299,7 +299,7 @@
 
 #ifdef FMT_USE_INT128
 // Do nothing.
-#elif defined(__SIZEOF_INT128__) && !FMT_NVCC
+#elif defined(__SIZEOF_INT128__) && !FMT_NVCC && !(FMT_CLANG_VERSION && 
FMT_MSC_VER)
 #  define FMT_USE_INT128 1
 using int128_t = __int128_t;
 using uint128_t = __uint128_t;
@@ -1713,7 +1713,7 @@
   }
 
   template  int get_id(basic_string_view name) const {
-if (!has_named_args()) return {};
+if (!has_named_args()) return -1;
 const auto& named_args =
 (is_packed() ? values_[-1] : args_[-1].value_).named_args;
 for (size_t i = 0; i < named_args.size; ++i) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fmt-7.0.2/include/fmt/format.h 
new/fmt-7.0.3/include/fmt/format.h
--- old/fmt-7.0.2/include/fmt/format.h  2020-07-29 16:30:55.0 +0200
+++ new/fmt-7.0.3/include/fmt/format.h  2020-08-06 17:51:01.0 +0200
@@ -724,13 +724,18 @@
 
 

commit fmt for openSUSE:Factory

2020-08-02 Thread root
Hello community,

here is the log from the commit of package fmt for openSUSE:Factory checked in 
at 2020-08-02 12:28:53

Comparing /work/SRC/openSUSE:Factory/fmt (Old)
 and  /work/SRC/openSUSE:Factory/.fmt.new.3592 (New)


Package is "fmt"

Sun Aug  2 12:28:53 2020 rev:11 rq:823446 version:7.0.2

Changes:

--- /work/SRC/openSUSE:Factory/fmt/fmt.changes  2020-07-16 12:07:35.090305437 
+0200
+++ /work/SRC/openSUSE:Factory/.fmt.new.3592/fmt.changes2020-08-02 
12:29:38.723936530 +0200
@@ -1,0 +2,9 @@
+Wed Jul 29 17:33:10 UTC 2020 - aloi...@gmx.com
+
+- Update to version 7.0.2
+  * Worked around broken ``numeric_limits`` for 128-bit integers
+  * Fixed compatibility with CMake 3.4
+  * Fixed handling of digit separators in locale-specific
+formatting
+
+---

Old:

  fmt-7.0.1.tar.gz

New:

  fmt-7.0.2.tar.gz



Other differences:
--
++ fmt.spec ++
--- /var/tmp/diff_new_pack.CJhDoR/_old  2020-08-02 12:29:39.267937090 +0200
+++ /var/tmp/diff_new_pack.CJhDoR/_new  2020-08-02 12:29:39.271937094 +0200
@@ -18,7 +18,7 @@
 
 %define sover   7
 Name:   fmt
-Version:7.0.1
+Version:7.0.2
 Release:0
 Summary:A formatting library for C++
 License:MIT

++ fmt-7.0.1.tar.gz -> fmt-7.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fmt-7.0.1/CMakeLists.txt new/fmt-7.0.2/CMakeLists.txt
--- old/fmt-7.0.1/CMakeLists.txt2020-07-07 16:47:44.0 +0200
+++ new/fmt-7.0.2/CMakeLists.txt2020-07-29 16:30:55.0 +0200
@@ -24,15 +24,23 @@
   set(${result_var} "${result}" PARENT_SCOPE)
 endfunction()
 
+include(CMakeParseArguments)
+
 # Sets a cache variable with a docstring joined from multiple arguments:
 #   set( ... CACHE  ...)
 # This allows splitting a long docstring for readability.
 function(set_verbose)
-  cmake_parse_arguments(SET_VERBOSE "" "" "CACHE" ${ARGN})
-  list(GET SET_VERBOSE_CACHE 0 type)
-  list(REMOVE_AT SET_VERBOSE_CACHE 0)
-  join(doc ${SET_VERBOSE_CACHE})
-  set(${SET_VERBOSE_UNPARSED_ARGUMENTS} CACHE ${type} ${doc})
+  # cmake_parse_arguments is broken in CMake 3.4 (cannot parse CACHE) so use
+  # list instead.
+  list(GET ARGN 0 var)
+  list(REMOVE_AT ARGN 0)
+  list(GET ARGN 0 val)
+  list(REMOVE_AT ARGN 0)
+  list(REMOVE_AT ARGN 0)
+  list(GET ARGN 0 type)
+  list(REMOVE_AT ARGN 0)
+  join(doc ${ARGN})
+  set(${var} ${val} CACHE ${type} ${doc})
 endfunction()
 
 # Set the default CMAKE_BUILD_TYPE to Release.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fmt-7.0.1/ChangeLog.rst new/fmt-7.0.2/ChangeLog.rst
--- old/fmt-7.0.1/ChangeLog.rst 2020-07-07 16:47:44.0 +0200
+++ new/fmt-7.0.2/ChangeLog.rst 2020-07-29 16:30:55.0 +0200
@@ -1,3 +1,15 @@
+7.0.2 - 2020-07-29
+--
+
+* Worked around broken ``numeric_limits`` for 128-bit integers
+  (`#1725 `_).
+
+* Fixed compatibility with CMake 3.4
+  (`#1779 `_).
+
+* Fixed handling of digit separators in locale-specific formatting
+  (`#1782 `_).
+
 7.0.1 - 2020-07-07
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fmt-7.0.1/doc/build.py new/fmt-7.0.2/doc/build.py
--- old/fmt-7.0.1/doc/build.py  2020-07-07 16:47:44.0 +0200
+++ new/fmt-7.0.2/doc/build.py  2020-07-29 16:30:55.0 +0200
@@ -6,7 +6,7 @@
 from subprocess import check_call, check_output, CalledProcessError, Popen, 
PIPE
 from distutils.version import LooseVersion
 
-versions = ['1.0.0', '1.1.0', '2.0.0', '3.0.2', '4.0.0', '4.1.0', '5.0.0', 
'5.1.0', '5.2.0', '5.2.1', '5.3.0', '6.0.0', '6.1.0', '6.1.1', '6.1.2', 
'6.2.0', '6.2.1', '7.0.0', '7.0.1']
+versions = ['1.0.0', '1.1.0', '2.0.0', '3.0.2', '4.0.0', '4.1.0', '5.0.0', 
'5.1.0', '5.2.0', '5.2.1', '5.3.0', '6.0.0', '6.1.0', '6.1.1', '6.1.2', 
'6.2.0', '6.2.1', '7.0.0', '7.0.1', '7.0.2']
 
 def pip_install(package, commit=None, **kwargs):
   "Install package using pip."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fmt-7.0.1/include/fmt/core.h 
new/fmt-7.0.2/include/fmt/core.h
--- old/fmt-7.0.1/include/fmt/core.h2020-07-07 16:47:44.0 +0200
+++ new/fmt-7.0.2/include/fmt/core.h2020-07-29 16:30:55.0 +0200
@@ -18,7 +18,7 @@
 #include 
 
 // The fmt library version in the form major * 1 + minor * 100 + patch.
-#define FMT_VERSION 70001
+#define FMT_VERSION 70002
 
 #ifdef __clang__
 #  define FMT_CLANG_VERSION (__clang_major__ * 100 + 

commit fmt for openSUSE:Factory

2020-07-16 Thread root
Hello community,

here is the log from the commit of package fmt for openSUSE:Factory checked in 
at 2020-07-16 12:07:24

Comparing /work/SRC/openSUSE:Factory/fmt (Old)
 and  /work/SRC/openSUSE:Factory/.fmt.new.3592 (New)


Package is "fmt"

Thu Jul 16 12:07:24 2020 rev:10 rq:819280 version:7.0.1

Changes:

--- /work/SRC/openSUSE:Factory/fmt/fmt.changes  2020-06-25 16:47:18.276926099 
+0200
+++ /work/SRC/openSUSE:Factory/.fmt.new.3592/fmt.changes2020-07-16 
12:07:35.090305437 +0200
@@ -1,0 +2,71 @@
+Tue Jul  7 19:18:26 UTC 2020 - aloi...@gmx.com
+
+- Update to version 7.0.1
+  * Updated the inline version namespace name.
+  * Worked around a gcc bug in mangling of alias templates
+  * Fixed minor issues with the documentation.
+
+---
+Mon Jul  6 14:36:10 UTC 2020 - Luigi Baldoni 
+
+- Update to version 7.0.0
+  * Reduced the library size.
+  * Added a simpler and more efficient format string compilation
+API. The old fmt::compile API is now deprecated.
+  * Optimized integer formatting: format_to with format string
+compilation and a stack-allocated buffer is now faster than
+to_chars on both libc++ and libstdc++.
+  * Optimized handling of small format strings.
+  * Applied extern templates to improve compile times when using
+the core API and fmt/format.h. It is still recommended to use
+fmt/core.h instead of fmt/format.h but the compile time
+difference is now smaller.
+  * Named arguments are now stored on stack (no dynamic memory
+allocations) and the compiled code is more compact and
+efficient.
+  * Implemented compile-time checks for dynamic width and
+ precision.
+  * Added sentinel support to fmt::join.
+  * Added support for named args, clear and reserve to
+dynamic_format_arg_store.
+  * Added support for the 'c' format specifier to integral types
+for compatibility with std::format.
+  * Replaced the 'n' format specifier with 'L' for compatibility
+with std::format. The 'n' specifier can be enabled via the
+FMT_DEPRECATED_N_SPECIFIER macro.
+  * The '=' format specifier is now disabled by default for
+compatibility with std::format. It can be enabled via the
+FMT_DEPRECATED_NUMERIC_ALIGN macro.
+  * Removed the following deprecated APIs:
++ FMT_STRING_ALIAS and fmt macros - replaced by
+  FMT_STRING
++ fmt::basic_string_view::char_type - replaced by
+  fmt::basic_string_view::value_type
++ convert_to_int
++ format_arg_store::types
++ *parse_context - replaced by *format_parse_context
++ FMT_DEPRECATED_INCLUDE_OS
++ FMT_DEPRECATED_PERCENT - incompatible with
+  std::format
++ *writer - replaced by compiled format API
+  * Renamed the internal namespace to detail. The former is
+still provided as an alias if the FMT_USE_INTERNAL macro is
+defined.
+  * Improved compatibility between fmt::printf with the standard
+specs.
+  * Fixed handling of operator<< overloads that use copyfmt.
+  * Added the FMT_OS CMake option to control inclusion of
+OS-specific APIs in the fmt target. This can be useful for
+embedded platforms.
+  * Replaced FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION with the
+FMT_FUZZ macro to prevent interferring with fuzzing of
+projects using {fmt}.
+  * Fixed compatibility with emscripten.
+  * Improved documentation.
+  * Implemented various build configuration fixes and
+improvements.
+  * Fixed various warnings and compilation issues.
+- Drop fmt-6.2.1-fix_pkgconfig_paths.patch
+- Bump sover to 7
+
+---

Old:

  fmt-6.2.1-fix_pkgconfig_paths.patch
  fmt-6.2.1.tar.gz

New:

  fmt-7.0.1.tar.gz



Other differences:
--
++ fmt.spec ++
--- /var/tmp/diff_new_pack.AeJxp0/_old  2020-07-16 12:07:38.950309339 +0200
+++ /var/tmp/diff_new_pack.AeJxp0/_new  2020-07-16 12:07:38.950309339 +0200
@@ -16,17 +16,15 @@
 #
 
 
-%define sover   6
+%define sover   7
 Name:   fmt
-Version:6.2.1
+Version:7.0.1
 Release:0
 Summary:A formatting library for C++
 License:MIT
 URL:http://fmtlib.net/
 Source0:
https://github.com/fmtlib/fmt/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
-# PATCH-FIX-UPSTREAM fmt-6.2.1-fix_pkgconfig_paths.patch
-Patch0: fmt-6.2.1-fix_pkgconfig_paths.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.AeJxp0/_old  2020-07-16 12:07:38.994309383 +0200
+++ /var/tmp/diff_new_pack.AeJxp0/_new  2020-07-16 12:07:38.994309383 +0200
@@ -1 +1 @@
-libfmt6
+libfmt7

++ 

commit fmt for openSUSE:Factory

2020-06-25 Thread root
Hello community,

here is the log from the commit of package fmt for openSUSE:Factory checked in 
at 2020-06-25 16:47:05

Comparing /work/SRC/openSUSE:Factory/fmt (Old)
 and  /work/SRC/openSUSE:Factory/.fmt.new.3060 (New)


Package is "fmt"

Thu Jun 25 16:47:05 2020 rev:9 rq:816648 version:6.2.1

Changes:

--- /work/SRC/openSUSE:Factory/fmt/fmt.changes  2020-05-14 23:24:43.564972023 
+0200
+++ /work/SRC/openSUSE:Factory/.fmt.new.3060/fmt.changes2020-06-25 
16:47:18.276926099 +0200
@@ -1,0 +2,5 @@
+Tue Jun 23 16:02:53 UTC 2020 - Luigi Baldoni 
+
+- Add fmt-6.2.1-fix_pkgconfig_paths.patch (fix for boo#1173270)
+
+---

New:

  fmt-6.2.1-fix_pkgconfig_paths.patch



Other differences:
--
++ fmt.spec ++
--- /var/tmp/diff_new_pack.AX2z7t/_old  2020-06-25 16:47:18.972927372 +0200
+++ /var/tmp/diff_new_pack.AX2z7t/_new  2020-06-25 16:47:18.972927372 +0200
@@ -25,6 +25,8 @@
 URL:http://fmtlib.net/
 Source0:
https://github.com/fmtlib/fmt/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
+# PATCH-FIX-UPSTREAM fmt-6.2.1-fix_pkgconfig_paths.patch
+Patch0: fmt-6.2.1-fix_pkgconfig_paths.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig

++ fmt-6.2.1-fix_pkgconfig_paths.patch ++
>From 78f041ab5b40a1145ba686aeb8013e8788b08cd2 Mon Sep 17 00:00:00 2001
From: Jan Tojnar 
Date: Thu, 30 Apr 2020 22:23:38 +0200
Subject: [PATCH] build: Fix installation paths

It is not generally true that `CMAKE_INSTALL_` variables are relative 
paths:

https://github.com/jtojnar/cmake-snips#concatenating-paths-when-building-pkg-config-files
---
 CMakeLists.txt| 21 +
 support/cmake/JoinPaths.cmake | 26 ++
 support/cmake/fmt.pc.in   |  4 ++--
 3 files changed, 41 insertions(+), 10 deletions(-)
 create mode 100644 support/cmake/JoinPaths.cmake

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0ce38e7b8..3a487ce7b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -81,6 +81,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
 
 include(cxx14)
 include(CheckCXXCompilerFlag)
+include(JoinPaths)
 
 list(FIND CMAKE_CXX_COMPILE_FEATURES "cxx_variadic_templates" index)
 if (${index} GREATER -1)
@@ -239,8 +240,8 @@ if (FMT_INSTALL)
   include(GNUInstallDirs)
   include(CMakePackageConfigHelpers)
   set_verbose(FMT_CMAKE_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/fmt CACHE STRING
-  "Installation directory for cmake files, relative to "
-  "${CMAKE_INSTALL_PREFIX}.")
+  "Installation directory for cmake files, a relative path "
+  "that will be joined to ${CMAKE_INSTALL_PREFIX}, or an arbitrary 
absolute path.")
   set(version_config ${PROJECT_BINARY_DIR}/fmt-config-version.cmake)
   set(project_config ${PROJECT_BINARY_DIR}/fmt-config.cmake)
   set(pkgconfig ${PROJECT_BINARY_DIR}/fmt.pc)
@@ -252,22 +253,26 @@ if (FMT_INSTALL)
   endif ()
 
   set_verbose(FMT_LIB_DIR ${CMAKE_INSTALL_LIBDIR} CACHE STRING
-  "Installation directory for libraries, relative to "
-  "${CMAKE_INSTALL_PREFIX}.")
+  "Installation directory for libraries, a relative path "
+  "that will be joined to ${CMAKE_INSTALL_PREFIX}, or an arbitrary 
absolute path.")
 
   set_verbose(FMT_INC_DIR ${CMAKE_INSTALL_INCLUDEDIR}/fmt CACHE STRING
-  "Installation directory for include files, relative to "
-  "${CMAKE_INSTALL_PREFIX}.")
+  "Installation directory for include files, a relative path "
+  "that will be joined to ${CMAKE_INSTALL_PREFIX}, or an arbitrary 
absolute path.")
 
   set_verbose(FMT_PKGCONFIG_DIR ${CMAKE_INSTALL_LIBDIR}/pkgconfig CACHE PATH
-  "Installation directory for pkgconfig (.pc) files, relative to "
-  "${CMAKE_INSTALL_PREFIX}.")
+  "Installation directory for pkgconfig (.pc) files, a relative 
path "
+  "that will be joined to ${CMAKE_INSTALL_PREFIX}, or an arbitrary 
absolute path.")
 
   # Generate the version, config and target files into the build directory.
   write_basic_package_version_file(
 ${version_config}
 VERSION ${FMT_VERSION}
 COMPATIBILITY AnyNewerVersion)
+
+  join_paths(libdir_for_pc_file "\${exec_prefix}" "${CMAKE_INSTALL_LIBDIR}")
+  join_paths(includedir_for_pc_file "\${prefix}" "${CMAKE_INSTALL_INCLUDEDIR}")
+
   configure_file(
 "${PROJECT_SOURCE_DIR}/support/cmake/fmt.pc.in"
 "${pkgconfig}"
diff --git a/support/cmake/JoinPaths.cmake b/support/cmake/JoinPaths.cmake
new file mode 100644
index 0..32d6d6685
--- /dev/null
+++ b/support/cmake/JoinPaths.cmake
@@ 

commit fmt for openSUSE:Factory

2020-05-14 Thread root
Hello community,

here is the log from the commit of package fmt for openSUSE:Factory checked in 
at 2020-05-14 23:24:38

Comparing /work/SRC/openSUSE:Factory/fmt (Old)
 and  /work/SRC/openSUSE:Factory/.fmt.new.2738 (New)


Package is "fmt"

Thu May 14 23:24:38 2020 rev:8 rq:802985 version:6.2.1

Changes:

--- /work/SRC/openSUSE:Factory/fmt/fmt.changes  2020-04-19 21:35:20.722377279 
+0200
+++ /work/SRC/openSUSE:Factory/.fmt.new.2738/fmt.changes2020-05-14 
23:24:43.564972023 +0200
@@ -1,0 +2,13 @@
+Sat May  9 17:53:02 UTC 2020 - Luigi Baldoni 
+
+- Update to version 6.2.1
+  * Fixed ostream support in ``sprintf``
+(`#1631 `_).
+  * Fixed type detection when using implicit conversion to
+``string_view`` and ostream ``operator<<`` inconsistently
+(`#1662 `_).
+- Drop 7d01859ef16e6b65bc023ad8bebfedecb088bf81.patch (no longer
+  necessary)
+- Spec cleanup
+
+---

Old:

  7d01859ef16e6b65bc023ad8bebfedecb088bf81.patch
  fmt-6.2.0.tar.gz

New:

  fmt-6.2.1.tar.gz



Other differences:
--
++ fmt.spec ++
--- /var/tmp/diff_new_pack.5lpKIg/_old  2020-05-14 23:24:44.396973839 +0200
+++ /var/tmp/diff_new_pack.5lpKIg/_new  2020-05-14 23:24:44.400973847 +0200
@@ -18,14 +18,13 @@
 
 %define sover   6
 Name:   fmt
-Version:6.2.0
+Version:6.2.1
 Release:0
 Summary:A formatting library for C++
 License:MIT
 URL:http://fmtlib.net/
 Source0:
https://github.com/fmtlib/fmt/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
-Patch0: 7d01859ef16e6b65bc023ad8bebfedecb088bf81.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
@@ -36,14 +35,12 @@
 
 %package -n libfmt%{sover}
 Summary:A formatting library for C++
-Group:  System/Libraries
 
 %description -n libfmt%{sover}
 Shared library for fmt, a formatting library for C++.
 
 %package devel
 Summary:Development files for fmt, a formatting library
-Group:  Development/Libraries/C and C++
 Requires:   libfmt%{sover} = %{version}
 
 %description devel
@@ -69,11 +66,7 @@
 %postun -n libfmt%{sover} -p /sbin/ldconfig
 
 %files -n libfmt%{sover}
-%if 0%{?sle_version} > 120200
 %license LICENSE.rst
-%else
-%doc LICENSE.rst
-%endif
 %{_libdir}/libfmt.so.%{sover}*
 
 %files devel

++ fmt-6.2.0.tar.gz -> fmt-6.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fmt-6.2.0/ChangeLog.rst new/fmt-6.2.1/ChangeLog.rst
--- old/fmt-6.2.0/ChangeLog.rst 2020-04-05 15:46:41.0 +0200
+++ new/fmt-6.2.1/ChangeLog.rst 2020-05-09 18:13:20.0 +0200
@@ -1,3 +1,13 @@
+6.2.1 - 2020-05-09
+--
+
+* Fixed ostream support in ``sprintf``
+  (`#1631 `_).
+
+* Fixed type detection when using implicit conversion to ``string_view`` and
+  ostream ``operator<<`` inconsistently
+  (`#1662 `_).
+
 6.2.0 - 2020-04-05
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fmt-6.2.0/doc/build.py new/fmt-6.2.1/doc/build.py
--- old/fmt-6.2.0/doc/build.py  2020-04-05 15:46:41.0 +0200
+++ new/fmt-6.2.1/doc/build.py  2020-05-09 18:13:20.0 +0200
@@ -6,7 +6,7 @@
 from subprocess import check_call, check_output, CalledProcessError, Popen, 
PIPE
 from distutils.version import LooseVersion
 
-versions = ['1.0.0', '1.1.0', '2.0.0', '3.0.2', '4.0.0', '4.1.0', '5.0.0', 
'5.1.0', '5.2.0', '5.2.1', '5.3.0', '6.0.0', '6.1.0', '6.1.1', '6.1.2', '6.2.0']
+versions = ['1.0.0', '1.1.0', '2.0.0', '3.0.2', '4.0.0', '4.1.0', '5.0.0', 
'5.1.0', '5.2.0', '5.2.1', '5.3.0', '6.0.0', '6.1.0', '6.1.1', '6.1.2', 
'6.2.0', '6.2.1']
 
 def pip_install(package, commit=None, **kwargs):
   "Install package using pip."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fmt-6.2.0/include/fmt/core.h 
new/fmt-6.2.1/include/fmt/core.h
--- old/fmt-6.2.0/include/fmt/core.h2020-04-05 15:46:41.0 +0200
+++ new/fmt-6.2.1/include/fmt/core.h2020-05-09 18:13:20.0 +0200
@@ -18,7 +18,7 @@
 #include 
 
 // The fmt library version in the form major * 1 + minor * 100 + patch.
-#define FMT_VERSION 60200
+#define FMT_VERSION 60201
 
 #ifdef __has_feature
 #  define FMT_HAS_FEATURE(x) __has_feature(x)
@@ -830,7 +830,8 @@
 template  struct custom_value {
   using parse_context = basic_format_parse_context;
   const void* value;
-  void (*format)(const void* arg, 

commit fmt for openSUSE:Factory

2020-04-19 Thread root
Hello community,

here is the log from the commit of package fmt for openSUSE:Factory checked in 
at 2020-04-19 21:35:15

Comparing /work/SRC/openSUSE:Factory/fmt (Old)
 and  /work/SRC/openSUSE:Factory/.fmt.new.2738 (New)


Package is "fmt"

Sun Apr 19 21:35:15 2020 rev:7 rq:793945 version:6.2.0

Changes:

--- /work/SRC/openSUSE:Factory/fmt/fmt.changes  2020-04-09 23:14:21.754206617 
+0200
+++ /work/SRC/openSUSE:Factory/.fmt.new.2738/fmt.changes2020-04-19 
21:35:20.722377279 +0200
@@ -1,0 +2,7 @@
+Tue Apr 14 13:04:56 UTC 2020 - Hans-Peter Jansen 
+
+- Apply 7d01859ef16e6b65bc023ad8bebfedecb088bf81.patch
+  to fix kodi compilation and probably others:
+  https://github.com/fmtlib/fmt/issues/1620
+
+---

New:

  7d01859ef16e6b65bc023ad8bebfedecb088bf81.patch



Other differences:
--
++ fmt.spec ++
--- /var/tmp/diff_new_pack.3iFZhD/_old  2020-04-19 21:35:21.238378343 +0200
+++ /var/tmp/diff_new_pack.3iFZhD/_new  2020-04-19 21:35:21.242378352 +0200
@@ -25,6 +25,7 @@
 URL:http://fmtlib.net/
 Source0:
https://github.com/fmtlib/fmt/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
+Patch0: 7d01859ef16e6b65bc023ad8bebfedecb088bf81.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig

++ 7d01859ef16e6b65bc023ad8bebfedecb088bf81.patch ++
>From 7d01859ef16e6b65bc023ad8bebfedecb088bf81 Mon Sep 17 00:00:00 2001
From: Victor Zverovich 
Date: Wed, 8 Apr 2020 12:32:34 -0700
Subject: [PATCH] Fix handling of unsigned char strings in printf

---
 include/fmt/core.h  | 8 
 test/printf-test.cc | 6 ++
 2 files changed, 14 insertions(+)

diff --git a/include/fmt/core.h b/include/fmt/core.h
index 6df2875ac..dc10722bf 100644
--- a/include/fmt/core.h
+++ b/include/fmt/core.h
@@ -972,6 +972,14 @@ template  struct arg_mapper {
 static_assert(std::is_same::value, "invalid string type");
 return reinterpret_cast(val);
   }
+  FMT_CONSTEXPR const char* map(signed char* val) {
+const auto* const_val = val;
+return map(const_val);
+  }
+  FMT_CONSTEXPR const char* map(unsigned char* val) {
+const auto* const_val = val;
+return map(const_val);
+  }
 
   FMT_CONSTEXPR const void* map(void* val) { return val; }
   FMT_CONSTEXPR const void* map(const void* val) { return val; }
diff --git a/test/printf-test.cc b/test/printf-test.cc
index 5aaa27b13..545e02aab 100644
--- a/test/printf-test.cc
+++ b/test/printf-test.cc
@@ -447,6 +447,12 @@ TEST(PrintfTest, String) {
   EXPECT_PRINTF(L"(null)", L"%10s", null_wstr);
 }
 
+TEST(PrintfTest, UCharString) {
+  unsigned char str[] = "test";
+  unsigned char* pstr = str;
+  EXPECT_EQ("test", fmt::sprintf("%s", pstr));
+}
+
 TEST(PrintfTest, Pointer) {
   int n;
   void* p = 



commit fmt for openSUSE:Factory

2020-04-09 Thread root
Hello community,

here is the log from the commit of package fmt for openSUSE:Factory checked in 
at 2020-04-09 23:14:20

Comparing /work/SRC/openSUSE:Factory/fmt (Old)
 and  /work/SRC/openSUSE:Factory/.fmt.new.3248 (New)


Package is "fmt"

Thu Apr  9 23:14:20 2020 rev:6 rq:791804 version:6.2.0

Changes:

--- /work/SRC/openSUSE:Factory/fmt/fmt.changes  2019-12-23 22:38:27.917846898 
+0100
+++ /work/SRC/openSUSE:Factory/.fmt.new.3248/fmt.changes2020-04-09 
23:14:21.754206617 +0200
@@ -1,0 +2,47 @@
+Mon Apr  6 14:21:08 UTC 2020 - Luigi Baldoni 
+
+- Update to version 6.2.0
+  * Improved error reporting when trying to format an object of
+a non-formattable type:
+  * Reduced library size by ~10%.
+  * Always print decimal point if # is specified (#1476, #1498):
+  * Implemented the 'L' specifier for locale-specific numeric
+formatting to improve compatibility with std::format. The 'n'
+specifier is now deprecated and will be removed in the next
+major release.
+  * Moved OS-specific APIs such as windows_error from
+fmt/format.h to fmt/os.h. You can define
+FMT_DEPRECATED_INCLUDE_OS to automatically include fmt/os.h from
+fmt/format.h for compatibility but this will be disabled in the
+next major release.
+  * Added precision overflow detection in floating-point
+formatting.
+  * Implemented detection of invalid use of fmt::arg.
+  * Used type_identity to block unnecessary template argument
+deduction.
+  * Improved UTF-8 handling (#1109):
+  * Added experimental dynamic argument storage (#1170, #1584):
+  * Made fmt::join accept initializer_list (#1591).
+  * Fixed handling of empty tuples (#1588).
+  * Fixed handling of output iterators in format_to_n (#1506).
+  * Fixed formatting of std::chrono::duration types to wide
+output (#1533).
+  * Added const begin and end overload to buffers (#1553).
+  * Added the ability to disable floating-point formatting via
+FMT_USE_FLOAT, FMT_USE_DOUBLE and FMT_USE_LONG_DOUBLE macros for
+extremely memory-constrained embedded system (#1590).
+  * Made FMT_STRING work with constexpr string_view (#1589).
+  * Implemented a minor optimization in the format string parser
+(#1560).
+  * Improved attribute detection (#1469, #1475, #1576).
+  * Improved documentation (#1481, #1523).
+  * Fixed symbol visibility on Linux when compiling with
+-fvisibility=hidden (#1535).
+  * Implemented various build configuration fixes and
+improvements (#1264, #1460, #1534, #1536, #1545, #1546, #1566,
+#1582, #1597, #1598).
+  * Fixed various warnings and compilation issues
+  
+- Dropped Group tag
+
+---

Old:

  fmt-6.1.2.tar.gz

New:

  fmt-6.2.0.tar.gz



Other differences:
--
++ fmt.spec ++
--- /var/tmp/diff_new_pack.usBYCH/_old  2020-04-09 23:14:22.354206964 +0200
+++ /var/tmp/diff_new_pack.usBYCH/_new  2020-04-09 23:14:22.358206966 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package fmt
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,11 +18,10 @@
 
 %define sover   6
 Name:   fmt
-Version:6.1.2
+Version:6.2.0
 Release:0
 Summary:A formatting library for C++
 License:MIT
-Group:  Development/Libraries/C and C++
 URL:http://fmtlib.net/
 Source0:
https://github.com/fmtlib/fmt/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:baselibs.conf

++ fmt-6.1.2.tar.gz -> fmt-6.2.0.tar.gz ++
 8037 lines of diff (skipped)




commit fmt for openSUSE:Factory

2019-12-23 Thread root
Hello community,

here is the log from the commit of package fmt for openSUSE:Factory checked in 
at 2019-12-23 22:36:21

Comparing /work/SRC/openSUSE:Factory/fmt (Old)
 and  /work/SRC/openSUSE:Factory/.fmt.new.6675 (New)


Package is "fmt"

Mon Dec 23 22:36:21 2019 rev:5 rq:756026 version:6.1.2

Changes:

--- /work/SRC/openSUSE:Factory/fmt/fmt.changes  2019-12-11 12:00:06.668866899 
+0100
+++ /work/SRC/openSUSE:Factory/.fmt.new.6675/fmt.changes2019-12-23 
22:38:27.917846898 +0100
@@ -1,0 +2,157 @@
+Wed Dec 11 16:57:03 UTC 2019 - Luigi Baldoni 
+
+- Update to version 6.1.2
+  * Fixed ABI compatibility with libfmt.so.6.0.0 (#1471).
+  * Fixed handling types convertible to std::string_view (#1451).
+Thanks @denizevrenci (Deniz Evrenci).
+  * Made CUDA test an opt-in enabled via the FMT_CUDA_TEST CMake
+option.
+  * Fixed sign conversion warnings (#1440). Thanks @0x8000-
+(Florin Iucha).
+
+---
+Thu Dec  5 15:43:30 UTC 2019 - Luigi Baldoni 
+
+- Update to version 6.1.1
+  * Added a missing decimal point in exponent notation with
+trailing zeros.
+  * Removed deprecated format_arg_store::TYPES.
+
+---
+Wed Dec  4 11:34:50 UTC 2019 - Luigi Baldoni 
+
+- Update to version 6.1.0
+  * {fmt} now formats IEEE 754 ``float`` and ``double`` using
+the shortest decimal representation with correct rounding by
+default:
+.. code:: c++
+
+   #include 
+   #include 
+
+   int main() {
+ fmt::print("{}", M_PI);
+   }
+
+prints ``3.141592653589793``.
+  * Made the fast binary to decimal floating-point formatter the
+default, simplified it and improved performance. {fmt} is now
+15 times faster than libc++'s ``std::ostringstream``, 11
+times faster than ``printf`` and 10% faster than
+double-conversion on `dtoa-benchmark
+(https://github.com/fmtlib/dtoa-benchmark)
+
+==  =  ===
+FunctionTime (ns)  Speedup
+==  =  ===
+ostringstream1,346.301.00x
+ostrstream   1,195.741.13x
+sprintf995.081.35x
+doubleconv  99.10   13.59x
+fmt 88.34   15.24x
+==  =  ===
+  * {fmt} no longer converts ``float`` arguments to ``double``.
+In particular this improves the default (shortest)
+representation of floats and makes
+``fmt::format`` consistent with ``std::format`` specs
+(#1336, #1353, #1360, #1361)
+.. code:: c++
+
+   fmt::print("{}", 0.1f);
+
+prints ``0.1`` instead of ``0.1000149011612``.
+  * Made floating-point formatting output consistent with
+``printf``/iostreams (#1376, #1417)
+  * Added support for 128-bit integers (#1287)
+.. code:: c++
+
+   fmt::print("{}", std::numeric_limits<__int128_t>::max());
+
+prints ``170141183460469231731687303715884105727``.
+  * The overload of ``print`` that takes ``text_style`` is now
+atomic, i.e. the output from different threads doesn't
+interleave (#1351)
+  * Made compile time in the header-only mode ~20% faster by
+reducing the number of template instantiations. ``wchar_t``
+overload of ``vprint`` was moved from
+``fmt/core.h`` to ``fmt/format.h``.
+  * Added an overload of ``fmt::join`` that works with tuples
+(#1322, #1330)
+.. code:: c++
+
+   #include 
+   #include 
+
+   int main() {
+ std::tuple t{'a', 1, 2.0f};
+ fmt::print("{}", t);
+   }
+
+prints ``('a', 1, 2.0)``.
+  * Changed formatting of octal zero with prefix from "0o0" to
+"0":
+.. code:: c++
+
+   fmt::print("{:#o}", 0);
+
+prints ``0``.
+  * The locale is now passed to ostream insertion (``<<``)
+operators (#1406)
+.. code:: c++
+
+   #include 
+   #include 
+
+   struct S {
+ double value;
+   };
+
+   std::ostream& operator<<(std::ostream& os, S s) {
+ return os << s.value;
+   }
+
+   int main() {
+ auto s = fmt::format(std::locale("fr_FR.UTF-8"), "{}", S{0.42});
+ // s == "0,42"
+   }
+  * Locale-specific number formatting now uses grouping (#1393,
+#1394)
+  * Fixed handling of types with deleted implicit rvalue
+conversion to ``const char**`` (#1421)
+.. code:: c++
+
+   struct mystring {
+ operator const char*() const&;
+ operator const char*() &;
+ operator const char*() const&& = delete;
+ operator const char*() && = delete;
+   };
+   mystring str;
+   fmt::print("{}", str); // now compiles
+  * Enums are now mapped to correct underlying types instead of
+``int`` (#1286)
+  * Enum 

commit fmt for openSUSE:Factory

2019-12-11 Thread root
Hello community,

here is the log from the commit of package fmt for openSUSE:Factory checked in 
at 2019-12-11 11:59:49

Comparing /work/SRC/openSUSE:Factory/fmt (Old)
 and  /work/SRC/openSUSE:Factory/.fmt.new.4691 (New)


Package is "fmt"

Wed Dec 11 11:59:49 2019 rev:4 rq:753962 version:6.0.0

Changes:

--- /work/SRC/openSUSE:Factory/fmt/fmt.changes  2019-03-26 15:45:43.524073226 
+0100
+++ /work/SRC/openSUSE:Factory/.fmt.new.4691/fmt.changes2019-12-11 
12:00:06.668866899 +0100
@@ -1,0 +2,17 @@
+Sun Dec  1 08:54:54 UTC 2019 - Luigi Baldoni 
+
+- Added fmt-bigendian_1.patch, fmt-bigendian_2.patch,
+  fmt-bigendian_3.patch and fmt-bigendian_4.patch to fix tests
+  on big endian targets
+
+---
+Fri Nov 29 08:46:30 UTC 2019 - Luigi Baldoni 
+
+- Update to version 6.0.0
+  (too many changes to list, see ChangeLog.rst)
+- Dropped 0001-install-pkg-config-file-into-libdir.patch (no
+  longer necessary)
+- Switched to MIT license
+- Increased SOVERSION to 6
+
+---

Old:

  0001-install-pkg-config-file-into-libdir.patch
  fmt-5.3.0.tar.gz

New:

  fmt-6.0.0.tar.gz
  fmt-bigendian_1.patch
  fmt-bigendian_2.patch
  fmt-bigendian_3.patch
  fmt-bigendian_4.patch



Other differences:
--
++ fmt.spec ++
--- /var/tmp/diff_new_pack.w7eG9N/_old  2019-12-11 12:00:07.948866360 +0100
+++ /var/tmp/diff_new_pack.w7eG9N/_new  2019-12-11 12:00:07.952866358 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package fmt
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,17 +16,24 @@
 #
 
 
-%define sover   5
+%define sover   6
 Name:   fmt
-Version:5.3.0
+Version:6.0.0
 Release:0
 Summary:A formatting library for C++
-License:BSD-2-Clause
+License:MIT
 Group:  Development/Libraries/C and C++
 URL:http://fmtlib.net/
 Source0:
https://github.com/fmtlib/fmt/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
-Patch0: 0001-install-pkg-config-file-into-libdir.patch
+# PATCH-FIX-UPSTREAM fmt-bigendian_1.patch
+Patch0: fmt-bigendian_1.patch
+# PATCH-FIX-UPSTREAM fmt-bigendian_2.patch
+Patch1: fmt-bigendian_2.patch
+# PATCH-FIX-UPSTREAM fmt-bigendian_3.patch
+Patch2: fmt-bigendian_3.patch
+# PATCH-FIX-UPSTREAM fmt-bigendian_4.patch
+Patch3: fmt-bigendian_4.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.w7eG9N/_old  2019-12-11 12:00:07.984866345 +0100
+++ /var/tmp/diff_new_pack.w7eG9N/_new  2019-12-11 12:00:07.984866345 +0100
@@ -1 +1 @@
-libfmt5
+libfmt6

++ fmt-5.3.0.tar.gz -> fmt-6.0.0.tar.gz ++
 33343 lines of diff (skipped)

++ fmt-bigendian_1.patch ++
>From bb205d940d8929d086eadb59705349dbdaa1a274 Mon Sep 17 00:00:00 2001
From: Victor Zverovich 
Date: Fri, 29 Nov 2019 05:15:59 -0800
Subject: [PATCH] Fix fallback pointer formatting on big endian

---
 include/fmt/format-inl.h |  2 +-
 include/fmt/format.h | 40 
 test/format-impl-test.cc |  2 +-
 3 files changed, 30 insertions(+), 14 deletions(-)

Index: fmt-6.0.0/include/fmt/format-inl.h
===
--- fmt-6.0.0.orig/include/fmt/format-inl.h
+++ fmt-6.0.0/include/fmt/format-inl.h
@@ -241,7 +241,7 @@ FMT_FUNC void system_error::init(int err
 namespace internal {
 
 template <> FMT_FUNC int count_digits<4>(internal::fallback_uintptr n) {
-  // Assume little endian; pointer formatting is implementation-defined anyway.
+  // fallback_uintptr is always stored in little endian.
   int i = static_cast(sizeof(void*)) - 1;
   while (i > 0 && n.value[i] == 0) --i;
   auto char_digits = std::numeric_limits::digits / 4;
Index: fmt-6.0.0/include/fmt/format.h
===
--- fmt-6.0.0.orig/include/fmt/format.h
+++ fmt-6.0.0/include/fmt/format.h
@@ -196,17 +196,7 @@ FMT_END_NAMESPACE
 FMT_BEGIN_NAMESPACE
 namespace internal {
 
-// A fallback implementation of uintptr_t for systems that lack it.
-struct fallback_uintptr {
-  unsigned char value[sizeof(void*)];
-};
-#ifdef UINTPTR_MAX
-using uintptr_t = ::uintptr_t;
-#else
-using uintptr_t = fallback_uintptr;
-#endif
-
-// An equivalent of `*reinterpret_cast()` that doesn't produce
+// An equivalent of `*reinterpret_cast()` that doesn't have
 // undefined 

commit fmt for openSUSE:Factory

2019-03-26 Thread root
Hello community,

here is the log from the commit of package fmt for openSUSE:Factory checked in 
at 2019-03-26 15:45:38

Comparing /work/SRC/openSUSE:Factory/fmt (Old)
 and  /work/SRC/openSUSE:Factory/.fmt.new.25356 (New)


Package is "fmt"

Tue Mar 26 15:45:38 2019 rev:3 rq:688601 version:5.3.0

Changes:

--- /work/SRC/openSUSE:Factory/fmt/fmt.changes  2019-01-15 09:17:45.498158217 
+0100
+++ /work/SRC/openSUSE:Factory/.fmt.new.25356/fmt.changes   2019-03-26 
15:45:43.524073226 +0100
@@ -1,0 +2,6 @@
+Mon Mar 25 16:21:01 UTC 2019 - o...@aepfle.de
+
+- Install fmt.pc into libdir with
+  0001-install-pkg-config-file-into-libdir.patch
+
+---

New:

  0001-install-pkg-config-file-into-libdir.patch



Other differences:
--
++ fmt.spec ++
--- /var/tmp/diff_new_pack.Z8bmeB/_old  2019-03-26 15:45:44.468072772 +0100
+++ /var/tmp/diff_new_pack.Z8bmeB/_new  2019-03-26 15:45:44.472072770 +0100
@@ -26,6 +26,7 @@
 URL:http://fmtlib.net/
 Source0:
https://github.com/fmtlib/fmt/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
+Patch0: 0001-install-pkg-config-file-into-libdir.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
@@ -50,7 +51,7 @@
 Development files for fmt, a formatting library for C++.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %cmake -DCMAKE_INSTALL_INCLUDEDIR:PATH=%{_includedir}
@@ -81,6 +82,6 @@
 %{_includedir}/%{name}
 %{_libdir}/cmake/%{name}
 %{_libdir}/libfmt.so
-%{_datadir}/pkgconfig/%{name}.pc
+%{_libdir}/pkgconfig/%{name}.pc
 
 %changelog

++ 0001-install-pkg-config-file-into-libdir.patch ++
From: Olaf Hering 
Date: Mon, 25 Mar 2019 17:10:40 +0100
Subject: install pkg-config file into libdir

Most pkgconfig files contain a Libs: variable, which is either /usr/lib
or /usr/lib64. If a 32bit and a 64bit variant of fmt libraries is
installed, the last one wins. As a result compiling for the other
bitsize will fail.

Instead of sharedir use libdir as install target.

Fixes commit 9d0c9c4bb145a286f725cd38c90331eee7addc7f
Fixes commit 287342dab10a5a96479b3e21cd11ce671ed8125c

Signed-off-by: Olaf Hering 
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/CMakeLists.txt
+++ b/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.



commit fmt for openSUSE:Factory

2019-01-15 Thread root
Hello community,

here is the log from the commit of package fmt for openSUSE:Factory checked in 
at 2019-01-15 09:17:24

Comparing /work/SRC/openSUSE:Factory/fmt (Old)
 and  /work/SRC/openSUSE:Factory/.fmt.new.28833 (New)


Package is "fmt"

Tue Jan 15 09:17:24 2019 rev:2 rq:665283 version:5.3.0

Changes:

--- /work/SRC/openSUSE:Factory/fmt/fmt.changes  2018-12-12 17:28:06.786905143 
+0100
+++ /work/SRC/openSUSE:Factory/.fmt.new.28833/fmt.changes   2019-01-15 
09:17:45.498158217 +0100
@@ -1,0 +2,21 @@
+Sat Jan 12 18:29:40 UTC 2019 - Ferdinand Thiessen 
+
+- Update to version 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
+  * 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
+  * Removed undocumented basic_fixed_buffer which has been
+   superseded by the iterator-based API
+  * Disallowed repeated leading zeros in an argument ID
+  * Deprecated fmt::visit, parse_context, and wparse_context.
+   Use fmt::visit_format_arg, format_parse_context, and
+   wformat_parse_context instead.
+- Removed upstream merged fix-fmt_pc.patch
+
+---

Old:

  fix-fmt_pc.patch
  fmt-5.2.1.tar.gz

New:

  fmt-5.3.0.tar.gz



Other differences:
--
++ fmt.spec ++
--- /var/tmp/diff_new_pack.5B2FFw/_old  2019-01-15 09:17:46.038157713 +0100
+++ /var/tmp/diff_new_pack.5B2FFw/_new  2019-01-15 09:17:46.042157709 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package fmt
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define sover   5
 Name:   fmt
-Version:5.2.1
+Version:5.3.0
 Release:0
 Summary:A formatting library for C++
 License:BSD-2-Clause
@@ -26,8 +26,6 @@
 URL:http://fmtlib.net/
 Source0:
https://github.com/fmtlib/fmt/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
-# PATCH-FIX-UPSTREAM fix-fmt_pc.patch
-Patch0: fix-fmt_pc.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
@@ -52,7 +50,7 @@
 Development files for fmt, a formatting library for C++.
 
 %prep
-%autosetup -p1
+%setup -q
 
 %build
 %cmake -DCMAKE_INSTALL_INCLUDEDIR:PATH=%{_includedir}

++ fmt-5.2.1.tar.gz -> fmt-5.3.0.tar.gz ++
 8945 lines of diff (skipped)