Warpinator is a kind of AirDrop for devices using Gnu / Linux operating systems, allowing us to send files to computers that are connected to the same Wi-Fi network. Android clients also available in F-Droid and google play. WWW: https://github.com/linuxmint/warpinator Patches PR: https://github.com/linuxmint/warpinator/pull/97
(In reply to Ivan Rozhuk from comment #0) Do you have a patch to add a new port available?
Created attachment 226697 [details] patch
Please use DISTVERSION instead of PORTVERSION (see Porter's Handbook) If possible please fix so you don't need to set BINARY_ALIAS and submit upstream Ordering of the lower half of the Makefile can be improved such as SHEBANGFIX*
Created attachment 230856 [details] patch Update to 1.2.9
Is anyone else interested in getting this port committed? I have 1.6.4 (latest source tag) working. It's a neat program, I'd like to see it in ports.
(In reply to Vidar Karlsen from comment #5) Vidar, I can help to get it added, please submit the patch you have for latest version. Ivan, Since you submitted the first version, do you want to be the port maintainer?
Created attachment 246768 [details] Bumped patch This is what I have so far, based off of Ivan's original patch. The protobuf stuff in pre-build is there to avoid having to set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python at runtime because the bundled protos are out of date. This is also why it needs grpcio-tools and protoc in BUILD_DEPENDS.
(In reply to Vidar Karlsen from comment #7) Hello Vidar and Ivan, I've added NO_ARCH=yes since this port doesn't carry any binary file. During build I can see these warnings: Warning: you may not need USES=desktop-file-utils Warning: you might not need LIB_DEPENDS on libintl.so Warning: you might not need LIB_DEPENDS on libatk-1.0.so Warning: you might not need LIB_DEPENDS on libglib-2.0.so Warning: you might not need LIB_DEPENDS on libintl.so Warning: you might not need LIB_DEPENDS on libgtk-3.so Warning: you might not need LIB_DEPENDS on libpango-1.0.so Are you sure it requires all listed dependencies?
(In reply to Renato Botelho from comment #8) I'm not sure. It works without USES=desktop-file-utils. I think the LIB_DEPENDS come from the other USES= settings, as the port's Makefile doesn't define any LIB_DEPENDS.
(In reply to Vidar Karlsen from comment #9) Those lib_depends are definitely coming from USES definitions, I was just trying to be sure we are not adding unneeded deps to the list. Can you just double check on docs if we have just what is needed? BTW, I had a conversation with Ivan on a private email and he suggested you to assume the maintainership of this port. Do you agree?
(In reply to Renato Botelho from comment #10) I'll run some tests and see if I can slim it down. Regarding maintainership: I don't want to step on anyone's toes, but I'll be happy to maintain it if it's alright with Ivan.
(In reply to Vidar Karlsen from comment #11) cool. Thanks!
Created attachment 251938 [details] Up-to-date patch Upstream moved to 1.8.5, so I bumped it to there and harmonized the dependencies with the list from the upstream readme (as much as possible). USES: I removed desktop-file-utils because the .desktop files don't contain MimeType, and bumped python to :3.8+ since there is no python lower than 3.8 in the tree. QA: I've test-built it with poudriere testport under 14.0-amd64 and 13.3-amd64, and directly from the ports tree in 14.0-amd64 and 14.1-amd64. Run-time tests on 14.0 (jail) and 14.1 (host), sending a file between them worked fine.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=882b9da2bd915533c6430b395cc641c91a10cdde commit 882b9da2bd915533c6430b395cc641c91a10cdde Author: Vidar Karlsen <vidar@karlsen.tech> AuthorDate: 2024-11-08 13:47:29 +0000 Commit: Renato Botelho <garga@FreeBSD.org> CommitDate: 2024-11-08 13:48:48 +0000 net-p2p/warpinator: New port Warpinator allows you to easily connect multiple computers on a local area network and share files quickly and securely PR: 257423 net-p2p/Makefile | 1 + net-p2p/warpinator/Makefile (new) | 46 +++++++++++++++ net-p2p/warpinator/distinfo (new) | 3 + net-p2p/warpinator/pkg-descr (new) | 2 + net-p2p/warpinator/pkg-plist (new) | 117 +++++++++++++++++++++++++++++++++++++ 5 files changed, 169 insertions(+)