aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2026-11-04 08:31:12 +0000
committerHiroki Tagato <tagattie@FreeBSD.org>2026-11-04 08:32:06 +0000
commitda4abdbd8f0e123e6a9b4c23e9526348f33ed80c (patch)
treee247dfb85eb012b7036657e5860c884a8333e987
parent07747390ec3be28e5b72612605c5b251c399d0f6 (diff)
x11/hyprpicker: Update to 0.4.8
While here, remove upstreamed patch. Changelog: https://github.com/hyprwm/hyprpicker/releases/tag/v0.4.8 Reported by: GitHub (watch releases)
-rw-r--r--x11/hyprpicker/Makefile5
-rw-r--r--x11/hyprpicker/distinfo6
-rw-r--r--x11/hyprpicker/files/patch-src_main.cpp27
3 files changed, 5 insertions, 33 deletions
diff --git a/x11/hyprpicker/Makefile b/x11/hyprpicker/Makefile
index ab6e01e3f679..592cf1e27693 100644
--- a/x11/hyprpicker/Makefile
+++ b/x11/hyprpicker/Makefile
@@ -1,7 +1,6 @@
PORTNAME= hyprpicker
DISTVERSIONPREFIX= v
-DISTVERSION= 0.4.7
-PORTREVISION= 1
+DISTVERSION= 0.4.8
CATEGORIES= x11 wayland
MAINTAINER= tagattie@FreeBSD.org
@@ -12,7 +11,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= hyprwayland-scanner>=0.4.0:devel/hyprwayland-scanner \
- wayland-protocols>0:graphics/wayland-protocols
+ wayland-protocols>=1.37:graphics/wayland-protocols
LIB_DEPENDS= libhyprutils.so:devel/hyprutils \
libwayland-client.so:graphics/wayland \
libxkbcommon.so:x11/libxkbcommon
diff --git a/x11/hyprpicker/distinfo b/x11/hyprpicker/distinfo
index c93f0504db13..ee348563e65c 100644
--- a/x11/hyprpicker/distinfo
+++ b/x11/hyprpicker/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1778155913
-SHA256 (hyprwm-hyprpicker-v0.4.7_GH0.tar.gz) = cde02b92abe372187c9d59a7cb2ca07ede5c3e1a8c81ed8b209dc0d3ac5f0339
-SIZE (hyprwm-hyprpicker-v0.4.7_GH0.tar.gz) = 28295
+TIMESTAMP = 1793780667
+SHA256 (hyprwm-hyprpicker-v0.4.8_GH0.tar.gz) = b3c1714d25bed3a1d59b813a7c59156a7c55f1f1cf2bea2306ba6b01cf8d49a7
+SIZE (hyprwm-hyprpicker-v0.4.8_GH0.tar.gz) = 30425
diff --git a/x11/hyprpicker/files/patch-src_main.cpp b/x11/hyprpicker/files/patch-src_main.cpp
deleted file mode 100644
index 9fd4f336a9b8..000000000000
--- a/x11/hyprpicker/files/patch-src_main.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
---- src/main.cpp.orig 2026-05-04 23:34:34 UTC
-+++ src/main.cpp
-@@ -94,12 +94,24 @@ int main(int argc, char** argv, char** envp) {
- }
- case 's': {
- float value;
-+#if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION < 200000
-+ try {
-+ size_t pos;
-+ value = std::stof(optarg, &pos);
-+ if (pos != strlen(optarg))
-+ throw std::invalid_argument("");
-+ } catch (...) {
-+ std::cerr << "Invalid scale value: " << optarg << "\n";
-+ exit(1);
-+ }
-+#else
- auto result = std::from_chars(optarg, optarg + strlen(optarg), value);
-
- if (result.ec != std::errc() || result.ptr != optarg + strlen(optarg)) {
- std::cerr << "Invalid scale value: " << optarg << "\n";
- exit(1);
- }
-+#endif
-
- if (value < 1.0f || value > 10.0f) {
- std::cerr << "Scale must be between 1 and 10!\n";