On 2024/07/05 02:48:39 +0000, Brian Callahan <bcal...@posteo.net> wrote:
> Hi ports --
> 
> Attached is a new port, www/tuba. Tuba is a desktop app for browsing the 
> Fediverse.
> 
> This works OK for me on amd64. There is a small piece of runtime setup 
> which is documented here: 
> https://github.com/GeopJr/Tuba/wiki/keyring-issues -- Tuba will give you 
> this link when you launch it for the first time. This is why there are 
> RDEPS and gnome-keyring and seahorse. I can put an explanatory comment 
> in the port Makefile about this if people think it makes sense.
> 
> OK?

quickly tested, but works for me.  OK op@ with `make update-plist' since
it wants to remove the share/locale/{nb_NO,zh_Hans}/{,LC_MESSAGES/} dirs.

I'd also suggest/ask to add a symlink for the binary for folks like me
that don't use a .desktop-capable application launcher.  Diff below does
both.

(the manpage is so useless I haven't even considered to make it work as
`man tuba' too.)


Thanks,

Omar Polo

--- Makefile.orig       Tue Jul 23 16:05:38 2024
+++ Makefile    Tue Jul 23 16:06:10 2024
@@ -36,4 +36,7 @@
                x11/gnome/seahorse \
                x11/gtk+4,-guic
 
+post-install:
+       cd ${PREFIX}/bin && ln -s dev.geopjr.Tuba tuba
+
 .include <bsd.port.mk>
--- pkg/PLIST.orig      Fri Jul  5 04:19:32 2024
+++ pkg/PLIST   Tue Jul 23 16:11:18 2024
@@ -1,4 +1,5 @@
 @bin bin/dev.geopjr.Tuba
+bin/tuba
 @man man/man1/dev.geopjr.Tuba.1
 share/applications/dev.geopjr.Tuba.desktop
 share/glib-2.0/schemas/dev.geopjr.Tuba.gschema.xml
@@ -30,8 +31,6 @@
 share/locale/ja/LC_MESSAGES/dev.geopjr.Tuba.mo
 share/locale/kab/LC_MESSAGES/dev.geopjr.Tuba.mo
 share/locale/ko/LC_MESSAGES/dev.geopjr.Tuba.mo
-share/locale/nb_NO/
-share/locale/nb_NO/LC_MESSAGES/
 share/locale/nb_NO/LC_MESSAGES/dev.geopjr.Tuba.mo
 share/locale/nl/LC_MESSAGES/dev.geopjr.Tuba.mo
 share/locale/oc/LC_MESSAGES/dev.geopjr.Tuba.mo
@@ -44,8 +43,6 @@
 share/locale/th/LC_MESSAGES/dev.geopjr.Tuba.mo
 share/locale/tr/LC_MESSAGES/dev.geopjr.Tuba.mo
 share/locale/uk/LC_MESSAGES/dev.geopjr.Tuba.mo
-share/locale/zh_Hans/
-share/locale/zh_Hans/LC_MESSAGES/
 share/locale/zh_Hans/LC_MESSAGES/dev.geopjr.Tuba.mo
 share/metainfo/dev.geopjr.Tuba.metainfo.xml
 @tag glib-compile-schemas

Reply via email to