summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2025-11-30 22:26:54 +0900
committerHiroki Tagato <tagattie@FreeBSD.org>2025-11-30 22:28:44 +0900
commitf728901ba5b34e173adb08e3c0dd72a7a1aa693a (patch)
tree6db5c03efb4e630a414202d8faf0e538fc6ccdbe
parentdevel/py-rich-toolkit: Update to 0.17.0 (diff)
x11-wm/hyprland: Update to 0.52.1
Changelog: - https://github.com/hyprwm/Hyprland/releases/tag/v0.52.0 - https://github.com/hyprwm/Hyprland/releases/tag/v0.52.1 Reported by: GitHub (watch releases)
-rw-r--r--x11-wm/hyprland/Makefile19
-rw-r--r--x11-wm/hyprland/distinfo10
-rw-r--r--x11-wm/hyprland/files/patch-hyprctl_main.cpp4
-rw-r--r--x11-wm/hyprland/files/patch-src_config_ConfigWatcher.cpp10
-rw-r--r--x11-wm/hyprland/pkg-plist9
5 files changed, 30 insertions, 22 deletions
diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile
index 183f33c19056..3c42439762d7 100644
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -1,12 +1,15 @@
PORTNAME= hyprland
DISTVERSIONPREFIX= v
-DISTVERSION= 0.51.1
-PORTREVISION= 5
+DISTVERSION= 0.52.1
CATEGORIES= x11-wm wayland
MASTER_SITES= https://github.com/hyprwm/Hyprland/releases/download/${DISTVERSIONFULL}/
DISTNAME= source-${DISTVERSIONFULL}
DIST_SUBDIR= ${PORTNAME}
+PATCH_SITES= https://github.com/hyprwm/Hyprland/commit/
+PATCHFILES= 43527d363472b52f17dd9f9f4f87ec25cbf8a399.patch:-p1 \
+ 55a93b8a52ad3bd2c0a7468e8f79f5667eea0702.patch:-p1
+
MAINTAINER= tagattie@FreeBSD.org
COMMENT= Dynamic tiling Wayland compositor that doesn't sacrifice on its looks #'
WWW= https://hypr.land/
@@ -17,6 +20,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
glaze>0:devel/glaze \
hyprwayland-scanner>=0.3.10:devel/hyprwayland-scanner \
+ hyprland-protocols>=0.6.4:graphics/hyprland-protocols \
wayland-protocols>=1.45:graphics/wayland-protocols
LIB_DEPENDS= libhyprlang.so:devel/hyprlang \
libhyprutils.so:devel/hyprutils \
@@ -31,6 +35,7 @@ LIB_DEPENDS= libhyprlang.so:devel/hyprlang \
libhyprcursor.so:x11/hyprcursor \
libinput.so:x11/libinput \
libxkbcommon.so:x11/libxkbcommon
+RUN_DEPENDS= hyprland-dialog:x11/hyprland-guiutils
USES= cmake compiler:c++23-lang gl gnome pkgconfig xorg
@@ -40,6 +45,7 @@ USE_XORG= pixman xcursor
CMAKE_ON= NO_SYSTEMD
CMAKE_OFF= CMAKE_CXX_SCAN_FOR_MODULES # avoid devel/llvm*
+CMAKE_OFF+= BUILD_TESTING
LDFLAGS+= -Wl,--as-needed # GL, pango deps
@@ -51,10 +57,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-source
LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
.endif
-OPTIONS_DEFINE= QT6 X11
-OPTIONS_DEFAULT= QT6 X11
-
-QT6_RUN_DEPENDS= hyprland-dialog:x11/hyprland-qtutils
+OPTIONS_DEFINE= X11
+OPTIONS_DEFAULT= X11
X11_LIB_DEPENDS= libxcb-errors.so:x11/xcb-util-errors \
libxcb-icccm.so:x11/xcb-util-wm
@@ -80,7 +84,8 @@ post-patch:
${WRKSRC}/src/debug/CrashReporter.cpp \
${WRKSRC}/src/helpers/MiscFunctions.cpp \
${WRKSRC}/src/plugins/HookSystem.cpp \
- ${WRKSRC}/src/plugins/PluginAPI.cpp
+ ${WRKSRC}/src/plugins/PluginAPI.cpp \
+ ${WRKSRC}/hyprtester/src/tests/main/exec.cpp
post-install:
@${RM} ${STAGEDIR}${PREFIX}/bin/hyprland
diff --git a/x11-wm/hyprland/distinfo b/x11-wm/hyprland/distinfo
index 81a62355ef3c..b4ab36fe0c0d 100644
--- a/x11-wm/hyprland/distinfo
+++ b/x11-wm/hyprland/distinfo
@@ -1,3 +1,7 @@
-TIMESTAMP = 1758614776
-SHA256 (hyprland/source-v0.51.1.tar.gz) = f562b8d1efc9934abd9678e3a4d7bb5a56adc6ef89c4679aba269de470e66131
-SIZE (hyprland/source-v0.51.1.tar.gz) = 54281418
+TIMESTAMP = 1764504424
+SHA256 (hyprland/source-v0.52.1.tar.gz) = c43dac6064abdc51b62065cbae8130887ece0b5834a61d6d99fdb2624111ff25
+SIZE (hyprland/source-v0.52.1.tar.gz) = 54311670
+SHA256 (hyprland/43527d363472b52f17dd9f9f4f87ec25cbf8a399.patch) = 8a292e5e20404939ea7a3344009ce586be0996454ce8205d86a4325ba618dfdc
+SIZE (hyprland/43527d363472b52f17dd9f9f4f87ec25cbf8a399.patch) = 1943
+SHA256 (hyprland/55a93b8a52ad3bd2c0a7468e8f79f5667eea0702.patch) = de32aa6a95e1cf0f512fc03acddbf64349c536cfb7b8e1d997004e1d15bd1e27
+SIZE (hyprland/55a93b8a52ad3bd2c0a7468e8f79f5667eea0702.patch) = 657
diff --git a/x11-wm/hyprland/files/patch-hyprctl_main.cpp b/x11-wm/hyprland/files/patch-hyprctl_main.cpp
index b1c28e23f453..caeb2aab9d59 100644
--- a/x11-wm/hyprland/files/patch-hyprctl_main.cpp
+++ b/x11-wm/hyprland/files/patch-hyprctl_main.cpp
@@ -1,11 +1,11 @@
---- hyprctl/main.cpp.orig 2025-09-10 12:53:39 UTC
+--- hyprctl/main.cpp.orig 2025-11-09 23:33:25 UTC
+++ hyprctl/main.cpp
@@ -270,7 +270,7 @@ int requestIPC(std::string_view filename, std::string_
sockaddr_un serverAddress = {0};
serverAddress.sun_family = AF_UNIX;
- std::string socketPath = getRuntimeDir() + "/" + instanceSignature + "/" + filename;
-+ std::string socketPath = getRuntimeDir() + "/" + instanceSignature + "/" + std::string(filename);
++ std::string socketPath = getRuntimeDir() + "/" + instanceSignature + "/" + static_cast<std::string>(filename);
strncpy(serverAddress.sun_path, socketPath.c_str(), sizeof(serverAddress.sun_path) - 1);
diff --git a/x11-wm/hyprland/files/patch-src_config_ConfigWatcher.cpp b/x11-wm/hyprland/files/patch-src_config_ConfigWatcher.cpp
deleted file mode 100644
index 3dc27808ece6..000000000000
--- a/x11-wm/hyprland/files/patch-src_config_ConfigWatcher.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/config/ConfigWatcher.cpp.orig 2025-09-13 08:12:56 UTC
-+++ src/config/ConfigWatcher.cpp
-@@ -1,5 +1,7 @@
- #include "ConfigWatcher.hpp"
-+#if defined(__linux__)
- #include <linux/limits.h>
-+#endif
- #include <sys/inotify.h>
- #include "../debug/Log.hpp"
- #include <ranges>
diff --git a/x11-wm/hyprland/pkg-plist b/x11-wm/hyprland/pkg-plist
index dbbe6af63d2e..da5a2c123f0d 100644
--- a/x11-wm/hyprland/pkg-plist
+++ b/x11-wm/hyprland/pkg-plist
@@ -4,6 +4,7 @@ bin/hyprland
bin/hyprpm
include/hyprland/protocols/alpha-modifier-v1.hpp
include/hyprland/protocols/color-management-v1.hpp
+include/hyprland/protocols/commit-timing-v1.hpp
include/hyprland/protocols/content-type-v1.hpp
include/hyprland/protocols/cursor-shape-v1.hpp
include/hyprland/protocols/drm-lease-v1.hpp
@@ -12,6 +13,7 @@ include/hyprland/protocols/ext-foreign-toplevel-list-v1.hpp
include/hyprland/protocols/ext-idle-notify-v1.hpp
include/hyprland/protocols/ext-session-lock-v1.hpp
include/hyprland/protocols/ext-workspace-v1.hpp
+include/hyprland/protocols/fifo-v1.hpp
include/hyprland/protocols/fractional-scale-v1.hpp
include/hyprland/protocols/frog-color-management-v1.hpp
include/hyprland/protocols/hyprland-ctm-control-v1.hpp
@@ -101,10 +103,12 @@ include/hyprland/src/events/Events.hpp
include/hyprland/src/helpers/AnimatedVariable.hpp
include/hyprland/src/helpers/AsyncDialogBox.hpp
include/hyprland/src/helpers/ByteOperations.hpp
+include/hyprland/src/helpers/CMType.hpp
include/hyprland/src/helpers/Color.hpp
include/hyprland/src/helpers/CursorShapes.hpp
include/hyprland/src/helpers/DamageRing.hpp
include/hyprland/src/helpers/Format.hpp
+include/hyprland/src/helpers/MainLoopExecutor.hpp
include/hyprland/src/helpers/MiscFunctions.hpp
include/hyprland/src/helpers/Monitor.hpp
include/hyprland/src/helpers/MonitorFrameScheduler.hpp
@@ -146,6 +150,7 @@ include/hyprland/src/managers/XCursorManager.hpp
include/hyprland/src/managers/XWaylandManager.hpp
include/hyprland/src/managers/animation/AnimationManager.hpp
include/hyprland/src/managers/animation/DesktopAnimationManager.hpp
+include/hyprland/src/managers/cursor/CursorShapeOverrideController.hpp
include/hyprland/src/managers/eventLoop/EventLoopManager.hpp
include/hyprland/src/managers/eventLoop/EventLoopTimer.hpp
include/hyprland/src/managers/input/InputManager.hpp
@@ -172,6 +177,7 @@ include/hyprland/src/plugins/PluginSystem.hpp
include/hyprland/src/protocols/AlphaModifier.hpp
include/hyprland/src/protocols/CTMControl.hpp
include/hyprland/src/protocols/ColorManagement.hpp
+include/hyprland/src/protocols/CommitTiming.hpp
include/hyprland/src/protocols/ContentType.hpp
include/hyprland/src/protocols/CursorShape.hpp
include/hyprland/src/protocols/DRMLease.hpp
@@ -179,6 +185,7 @@ include/hyprland/src/protocols/DRMSyncobj.hpp
include/hyprland/src/protocols/DataDeviceWlr.hpp
include/hyprland/src/protocols/ExtDataDevice.hpp
include/hyprland/src/protocols/ExtWorkspace.hpp
+include/hyprland/src/protocols/Fifo.hpp
include/hyprland/src/protocols/FocusGrab.hpp
include/hyprland/src/protocols/ForeignToplevel.hpp
include/hyprland/src/protocols/ForeignToplevelWlr.hpp
@@ -240,7 +247,9 @@ include/hyprland/src/protocols/types/DMABuffer.hpp
include/hyprland/src/protocols/types/DataDevice.hpp
include/hyprland/src/protocols/types/SurfaceRole.hpp
include/hyprland/src/protocols/types/SurfaceState.hpp
+include/hyprland/src/protocols/types/SurfaceStateQueue.hpp
include/hyprland/src/protocols/types/WLBuffer.hpp
+include/hyprland/src/render/AsyncResourceGatherer.hpp
include/hyprland/src/render/Framebuffer.hpp
include/hyprland/src/render/OpenGL.hpp
include/hyprland/src/render/Renderbuffer.hpp