git: bbaea67100aa - main - x11-wm/hyprland: Update to 0.54.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 07 Mar 2026 13:05:10 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bbaea67100aa3c06de3a3449348de4c0c1471990
commit bbaea67100aa3c06de3a3449348de4c0c1471990
Author: Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-03-07 13:02:59 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-03-07 13:05:00 +0000
x11-wm/hyprland: Update to 0.54.1
Changelog: https://github.com/hyprwm/Hyprland/releases/tag/v0.54.1
Reported by: GitHub (watch releases)
---
x11-wm/hyprland/Makefile | 6 +++++-
x11-wm/hyprland/distinfo | 6 +++---
..._layout_algorithm_tiled_scrolling_ScrollTapeController.cpp | 11 +++++++++++
x11-wm/hyprland/files/patch-hyprpm_src_core_PluginManager.cpp | 4 ++--
4 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile
index ab4d2e511427..994285a4acc1 100644
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -1,6 +1,6 @@
PORTNAME= hyprland
DISTVERSIONPREFIX= v
-DISTVERSION= 0.54.0
+DISTVERSION= 0.54.1
CATEGORIES= x11-wm wayland
MASTER_SITES= https://github.com/hyprwm/Hyprland/releases/download/${DISTVERSIONFULL}/
DISTNAME= source-${DISTVERSIONFULL}
@@ -70,6 +70,10 @@ X11_CMAKE_BOOL_OFF= NO_XWAYLAND
.include <bsd.port.options.mk>
+.if ${OPSYS} == FreeBSD && ${ARCH} == i386
+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_layout_algorithm_tiled_scrolling_ScrollTapeController.cpp
+.endif
+
post-patch:
# Respect consolekit2 as XDG_RUNTIME_DIR fallback
@${REINPLACE_CMD} 's|/run/user|/var&|' \
diff --git a/x11-wm/hyprland/distinfo b/x11-wm/hyprland/distinfo
index f3bab3558088..ffaf57050c18 100644
--- a/x11-wm/hyprland/distinfo
+++ b/x11-wm/hyprland/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1772437191
-SHA256 (hyprland/source-v0.54.0.tar.gz) = ddc4f7f1dd2d29ebfeaf462fe361593034f104de85b80e3e81f73e33602a69ae
-SIZE (hyprland/source-v0.54.0.tar.gz) = 52938882
+TIMESTAMP = 1772862244
+SHA256 (hyprland/source-v0.54.1.tar.gz) = 67d7aa6d8c8edc1011d79d4694c6c24e8928de288f842b1847b5ddce172b3f60
+SIZE (hyprland/source-v0.54.1.tar.gz) = 52941546
diff --git a/x11-wm/hyprland/files/extra-patch-src_layout_algorithm_tiled_scrolling_ScrollTapeController.cpp b/x11-wm/hyprland/files/extra-patch-src_layout_algorithm_tiled_scrolling_ScrollTapeController.cpp
new file mode 100644
index 000000000000..fd7c4daec829
--- /dev/null
+++ b/x11-wm/hyprland/files/extra-patch-src_layout_algorithm_tiled_scrolling_ScrollTapeController.cpp
@@ -0,0 +1,11 @@
+--- src/layout/algorithm/tiled/scrolling/ScrollTapeController.cpp.orig 2026-03-07 12:05:56 UTC
++++ src/layout/algorithm/tiled/scrolling/ScrollTapeController.cpp
+@@ -61,7 +61,7 @@ void CScrollTapeController::insertStrip(ssize_t afterI
+ return;
+ }
+
+- afterIndex = std::clamp(afterIndex, -1L, sc<ssize_t>(INT32_MAX));
++ afterIndex = std::clamp(afterIndex, sc<ssize_t>(-1), sc<ssize_t>(INT32_MAX));
+
+ SStripData newStrip;
+ newStrip.size = size;
diff --git a/x11-wm/hyprland/files/patch-hyprpm_src_core_PluginManager.cpp b/x11-wm/hyprland/files/patch-hyprpm_src_core_PluginManager.cpp
index 303ea3ae8249..984899b8436d 100644
--- a/x11-wm/hyprland/files/patch-hyprpm_src_core_PluginManager.cpp
+++ b/x11-wm/hyprland/files/patch-hyprpm_src_core_PluginManager.cpp
@@ -1,8 +1,8 @@
Avoid hyprpm rebuilding Hyprland outside of ports
---- hyprpm/src/core/PluginManager.cpp.orig 2026-02-27 18:24:00 UTC
+--- hyprpm/src/core/PluginManager.cpp.orig 2026-03-03 21:08:11 UTC
+++ hyprpm/src/core/PluginManager.cpp
-@@ -393,9 +393,6 @@ eHeadersErrors CPluginManager::headersValid() {
+@@ -402,9 +402,6 @@ eHeadersErrors CPluginManager::headersValid() {
eHeadersErrors CPluginManager::headersValid() {
const auto HLVER = getHyprlandVersion(false);