Re: [new] net/nheko v0.9.3 (and deps): a native desktop client for matrix

2022-06-26 Thread Omar Polo
Aaron Bieber  wrote:
> On Thu, 23 Jun 2022 at 07:58:06 -0600, Aaron Bieber wrote:
> > Hi!
> > 
> > First off, HUGE thanks to tb@ for the work on libressl that let mtxclient 
> > work
> > without needing to pull in openssl!!
> > 
> > Also thanks to casper for some tweaks to the deps!
> > 
> > Nheko is probably the most feature complete native app for matrix chat. It 
> > does
> > encryption, spaces.. etc. Very usable as a daily driver!
> > 
> > I have been using it on OpenBSD for some time now without issue.
> > 
> > Any cluesticks?
> > 
> > Cheers,
> > Aaron
> > 
> 
> Updated set of files with feedback from sthen@ - Also apologies to caspar@ for
> the typo!
> 
> Also, here is a diff that people can use instead of the tarball dance:
>  
>   https://github.com/openbsd/ports/compare/master...qbit:nheko.diff

i've just extracted the tarball in mystuff and built nehko.  It works
fine here, I had an issue at first with the validation (nehko thought it
wasn't verified but the web interface said it was.)  I deleted the data,
re-logged in, verified again and it works fine.  I'm using it without
any wallets, thanks landry for the info on how to do it! :)

