Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Apr 2026 13:05:48 +0000
From:      Hiroki Tagato <tagattie@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b4a76f0828ff - main - devel/hyprutils: Update to 0.12.0
Message-ID:  <69d25e2c.318f0.65c2ffc8@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b4a76f0828ff16f3380758ebd53e84d3a8c71eee

commit b4a76f0828ff16f3380758ebd53e84d3a8c71eee
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-04-05 13:04:52 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-04-05 13:04:52 +0000

    devel/hyprutils: Update to 0.12.0
    
    While here, remove upstreamed patches.
    
    Changelog: https://github.com/hyprwm/hyprutils/releases/tag/v0.12.0
    
    Reported by:    GitHub (watch releases)
---
 devel/hyprutils/Makefile                           |  4 +-
 devel/hyprutils/distinfo                           |  6 +-
 .../patch-include_hyprutils_string_Numeric.hpp     | 72 ----------------------
 devel/hyprutils/files/patch-tests_os_Process.cpp   | 12 ----
 4 files changed, 5 insertions(+), 89 deletions(-)

diff --git a/devel/hyprutils/Makefile b/devel/hyprutils/Makefile
index 325071599ec3..1b6a0ea46e65 100644
--- a/devel/hyprutils/Makefile
+++ b/devel/hyprutils/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	hyprutils
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.11.1
+DISTVERSION=	0.12.0
 CATEGORIES=	devel
 
 MAINTAINER=	tagattie@FreeBSD.org
@@ -23,7 +23,7 @@ USE_XORG=	pixman
 LDFLAGS+=	-pthread
 
 PLIST_SUB=	SOVERSION_FULL=${DISTVERSION:C/-.*//} \
-		SOVERSION_MAJOR=10
+		SOVERSION_MAJOR=11
 
 post-patch:
 # Respect PREFIX for system-wide config
diff --git a/devel/hyprutils/distinfo b/devel/hyprutils/distinfo
index b8404b8f789f..652094a87956 100644
--- a/devel/hyprutils/distinfo
+++ b/devel/hyprutils/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1774168328
-SHA256 (hyprwm-hyprutils-v0.11.1_GH0.tar.gz) = 575a025dd1b85f94c25328469358f7feeba1867fe516189cfb4253543b26714f
-SIZE (hyprwm-hyprutils-v0.11.1_GH0.tar.gz) = 58859
+TIMESTAMP = 1775393373
+SHA256 (hyprwm-hyprutils-v0.12.0_GH0.tar.gz) = d9b495cc8c7602fe54148388fe94892a1337be871267dc5e93f4e719fe6ef8f2
+SIZE (hyprwm-hyprutils-v0.12.0_GH0.tar.gz) = 59380
diff --git a/devel/hyprutils/files/patch-include_hyprutils_string_Numeric.hpp b/devel/hyprutils/files/patch-include_hyprutils_string_Numeric.hpp
deleted file mode 100644
index 9e3bb4ca2052..000000000000
--- a/devel/hyprutils/files/patch-include_hyprutils_string_Numeric.hpp
+++ /dev/null
@@ -1,72 +0,0 @@
---- include/hyprutils/string/Numeric.hpp.orig	2026-03-22 11:10:17 UTC
-+++ include/hyprutils/string/Numeric.hpp
-@@ -5,6 +5,12 @@
- #include <charconv>
- #include <concepts>
- 
-+#if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION < 200000
-+#include <string>
-+#include <cstdlib>
-+#include <cerrno>
-+#endif
-+
- namespace Hyprutils::String {
- 
-     enum eNumericParseResult : uint8_t {
-@@ -40,6 +46,47 @@ namespace Hyprutils::String {
-             }
-         }
- 
-+#if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION < 200000
-+        // libc++ < 20 does not implement std::from_chars for floating point types
-+        if constexpr (std::floating_point<T>) {
-+            std::string_view ts = sv;
-+            if (ts.starts_with('+') || ts.starts_with('-'))
-+                ts.remove_prefix(1);
-+            if (ts.size() >= 2 && ts[0] == '0' && (ts[1] == 'x' || ts[1] == 'X'))
-+                return std::unexpected(NUMERIC_PARSE_GARBAGE);
-+
-+            std::string s{sv};
-+            char*       endptr = nullptr;
-+            errno              = 0;
-+
-+            if constexpr (std::same_as<T, float>)
-+                value = std::strtof(s.c_str(), &endptr);
-+            else if constexpr (std::same_as<T, double>)
-+                value = std::strtod(s.c_str(), &endptr);
-+            else
-+                value = std::strtold(s.c_str(), &endptr);
-+
-+            if (endptr == s.c_str())
-+                return std::unexpected(NUMERIC_PARSE_BAD);
-+            if (errno == ERANGE)
-+                return std::unexpected(NUMERIC_PARSE_OUT_OF_RANGE);
-+            if (endptr != s.c_str() + s.size())
-+                return std::unexpected(NUMERIC_PARSE_GARBAGE);
-+
-+            return value;
-+        } else {
-+            const auto [ptr, ec] = std::from_chars(sv.data(), sv.data() + sv.size(), value);
-+
-+            if (ec == std::errc::invalid_argument)
-+                return std::unexpected(NUMERIC_PARSE_BAD);
-+            if (ec == std::errc::result_out_of_range)
-+                return std::unexpected(NUMERIC_PARSE_OUT_OF_RANGE);
-+            if (ptr != sv.data() + sv.size())
-+                return std::unexpected(NUMERIC_PARSE_GARBAGE);
-+
-+            return value;
-+        }
-+#else
-         const auto [ptr, ec] = std::from_chars(sv.data(), sv.data() + sv.size(), value);
- 
-         if (ec == std::errc::invalid_argument)
-@@ -50,5 +97,6 @@ namespace Hyprutils::String {
-             return std::unexpected(NUMERIC_PARSE_GARBAGE);
- 
-         return value;
-+#endif
-     }
--};
-\ No newline at end of file
-+};
diff --git a/devel/hyprutils/files/patch-tests_os_Process.cpp b/devel/hyprutils/files/patch-tests_os_Process.cpp
deleted file mode 100644
index 802b1862220f..000000000000
--- a/devel/hyprutils/files/patch-tests_os_Process.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
---- tests/os/Process.cpp.orig	2025-11-25 18:53:32 UTC
-+++ tests/os/Process.cpp
-@@ -2,6 +2,9 @@
- 
- #include <gtest/gtest.h>
- 
-+#include <sys/types.h>
-+#include <signal.h>
-+
- using namespace Hyprutils::OS;
- 
- TEST(OS, process) {


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d25e2c.318f0.65c2ffc8>