From 4a6b31475f21d187581c62785f6338d45d4657fa Mon Sep 17 00:00:00 2001 From: 0x5c Date: Thu, 11 Jun 2026 01:56:18 -0400 Subject: [PATCH 1/3] guidelines-support-library: update to 4.2.2. --- srcpkgs/guidelines-support-library/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/guidelines-support-library/template b/srcpkgs/guidelines-support-library/template index af77bd49417333..242ac6cbf542a2 100644 --- a/srcpkgs/guidelines-support-library/template +++ b/srcpkgs/guidelines-support-library/template @@ -1,6 +1,6 @@ # Template file for 'guidelines-support-library' pkgname=guidelines-support-library -version=4.0.0 +version=4.2.2 revision=1 build_style=cmake configure_args="-DGSL_TEST:BOOL=OFF" @@ -9,7 +9,7 @@ maintainer="0x5c " license="MIT" homepage="https://github.com/microsoft/GSL" distfiles="https://github.com/microsoft/GSL/archive/refs/tags/v${version}.tar.gz" -checksum=f0e32cb10654fea91ad56bde89170d78cfbf4363ee0b01d8f097de2ba49f6ce9 +checksum=59e2a0a0ea22e8bcf9db2dc4d4bd21212ac6595748295fc27a7e02cf75eac4b5 post_install() { vlicense LICENSE From ac5a5425ac0849dbff60af7279eea723e27fdc75 Mon Sep 17 00:00:00 2001 From: 0x5c Date: Thu, 11 Jun 2026 02:02:05 -0400 Subject: [PATCH 2/3] libunicode: update to 0.9.0. Unbroken on 32bit architectures, and removed dead changelog link. --- common/shlibs | 5 ++--- srcpkgs/libunicode/template | 15 ++++++--------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/common/shlibs b/common/shlibs index 32b040e4df0d9a..033dac818986b4 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4507,9 +4507,6 @@ libdraco.so.8 draco-1.5.6_1 libpdalcpp.so.17 libpdal-2.7.0_1 libdisplay-info.so.2 libdisplay-info-0.2.0_1 libsqsh.so.1 libsqsh-1.3.0_1 -libunicode.so.0.4 libunicode-0.4.0_1 -libunicode_ucd.so.0.4 libunicode-0.4.0_1 -libunicode_loader.so.0.4 libunicode-0.4.0_1 force-stage.so.0.1 void-force-stage-0.1_1 libliftoff.so.0 libliftoff-0.4.1_1 libscfg.so libscfg-0.1.1_1 @@ -4587,3 +4584,5 @@ libgpiodcxx.so.2 libgpiod-2.2_4 libigloo.so.0 libigloo-0.9.5_1 libfyaml.so.0 libfyaml-0.9.6_1 libcpptrace.so.1 cpptrace-1.0.4_1 +libunicode.so.0.9 libunicode-0.9.0_1 +libunicode_ucd.so.0.9 libunicode-0.9.0_1 diff --git a/srcpkgs/libunicode/template b/srcpkgs/libunicode/template index d79dd26d229370..dae04e8c3a89ef 100644 --- a/srcpkgs/libunicode/template +++ b/srcpkgs/libunicode/template @@ -1,26 +1,23 @@ # Template file for 'libunicode' pkgname=libunicode -version=0.4.0 +version=0.9.0 revision=1 -_ucd_version=15.0.0 +_ucd_version=17.0.0 build_style=cmake build_helper="qemu" configure_args="-DLIBUNICODE_TESTING=OFF" -hostmakedepends="python3" -makedepends="fmt-devel" -short_desc="Modern C++17 Unicode library" +short_desc="Modern C++20 Unicode library" maintainer="0x5c " license="Apache-2.0" homepage="https://github.com/contour-terminal/libunicode" -changelog="https://github.com/contour-terminal/libunicode/raw/master/Changelog.md" distfiles="https://github.com/contour-terminal/libunicode/archive/refs/tags/v${version}.tar.gz https://www.unicode.org/Public/${_ucd_version}/ucd/UCD.zip>ucd-${_ucd_version}.zip" -checksum="a5c8ba2cd3df539985bfafe43f812de143a56f01e4074e95831a37a13606beda - 5fbde400f3e687d25cc9b0a8d30d7619e76cb2f4c3e85ba9df8ec1312cb6718c" +checksum="65affc5decf38e5c3e104b021e6d696c2f5bf305f20b475604901682f137e02a + 2066d1909b2ea93916ce092da1c0ee4808ea3ef8407c94b4f14f5b7eb263d28e" skip_extraction="ucd-${_ucd_version}.zip" if [ "$XBPS_TARGET_WORDSIZE" -eq 32 ]; then - broken="32bit architectures not currently supported, problems with SIMD" + configure_args+=" -DLIBUNICODE_SIMD_IMPLEMENTATION=std" fi post_extract() { From 4d16ce385d50399aa2642f48be00a254bef1529d Mon Sep 17 00:00:00 2001 From: 0x5c Date: Thu, 11 Jun 2026 02:55:34 -0400 Subject: [PATCH 3/3] contour: update to 0.6.3.8249. --- .../contour/patches/0000-phtread_musl.patch | 15 - .../patches/debug-symbols-please.patch | 21 + srcpkgs/contour/patches/fmt-11.patch | 1103 ----------------- srcpkgs/contour/template | 21 +- 4 files changed, 32 insertions(+), 1128 deletions(-) delete mode 100644 srcpkgs/contour/patches/0000-phtread_musl.patch create mode 100644 srcpkgs/contour/patches/debug-symbols-please.patch delete mode 100644 srcpkgs/contour/patches/fmt-11.patch diff --git a/srcpkgs/contour/patches/0000-phtread_musl.patch b/srcpkgs/contour/patches/0000-phtread_musl.patch deleted file mode 100644 index 557112d8b81d0c..00000000000000 --- a/srcpkgs/contour/patches/0000-phtread_musl.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/src/crispy/utils.cpp -+++ b/src/crispy/utils.cpp -@@ -31,8 +31,12 @@ - } - return ""s; - #else -+ #ifdef __GLIBC__ - char text[32] = {}; - pthread_getname_np(pthread_self(), text, sizeof(text)); - return text; -+ #else -+ return ""s; -+ #endif - #endif - } diff --git a/srcpkgs/contour/patches/debug-symbols-please.patch b/srcpkgs/contour/patches/debug-symbols-please.patch new file mode 100644 index 00000000000000..7e40d33dd2b550 --- /dev/null +++ b/srcpkgs/contour/patches/debug-symbols-please.patch @@ -0,0 +1,21 @@ +Upstream thinks this fixes a compile-time assert +https://github.com/contour-terminal/contour/pull/1717 + +As far as we care, the compile-time assertion error does not exist and +we want our debug symbols. + +-- + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -62,10 +62,6 @@ + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexperimental-library") + endif() + +-# CMAKE_BUILD_TYPE check for None +-if(CMAKE_BUILD_TYPE STREQUAL "None") +- add_compile_definitions(-DNDEBUG) +-endif() + + if (CONTOUR_BUILD_WITH_MIMALLOC) + add_definitions(-DCONTOUR_BUILD_WITH_MIMALLOC) diff --git a/srcpkgs/contour/patches/fmt-11.patch b/srcpkgs/contour/patches/fmt-11.patch deleted file mode 100644 index a9a998d044b1f9..00000000000000 --- a/srcpkgs/contour/patches/fmt-11.patch +++ /dev/null @@ -1,1103 +0,0 @@ ---- a/src/vtbackend/Line.h -+++ b/src/vtbackend/Line.h -@@ -447,7 +447,7 @@ inline typename Line::InflatedBuff - template <> - struct fmt::formatter: formatter - { -- auto format(const vtbackend::LineFlags flags, format_context& ctx) -> format_context::iterator -+ auto format(const vtbackend::LineFlags flags, format_context& ctx) const -> format_context::iterator - { - static const std::array, 3> nameMap = { - std::pair { vtbackend::LineFlag::Wrappable, std::string_view("Wrappable") }, ---- a/src/contour/Actions.h -+++ b/src/contour/Actions.h -@@ -141,7 +141,7 @@ std::optional fromString(std::st - template <> \ - struct fmt::formatter: fmt::formatter \ - { \ -- auto format(contour::actions::T const&, format_context& ctx) -> format_context::iterator \ -+ auto format(contour::actions::T const&, format_context& ctx) const -> format_context::iterator \ - { \ - return formatter::format(#T, ctx); \ - } \ -@@ -208,7 +208,7 @@ DECLARE_ACTION_FMT(WriteScreen) - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(contour::actions::Action const& _action, format_context& ctx) -> format_context::iterator -+ auto format(contour::actions::Action const& _action, format_context& ctx) const -> format_context::iterator - { - std::string name = "Unknown action"; - // {{{ handle -@@ -274,7 +274,7 @@ struct fmt::formatter -- auto format(contour::actions::CopyFormat value, FormatContext& ctx) -+ auto format(contour::actions::CopyFormat value, FormatContext& ctx) const - { - switch (value) - { ---- a/src/contour/Config.h -+++ b/src/contour/Config.h -@@ -361,7 +361,7 @@ struct fmt::formatter -- auto format(contour::config::Permission const& perm, FormatContext& ctx) -+ auto format(contour::config::Permission const& perm, FormatContext& ctx) const - { - switch (perm) - { -@@ -383,7 +383,7 @@ struct fmt::formatter -- auto format(SelectionAction value, FormatContext& ctx) -+ auto format(SelectionAction value, FormatContext& ctx) const - { - switch (value) - { -@@ -406,7 +406,7 @@ struct fmt::formatter -- auto format(ScrollBarPosition value, FormatContext& ctx) -+ auto format(ScrollBarPosition value, FormatContext& ctx) const - { - switch (value) - { -@@ -422,7 +422,7 @@ template <> - struct fmt::formatter: public fmt::formatter - { - using WindowMargins = contour::config::TerminalProfile::WindowMargins; -- auto format(WindowMargins margins, format_context& ctx) -> format_context::iterator -+ auto format(WindowMargins margins, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("{}x+{}y", margins.horizontal, margins.vertical), - ctx); ---- a/src/contour/TerminalSession.h -+++ b/src/contour/TerminalSession.h -@@ -461,7 +461,7 @@ struct formatter - } - - template -- auto format(contour::GuardedRole value, FormatContext& ctx) -+ auto format(contour::GuardedRole value, FormatContext& ctx) const - { - switch (value) - { ---- a/src/crispy/StrongHash.h -+++ b/src/crispy/StrongHash.h -@@ -308,7 +308,7 @@ struct fmt::formatter -- auto format(crispy::strong_hash const& hash, FormatContext& ctx) -+ auto format(crispy::strong_hash const& hash, FormatContext& ctx) const - { - return fmt::format_to(ctx.out(), "{}", to_structured_string(hash)); - } ---- a/src/crispy/StrongLRUHashtable.h -+++ b/src/crispy/StrongLRUHashtable.h -@@ -42,7 +42,7 @@ struct lru_hashtable_stats - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(crispy::lru_hashtable_stats stats, format_context& ctx) -> format_context::iterator -+ auto format(crispy::lru_hashtable_stats stats, format_context& ctx) const -> format_context::iterator - { - return formatter::format( - fmt::format( ---- a/src/crispy/file_descriptor.h -+++ b/src/crispy/file_descriptor.h -@@ -121,7 +121,7 @@ using file_descriptor = native_handle - struct fmt::formatter: fmt::formatter - { -- auto format(HANDLE value, format_context& ctx) -> format_context::iterator -+ auto format(HANDLE value, format_context& ctx) const -> format_context::iterator - { - auto str = fmt::format("0x{:X}", (unsigned long long) (value)); - return fmt::formatter::format(str, ctx); -@@ -132,7 +132,7 @@ struct fmt::formatter: fmt::form - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(crispy::file_descriptor const& fd, format_context& ctx) -> format_context::iterator -+ auto format(crispy::file_descriptor const& fd, format_context& ctx) const -> format_context::iterator - { - return fmt::formatter::format(fd.get(), ctx); - } ---- a/src/crispy/flags.h -+++ b/src/crispy/flags.h -@@ -135,7 +135,7 @@ class flags - template - struct fmt::formatter>: public fmt::formatter - { -- auto format(crispy::flags const& flags, format_context& ctx) -> format_context::iterator -+ auto format(crispy::flags const& flags, format_context& ctx) const -> format_context::iterator - { - std::string result; - for (auto i = 0u; i < sizeof(Enum) * 8; ++i) ---- a/src/crispy/point.h -+++ b/src/crispy/point.h -@@ -89,7 +89,7 @@ constexpr inline bool operator!=(point c - template <> - struct fmt::formatter: formatter - { -- auto format(crispy::point coord, format_context& ctx) -> format_context::iterator -+ auto format(crispy::point coord, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("({}, {})", coord.x, coord.y), ctx); - } ---- a/src/text_shaper/font.h -+++ b/src/text_shaper/font.h -@@ -330,7 +330,7 @@ struct hash - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(text::DPI dpi, format_context& ctx) -> format_context::iterator -+ auto format(text::DPI dpi, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("{}x{}", dpi.x, dpi.y), ctx); - } -@@ -339,7 +339,7 @@ struct fmt::formatter: fmt::f - template <> - struct fmt::formatter: formatter - { -- auto format(text::font_weight value, format_context& ctx) -> format_context::iterator -+ auto format(text::font_weight value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -364,7 +364,7 @@ struct fmt::formatter - template <> - struct fmt::formatter: formatter - { -- auto format(text::font_slant value, format_context& ctx) -> format_context::iterator -+ auto format(text::font_slant value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -380,7 +380,7 @@ struct fmt::formatter: - template <> - struct fmt::formatter: formatter - { -- auto format(text::font_spacing value, format_context& ctx) -> format_context::iterator -+ auto format(text::font_spacing value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -395,7 +395,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(text::font_description const& desc, format_context& ctx) -> format_context::iterator -+ auto format(text::font_description const& desc, format_context& ctx) const -> format_context::iterator - { - return formatter::format( - fmt::format("(family={} weight={} slant={} spacing={}, strict_spacing={})", -@@ -411,7 +411,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(text::font_metrics const& metrics, format_context& ctx) -> format_context::iterator -+ auto format(text::font_metrics const& metrics, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("({}, {}, {}, {}, {}, {})", - metrics.lineHeight, -@@ -427,7 +427,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(text::font_size size, format_context& ctx) -> format_context::iterator -+ auto format(text::font_size size, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("{}pt", size.pt), ctx); - } -@@ -436,7 +436,7 @@ struct fmt::formatter: - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(text::font_key key, format_context& ctx) -> format_context::iterator -+ auto format(text::font_key key, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("{}", key.value), ctx); - } -@@ -445,7 +445,7 @@ struct fmt::formatter: f - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(text::glyph_index value, format_context& ctx) -> format_context::iterator -+ auto format(text::glyph_index value, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("{}", value.value), ctx); - } -@@ -454,7 +454,7 @@ struct fmt::formatter - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(text::glyph_key const& key, format_context& ctx) -> format_context::iterator -+ auto format(text::glyph_key const& key, format_context& ctx) const -> format_context::iterator - { - #if defined(GLYPH_KEY_DEBUG) - return formatter::format( -@@ -474,7 +474,7 @@ struct fmt::formatter: - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(text::font_feature value, format_context& ctx) -> format_context::iterator -+ auto format(text::font_feature value, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("{}{}{}{}{}", - value.enabled ? '+' : '-', -@@ -489,7 +489,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(text::render_mode value, format_context& ctx) -> format_context::iterator -+ auto format(text::render_mode value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) ---- a/src/text_shaper/font_locator.h -+++ b/src/text_shaper/font_locator.h -@@ -76,7 +76,7 @@ class font_locator - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(text::font_path spec, format_context& ctx) -> format_context::iterator -+ auto format(text::font_path spec, format_context& ctx) const -> format_context::iterator - { - auto weightMod = spec.weight ? fmt::format(" {}", spec.weight.value()) : ""; - auto slantMod = spec.slant ? fmt::format(" {}", spec.slant.value()) : ""; -@@ -88,7 +88,7 @@ struct fmt::formatter: - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(text::font_memory_ref ref, format_context& ctx) -> format_context::iterator -+ auto format(text::font_memory_ref ref, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("in-memory: {}", ref.identifier), ctx); - } -@@ -97,7 +97,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(text::font_source source, format_context& ctx) -> format_context::iterator -+ auto format(text::font_source source, format_context& ctx) const -> format_context::iterator - { - std::string text; - if (std::holds_alternative(source)) ---- a/src/text_shaper/shaper.h -+++ b/src/text_shaper/shaper.h -@@ -159,7 +159,7 @@ class shaper - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(text::bitmap_format value, format_context& ctx) -> format_context::iterator -+ auto format(text::bitmap_format value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -175,7 +175,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(text::glyph_position const& gpos, format_context& ctx) -> format_context::iterator -+ auto format(text::glyph_position const& gpos, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("({}+{}+{}|{}+{})", - gpos.glyph.index.value, -@@ -190,7 +190,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(text::rasterized_glyph const& glyph, format_context& ctx) -> format_context::iterator -+ auto format(text::rasterized_glyph const& glyph, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("rasterized_glyph({}, {}+{}, {})", - glyph.index.value, ---- a/src/vtbackend/Capabilities.h -+++ b/src/vtbackend/Capabilities.h -@@ -107,7 +107,7 @@ class StaticDatabase: public Database - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(vtbackend::capabilities::Code value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::capabilities::Code value, format_context& ctx) const -> format_context::iterator - { - return formatter::format(value.hex(), ctx); - } ---- a/src/vtbackend/CellFlags.h -+++ b/src/vtbackend/CellFlags.h -@@ -42,7 +42,7 @@ using CellFlags = crispy::flags - struct fmt::formatter: fmt::formatter - { -- auto format(const vtbackend::CellFlag value, format_context& ctx) -> format_context::iterator -+ auto format(const vtbackend::CellFlag value, format_context& ctx) const -> format_context::iterator - { - string_view s; - ---- a/src/vtbackend/Color.h -+++ b/src/vtbackend/Color.h -@@ -401,7 +401,7 @@ constexpr Opacity& operator--(Opacity& v - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(vtbackend::Color value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::Color value, format_context& ctx) const -> format_context::iterator - { - return formatter::format(to_string(value), ctx); - } -@@ -410,7 +410,7 @@ struct fmt::formatter: - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(vtbackend::RGBColor value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::RGBColor value, format_context& ctx) const -> format_context::iterator - { - return formatter::format(to_string(value), ctx); - } -@@ -420,7 +420,7 @@ template <> - struct fmt::formatter: fmt::formatter - { - template -- auto format(vtbackend::RGBAColor value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::RGBAColor value, format_context& ctx) const -> format_context::iterator - { - return formatter::format(to_string(value), ctx); - } -@@ -429,7 +429,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(vtbackend::CellRGBColor value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::CellRGBColor value, format_context& ctx) const -> format_context::iterator - { - if (std::holds_alternative(value)) - return formatter::format("CellForeground", ctx); -@@ -443,7 +443,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(vtbackend::RGBColorPair value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::RGBColorPair value, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("{}/{}", value.foreground, value.background), ctx); - } ---- a/src/vtbackend/ColorPalette.h -+++ b/src/vtbackend/ColorPalette.h -@@ -151,7 +151,7 @@ RGBColor apply(ColorPalette const& color - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(vtbackend::ColorPreference value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::ColorPreference value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -166,7 +166,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(vtbackend::ColorMode value, fmt::format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::ColorMode value, fmt::format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -182,7 +182,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(vtbackend::ColorTarget value, fmt::format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::ColorTarget value, fmt::format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) ---- a/src/vtbackend/Functions.h -+++ b/src/vtbackend/Functions.h -@@ -932,7 +932,7 @@ struct std::hash - struct fmt::formatter: fmt::formatter - { -- auto format(const vtbackend::FunctionCategory value, format_context& ctx) -> format_context::iterator -+ auto format(const vtbackend::FunctionCategory value, format_context& ctx) const -> format_context::iterator - { - using vtbackend::FunctionCategory; - string_view name; -@@ -966,7 +966,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(const vtbackend::FunctionDefinition f, format_context& ctx) -> format_context::iterator -+ auto format(const vtbackend::FunctionDefinition f, format_context& ctx) const -> format_context::iterator - { - std::string value; - switch (f.category) -@@ -1016,7 +1016,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(const vtbackend::FunctionSelector f, format_context& ctx) -> format_context::iterator -+ auto format(const vtbackend::FunctionSelector f, format_context& ctx) const -> format_context::iterator - { - std::string value; - // clang-format off ---- a/src/vtbackend/Grid.h -+++ b/src/vtbackend/Grid.h -@@ -907,7 +907,7 @@ template - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(const vtbackend::Margin::Horizontal range, format_context& ctx) -> format_context::iterator -+ auto format(const vtbackend::Margin::Horizontal range, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("{}..{}", range.from, range.to), ctx); - } -@@ -916,7 +916,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(const vtbackend::Margin::Vertical range, format_context& ctx) -> format_context::iterator -+ auto format(const vtbackend::Margin::Vertical range, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("{}..{}", range.from, range.to), ctx); - } ---- a/src/vtbackend/Image.h -+++ b/src/vtbackend/Image.h -@@ -263,7 +263,7 @@ class ImagePool - template <> - struct fmt::formatter: formatter - { -- auto format(vtbackend::ImageFormat value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::ImageFormat value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -278,7 +278,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::ImageStats stats, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::ImageStats stats, format_context& ctx) const -> format_context::iterator - { - return formatter::format( - fmt::format( -@@ -290,7 +290,7 @@ struct fmt::formatter - struct fmt::formatter>: fmt::formatter - { -- auto format(std::shared_ptr const& image, format_context& ctx) -+ auto format(std::shared_ptr const& image, format_context& ctx) const - -> format_context::iterator - { - std::string text; -@@ -311,7 +311,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::ImageResize value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::ImageResize value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -328,7 +328,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::ImageAlignment value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::ImageAlignment value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -350,7 +350,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::RasterizedImage const& image, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::RasterizedImage const& image, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("RasterizedImage<{}, {}, {}, {}, {}>", - image.weak_from_this().use_count(), -@@ -365,7 +365,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(const vtbackend::ImageFragment& fragment, format_context& ctx) -> format_context::iterator -+ auto format(const vtbackend::ImageFragment& fragment, format_context& ctx) const -> format_context::iterator - { - return formatter::format( - fmt::format("ImageFragment", fragment.offset(), fragment.rasterizedImage()), ctx); ---- a/src/vtbackend/InputGenerator.h -+++ b/src/vtbackend/InputGenerator.h -@@ -554,7 +554,7 @@ inline std::string to_string(InputGenera - template <> - struct fmt::formatter: formatter - { -- auto format(vtbackend::KeyboardEventType value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::KeyboardEventType value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -570,7 +570,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::KeyboardEventFlag value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::KeyboardEventFlag value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -591,7 +591,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::MouseProtocol value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::MouseProtocol value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -609,7 +609,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::Modifier value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::Modifier value, format_context& ctx) const -> format_context::iterator - { - std::string_view name; - switch (value) -@@ -631,7 +631,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::InputGenerator::MouseWheelMode value, format_context& ctx) -+ auto format(vtbackend::InputGenerator::MouseWheelMode value, format_context& ctx) const - -> format_context::iterator - { - string_view name; -@@ -652,7 +652,7 @@ struct fmt::formatter - struct fmt::formatter: public formatter - { -- auto format(vtbackend::KeyMode value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::KeyMode value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -667,7 +667,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::MouseButton value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::MouseButton value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -688,7 +688,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::MouseTransport value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::MouseTransport value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -706,7 +706,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::Key value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::Key value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) ---- a/src/vtbackend/Logger.h -+++ b/src/vtbackend/Logger.h -@@ -63,7 +63,7 @@ template <> - struct fmt::formatter - { - static auto parse(format_parse_context& ctx) -> format_parse_context::iterator { return ctx.begin(); } -- static auto format(const vtbackend::LogEvent& ev, format_context& ctx) -> format_context::iterator -+ static auto format(const vtbackend::LogEvent& ev, format_context& ctx) const -> format_context::iterator - { - using namespace vtbackend; - return std::visit( ---- a/src/vtbackend/MatchModes.h -+++ b/src/vtbackend/MatchModes.h -@@ -110,7 +110,7 @@ constexpr bool operator!=(MatchModes a, - template <> - struct fmt::formatter: formatter - { -- auto format(vtbackend::MatchModes m, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::MatchModes m, format_context& ctx) const -> format_context::iterator - { - std::string s; - auto const advance = [&](vtbackend::MatchModes::Flag cond, std::string_view text) { ---- a/src/vtbackend/Selector.h -+++ b/src/vtbackend/Selector.h -@@ -186,7 +186,7 @@ template <> - struct fmt::formatter: formatter - { - using State = vtbackend::Selection::State; -- auto format(State state, format_context& ctx) -> format_context::iterator -+ auto format(State state, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (state) -@@ -202,7 +202,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(const vtbackend::Selection& selector, format_context& ctx) -> format_context::iterator -+ auto format(const vtbackend::Selection& selector, format_context& ctx) const -> format_context::iterator - { - return formatter::format( - fmt::format("{}({} from {} to {})", ---- a/src/vtbackend/Sequencer.h -+++ b/src/vtbackend/Sequencer.h -@@ -202,7 +202,7 @@ inline void Sequencer::paramSubSeparator - template <> - struct fmt::formatter: formatter - { -- auto format(vtbackend::RequestStatusString value, format_context& ctx) noexcept -+ auto format(vtbackend::RequestStatusString value, format_context& ctx) const noexcept - -> format_context::iterator - { - string_view name; -@@ -233,7 +233,7 @@ struct fmt::formatter -- auto format(vtbackend::Sequence const& seq, FormatContext& ctx) -+ auto format(vtbackend::Sequence const& seq, FormatContext& ctx) const - { - return fmt::format_to(ctx.out(), "{}", seq.text()); - } ---- a/src/vtbackend/Terminal.h -+++ b/src/vtbackend/Terminal.h -@@ -885,7 +885,7 @@ class Terminal - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(vtbackend::TraceHandler::PendingSequence const& pendingSequence, format_context& ctx) -+ auto format(vtbackend::TraceHandler::PendingSequence const& pendingSequence, format_context& ctx) const - -> format_context::iterator - { - std::string value; ---- a/src/vtbackend/TerminalState.h -+++ b/src/vtbackend/TerminalState.h -@@ -254,7 +254,7 @@ struct TerminalState - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(vtbackend::AnsiMode mode, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::AnsiMode mode, format_context& ctx) const -> format_context::iterator - { - return formatter::format(to_string(mode), ctx); - } -@@ -263,7 +263,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(vtbackend::DECMode mode, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::DECMode mode, format_context& ctx) const -> format_context::iterator - { - return formatter::format(to_string(mode), ctx); - } -@@ -272,7 +272,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(const vtbackend::Cursor cursor, format_context& ctx) -> format_context::iterator -+ auto format(const vtbackend::Cursor cursor, format_context& ctx) const -> format_context::iterator - { - return formatter::format(cursor.position, ctx); - } -@@ -282,7 +282,7 @@ template <> - struct fmt::formatter: formatter - { - template -- auto format(vtbackend::DynamicColorName value, FormatContext& ctx) -+ auto format(vtbackend::DynamicColorName value, FormatContext& ctx) const - { - using vtbackend::DynamicColorName; - string_view name; -@@ -303,7 +303,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::ExecutionMode value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::ExecutionMode value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) ---- a/src/vtbackend/VTType.h -+++ b/src/vtbackend/VTType.h -@@ -82,7 +82,7 @@ std::string to_params(DeviceAttributes v - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(const vtbackend::VTType id, format_context& ctx) -> format_context::iterator -+ auto format(const vtbackend::VTType id, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (id) -@@ -104,7 +104,7 @@ struct fmt::formatter - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(const vtbackend::VTExtension id, format_context& ctx) -> format_context::iterator -+ auto format(const vtbackend::VTExtension id, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (id) ---- a/src/vtbackend/ViInputHandler.h -+++ b/src/vtbackend/ViInputHandler.h -@@ -260,7 +260,7 @@ class ViInputHandler: public InputHandle - template <> - struct fmt::formatter: formatter - { -- auto format(vtbackend::TextObjectScope scope, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::TextObjectScope scope, format_context& ctx) const -> format_context::iterator - { - using TextObjectScope = vtbackend::TextObjectScope; - string_view name; -@@ -276,7 +276,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::TextObject textObject, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::TextObject textObject, format_context& ctx) const -> format_context::iterator - { - using TextObject = vtbackend::TextObject; - string_view name; -@@ -301,7 +301,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::ViOperator op, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::ViOperator op, format_context& ctx) const -> format_context::iterator - { - string_view name; - using vtbackend::ViOperator; -@@ -321,7 +321,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::ViMotion motion, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::ViMotion motion, format_context& ctx) const -> format_context::iterator - { - string_view name; - using vtbackend::ViMotion; ---- a/src/vtbackend/cell/CompactCell.h -+++ b/src/vtbackend/cell/CompactCell.h -@@ -480,7 +480,7 @@ inline bool beginsWith(std::u32string_vi - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(vtbackend::CompactCell const& cell, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::CompactCell const& cell, format_context& ctx) const -> format_context::iterator - { - std::string codepoints; - for (auto const i: crispy::times(cell.codepointCount())) ---- a/src/vtbackend/primitives.h -+++ b/src/vtbackend/primitives.h -@@ -873,7 +873,7 @@ struct numeric_limits - struct fmt::formatter: formatter - { -- auto format(vtbackend::CursorShape value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::CursorShape value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -890,7 +890,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::CellLocation coord, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::CellLocation coord, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("({}, {})", coord.line, coord.column), ctx); - } -@@ -899,7 +899,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::PageSize value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::PageSize value, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("{}x{}", value.columns, value.lines), ctx); - } -@@ -908,7 +908,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::GridSize value, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::GridSize value, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("{}x{}", value.columns, value.lines), ctx); - } -@@ -917,7 +917,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(const vtbackend::ScreenType value, format_context& ctx) -> format_context::iterator -+ auto format(const vtbackend::ScreenType value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -932,7 +932,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(const vtbackend::PixelCoordinate coord, format_context& ctx) -> format_context::iterator -+ auto format(const vtbackend::PixelCoordinate coord, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("{}:{}", coord.x.value, coord.y.value), ctx); - } -@@ -941,7 +941,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtbackend::ViMode mode, format_context& ctx) -> format_context::iterator -+ auto format(vtbackend::ViMode mode, format_context& ctx) const -> format_context::iterator - { - using vtbackend::ViMode; - string_view name; ---- a/src/vtparser/Parser.h -+++ b/src/vtparser/Parser.h -@@ -467,7 +467,7 @@ struct numeric_limits - template <> - struct fmt::formatter: formatter - { -- auto format(vtparser::State state, format_context& ctx) -> format_context::iterator -+ auto format(vtparser::State state, format_context& ctx) const -> format_context::iterator - { - return formatter::format(vtparser::to_string(state), ctx); - } -@@ -476,7 +476,7 @@ struct fmt::formatter: - template <> - struct fmt::formatter: formatter - { -- auto format(vtparser::ActionClass value, format_context& ctx) -> format_context::iterator -+ auto format(vtparser::ActionClass value, format_context& ctx) const -> format_context::iterator - { - auto constexpr Mappings = std::array { "Enter", "Event", "Leave", "Transition" }; - return formatter::format(Mappings.at(static_cast(value)), ctx); -@@ -486,7 +486,7 @@ struct fmt::formatter - struct fmt::formatter: formatter - { -- auto format(vtparser::Action value, format_context& ctx) -> format_context::iterator -+ auto format(vtparser::Action value, format_context& ctx) const -> format_context::iterator - { - return formatter::format(vtparser::to_string(value), ctx); - } ---- a/src/vtpty/ImageSize.h -+++ b/src/vtpty/ImageSize.h -@@ -81,7 +81,7 @@ inline ImageSize operator*(ImageSize a, - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(vtpty::ImageSize value, format_context& ctx) -> format_context::iterator -+ auto format(vtpty::ImageSize value, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("{}x{}", value.width, value.height), ctx); - } ---- a/src/vtpty/Process.h -+++ b/src/vtpty/Process.h -@@ -112,7 +112,7 @@ class [[nodiscard]] Process: public Pty - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(vtpty::Process::ExitStatus const& status, format_context& ctx) -> format_context::iterator -+ auto format(vtpty::Process::ExitStatus const& status, format_context& ctx) const -> format_context::iterator - { - auto const text = - std::visit(overloaded { [&](vtpty::Process::NormalExit exit) { ---- a/src/vtpty/SshSession.h -+++ b/src/vtpty/SshSession.h -@@ -161,7 +161,7 @@ class SshSession final: public Pty - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(vtpty::SshSession::State const& state, format_context& ctx) -> format_context::iterator -+ auto format(vtpty::SshSession::State const& state, format_context& ctx) const -> format_context::iterator - { - std::string_view name; - // clang-format off -@@ -198,7 +198,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(vtpty::SshSession::ExitStatus const& status, format_context& ctx) -> format_context::iterator -+ auto format(vtpty::SshSession::ExitStatus const& status, format_context& ctx) const -> format_context::iterator - { - return std::visit(overloaded { [&](vtpty::SshSession::NormalExit exit) { - return fmt::formatter::format( ---- a/src/vtrasterizer/Decorator.h -+++ b/src/vtrasterizer/Decorator.h -@@ -82,7 +82,7 @@ struct std::numeric_limits - struct fmt::formatter: formatter - { -- auto format(vtrasterizer::Decorator value, format_context& ctx) -> format_context::iterator -+ auto format(vtrasterizer::Decorator value, format_context& ctx) const -> format_context::iterator - { - auto constexpr Mappings = std::array { - "underline", "double-underline", "curly-underline", "dotted-underline", "dashed-underline", ---- a/src/vtrasterizer/FontDescriptions.h -+++ b/src/vtrasterizer/FontDescriptions.h -@@ -83,7 +83,7 @@ constexpr bool operator<(TextStyle a, Te - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(vtrasterizer::TextStyle value, format_context& ctx) -> format_context::iterator -+ auto format(vtrasterizer::TextStyle value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -101,7 +101,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(vtrasterizer::FontLocatorEngine value, format_context& ctx) -> format_context::iterator -+ auto format(vtrasterizer::FontLocatorEngine value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -118,7 +118,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(vtrasterizer::TextShapingEngine value, format_context& ctx) -> format_context::iterator -+ auto format(vtrasterizer::TextShapingEngine value, format_context& ctx) const -> format_context::iterator - { - string_view name; - switch (value) -@@ -134,7 +134,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(vtrasterizer::FontDescriptions const& fd, format_context& ctx) -> format_context::iterator -+ auto format(vtrasterizer::FontDescriptions const& fd, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("({}, {}, {}, {}, {}, {}, {}, {})", - fd.size, ---- a/src/vtrasterizer/GridMetrics.h -+++ b/src/vtrasterizer/GridMetrics.h -@@ -97,7 +97,7 @@ struct GridMetrics - template <> - struct fmt::formatter: formatter - { -- auto format(vtrasterizer::GridMetrics const& v, fmt::format_context& ctx) -> format_context::iterator -+ auto format(vtrasterizer::GridMetrics const& v, fmt::format_context& ctx) const -> format_context::iterator - { - return formatter::format( - fmt::format( ---- a/src/vtrasterizer/Pixmap.h -+++ b/src/vtrasterizer/Pixmap.h -@@ -301,7 +301,7 @@ Pixmap& Pixmap::segment_bar(int which, M - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(vtrasterizer::Arc value, format_context& ctx) -> format_context::iterator -+ auto format(vtrasterizer::Arc value, format_context& ctx) const -> format_context::iterator - { - using vtrasterizer::Arc; - string_view name; ---- a/src/vtrasterizer/RenderTarget.h -+++ b/src/vtrasterizer/RenderTarget.h -@@ -221,7 +221,7 @@ inline Renderable::TextureAtlas::TileCre - template <> - struct fmt::formatter: fmt::formatter - { -- auto format(vtrasterizer::RenderTileAttributes value, format_context& ctx) -> format_context::iterator -+ auto format(vtrasterizer::RenderTileAttributes value, format_context& ctx) const -> format_context::iterator - { - return fmt::formatter::format( - fmt::format("tile +{}x +{}y", value.x.value, value.y.value), ctx); ---- a/src/vtrasterizer/TextClusterGrouper_test.cpp -+++ b/src/vtrasterizer/TextClusterGrouper_test.cpp -@@ -92,7 +92,7 @@ template <> - struct fmt::formatter: formatter - { - template -- auto format(TextClusterGroup const& group, FormatContext& ctx) -+ auto format(TextClusterGroup const& group, FormatContext& ctx) const - { - return formatter::format( - fmt::format("TextClusterGroup {{ codepoints: \"{}\", @{}, clusters={}, style: {}, color: {} }}", -@@ -109,7 +109,7 @@ template <> - struct fmt::formatter: formatter - { - template -- auto format(BoxDrawingCell const& cell, FormatContext& ctx) -+ auto format(BoxDrawingCell const& cell, FormatContext& ctx) const - { - return formatter::format( - fmt::format("BoxDrawingCell {{ position: {}, codepoint: U+{:04X}, color: {} }}", -@@ -124,7 +124,7 @@ template <> - struct fmt::formatter: formatter - { - template -- auto format(Event const& event, FormatContext& ctx) -+ auto format(Event const& event, FormatContext& ctx) const - { - if (std::holds_alternative(event)) - return formatter::format(fmt::format("{}", std::get(event)), ctx); ---- a/src/vtrasterizer/TextureAtlas.h -+++ b/src/vtrasterizer/TextureAtlas.h -@@ -683,7 +683,7 @@ void TextureAtlas::inspect(std - template <> - struct fmt::formatter: formatter - { -- auto format(vtrasterizer::atlas::Format value, format_context& ctx) -> format_context::iterator -+ auto format(vtrasterizer::atlas::Format value, format_context& ctx) const -> format_context::iterator - { - std::string_view name; - switch (value) -@@ -699,7 +699,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(vtrasterizer::atlas::TileLocation value, format_context& ctx) -> format_context::iterator -+ auto format(vtrasterizer::atlas::TileLocation value, format_context& ctx) const -> format_context::iterator - { - return formatter::format(fmt::format("Tile {}x+{}y", value.x.value, value.y.value), ctx); - } -@@ -708,7 +708,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(vtrasterizer::atlas::RenderTile const& value, format_context& ctx) -> format_context::iterator -+ auto format(vtrasterizer::atlas::RenderTile const& value, format_context& ctx) const -> format_context::iterator - { - return formatter::format( - fmt::format("RenderTile({}x + {}y, {})", value.x.value, value.y.value, value.tileLocation), ctx); -@@ -718,7 +718,7 @@ struct fmt::formatter - struct fmt::formatter: fmt::formatter - { -- auto format(vtrasterizer::atlas::AtlasProperties const& value, format_context& ctx) -+ auto format(vtrasterizer::atlas::AtlasProperties const& value, format_context& ctx) const - -> format_context::iterator - { - return formatter::format(fmt::format("tile size {}, format {}, direct-mapped {}", ---- a/src/vtbackend/Terminal.cpp -+++ b/src/vtbackend/Terminal.cpp -@@ -625,7 +625,9 @@ void Terminal::updateIndicatorStatusLine - rightString += " │ "; - - // NB: Cannot use std::chrono::system_clock::now() here, because MSVC can't handle it. -- rightString += fmt::format("{:%H:%M} ", fmt::localtime(std::time(nullptr))); -+ time_t _time = std::time(nullptr); -+ struct tm _tm = { 0 }; -+ rightString += fmt::format("{:%H:%M} ", *localtime_r(&_time, &_tm)); - - auto const columnsAvailable = _indicatorStatusScreen.pageSize().columns.as() - - _indicatorStatusScreen.cursor().position.column.as(); diff --git a/srcpkgs/contour/template b/srcpkgs/contour/template index 12cf1bca597e34..97ef269a25128e 100644 --- a/srcpkgs/contour/template +++ b/srcpkgs/contour/template @@ -1,24 +1,25 @@ # Template file for 'contour' pkgname=contour -version=0.4.3.6442 -revision=3 +version=0.6.3.8249 +revision=1 build_style=cmake build_helper="qemu" -configure_args="-DCONTOUR_QT_VERSION=6 -DCONTOUR_TESTING=OFF +configure_args="-DCONTOUR_USE_CPM=OFF -DCONTOUR_TESTING=OFF -DCRISPY_TESTING=OFF -DVTPARSER_TESTING=OFF -DLIBTERMINAL_TESTING=OFF" -hostmakedepends="pkg-config qt6-base qt6-tools" -makedepends="boxed-cpp fmt-devel guidelines-support-library freetype-devel - harfbuzz-devel libssh2-devel libunicode-devel libutempter-devel range-v3 yaml-cpp-devel - qt6-base-devel qt6-core qt6-declarative-devel qt6-gui qt6-multimedia-devel - qt6-network qt6-opengl-widgets qt6-qt5compat-devel qt6-widgets" +hostmakedepends="pkg-config qt6-base qt6-tools wayland-devel" +makedepends="boxed-cpp reflection-cpp freetype-devel guidelines-support-library + harfbuzz-devel libssh2-devel libunicode-devel libutempter-devel yaml-cpp-devel + qt6-base-devel qt6-base-private-devel qt6-core qt6-declarative-devel qt6-gui + qt6-multimedia-devel qt6-network qt6-opengl-widgets qt6-qt5compat-devel + qt6-widgets qt6-wayland-devel" depends="contour-shell-integration-${version}_${revision} - contour-terminfo-${version}_${revision} qt6-qt5compat" + contour-terminfo-${version}_${revision}" short_desc="Modern C++ Terminal Emulator" maintainer="0x5c " license="Apache-2.0" homepage="http://contour-terminal.org/" distfiles="https://github.com/contour-terminal/contour/archive/refs/tags/v${version}.tar.gz" -checksum=859910a5330d9dcf628dfcb6f767807dbdaf187e550ac67966c1e8a713c1567e +checksum=9354ae9ef1c1df17febf095033f965fe81d173beed3445aae86a5a07bb75cbce contour-terminfo_package() { short_desc+=" - terminfo data"