From nobody Sun Nov 23 13:31:07 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dDqbb4pZKz6GyQG for ; Sun, 23 Nov 2025 13:31:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dDqbb3NNmz3hbL for ; Sun, 23 Nov 2025 13:31:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763904667; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ba1H/UzO2ZzXY+o7Mv/NndPM9eWDUaZf8apzHoaIUHI=; b=jfhk/4N969LzE7hZmvj6nR91KlSI76mW7C6EokxwP69ot76zUJuJtXXSB4Pl8uTXeCTNDN 3PepnW2X7zT+4SdNMPhz3U3KkXqNgJjjnpxSGfR8gsE/eJHIsWL1cFJQUvYMsJF1sFlP/M KQrG3YIM9WPsGf2o+5gN5N6UgC940UkTNZns262mg9Kz3/ofiJO0HAzrCC5fwqgOtPoM9E +rScC83cPD0ah6PAnvwdxl4h7i9xK0HxiidWu1dzZKbmVSnL/OmhpiXoBPK//7jDGuJ0+X h2oSSvS3ZMROcfIll5DxjiIldmN9ir8SQ2vKRiAFzmBKcPUkEM4mmxR1x2tQUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763904667; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ba1H/UzO2ZzXY+o7Mv/NndPM9eWDUaZf8apzHoaIUHI=; b=ScDfx/7zXGXqc4Wm4evX4mhnQiayznRQav8YKNTifWJJXq4U3FmurkX0BX4d7deHSajGbZ nIaGA8QyFObrXmRjVznoD0B6ZzBAzF4SP48tWfEAiX/qmObddl03F72Mtm0IUPD3mxqUxk UvnDbqzV/x9A+cpRx9ilNFXrceNLyhDJ883Ge3PiPq9Go7yFycuC2k672aX5HcnmP4JgvC Nr1BfxKmR+HCrtTxjnXyfQ5X/REhdrKFZHKiUVk3aNojYvWrsJIpO9WPFHauuLNrjKdWQ+ je0F3fediNEUQsKDqFZ+25Kg8u/GQ6syOhFUPm86tbH7BZGKImfI0+hbQVTGtA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1763904667; a=rsa-sha256; cv=none; b=tuuSENM9AKHGA4Ms1QQfvQWHOrlssJFOC6QrEU1W46yu2Wvm6dDSgoPE59emg8CrUT/9M1 aWO/DnhlMke2l8aQxhwaFQFf2+Ev2s0tnUxXhwyxHgOUte2M8GZfCDxJrV8FaCWRVqB9N5 5wIs6NHGfkvt4xVrUtGX3MtLwHBaiS9TI+E2TljP72lLpL9bO7ORwWcGClmXztjs96oxma pG72mAcCvabRaeXQtmgz+PVvvBlyxgQMdqLkQyCMZuaQDlZqYKb+bsEHz23gkzzAjhc8hj ePidhkQPCE3tHHJ7gYex41k7aU43fSGk1YkB0kNegCbF1yU8/nyNKd64LmJH6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dDqbb2y1RzV1G for ; Sun, 23 Nov 2025 13:31:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 25aa5 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 23 Nov 2025 13:31:07 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hiroki Tagato Subject: git: 64d155c6268c - main - devel/hyprwire: Add port: Fast and consistent wire protocol for IPC List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tagattie X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 64d155c6268ca82152fa02f31947adb4b2910f12 Auto-Submitted: auto-generated Date: Sun, 23 Nov 2025 13:31:07 +0000 Message-Id: <69230c9b.25aa5.2a109da8@gitrepo.freebsd.org> The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=64d155c6268ca82152fa02f31947adb4b2910f12 commit 64d155c6268ca82152fa02f31947adb4b2910f12 Author: Hiroki Tagato AuthorDate: 2025-11-23 08:32:57 +0000 Commit: Hiroki Tagato CommitDate: 2025-11-23 13:30:59 +0000 devel/hyprwire: Add port: Fast and consistent wire protocol for IPC Hyprwire is a fast and consistent wire protocol, and its implementation. This is essentially a "method" for processes to talk to each other. WWW: https://github.com/hyprwm/hyprwire --- devel/Makefile | 1 + devel/hyprwire/Makefile | 40 ++++++++++++++++++++++ devel/hyprwire/distinfo | 3 ++ .../files/patch-src_core_client_ClientSocket.cpp | 10 ++++++ .../files/patch-src_core_server_ServerClient.cpp | 11 ++++++ .../files/patch-src_core_server_ServerSocket.cpp | 10 ++++++ devel/hyprwire/pkg-descr | 3 ++ devel/hyprwire/pkg-plist | 17 +++++++++ 8 files changed, 95 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index a8645b1fbe85..b358ea9dc4fe 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1025,6 +1025,7 @@ SUBDIR += hyprlang SUBDIR += hyprutils SUBDIR += hyprwayland-scanner + SUBDIR += hyprwire SUBDIR += iaito SUBDIR += ice SUBDIR += ice37 diff --git a/devel/hyprwire/Makefile b/devel/hyprwire/Makefile new file mode 100644 index 000000000000..9e61ef683190 --- /dev/null +++ b/devel/hyprwire/Makefile @@ -0,0 +1,40 @@ +PORTNAME= hyprwire +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.1 +CATEGORIES= devel + +MAINTAINER= tagattie@FreeBSD.org +COMMENT= Fast and consistent wire protocol for IPC +WWW= https://github.com/hyprwm/hyprwire + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libhyprutils.so:devel/hyprutils \ + libffi.so:devel/libffi \ + libpugixml.so:textproc/pugixml + +USES= cmake:testing compiler:c++11-lib pkgconfig + +USE_GITHUB= yes +GH_ACCOUNT= hyprwm + +LDFLAGS+= -pthread + +PLIST_SUB= SOVERSION_FULL=${DISTVERSION} \ + SOVERSION_MAJOR=1 +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +# XXX Drop after FreeBSD 13.5 EOL around 2026-04-30 +# https://cgit.freebsd.org/src/commit/?id=af93fea71038 +.if !exists(/usr/include/sys/timerfd.h) +LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim +.endif + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include diff --git a/devel/hyprwire/distinfo b/devel/hyprwire/distinfo new file mode 100644 index 000000000000..1d16e50262e4 --- /dev/null +++ b/devel/hyprwire/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1763884570 +SHA256 (hyprwm-hyprwire-v0.1.1_GH0.tar.gz) = db522dd32756a956833b92ea2f50fb9863392ba43daca42a8008228c6dfc8343 +SIZE (hyprwm-hyprwire-v0.1.1_GH0.tar.gz) = 31531 diff --git a/devel/hyprwire/files/patch-src_core_client_ClientSocket.cpp b/devel/hyprwire/files/patch-src_core_client_ClientSocket.cpp new file mode 100644 index 000000000000..fb2c37a1aeab --- /dev/null +++ b/devel/hyprwire/files/patch-src_core_client_ClientSocket.cpp @@ -0,0 +1,10 @@ +--- src/core/client/ClientSocket.cpp.orig 2025-11-23 08:07:11 UTC ++++ src/core/client/ClientSocket.cpp +@@ -18,6 +18,7 @@ + #include + #include + #include ++#include + + #include + #include diff --git a/devel/hyprwire/files/patch-src_core_server_ServerClient.cpp b/devel/hyprwire/files/patch-src_core_server_ServerClient.cpp new file mode 100644 index 000000000000..e925ee87ce0b --- /dev/null +++ b/devel/hyprwire/files/patch-src_core_server_ServerClient.cpp @@ -0,0 +1,11 @@ +--- src/core/server/ServerClient.cpp.orig 2025-11-23 08:04:14 UTC ++++ src/core/server/ServerClient.cpp +@@ -7,6 +7,8 @@ + #include "../../helpers/Log.hpp" + #include "../../Macros.hpp" + ++#include ++ + #include + #include + diff --git a/devel/hyprwire/files/patch-src_core_server_ServerSocket.cpp b/devel/hyprwire/files/patch-src_core_server_ServerSocket.cpp new file mode 100644 index 000000000000..680a7b75932d --- /dev/null +++ b/devel/hyprwire/files/patch-src_core_server_ServerSocket.cpp @@ -0,0 +1,10 @@ +--- src/core/server/ServerSocket.cpp.orig 2025-11-23 08:06:13 UTC ++++ src/core/server/ServerSocket.cpp +@@ -9,6 +9,7 @@ + #include + #include + #include ++#include + + #include + #include diff --git a/devel/hyprwire/pkg-descr b/devel/hyprwire/pkg-descr new file mode 100644 index 000000000000..d48eec95bdc7 --- /dev/null +++ b/devel/hyprwire/pkg-descr @@ -0,0 +1,3 @@ +Hyprwire is a fast and consistent wire protocol, and its +implementation. This is essentially a "method" for processes to talk +to each other. diff --git a/devel/hyprwire/pkg-plist b/devel/hyprwire/pkg-plist new file mode 100644 index 000000000000..9593517d8a32 --- /dev/null +++ b/devel/hyprwire/pkg-plist @@ -0,0 +1,17 @@ +bin/hyprwire-scanner +include/hyprwire/core/ClientSocket.hpp +include/hyprwire/core/ServerSocket.hpp +include/hyprwire/core/implementation/ClientImpl.hpp +include/hyprwire/core/implementation/Object.hpp +include/hyprwire/core/implementation/ServerImpl.hpp +include/hyprwire/core/implementation/Spec.hpp +include/hyprwire/core/implementation/Types.hpp +include/hyprwire/core/types/MessageMagic.hpp +include/hyprwire/hyprwire.hpp +lib/cmake/hyprwire-scanner/hyprwire-scanner-config-version.cmake +lib/cmake/hyprwire-scanner/hyprwire-scanner-config.cmake +lib/libhyprwire.so +lib/libhyprwire.so.%%SOVERSION_FULL%% +lib/libhyprwire.so.%%SOVERSION_MAJOR%% +libdata/pkgconfig/hyprwire-scanner.pc +libdata/pkgconfig/hyprwire.pc