ok op@ to import all.  some nitpick:

 - coeurl: LIB_DEPENDS could be sorted and it builds with -std=c++17 so
   the comment could be updated.

 - mtxclient: as caspar@ pointed out, the commented NO_TEST could be
   deleted.  the port has a working regress suite, even if it seems to
   hang? (maybe since network is disabled)

 - nlohmann-json: can drop NO_TEST.  There are tests in there, and even
   if the majority of them are trying to fetch data and thus fails, I
   still think we should keep them.  (52 out of 60 tests are fetching stuff!!)

 - spdlog: on the other hand, this one could have a NO_TEST=Yes defined
   since `make test' fails with "unknown target 'test'".

 - nheko: the license seems to be GPLv3+.  (grep for
   SPDX-License-Identifier to verify, you'll find a bunch (all?) of
   GPL-3.0-or-later)
   



Re: [new] net/nheko v0.9.3 (and deps): a native desktop client for matrix

2022-06-25 Thread Caspar Schutijser
On Thu, Jun 23, 2022 at 07:58:06AM -0600, Aaron Bieber wrote:
> Hi!
> 
> First off, HUGE thanks to tb@ for the work on libressl that let mtxclient work
> without needing to pull in openssl!!
> 
> Also thanks to casper for some tweaks to the deps!
> 
> Nheko is probably the most feature complete native app for matrix chat. It 
> does
> encryption, spaces.. etc. Very usable as a daily driver!
> 
> I have been using it on OpenBSD for some time now without issue.
> 
> Any cluesticks?

I had a look at the various CMakeLists.txt files to see if all
dependencies are covered in the ports Makefiles; I think that is the
case. Runtime testing was also successful.

Some nits:
 * Perhaps "sed -i s/http/HTTP/ devel/coeurl/pkg/DESCR" ?
 * There's an commented #NO_TEST = Yes in devel/mtxclient/Makefile

Other than that OK caspar@ but please wait for an OK from another
developer.

Caspar



Re: [new] net/nheko v0.9.3 (and deps): a native desktop client for matrix

2022-06-24 Thread Landry Breuil
Le Fri, Jun 24, 2022 at 02:32:51PM +, Yifei Zhan a écrit :
> On 22/06/23 09:20AM, Aaron Bieber wrote:
> > On Thu, 23 Jun 2022 at 07:58:06 -0600, Aaron Bieber wrote:
> > > Hi!
> > > 
> > > First off, HUGE thanks to tb@ for the work on libressl that let mtxclient 
> > > work
> > > without needing to pull in openssl!!
> > > 
> > > Also thanks to casper for some tweaks to the deps!
> > > 
> > > Nheko is probably the most feature complete native app for matrix chat. 
> > > It does
> > > encryption, spaces.. etc. Very usable as a daily driver!
> > > 
> 
> you beat me to it :D
> 
> I tested this on arm64, build/run OK, registered a new account on 
> matrix.org and joined a few rooms. a few minor gliches here and there 
> but overall usable. 
> 
> One minor issue tho, it complains 'Nheko could not connect to the 
> secure storage to save encrypted secrets to' and then exited/crashed 
> during the first start, seems like it needs D-Bus plus a secret 
> service (k-wallet/gnome-keyrings) to work properly, perhaps we can put 
> a note for that in README?

i worked that around (as it never managed to connect to a running
gnome-keyring) using this hidden flag:

$head .config/nheko/nheko.conf
[General]
run_without_secure_secrets_service=true

cf
https://github.com/Nheko-Reborn/nheko/commit/9363f0b7c7bfcf5257a47892b7ca4f8dabf92c59
gross, sure, but helps.



Re: [new] net/nheko v0.9.3 (and deps): a native desktop client for matrix

2022-06-23 Thread Aaron Bieber
On Thu, 23 Jun 2022 at 07:58:06 -0600, Aaron Bieber wrote:
> Hi!
> 
> First off, HUGE thanks to tb@ for the work on libressl that let mtxclient work
> without needing to pull in openssl!!
> 
> Also thanks to casper for some tweaks to the deps!
> 
> Nheko is probably the most feature complete native app for matrix chat. It 
> does
> encryption, spaces.. etc. Very usable as a daily driver!
> 
> I have been using it on OpenBSD for some time now without issue.
> 
> Any cluesticks?
> 
> Cheers,
> Aaron
> 

Updated set of files with feedback from sthen@ - Also apologies to caspar@ for
the typo!

Also, here is a diff that people can use instead of the tarball dance:
 
  https://github.com/openbsd/ports/compare/master...qbit:nheko.diff


nheko_and_deps.tgz
Description: Binary data


Re: [new] net/nheko v0.9.3 (and deps): a native desktop client for matrix

2022-06-23 Thread Stuart Henderson
On 2022/06/23 07:58, Aaron Bieber wrote:
> Hi!
> 
> First off, HUGE thanks to tb@ for the work on libressl that let mtxclient work
> without needing to pull in openssl!!
> 
> Also thanks to casper for some tweaks to the deps!
> 
> Nheko is probably the most feature complete native app for matrix chat. It 
> does
> encryption, spaces.. etc. Very usable as a daily driver!
> 
> I have been using it on OpenBSD for some time now without issue.
> 
> Any cluesticks?
> 
> Cheers,
> Aaron
> 

>From a read through:

devel/mtxclient:

COMMENT =   client API for Matrix, built on libcurl
- should be s/libcurl/coeurl/ shouldn't it?

(DESCR)
Very fast, header-only/compiled, C++ logging library.
- wrong port


devel/nlohmann-json:

CATEGORIES =devel
- think we usually do textproc for json-things

DEBUG_PACKAGES = ${BUILD_PACKAGES}
- empty debug package; this is header-only

PSEUDO_FLAVORS =tests
- not really standard in ports, and you have the huge testdata download
whether or not this is used, might be better to get rid of this and just
include the tests by default? (Or just disable tests if they aren't
really useful)


devel/spdlog:
#NO_TEST =  Yes
- commented; i didn't check but please just pick NO_TEST=Yes or leave it out




[new] net/nheko v0.9.3 (and deps): a native desktop client for matrix

2022-06-23 Thread Aaron Bieber
Hi!

First off, HUGE thanks to tb@ for the work on libressl that let mtxclient work
without needing to pull in openssl!!

Also thanks to casper for some tweaks to the deps!

Nheko is probably the most feature complete native app for matrix chat. It does
encryption, spaces.. etc. Very usable as a daily driver!

I have been using it on OpenBSD for some time now without issue.

Any cluesticks?

Cheers,
Aaron



nheko_and_deps.tgz
Description: Binary data