Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add graphviz #512

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added f/fmt/manifest.x86_64.bin
Binary file not shown.
55 changes: 55 additions & 0 deletions f/fmt/manifest.x86_64.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/** Human readable report. This is not consumed by boulder */
{
"manifest-version": "0.2",
"packages": {
"fmt": {
"depends": [
"soname(libc++.so.1(x86_64))",
"soname(libc.so.6(x86_64))",
"soname(libunwind.so.1(x86_64))"
],
"files": [
"/usr/lib/libfmt.so.10",
"/usr/lib/libfmt.so.10.2.1"
],
"name": "fmt",
"provides": [
"soname(libfmt.so.10(x86_64))"
]
},
"fmt-devel": {
"depends": [
"fmt"
],
"files": [
"/usr/include/fmt/args.h",
"/usr/include/fmt/chrono.h",
"/usr/include/fmt/color.h",
"/usr/include/fmt/compile.h",
"/usr/include/fmt/core.h",
"/usr/include/fmt/format-inl.h",
"/usr/include/fmt/format.h",
"/usr/include/fmt/os.h",
"/usr/include/fmt/ostream.h",
"/usr/include/fmt/printf.h",
"/usr/include/fmt/ranges.h",
"/usr/include/fmt/std.h",
"/usr/include/fmt/xchar.h",
"/usr/lib/cmake/fmt/fmt-config-version.cmake",
"/usr/lib/cmake/fmt/fmt-config.cmake",
"/usr/lib/cmake/fmt/fmt-targets-release.cmake",
"/usr/lib/cmake/fmt/fmt-targets.cmake",
"/usr/lib/libfmt.so",
"/usr/lib/pkgconfig/fmt.pc"
],
"name": "fmt-devel",
"provides": [
"cmake(fmt)",
"pkgconfig(fmt)"
]
}
},
"source-name": "fmt",
"source-release": "1",
"source-version": "10.2.1"
}
7 changes: 7 additions & 0 deletions f/fmt/monitoring.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
releases:
id: 11526
rss: https://github.com/fmtlib/fmt/tags.atom
security:
cpe:
- vendor: fmt
product: fmt
37 changes: 37 additions & 0 deletions f/fmt/pkg/0001-Fix-handling-of-static-separator.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
From ad9ba5aa82d2b1e232c71203de165fa61ce02d4c Mon Sep 17 00:00:00 2001
From: Victor Zverovich <[email protected]>
Date: Fri, 9 Feb 2024 15:58:56 -0800
Subject: [PATCH] Fix handling of static separator

---
include/fmt/format-inl.h | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h
index efac5d1f..78c52ce8 100644
--- a/include/fmt/format-inl.h
+++ b/include/fmt/format-inl.h
@@ -114,7 +114,11 @@ template <typename Char> FMT_FUNC Char decimal_point_impl(locale_ref) {

FMT_FUNC auto write_loc(appender out, loc_value value,
const format_specs<>& specs, locale_ref loc) -> bool {
-#ifndef FMT_STATIC_THOUSANDS_SEPARATOR
+#ifdef FMT_STATIC_THOUSANDS_SEPARATOR
+ value.visit(loc_writer<>{
+ out, specs, std::string(1, FMT_STATIC_THOUSANDS_SEPARATOR), "\3", "."});
+ return true;
+#else
auto locale = loc.get<std::locale>();
// We cannot use the num_put<char> facet because it may produce output in
// a wrong encoding.
@@ -123,7 +127,6 @@ FMT_FUNC auto write_loc(appender out, loc_value value,
return std::use_facet<facet>(locale).put(out, value, specs);
return facet(locale).put(out, value, specs);
#endif
- return false;
}
} // namespace detail

--
2.44.0

23 changes: 23 additions & 0 deletions f/fmt/stone.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#
# SPDX-FileCopyrightText: © 2020-2024 Serpent OS Developers
#
# SPDX-License-Identifier: MPL-2.0
#
name : fmt
version : 10.2.1
release : 1
homepage : https://fmt.dev/
upstreams :
- https://github.com/fmtlib/fmt/archive/refs/tags/10.2.1.tar.gz : 1250e4cc58bf06ee631567523f48848dc4596133e163f02615c97f78bab6c811
summary : Small, safe and fast formatting C++ library
description : |
{fmt} is an open-source formatting library for C++. It can be used as a safe and fast alternative to (s)printf and IOStreams.
license : BSD-2-Clause
setup : |
%patch %(pkgdir)/0001-Fix-handling-of-static-separator.patch

%cmake -DBUILD_SHARED_LIBS=ON
build : |
%cmake_build
install : |
%cmake_install
Binary file added g/graphviz/manifest.x86_64.bin
Binary file not shown.
Loading
Loading