Bug 264541 - [New Port] net-im/gotktrix: Matrix client in Go and GTK4
Summary: [New Port] net-im/gotktrix: Matrix client in Go and GTK4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitri Goutnik
URL: https://github.com/diamondburned/gotk...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-08 11:32 UTC by Robert Clausecker
Modified: 2022-06-09 21:30 UTC (History)
1 user (show)

See Also:


Attachments
[New Port] net-im/gotktrix: Matrix client in Go and GTK4 (2.94 KB, patch)
2022-06-08 11:32 UTC, Robert Clausecker
fuz: maintainer-approval+
Details | Diff
[New Port] net-im/gotktrix: Matrix client in Go and GTK4 (3.03 KB, patch)
2022-06-09 20:25 UTC, Robert Clausecker
fuz: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker freebsd_committer freebsd_triage 2022-06-08 11:32:59 UTC
Created attachment 234548 [details]
[New Port] net-im/gotktrix: Matrix client in Go and GTK4

Matrix client in Go and GTK4 implementing a large part of the feature
set the Matrix protocol supports.

WWW: https://github.com/diamondburned/gotktrix

Tested on arm64 armv7 i386 amd64 FreeBSD 13.
Portlint likes the port.

Warning: build looks like it gets stuck in github.com/diamondburned/gotk4/pkg/gtk/v4, but it'll eventually continue.  Just let it run for a while.
Comment 1 Dmitri Goutnik freebsd_committer freebsd_triage 2022-06-09 12:18:54 UTC
Hi,

I'm getting some stage-qa warnings:

====> Running Q/A tests (stage-qa)
Error: /usr/local/bin/gotktrix is linked to /usr/local/lib/libharfbuzz.so.0 from print/harfbuzz but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libharfbuzz.so:print/harfbuzz
Error: /usr/local/bin/gotktrix is linked to /usr/local/lib/libvulkan.so.1 from graphics/vulkan-loader but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libvulkan.so:graphics/vulkan-loader
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2022-06-09 13:12:12 UTC
(In reply to Dmitri Goutnik from comment #1)

Hi Dmitri,

This is strange.  I did not receive this warning when compiling under Poudriere, but I can reproduce this when compiling without Poudriere on a system where harfbuzz is installed.

I'll try to investigate what is going on.
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2022-06-09 20:25:56 UTC
Created attachment 234586 [details]
[New Port] net-im/gotktrix: Matrix client in Go and GTK4

Hi Dmitry,

Please find attached a new patch that adds the two dependencies.

Tested with Poudriere on arm64, i386, amd64 FreeBSD 13.
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-06-09 21:29:52 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8f513bd478b4784e7f6790f22915466d0b61f9ab

commit 8f513bd478b4784e7f6790f22915466d0b61f9ab
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-06-09 21:19:07 +0000
Commit:     Dmitri Goutnik <dmgk@FreeBSD.org>
CommitDate: 2022-06-09 21:27:49 +0000

    net-im/gotktrix: Add new port

    Matrix client in Go and GTK4 implementing a large part of the feature
    set the Matrix protocol supports.

    WWW: https://github.com/diamondburned/gotktrix

    PR:             264541

 net-im/Makefile                 |  1 +
 net-im/gotktrix/Makefile (new)  | 30 ++++++++++++++++++++++++++++++
 net-im/gotktrix/distinfo (new)  |  5 +++++
 net-im/gotktrix/pkg-descr (new) |  4 ++++
 4 files changed, 40 insertions(+)
Comment 5 Dmitri Goutnik freebsd_committer freebsd_triage 2022-06-09 21:30:35 UTC
Committed, thanks!