aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2026-02-04 12:16:37 +0000
committerHiroki Tagato <tagattie@FreeBSD.org>2026-02-04 12:17:53 +0000
commit2fc90a5f6119d7afec20f3364ca4253ed608a5d8 (patch)
tree235f3bb495b917cf5f6b27bc3e4aa2e243e8b06b
parent27ccc6fd02ae724ce2f6d0bf87614f071600a301 (diff)
x11-wm/hyprland: Update to 0.53.3
-rw-r--r--x11-wm/hyprland/Makefile4
-rw-r--r--x11-wm/hyprland/distinfo6
-rw-r--r--x11-wm/hyprland/files/patch-hyprpm_CMakeLists.txt14
-rw-r--r--x11-wm/hyprland/files/patch-hyprpm_src_core_PluginManager.cpp4
-rw-r--r--x11-wm/hyprland/files/patch-hyprtester_clients_child-window.cpp17
-rw-r--r--x11-wm/hyprland/files/patch-hyprtester_clients_pointer-scroll.cpp10
-rw-r--r--x11-wm/hyprland/files/patch-hyprtester_clients_pointer-warp.cpp10
-rw-r--r--x11-wm/hyprland/files/patch-hyprtester_src_tests_clients_child-window.cpp17
-rw-r--r--x11-wm/hyprland/files/patch-hyprtester_src_tests_clients_pointer-scroll.cpp10
-rw-r--r--x11-wm/hyprland/files/patch-hyprtester_src_tests_clients_pointer-warp.cpp10
-rw-r--r--x11-wm/hyprland/files/patch-hyprtester_src_tests_main_window.cpp7
-rw-r--r--x11-wm/hyprland/files/patch-start_src_core_Instance.cpp41
12 files changed, 21 insertions, 129 deletions
diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile
index b986334020cc..7e02844c8c8a 100644
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -1,6 +1,6 @@
PORTNAME= hyprland
DISTVERSIONPREFIX= v
-DISTVERSION= 0.53.1
+DISTVERSION= 0.53.3
CATEGORIES= x11-wm wayland
MASTER_SITES= https://github.com/hyprwm/Hyprland/releases/download/${DISTVERSIONFULL}/
DISTNAME= source-${DISTVERSIONFULL}
@@ -14,7 +14,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
- glaze>0:devel/glaze \
+ glaze>=7.0.0<8.0.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
diff --git a/x11-wm/hyprland/distinfo b/x11-wm/hyprland/distinfo
index b3eaf5a743f4..08f4dfebd329 100644
--- a/x11-wm/hyprland/distinfo
+++ b/x11-wm/hyprland/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1767516818
-SHA256 (hyprland/source-v0.53.1.tar.gz) = 1d9d22cfa34d2a559b2be37735adb1f70eef4fd8bbaf226ebf1d20b09fcb0861
-SIZE (hyprland/source-v0.53.1.tar.gz) = 54355159
+TIMESTAMP = 1770149000
+SHA256 (hyprland/source-v0.53.3.tar.gz) = 7bbf653dc9978a3c200241ea02af603970edf50f8b737c0aa0df88c16493ee1f
+SIZE (hyprland/source-v0.53.3.tar.gz) = 54358285
diff --git a/x11-wm/hyprland/files/patch-hyprpm_CMakeLists.txt b/x11-wm/hyprland/files/patch-hyprpm_CMakeLists.txt
new file mode 100644
index 000000000000..2b8122682857
--- /dev/null
+++ b/x11-wm/hyprland/files/patch-hyprpm_CMakeLists.txt
@@ -0,0 +1,14 @@
+--- hyprpm/CMakeLists.txt.orig 2026-02-04 00:10:26 UTC
++++ hyprpm/CMakeLists.txt
+@@ -11,9 +11,9 @@ pkg_check_modules(hyprpm_deps REQUIRED IMPORTED_TARGET
+
+ pkg_check_modules(hyprpm_deps REQUIRED IMPORTED_TARGET tomlplusplus hyprutils>=0.7.0)
+
+-find_package(glaze 6.0.0 QUIET)
++find_package(glaze 7.0.0 QUIET)
+ if (NOT glaze_FOUND)
+- set(GLAZE_VERSION v6.1.0)
++ set(GLAZE_VERSION v7.0.0)
+ message(STATUS "glaze dependency not found, retrieving ${GLAZE_VERSION} with FetchContent")
+ include(FetchContent)
+ FetchContent_Declare(
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 7c4c70022032..8f2f9fcc0bc9 100644
--- a/x11-wm/hyprland/files/patch-hyprpm_src_core_PluginManager.cpp
+++ b/x11-wm/hyprland/files/patch-hyprpm_src_core_PluginManager.cpp
@@ -1,6 +1,6 @@
Avoid hyprpm rebuilding Hyprland outside of ports
---- hyprpm/src/core/PluginManager.cpp.orig 2026-01-02 21:24:24 UTC
+--- hyprpm/src/core/PluginManager.cpp.orig 2026-01-24 20:04:36 UTC
+++ hyprpm/src/core/PluginManager.cpp
@@ -385,9 +385,6 @@ eHeadersErrors CPluginManager::headersValid() {
eHeadersErrors CPluginManager::headersValid() {
@@ -10,5 +10,5 @@ Avoid hyprpm rebuilding Hyprland outside of ports
- return HEADERS_MISSING;
-
// find headers commit
- const std::string& cmd = std::format("PKG_CONFIG_PATH=\"{}/share/pkgconfig\" pkgconf --cflags --keep-system-cflags hyprland", DataState::getHeadersPath());
+ const std::string& cmd = std::format("PKG_CONFIG_PATH='{}' pkgconf --cflags --keep-system-cflags hyprland", getPkgConfigPath());
auto headers = execAndGet(cmd);
diff --git a/x11-wm/hyprland/files/patch-hyprtester_clients_child-window.cpp b/x11-wm/hyprland/files/patch-hyprtester_clients_child-window.cpp
deleted file mode 100644
index b5108229cf0a..000000000000
--- a/x11-wm/hyprland/files/patch-hyprtester_clients_child-window.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
---- hyprtester/clients/child-window.cpp.orig 2026-01-04 11:44:08 UTC
-+++ hyprtester/clients/child-window.cpp
-@@ -3,6 +3,7 @@
- #include <sys/mman.h>
- #include <fcntl.h>
- #include <stdio.h>
-+#include <unistd.h>
-
- #include <wayland-client.h>
- #include <wayland.hpp>
-@@ -332,4 +333,4 @@ int main(int argc, char** argv) {
-
- wl_display_disconnect(display);
- return 0;
--}
-\ No newline at end of file
-+}
diff --git a/x11-wm/hyprland/files/patch-hyprtester_clients_pointer-scroll.cpp b/x11-wm/hyprland/files/patch-hyprtester_clients_pointer-scroll.cpp
deleted file mode 100644
index 19dbbea76153..000000000000
--- a/x11-wm/hyprland/files/patch-hyprtester_clients_pointer-scroll.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- hyprtester/clients/pointer-scroll.cpp.orig 2026-01-04 11:43:28 UTC
-+++ hyprtester/clients/pointer-scroll.cpp
-@@ -2,6 +2,7 @@
- #include <sys/poll.h>
- #include <sys/mman.h>
- #include <fcntl.h>
-+#include <unistd.h>
- #include <print>
- #include <format>
- #include <string>
diff --git a/x11-wm/hyprland/files/patch-hyprtester_clients_pointer-warp.cpp b/x11-wm/hyprland/files/patch-hyprtester_clients_pointer-warp.cpp
deleted file mode 100644
index 490bcbb1521d..000000000000
--- a/x11-wm/hyprland/files/patch-hyprtester_clients_pointer-warp.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- hyprtester/clients/pointer-warp.cpp.orig 2026-01-04 11:42:28 UTC
-+++ hyprtester/clients/pointer-warp.cpp
-@@ -2,6 +2,7 @@
- #include <sys/poll.h>
- #include <sys/mman.h>
- #include <fcntl.h>
-+#include <unistd.h>
- #include <print>
- #include <format>
- #include <string>
diff --git a/x11-wm/hyprland/files/patch-hyprtester_src_tests_clients_child-window.cpp b/x11-wm/hyprland/files/patch-hyprtester_src_tests_clients_child-window.cpp
deleted file mode 100644
index 47ba77e24fc4..000000000000
--- a/x11-wm/hyprland/files/patch-hyprtester_src_tests_clients_child-window.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
---- hyprtester/src/tests/clients/child-window.cpp.orig 2026-01-04 11:41:28 UTC
-+++ hyprtester/src/tests/clients/child-window.cpp
-@@ -7,6 +7,7 @@
- #include <hyprutils/os/FileDescriptor.hpp>
- #include <hyprutils/os/Process.hpp>
-
-+#include <unistd.h>
- #include <sys/poll.h>
- #include <csignal>
- #include <thread>
-@@ -120,4 +121,4 @@ static bool test() {
- return !ret;
- }
-
--REGISTER_CLIENT_TEST_FN(test);
-\ No newline at end of file
-+REGISTER_CLIENT_TEST_FN(test);
diff --git a/x11-wm/hyprland/files/patch-hyprtester_src_tests_clients_pointer-scroll.cpp b/x11-wm/hyprland/files/patch-hyprtester_src_tests_clients_pointer-scroll.cpp
deleted file mode 100644
index 311f360a716b..000000000000
--- a/x11-wm/hyprland/files/patch-hyprtester_src_tests_clients_pointer-scroll.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- hyprtester/src/tests/clients/pointer-scroll.cpp.orig 2026-01-04 11:40:44 UTC
-+++ hyprtester/src/tests/clients/pointer-scroll.cpp
-@@ -7,6 +7,7 @@
- #include <hyprutils/os/FileDescriptor.hpp>
- #include <hyprutils/os/Process.hpp>
-
-+#include <unistd.h>
- #include <sys/poll.h>
- #include <csignal>
- #include <thread>
diff --git a/x11-wm/hyprland/files/patch-hyprtester_src_tests_clients_pointer-warp.cpp b/x11-wm/hyprland/files/patch-hyprtester_src_tests_clients_pointer-warp.cpp
deleted file mode 100644
index 90bad2155f7a..000000000000
--- a/x11-wm/hyprland/files/patch-hyprtester_src_tests_clients_pointer-warp.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- hyprtester/src/tests/clients/pointer-warp.cpp.orig 2026-01-04 11:37:16 UTC
-+++ hyprtester/src/tests/clients/pointer-warp.cpp
-@@ -7,6 +7,7 @@
- #include <hyprutils/os/FileDescriptor.hpp>
- #include <hyprutils/os/Process.hpp>
-
-+#include <unistd.h>
- #include <sys/poll.h>
- #include <csignal>
- #include <thread>
diff --git a/x11-wm/hyprland/files/patch-hyprtester_src_tests_main_window.cpp b/x11-wm/hyprland/files/patch-hyprtester_src_tests_main_window.cpp
deleted file mode 100644
index ec7540aa6bfc..000000000000
--- a/x11-wm/hyprland/files/patch-hyprtester_src_tests_main_window.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
---- hyprtester/src/tests/main/window.cpp.orig 2026-01-04 11:45:09 UTC
-+++ hyprtester/src/tests/main/window.cpp
-@@ -1,3 +1,4 @@
-+#include <unistd.h>
- #include <cmath>
- #include <chrono>
- #include <cstdlib>
diff --git a/x11-wm/hyprland/files/patch-start_src_core_Instance.cpp b/x11-wm/hyprland/files/patch-start_src_core_Instance.cpp
deleted file mode 100644
index 17173cb355a4..000000000000
--- a/x11-wm/hyprland/files/patch-start_src_core_Instance.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
---- start/src/core/Instance.cpp.orig 2026-01-04 09:38:22 UTC
-+++ start/src/core/Instance.cpp
-@@ -7,11 +7,17 @@
- #include <sys/poll.h>
- #include <sys/types.h>
- #include <sys/wait.h>
--#include <sys/prctl.h>
- #include <unistd.h>
- #include <ranges>
- #include <string_view>
-
-+#if defined(__linux__)
-+#include <sys/prctl.h>
-+#elif defined(__FreeBSD__)
-+#include <signal.h>
-+#include <sys/procctl.h>
-+#endif
-+
- #include <hyprutils/os/Process.hpp>
-
- using namespace Hyprutils::OS;
-@@ -41,7 +47,12 @@ void CHyprlandInstance::runHyprlandThread(bool safeMod
- int forkRet = fork();
- if (forkRet == 0) {
- // Make hyprland die on our SIGKILL
-+#if defined(__linux__)
- prctl(PR_SET_PDEATHSIG, SIGKILL);
-+#elif defined(__FreeBSD__)
-+ int sig = SIGKILL;
-+ procctl(P_PID, getpid(), PROC_PDEATHSIG_CTL, &sig);
-+#endif
-
- execvp(g_state->customPath.value_or("Hyprland").c_str(), args.data());
-
-@@ -164,4 +175,4 @@ bool CHyprlandInstance::run(bool safeMode) {
- m_hlThread.join();
-
- return !m_hyprlandInitialized || m_hyprlandExiting;
--}
-\ No newline at end of file
-+}