Created attachment 257486 [details] net-im/tuba.patch Tuba is an open-source Fediverse client for browsing and interacting with various federated social networks. It is a fork of the Tootle project, designed to provide a modern and user-friendly interface for accessing Mastodon and other ActivityPub-based platforms. WWW: https://tuba.geopjr.dev \ https://github.com/GeopJr/Tuba Poudriere testport passes on amd64 14.2-RELEASE. Thanks in advance!
Instead of installing the binary twice, check if you can hard-link it. A soft-link is also ok. PORTNAME should match GH_PROJECT if reasonable. Is there a particular reason why the SPELLCHECK option is off by default? Port looks ok otherwise. Have not conducted a build test yet.
(In reply to Robert Clausecker from comment #2) Thanks for feedback. I do now hard-link binary and then strip_cmd it. portname changed to Tuba. > Is there a particular reason why the SPELLCHECK option is off by default? No, I marked it as default now. > Port looks ok otherwise. Have not conducted a build test yet. Thanks. Tested in 14.2-R/amd64/latest (with local patched gtksourceview5 5.6.0) poudriere.
Created attachment 257489 [details] net-im/tuba.patch
(In reply to Yusuf Yaman from comment #3) You may need to first strip and then hard link as strip may break hard links. That said, if the original binary is stripped, there's no reason to strip the link. It's the same file after all. I'll go fix that on commit if needed. A build test reveals that a dependency is missing: Dependency gtksourceview-5 found: NO. Found 5.4.2 but need: '>=5.6.0' I recommend you test your ports with Poudriere to check if all required dependencies are listed. Portlint recommends to make the gettext dependency conditional on an NLS knob. Would this work for this port?
(In reply to Robert Clausecker from comment #5) > You may need to first strip and then hard link as strip may break hard links. That said, if the original binary is stripped, there's no reason to strip the link. It's the same file after all. Portlint said me to do so, they have the same file size, so i don't need to do it? > I'll go fix that on commit if needed. Thanks. > A build test reveals that a dependency is missing: > Dependency gtksourceview-5 found: NO. Found 5.4.2 but need: '>=5.6.0' I added a PR to "Depends on" list which would update gtksourceview5 because it is so old and Tuba requires gtksourceview5>=5.6.0, actually i was said that i patched gtksourceview5 to 5.6.0 locally. > I recommend you test your ports with Poudriere to check if all required dependencies are listed. Thanks but I already do so. > Portlint recommends to make the gettext dependency conditional on an NLS knob. > Would this work for this port? I don't think so because I didn't see a configurable NLS option in my port.
Ok, now portlint doesn't tell me to strip the binary, i checked again.
Ah yes, I missed the dependency. I guess we'll have to wait for someone from gnome@ to take the first step.
(In reply to Robert Clausecker from comment #8) I see, let's hope it will get updated. Very thanks.
Created attachment 257490 [details] net-im/tuba.patch Removed ${STRIP_CMD}.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e9b5bd9e13a8f8d34e1f2f0cf670501ce25186c3 commit e9b5bd9e13a8f8d34e1f2f0cf670501ce25186c3 Author: Yusuf Yaman <nxjoseph@protonmail.com> AuthorDate: 2025-02-13 18:33:00 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2025-02-20 23:27:22 +0000 net-im/tuba: New port: Browse the Fediverse Tuba is an open-source Fediverse client for browsing and interacting with various federated social networks. It is a fork of the Tootle project, designed to provide a modern and user-friendly interface for accessing Mastodon and other ActivityPub-based platforms. WWW: https://tuba.geopjr.dev WWW: https://github.com/GeopJr/Tuba PR: 284793 net-im/Makefile | 1 + net-im/tuba/Makefile (new) | 41 +++++++++++++++++++++++++++++ net-im/tuba/distinfo (new) | 3 +++ net-im/tuba/pkg-descr (new) | 4 +++ net-im/tuba/pkg-plist (new) | 64 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 113 insertions(+)
Thank you for your contribution.