Re: UPDATE: mail/aerc to 0.18.0

2024-07-08 Thread Thim Cederlund
Hi Johannes,

"Johannes Thyssen Tishman"  wrote:
> Hi Thim,
> 
> Thanks for the update. It is very probable that there will be a 0.18.1
> release soon. Maybe it's better to wait a little and get that update
> committed instead?
> 
> Anyways I've tested this update and it's working fine (using it to send
> this email).

I'm sorry but I haven't kept up with the aerc mailing list in a
while so I wasn't aware that there'd be a 0.18.1 release coming
soon, but yeah, that sounds good to me!


Best Regards,

Thim Cederlund



UPDATE: mail/aerc to 0.18.0

2024-07-02 Thread Thim Cederlund
Hi ports,

Here's a patch to update aerc to 0.18.0.

The patch for the colorize filter isn't needed anymore because we
are now able to disable the OSC8 sequences directly in the config
file.

There is a bunch of fixes and new additions so I recommend you to
check out the release notes: https://git.sr.ht/~rjarry/aerc/refs/0.18.0

Tested (very briefly) on amd64 -current without notmuch support. I
am not using aerc on a daily basis anymore so for anyone who is
active and wants to claim MAINTAINER, I am all for it.

Oh, and by the way, infrastructure/bin/portcheck is still complaining
about the python filters that are present in the port and the lack
of ${MODPY_COMPILEALL} in the Makefile but from what I remember we
ignored this. Just thought I would point it out again.


Best Regards,

Thim Cederlund


cvs diff: Diffing .
Index: Makefile
===
RCS file: /home/cvs/ports/mail/aerc/Makefile,v
diff -u -p -r1.15 Makefile
--- Makefile2 Feb 2024 09:46:01 -   1.15
+++ Makefile2 Jul 2024 21:20:50 -
@@ -4,9 +4,9 @@ ONLY_FOR_ARCHS = aarch64 arm amd64 i386 
 COMMENT =  terminal email client
 
 MODGO_MODNAME =git.sr.ht/~rjarry/aerc
-MODGO_VERSION =v0.0.0-20240201001117-6ea74eb30457
+MODGO_VERSION =v0.0.0-20240702203051-5f8620445ed9
 
-V =0.17.0
+V =0.18.0
 DISTNAME = aerc-$V
 
 CATEGORIES =   mail
Index: distinfo
===
RCS file: /home/cvs/ports/mail/aerc/distinfo,v
diff -u -p -r1.11 distinfo
--- distinfo2 Feb 2024 09:46:01 -   1.11
+++ distinfo2 Jul 2024 21:22:04 -
@@ -1,30 +1,32 @@
-SHA256 (aerc-0.17.0.zip) = kZfFtrQmuiy7+ncgCJviRC+MaFXZR8YvdsQOSgeXRl8=
-SHA256 (go_modules/cloud.google.com/go/compute/metadata/@v/v0.2.0.mod) = 
ZmAMRI0rXFR3BnNIkO0YGJyCgLII2Gua8qsIENW2HSE=
-SHA256 (go_modules/cloud.google.com/go/compute/metadata/@v/v0.2.0.zip) = 
v36mmm629lvSsa2TebXRmQQP81Rk3+iLEKPFL30ROq8=
-SHA256 (go_modules/git.sr.ht/~rjarry/go-opt/@v/v1.3.0.mod) = 
4J9cxBhy4n5N/YRcoMwoVBs2K4xVoPWd0HOjF5qtnrE=
-SHA256 (go_modules/git.sr.ht/~rjarry/go-opt/@v/v1.3.0.zip) = 
pK/so6R6i1R7BSCG1CAIXLuvJmkEaKx92ADcf9aHPL0=
-SHA256 (go_modules/git.sr.ht/~rockorager/go-jmap/@v/v0.3.0.mod) = 
h/nX5diHqfkDrJbpZuGw5gE+IgaclgqZgm7kmVLa2jw=
-SHA256 (go_modules/git.sr.ht/~rockorager/go-jmap/@v/v0.3.0.zip) = 
qB6fVqXORSSINci0xvMisPSucvo2ufZLg8O1JGR9wgg=
-SHA256 (go_modules/git.sr.ht/~rockorager/tcell-term/@v/v0.10.0.mod) = 
8kRq6lakDTvyokkg1NpGgMeU8Bp4sR1Cf62IhtKWbaM=
-SHA256 (go_modules/git.sr.ht/~rockorager/tcell-term/@v/v0.10.0.zip) = 
SgWDKQ8e+h0JoFbMtMt4tbOrox/BVVwePeJsp11w4Xg=
-SHA256 
(go_modules/github.com/!proton!mail/crypto/@v/v0.0.0-20200420072808-71bec3603bf3.mod)
 = DMa3izbWgj9dYhfIZi8gZzx06hpm99rTKMmFvQJyhjU=
-SHA256 
(go_modules/github.com/!proton!mail/crypto/@v/v0.0.0-20200420072808-71bec3603bf3.zip)
 = +ctdhKExtFrfAEM5TCDVDtDUKOWMIHMwUwRJD6KzSco=
-SHA256 
(go_modules/github.com/!proton!mail/go-crypto/@v/v0.0.0-2022122917-428f8eabeeb3.mod)
 = YS0PzpOZlNH/uEOMpQbQh04XnAFAh1/Xr65Z65d3ROU=
-SHA256 
(go_modules/github.com/!proton!mail/go-crypto/@v/v0.0.0-20230417170513-8ee5748c52b5.mod)
 = c5utQto6BBturc3aZUav/UKzWoeiPIzZf5ZZTz6xINs=
-SHA256 
(go_modules/github.com/!proton!mail/go-crypto/@v/v0.0.0-20230417170513-8ee5748c52b5.zip)
 = caFXHZh12C6GX/mktuNcD7MZPhX67D5YWhpbtrqViGI=
-SHA256 
(go_modules/github.com/arran4/golang-ical/@v/v0.0.0-20230318005454-19abf92700cc.mod)
 = xQ6LFCJh9J77W/eg2jItFH+GI5AfPSnNXXJ0VxPThNE=
-SHA256 
(go_modules/github.com/arran4/golang-ical/@v/v0.0.0-20230318005454-19abf92700cc.zip)
 = f9VY999OMreK48IydmEr6MnGRnfP+8ovpQhFk+xwg5s=
-SHA256 (go_modules/github.com/bwesterb/go-ristretto/@v/v1.2.0.mod) = 
NorKF1e+h0XM47kN60Aee+V0CWPKU1nEqVTMA1AtjwM=
-SHA256 (go_modules/github.com/bwesterb/go-ristretto/@v/v1.2.2.mod) = 
NorKF1e+h0XM47kN60Aee+V0CWPKU1nEqVTMA1AtjwM=
-SHA256 (go_modules/github.com/bwesterb/go-ristretto/@v/v1.2.2.zip) = 
4Tdu9lU/guWrejnDeyPZj6dyi/0HyR/ARWlCrzNhPWc=
+SHA256 (aerc-0.18.0.zip) = Avd/avhpKtDEEbXaUpbyZeJVQ+YYEJBMOtVA9IMZWNE=
+SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.20.1.mod) = 
SI2TVknKeuBzDnUj1v2BwiWJhPotYoT9IlqTVMmt43I=
+SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.20.1.zip) = 
s2OUUpzJxqCU+DEtVG8FeKWQ3mqqHVpUR5j+twjIobA=
+SHA256 (go_modules/cloud.google.com/go/compute/metadata/@v/v0.2.3.mod) = 
ABGpCmT7GqppqtQm/orJyeWjfkthmnvQTUCQlTZatIg=
+SHA256 (go_modules/cloud.google.com/go/compute/metadata/@v/v0.2.3.zip) = 
KShk29Cx3jepaOKF6UmIXlczhIN9gc02lb5c4uI5GIc=
+SHA256 (go_modules/git.sr.ht/~rjarry/go-opt/@v/v1.4.0.mod) = 
4J9cxBhy4n5N/YRcoMwoVBs2K4xVoPWd0HOjF5qtnrE=
+SHA256 (go_modules/git.sr.ht/~rjarry/go-opt/@v/v1.4.0.zip) = 
R7lxRplBMUq1buwMEwbkV7tUKn9ky04og9IdQ6Id+LA=
+SHA256 (go_modules/git.sr.ht/~rockorager/go-jmap/@v/v0.5.0.mod) = 
h/nX5diHqfkDrJbpZuGw5gE+IgaclgqZgm7kmVLa2jw=
+SHA256 (go_modules/git.sr.ht/~rockorager/go-jmap/@v/v0.5.0.zip

Re: [update] mail/aerc 0.16.0 -> 0.17.0

2024-02-01 Thread Thim Cederlund
Hi Johannes,

"Johannes Thyssen Tishman"  wrote:
> Please find below a diff to update mail/aerc to version 0.17.0.
> There's quite a lot of new features as well as better CVS and OpenBSD
> support.
> 
> Changelog: https://git.sr.ht/~rjarry/aerc/refs/0.17.0
> 
> Cc'd maintainer.
> 
> Kind regards,
> Johannes

Thank you Johannes. Funnily enough I was just about to send a patch
myself but I guess by chance, I just glanced at the inbox and noticed
your mail. Funny how that works sometimes.

Anyways, I have tested it a bit on amd64, without notmuch might I
add, and all seems to be working right, no hiccups of any sorts.

Best Regards,

Thim Cederlund

> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/mail/aerc/Makefile,v
> retrieving revision 1.14
> diff -u -p -r1.14 Makefile
> --- Makefile  15 Nov 2023 16:13:03 -  1.14
> +++ Makefile  1 Feb 2024 16:22:36 -
> @@ -4,11 +4,10 @@ ONLY_FOR_ARCHS = aarch64 arm amd64 i386 
>  COMMENT =terminal email client
>  
>  MODGO_MODNAME =  git.sr.ht/~rjarry/aerc
> -MODGO_VERSION =  v0.0.0-20230927211642-61bca76423ee
> +MODGO_VERSION =  v0.0.0-20240201001117-6ea74eb30457
>  
> -V =  0.16.0
> +V =  0.17.0
>  DISTNAME =   aerc-$V
> -REVISION =   0
>  
>  CATEGORIES = mail
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/mail/aerc/distinfo,v
> retrieving revision 1.10
> diff -u -p -r1.10 distinfo
> --- distinfo  28 Sep 2023 20:59:23 -  1.10
> +++ distinfo  1 Feb 2024 16:22:36 -
> @@ -1,12 +1,12 @@
> -SHA256 (aerc-0.16.0.zip) = qxB3rG5bd654Wr553+1Cs/yfDXRzXXT17YtwXeqa/Zo=
> +SHA256 (aerc-0.17.0.zip) = kZfFtrQmuiy7+ncgCJviRC+MaFXZR8YvdsQOSgeXRl8=
>  SHA256 (go_modules/cloud.google.com/go/compute/metadata/@v/v0.2.0.mod) = 
> ZmAMRI0rXFR3BnNIkO0YGJyCgLII2Gua8qsIENW2HSE=
>  SHA256 (go_modules/cloud.google.com/go/compute/metadata/@v/v0.2.0.zip) = 
> v36mmm629lvSsa2TebXRmQQP81Rk3+iLEKPFL30ROq8=
> +SHA256 (go_modules/git.sr.ht/~rjarry/go-opt/@v/v1.3.0.mod) = 
> 4J9cxBhy4n5N/YRcoMwoVBs2K4xVoPWd0HOjF5qtnrE=
> +SHA256 (go_modules/git.sr.ht/~rjarry/go-opt/@v/v1.3.0.zip) = 
> pK/so6R6i1R7BSCG1CAIXLuvJmkEaKx92ADcf9aHPL0=
>  SHA256 (go_modules/git.sr.ht/~rockorager/go-jmap/@v/v0.3.0.mod) = 
> h/nX5diHqfkDrJbpZuGw5gE+IgaclgqZgm7kmVLa2jw=
>  SHA256 (go_modules/git.sr.ht/~rockorager/go-jmap/@v/v0.3.0.zip) = 
> qB6fVqXORSSINci0xvMisPSucvo2ufZLg8O1JGR9wgg=
> -SHA256 (go_modules/git.sr.ht/~rockorager/tcell-term/@v/v0.8.0.mod) = 
> 8kRq6lakDTvyokkg1NpGgMeU8Bp4sR1Cf62IhtKWbaM=
> -SHA256 (go_modules/git.sr.ht/~rockorager/tcell-term/@v/v0.8.0.zip) = 
> dhiTK2f00tfMiBXlpyz8WGHzlJIVhiTkpkY4ZWeMNZU=
> -SHA256 (go_modules/git.sr.ht/~sircmpwn/getopt/@v/v1.0.0.mod) = 
> JKqQcy+IHLONXXl/PBB8RU7ygm2ZbHGoSCP45a2scPI=
> -SHA256 (go_modules/git.sr.ht/~sircmpwn/getopt/@v/v1.0.0.zip) = 
> 4NfbE0Q1547T0PtdB97FPTP6bCB8qYk4lEMNlaaxEck=
> +SHA256 (go_modules/git.sr.ht/~rockorager/tcell-term/@v/v0.10.0.mod) = 
> 8kRq6lakDTvyokkg1NpGgMeU8Bp4sR1Cf62IhtKWbaM=
> +SHA256 (go_modules/git.sr.ht/~rockorager/tcell-term/@v/v0.10.0.zip) = 
> SgWDKQ8e+h0JoFbMtMt4tbOrox/BVVwePeJsp11w4Xg=
>  SHA256 
> (go_modules/github.com/!proton!mail/crypto/@v/v0.0.0-20200420072808-71bec3603bf3.mod)
>  = DMa3izbWgj9dYhfIZi8gZzx06hpm99rTKMmFvQJyhjU=
>  SHA256 
> (go_modules/github.com/!proton!mail/crypto/@v/v0.0.0-20200420072808-71bec3603bf3.zip)
>  = +ctdhKExtFrfAEM5TCDVDtDUKOWMIHMwUwRJD6KzSco=
>  SHA256 
> (go_modules/github.com/!proton!mail/go-crypto/@v/v0.0.0-2022122917-428f8eabeeb3.mod)
>  = YS0PzpOZlNH/uEOMpQbQh04XnAFAh1/Xr65Z65d3ROU=
> @@ -36,8 +36,8 @@ SHA256 (go_modules/github.com/emersion/g
>  SHA256 (go_modules/github.com/emersion/go-imap/@v/v1.0.5.mod) = 
> zTnypeCA7vmr+hUlnboJXXoUvGK52f5DBS1Aw3wGPgg=
>  SHA256 (go_modules/github.com/emersion/go-imap/@v/v1.2.1.mod) = 
> CUokz+EHmJaAQ2go2iC2w8rGTTaPK9cwgoSSd+XYSlY=
>  SHA256 (go_modules/github.com/emersion/go-imap/@v/v1.2.1.zip) = 
> ubZudBptu/WHym+OYYpmsXZQeI+pTuQAz6zGDDSPxJo=
> -SHA256 (go_modules/github.com/emersion/go-maildir/@v/v0.3.0.mod) = 
> VFWPA3hpzllHihNQJH2RumxUFdTrCW+aM3zntHp0sZc=
> -SHA256 (go_modules/github.com/emersion/go-maildir/@v/v0.3.0.zip) = 
> 5mRlTH398xrgF9GEN4ygX+1+Kq74iTD2sKDBcixlz34=
> +SHA256 (go_modules/github.com/emersion/go-maildir/@v/v0.4.1.mod) = 
> FJb3TEH40qSUtZd0v6154aHWYFQrSN53ga7CGRjRcRo=
> +SHA256 (go_modules/github.com/emersion/go-maildir/@v/v0.4.1.zip) = 
> N/ozWlIPaO2Ju99A7xoYJP7KLNaQgkYbz5WrKf86kKg=
>  SHA256 (go_modules/github.com/emersion/go-mbox/@v/v1.0.3.mod) = 
> 4yv9gnZhVZlD1HDmPNzNV5E4WTeTtkmP4m5gcD5cnSI=
>  SHA256 (go_modules/github.com/emersion/go-mbox/@v/v1.0.3.zip) =

Re: [revision] mail/aerc: Use FLAVOR for notmuch

2023-11-15 Thread Thim Cederlund
Hi,

Omar Polo  wrote:
> On 2023/11/14 10:30:28 +, "Johannes Thyssen Tishman" 
>  wrote:
> > Hi,
> > 
> > the subject pretty much says it all. Just like with neomutt, I'd
> > like to suggest making the notmuch dependency optional through a
> > FLAVOR. Cc'd maintainer. Thanks.
> 
> I've thought a bit about this, I would agree.  notmuch support brings in
> a few dependencies that might be unwanted, for something otherwise
> optional.  I didn't do it initally to avoid more headaches with
> go.port.mk, but this seems to work so fine with me provided that Thim
> agrees.
> 
> Thanks,

I agree as well. Most (if not all) of the notmuch integration is
optional either way and will only expand upon aercs core functionality.
Having a flavour will at least give the user some wiggle room to
decide what will be installed.


Best Regards,

Thim Cederlund



[UPDATE] mail/aerc 0.16.0

2023-09-28 Thread Thim Cederlund
Hi @ports,

Here's a diff for a pretty big update for aerc.

Full changelog: https://git.sr.ht/~rjarry/aerc/refs/0.16.0

Some of the highlights:

# Added
- JMAP support.
- Edit email headers directly in the text editor with `[compose].edit-headers`
  in `aerc.conf` or with the `-e` flag for all compose related commands (e.g.
  `:compose`, `:forward`, `:recall`, etc.).
- Use `:save -A` to save all the named parts, not just attachments.
- `colorize` can style diff chunk function names with `diff_chunk_func`.

# Fixed
- `:archive` now works on servers using a different delimiter
- `:open` uses the attachment extension for temporary files, if possible
- memory leak when using notmuch with threading

# Changed
- The local hostname is no longer exposed in outgoing `Message-Id` headers by
  default. Legacy behaviour can be restored by setting `send-with-hostname
  = true` in `accounts.conf`.
- Composing an email is now aborted if the text editor exits with an error
  (e.g. with `vim`, abort an email with `:cq`).


Index: Makefile
===
RCS file: /home/cvs/ports/mail/aerc/Makefile,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 Makefile
--- Makefile16 Aug 2023 16:57:59 -  1.11
+++ Makefile28 Sep 2023 15:24:41 -
@@ -1,11 +1,10 @@
 COMMENT =  terminal email client
 
 MODGO_MODNAME =git.sr.ht/~rjarry/aerc
-MODGO_VERSION =v0.0.0-20230511091235-f1772c92f92e
+MODGO_VERSION =v0.0.0-20230927211642-61bca76423ee
 
-V =0.15.2
+V =0.16.0
 DISTNAME = aerc-$V
-REVISION = 1
 
 CATEGORIES =   mail
 
Index: distinfo
===
RCS file: /home/cvs/ports/mail/aerc/distinfo,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 distinfo
--- distinfo5 Jun 2023 09:09:26 -   1.9
+++ distinfo28 Sep 2023 15:29:30 -
@@ -1,6 +1,8 @@
-SHA256 (aerc-0.15.2.zip) = RVvoR07SchjXNviLoC3Du6t1MvNLsq+GPU82iruYRmM=
+SHA256 (aerc-0.16.0.zip) = qxB3rG5bd654Wr553+1Cs/yfDXRzXXT17YtwXeqa/Zo=
 SHA256 (go_modules/cloud.google.com/go/compute/metadata/@v/v0.2.0.mod) = 
ZmAMRI0rXFR3BnNIkO0YGJyCgLII2Gua8qsIENW2HSE=
 SHA256 (go_modules/cloud.google.com/go/compute/metadata/@v/v0.2.0.zip) = 
v36mmm629lvSsa2TebXRmQQP81Rk3+iLEKPFL30ROq8=
+SHA256 (go_modules/git.sr.ht/~rockorager/go-jmap/@v/v0.3.0.mod) = 
h/nX5diHqfkDrJbpZuGw5gE+IgaclgqZgm7kmVLa2jw=
+SHA256 (go_modules/git.sr.ht/~rockorager/go-jmap/@v/v0.3.0.zip) = 
qB6fVqXORSSINci0xvMisPSucvo2ufZLg8O1JGR9wgg=
 SHA256 (go_modules/git.sr.ht/~rockorager/tcell-term/@v/v0.8.0.mod) = 
8kRq6lakDTvyokkg1NpGgMeU8Bp4sR1Cf62IhtKWbaM=
 SHA256 (go_modules/git.sr.ht/~rockorager/tcell-term/@v/v0.8.0.zip) = 
dhiTK2f00tfMiBXlpyz8WGHzlJIVhiTkpkY4ZWeMNZU=
 SHA256 (go_modules/git.sr.ht/~sircmpwn/getopt/@v/v1.0.0.mod) = 
JKqQcy+IHLONXXl/PBB8RU7ygm2ZbHGoSCP45a2scPI=
@@ -12,8 +14,6 @@ SHA256 (go_modules/github.com/!proton!ma
 SHA256 
(go_modules/github.com/!proton!mail/go-crypto/@v/v0.0.0-20230417170513-8ee5748c52b5.zip)
 = caFXHZh12C6GX/mktuNcD7MZPhX67D5YWhpbtrqViGI=
 SHA256 
(go_modules/github.com/arran4/golang-ical/@v/v0.0.0-20230318005454-19abf92700cc.mod)
 = xQ6LFCJh9J77W/eg2jItFH+GI5AfPSnNXXJ0VxPThNE=
 SHA256 
(go_modules/github.com/arran4/golang-ical/@v/v0.0.0-20230318005454-19abf92700cc.zip)
 = f9VY999OMreK48IydmEr6MnGRnfP+8ovpQhFk+xwg5s=
-SHA256 
(go_modules/github.com/brunnre8/go.notmuch/@v/v0.0.0-20201126061756-caa2daf7093c.mod)
 = eXoHJSPhNelMJrtZF/kmN4v9yAHM0i2bv5iNlC88Ozk=
-SHA256 
(go_modules/github.com/brunnre8/go.notmuch/@v/v0.0.0-20201126061756-caa2daf7093c.zip)
 = 7oMO/evgDG5u2q3xiJCNngwBBRt9C6+Qd/KkKX0Nv34=
 SHA256 (go_modules/github.com/bwesterb/go-ristretto/@v/v1.2.0.mod) = 
NorKF1e+h0XM47kN60Aee+V0CWPKU1nEqVTMA1AtjwM=
 SHA256 (go_modules/github.com/bwesterb/go-ristretto/@v/v1.2.2.mod) = 
NorKF1e+h0XM47kN60Aee+V0CWPKU1nEqVTMA1AtjwM=
 SHA256 (go_modules/github.com/bwesterb/go-ristretto/@v/v1.2.2.zip) = 
4Tdu9lU/guWrejnDeyPZj6dyi/0HyR/ARWlCrzNhPWc=
@@ -43,8 +43,8 @@ SHA256 (go_modules/github.com/emersion/g
 SHA256 (go_modules/github.com/emersion/go-message/@v/v0.11.1.mod) = 
c6hi3jK0N1pJeLMkBz1iZ6Jq69AU98qcnrXLlNQV88g=
 SHA256 (go_modules/github.com/emersion/go-message/@v/v0.11.2.mod) = 
c6hi3jK0N1pJeLMkBz1iZ6Jq69AU98qcnrXLlNQV88g=
 SHA256 (go_modules/github.com/emersion/go-message/@v/v0.15.0.mod) = 
xQRKQ4WU9pTNxCOQ67hhqVvxJZIHcAA6rA3iJAhN89A=
-SHA256 (go_modules/github.com/emersion/go-message/@v/v0.16.0.mod) = 
rJLLrIPnDPXLUTnRZpsDs4TxX2R03q/fQWzwnnyBD6E=
-SHA256 (go_modules/github.com/emersion/go-message/@v/v0.16.0.zip) = 
BLxbU0zK1rmS0/cKezhA7GSschq9K7Zih3eSc0Jpgo4=
+SHA256 (go_modules/github.com/emersion/go-message/@v/v0.17.0.mod) = 
/RoL7+Z7Ue0b4Np7iA66d4fz6MiHgaXSeccJeIVsByU=
+SHA256 (go_modules/github.com/emersion/go-message/@v/v0.17.0.zip) = 
mdWdmXb6QwyD2AEyDZ54VEyvo/k4/ERCVQxiw5qUvVI=
 SHA256 (go_modules/github.com/emersion/go-milter/@v/v0.3.3.mod) = 
t+zxxyCYL/20rVfYDvp9oKV5xc8hwiOQQZsCsPJ+Fcc=
 

Re: [NEW] editors/hyx

2023-09-24 Thread Thim Cederlund
Hi,

On 2023-09-24 09:58, Omar Polo wrote:
> Hello,
> 
> On 2023/09/23 22:51:21 +0200, Thim Cederlund  wrote:
> > Hi ports@,
> > 
> > Here's a port for this neat little hex editor with vim keybindings.
> > 
> > There is no man page for hyx unfortunately, but passing the `--help`
> > or `-h` flag tells you all about it.
> > 
> > The upstream makefile has no install target which is why I opted for
> > a do-install in the port.
> > 
> > % pkg_info hyx
> 
> It's a nice small editor!

Indeed! I was kind of surprised really that no one had packaged it prior
to this :)

> 
> > Information for inst:hyx-2021.06.09
> > 
> > Comment:
> > minimal cli hex editor with Vim-like keybindings
> > 
> > Description:
> > minimalistic but powerful terminal hex editor with features such as:
> 
> nit: I'd start the DESCR with "Hyx is a minimalistic [...]" and
> reflow.
> 
> > insert/replace/delete, copy/paste, undo/redo, search, colors and
> > vim-inspired controls.
> > 
> > Maintainer: Thim Cederlund 
> > 
> > WWW: https://yx7.cc/code
> > 
> > 
> > Please let me know what you guys think. Thanks.
> 
> port looks fine to me, and the program seems nice.  Another minor nit
> regarding the indentation in the Makefile but then it's ok op@ to
> import.

Not entirely sure how that happened. AFAIK there should be a TAB
after the equals sign and whatever text is after but could be vim
that is acting up.

> Thanks!
> 
> 
> --- Makefile.orig Sun Sep 24 09:44:23 2023
> +++ Makefile  Sun Sep 24 09:51:20 2023
> @@ -1,6 +1,6 @@
>  COMMENT =minimal cli hex editor with Vim-like keybindings
>  
> -V =  2021.06.09
> +V =  2021.06.09
>  DISTNAME =   hyx-${V}
>  
>  CATEGORIES = editors
> @@ -14,10 +14,10 @@
>  
>  WANTLIB +=   c
>  
> -MASTER_SITES =   https://yx7.cc/code/hyx/
> +SITES =  https://yx7.cc/code/hyx/
>  EXTRACT_SUFX =   .tar.xz
>  
> -USE_GMAKE =  Yes
> +USE_GMAKE =  Yes
>  
>  do-install:
>   ${INSTALL_PROGRAM} ${WRKBUILD}/hyx ${PREFIX}/bin

I've attached a new tarball with your diff and a modified pkg/DESCR. Thanks!



hyx.tar.gz
Description: application/tar-gz


[NEW] editors/hyx

2023-09-23 Thread Thim Cederlund
Hi ports@,

Here's a port for this neat little hex editor with vim keybindings.

There is no man page for hyx unfortunately, but passing the `--help`
or `-h` flag tells you all about it.

The upstream makefile has no install target which is why I opted for
a do-install in the port.

% pkg_info hyx
Information for inst:hyx-2021.06.09

Comment:
minimal cli hex editor with Vim-like keybindings

Description:
minimalistic but powerful terminal hex editor with features such as:
insert/replace/delete, copy/paste, undo/redo, search, colors and
vim-inspired controls.

Maintainer: Thim Cederlund 

WWW: https://yx7.cc/code


Please let me know what you guys think. Thanks.

Best Regards,

Thim Cederlund


hyx.tar.gz
Description: application/tar-gz


Re: aerc/colorize: disable broken OSC 8

2023-08-15 Thread Thim Cederlund
Hi,

On Tue Aug 15, 2023 at 5:40 PM CEST, Omar Polo wrote:
> Hello,
>
> aerc (via the libexec colorize) uses the OSC 8 sequence to mark up
> URLs for the terminal emulator.  This seems to be currently broken,
> I'm investigating with upstream to understand if this is an aerc or
> tcell-term bug or something else.  However, for the time being I'd
> propose to just disable the OSC 8 sequence outputting.
>
> It's broken on (at least)
>
>  - xterm
>  - urxvt
>  - alacritty
>  - gnome-terminal
>
> I never noticed before because i use cat(1) as filter for emails.
> volker@ noticed it.

I actually use colordiff in ports as my main filter for `text/plain`
mails so I guess that is why I haven't noticed anything either.

> thoughts/ok?

Tested the patch in various terminals and runs fine on amd64.

I'm fine with the diff.


Best Regards,

Thim Cederlund

>
> Index: Makefile
> ===
> RCS file: /home/cvs/ports/mail/aerc/Makefile,v
> retrieving revision 1.10
> diff -u -p -r1.10 Makefile
> --- Makefile  5 Jun 2023 09:10:52 -   1.10
> +++ Makefile  15 Aug 2023 15:21:41 -
> @@ -5,7 +5,7 @@ MODGO_VERSION =   v0.0.0-20230511091235-f1
>  
>  V =  0.15.2
>  DISTNAME =   aerc-$V
> -REVISION =   0
> +REVISION =   1
>  
>  CATEGORIES = mail
>  
> Index: patches/patch-filters_colorize_c
> ===
> RCS file: patches/patch-filters_colorize_c
> diff -N patches/patch-filters_colorize_c
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-filters_colorize_c  15 Aug 2023 15:30:38 -
> @@ -0,0 +1,27 @@
> +disable OSC 8; tcell-term has issues with it.
> +
> +Index: filters/colorize.c
> +--- filters/colorize.c.orig
>  filters/colorize.c
> +@@ -415,6 +415,7 @@ static inline size_t print_notabs(const char *in, size
> + }
> + 
> + static void print_osc8(const char *url, size_t len, size_t id, bool email) {
> ++#if 0
> + print("\x1b]8;");
> + if (url != NULL) {
> + printf("id=colorize-%lu;", id);
> +@@ -427,6 +428,13 @@ static void print_osc8(const char *url, size_t len, si
> + print(";");
> + }
> + print("\x1b\\");
> ++#else
> ++if (url != NULL) {
> ++if (email)
> ++print("mailto://;);
> ++print_notabs(url, len);
> ++}
> ++#endif
> + }
> + 
> + static void diff_chunk(const char *in)



Re: [update] mail/aerc 0.14.0 -> 0.15.2

2023-06-05 Thread Thim Cederlund
ails at the linking stage when converts/base64 is
installed. if I pkg_delete that and remove it from the dependencies list
it compiles fine.

Otherwise I get this:

``
cgo-gcc-prolog:347:11: warning: 'notmuch_database_open' is deprecated: function 
deprecated as of libnotmuch 5.4 [-Wdeprecated-declarations]
/usr/local/include/notmuch.h:334:1: note: 'notmuch_database_open' has been 
explicitly marked deprecated here
/usr/local/include/notmuch.h:69:21: note: expanded from macro 
'NOTMUCH_DEPRECATED'
git.sr.ht/~rjarry/aerc/worker/notmuch/lib
git.sr.ht/~rjarry/aerc/worker/notmuch
git.sr.ht/~rjarry/aerc/worker
git.sr.ht/~rjarry/aerc/widgets
os/user
github.com/riywo/loginshell
github.com/emersion/go-smtp
git.sr.ht/~rjarry/aerc/lib/ipc
github.com/xo/terminfo
# git.sr.ht/~rjarry/aerc
usage: link [options] main.o
  -B note
add an ELF NT_GNU_BUILD_ID note when using ELF
  -E entry
set entry symbol name
  -H type
set header type
  -I linker
use linker as ELF dynamic linker
  -L directory
add specified directory to library path
  -R quantum
set address rounding quantum (default -1)
  -T address
set text segment address (default -1)
  -Vprint version and exit
  -X definition
add string value definition of the form importpath.name=value
  -ano-op (deprecated)
  -asan
enable ASan interface
  -aslr
enable ASLR for buildmode=c-shared on windows (default true)
  -benchmark string
set to 'mem' or 'cpu' to enable phase benchmarking
  -benchmarkprofile base
emit phase profiles to base_phase.{cpu,mem}prof
  -buildid id
record id as Go toolchain build id
  -buildmode mode
set build mode
  -cdump call graph
  -capturehostobjs string
capture host object files loaded during internal linking to specified 
dir
  -compressdwarf
compress DWARF if possible (default true)
  -cpuprofile file
write cpu profile to file
  -ddisable dynamic executable
  -debugnosplit
dump nosplit call graph
  -debugtextsize int
debug text section max size
  -debugtramp int
debug trampolines
  -dumpdep
dump symbol dependency graph
  -extar string
archive program for buildmode=c-archive
  -extld linker
use linker when linking in external mode
  -extldflags flags
pass flags to external linker
  -fignore version mismatch
  -gdisable go package data checks
  -hhalt on error
  -importcfg file
read import configuration from file
  -installsuffix suffix
set package directory suffix
  -k symbol
set field tracking symbol
  -libgcc string
compiler support lib for internal linking; use "none" to disable
  -linkmode mode
set link mode
  -linkshared
link against installed Go shared libraries
  -memprofile file
write memory profile to file
  -memprofilerate rate
set runtime.MemProfileRate to rate
  -msan
enable MSan interface
  -ndump symbol table
  -o file
write output to file
  -pluginpath string
full path name for plugin
  -r path
set the ELF dynamic linker search path to dir1:dir2:...
  -race
enable race detector
  -sdisable symbol table
  -strictdups int
sanity check duplicate symbol contents during object file reading 
(1=warn 2=err).
  -tmpdir directory
use directory for temporary files
  -vprint link trace
  -wdisable DWARF generation
gmake: *** [Makefile:44: aerc] Error 1
*** Error 2 in . (Makefile:51 'do-build')
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2957 
'/usr/ports/pobj/aerc-0.15.2/build-amd64/.build_done': @cd /usr/ports/mystuf...)
*** Error 2 in /usr/ports/mystuff/mail/aerc 
(/usr/ports/infrastructure/mk/bsd.port.mk:2601 'all': @lock=aerc-0.15.2;  
export _LOCKS_HELD=" a...)
``

> By the way, since you seem to actively use it, would you mind to take
> maintainership?  I'll still be around for reviewing diffs and help,
> but would be better to have a maintainer that actually uses it.

Yes why not, I use aerc as my mail client so that works for me.


Best Regards,

Thim Cederlund



Re: [update] mail/aerc 0.14.0 -> 0.15.2

2023-06-05 Thread Thim Cederlund
On Mon Jun 5, 2023 at 11:11 AM CEST, Omar Polo wrote:
> On 2023/06/05 10:39:49 +0200, "Thim Cederlund"  wrote:
> > 
> > > I guess this is fine since it is an executable and not a module.  I'm
> > > usure if this warrants the addition of the python module to the port.
> > > It should be needed (so that python is added as RDEP), but on the
> > > other hand this filter not enable by default.
> > 
> > I haven't looked in to the manpages in a while but I'm under the
> > impression that we cannot mix and match MODGO variables with MODPY
> > variables. Perhaps this isn't the case anymore? Should it ever become an
> > problem, one solution would be to split the port.
>
> Although I haven't tried in this specific case, there should be no
> issue in using multiple modules.  Could cause some headaches, but
> should work.  Adding the python module with MODPY_BUILDDEP=No and
> MODPY_TESTDEP=No should do it.
>
> In this specific case however I'd avoid adding the dependency on
> python since this is a filter not enabled by default.  I haven't added
> security/dante as RDEP either for a similar reason (the html filter
> uses socksify.)

Very well! That only keeps the port simpler and easier to maintain so no
complains from me.

> > > > I can't recall if this was the case previously, but I would assume
> > > > so. After all, this is a golang port so those variables are never set. 
> > > > I am
> > > > sending this mail from aerc which has been running 0.15.2 for a week 
> > > > and I
> > > > haven't really encountered any issues.
> > > > 
> > > > 
> > > > Thoughts? @op is the maintainer so he will will have the final say.
> > >
> > > It's missing a bdep on converters/base64, but does it really build it
> > > for you?  I get an error from the 'link' go internal program about a
> > > wrong usage; doesn't tell me why though.  That's why after a bit I
> > > stopped trying.
> > >
> > > I looked again today and after a lot of headscratching, with the help
> > > of ktrace, I see why it fails to build.  Upstream' makefile has this
> > > gem:
> > >
> > > GO_LDFLAGS+=-X main.Flags=$$(echo -- $(GOFLAGS) | base64 | tr -d '\n')
> > >
> > > Base64 splits every 72 characters using \r\n, tr deletes \n and the
> > > shell seems to do word splitting on the carriage return.
> > 
> > Strange, it did build for me and I recompiled it a couple of times just to 
> > be
> > sure before I mailed the diff. But it complained about base64 along with the
> > usage of deprecated notmuch functions, but from what I remember these has 
> > been
> > here all along. The base64 warning is something that could be fixed but
> > the deprecated notmuch functions sounds like it is suited to upstream.
>
> If you don't have converters/base64 installed that pipeline fails and
> it evaluates to "" which doesn't cause further issues.  But can still
> fail in a bulk since packages are installed/removed all the time.

Yes indeed, that explains why it worked for me the first time around,
because I didn't have it installed on my system. But using the diff you sent
upstream along with converters/base64 installed and as a dependency
seem to work.

> The notmuch warnings are not new.
> > [...]
> > > Can you try with this patch instead?  I only use aerc to get an
> > > immediate notification when I receive an email (the window goes
> > > urgent) and otherwise only use mblaze, so my testing is minimal.
> > 
> > I see. Your patch fails at the linking stage when converts/base64 is
> > installed. if I pkg_delete that and remove it from the dependencies list
> > it compiles fine.
>
> This is strange.  You get the error I got prior to patching the
> Makefile.  Can you make sure the patch added patches/patch-Makefile?
>
> I've upstreamed it: https://lists.sr.ht/~rjarry/aerc-devel/patches/41653

Yup, I noticed it. Thank you so much for the help!

>
> > > By the way, since you seem to actively use it, would you mind to take
> > > maintainership?  I'll still be around for reviewing diffs and help,
> > > but would be better to have a maintainer that actually uses it.
> > 
> > Yes why not, I use aerc as my mail client so that works for me.
>
> Thank you!
>
> Since it builds and works fine for me I've gone ahead and committed
> the update and the change of maintainer.

Great! Thanks!



[update] graphics/nsxiv v30 -> v31

2023-01-29 Thread Thim Cederlund
Hi ports,

This patch updates graphics/nsxiv to v31.

Changelog: https://codeberg.org/nsxiv/nsxiv/src/branch/master/etc/CHANGELOG.md

Best Regards,

Thim Cederlund


Index: Makefile
===
RCS file: /home/cvs/ports/graphics/nsxiv/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile24 Jun 2022 13:19:20 -  1.4
+++ Makefile29 Jan 2023 19:27:26 -
@@ -2,7 +2,7 @@
 
 GH_PROJECT =   nsxiv
 GH_ACCOUNT =   nsxiv
-GH_TAGNAME =   v30
+GH_TAGNAME =   v31
 
 CATEGORIES =   graphics x11
 
@@ -47,7 +47,7 @@
 NO_TEST =  Yes
 
 post-patch:
-   ${SUBST_CMD} ${WRKSRC}/nsxiv.1
+   ${SUBST_CMD} ${WRKSRC}/etc/nsxiv.1
 
 # Git errors break version.h build; this makes it fall back to a
 # hardcoded value
@@ -56,7 +56,7 @@
 
 post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
-   ${INSTALL_DATA} ${WRKSRC}/nsxiv.desktop ${PREFIX}/share/applications
+   ${INSTALL_DATA} ${WRKSRC}/etc/nsxiv.desktop ${PREFIX}/share/applications
cd ${PREFIX}/bin && ln -s nsxiv sxiv
 
 .include 
Index: distinfo
===
RCS file: /home/cvs/ports/graphics/nsxiv/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo24 Jun 2022 13:19:20 -  1.3
+++ distinfo29 Jan 2023 19:20:50 -
@@ -1,2 +1,2 @@
-SHA256 (nsxiv-30.tar.gz) = TmAIxlynGlHVndfqfPDrSFctniB6dA9z8o58h35DTSs=
-SIZE (nsxiv-30.tar.gz) = 65642
+SHA256 (nsxiv-31.tar.gz) = v4ZS3Tkco7eHzxx/8s/aOag2ROITr0eAVTCfllVcJBs=
+SIZE (nsxiv-31.tar.gz) = 73821
Index: patches/patch-etc-nsxiv_1
===
RCS file: patches/patch-etc-nsxiv_1
diff -N patches/patch-etc-nsxiv_1
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-etc-nsxiv_1   29 Jan 2023 19:27:06 -
@@ -0,0 +1,14 @@
+Corrects the path of keysymdef.h.
+
+Index: nsxiv.1
+--- etc/nsxiv.1.orig
 etc/nsxiv.1
+@@ -499,7 +499,7 @@ By default nsxiv(1) will send one image per-line to st
+ 
+ The key combo argument has the following form: "[C-][M-][S-]KEY",
+ where C/M/S indicate Ctrl/Meta(Alt)/Shift modifier states and KEY is the X
+-keysym as listed in /usr/include/X11/keysymdef.h without the "XK_" prefix.
++keysym as listed in ${X11BASE}/include/X11/keysymdef.h without the "XK_" 
prefix.
+ If KEY has an uppercase equivalent, S-KEY is resolved into it. For instance,
+ K replaces S-k and Scedilla replaces S-scedilla, but S-Delete is sent as-is.
+ 
Index: patches/patch-nsxiv_1
===
RCS file: patches/patch-nsxiv_1
diff -N patches/patch-nsxiv_1
--- patches/patch-nsxiv_1   24 Jun 2022 13:19:20 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,14 +0,0 @@
-Corrects the path of keysymdef.h.
-
-Index: nsxiv.1
 nsxiv.1.orig
-+++ nsxiv.1
-@@ -499,7 +499,7 @@ By default nsxiv(1) will send one image per-line to st
- 
- The key combo argument has the following form: "[C-][M-][S-]KEY",
- where C/M/S indicate Ctrl/Meta(Alt)/Shift modifier states and KEY is the X
--keysym as listed in /usr/include/X11/keysymdef.h without the "XK_" prefix.
-+keysym as listed in ${X11BASE}/include/X11/keysymdef.h without the "XK_" 
prefix.
- If KEY has an uppercase equivalent, S-KEY is resolved into it. For instance,
- K replaces S-k and Scedilla replaces S-scedilla, but S-Delete is sent as-is.
- 



Re: [UPDATE] mail/aerc needs fixing

2022-12-10 Thread Thim Cederlund
Hi again,

On Sat Dec 10, 2022 at 5:56 PM CET, Omar Polo wrote:
> Hello,
>
> sorry for the delay.
>

No worries! :)

> > I noticed that some of my directories were missing in the sidebar.
> > 
> > It turned out to be a bug in the maildir worker that was later patched
> > upstream [1]. It seems it would be appropriate to bump up the version
> > to a newer commit. I'm on v0.0.0-20221206102608-c1784b624aea which
> > released today (December 6th) and I have noticed no issues thus far.
> > 
> > [1]: https://git.sr.ht/~rjarry/aerc/commit/150aa0f498b9780a40fd
>
> Are you sure this is the offending commit?  Asking because it's part
> of the latest release.

Well, the aerc developers seems to think so. When 0.13 released I opened up a
issue and ask them if they had been able to recreate the issue I was having.
See the link below for a full conversation.

https://lists.sr.ht/~rjarry/aerc-discuss/%3CCNV39ZJB2UIW.ZHKIZNS3Q4SO%40openbsd.localdomain%3E

TLDR;
"Julian Pidancet a month ago
I submitted a fix for this 4 days ago on aerc-devel:
https://lists.sr.ht/~rjarry/aerc-devel/%3C20221021191507.267516-1-julian.pidancet%40oracle.com%3E;

> Also, are you sure you're running aerc 0.13?  -CURRENT should have
> 0.13, -STABLE 0.12.

Yes, I was able to recreate it on 0.13.0 and I am on -CURRENT amd64.

> Admittedly I've only used aerc with the imap backend, but a quick test
> with
>
>   source  = maildir://~/Maildir/op/
>
> works more or less.  I tried to create some dummy directories and they
> aren't shown in the sidebar.  However aerc is a bit fd-hungry (or just
> leaks?) and so I can't successfully visit all the maildirs before it
> runs out ("Personal: open ...: too many open files") making it
> unusable for me.

Yeah it seems to open every file that is being listed. I had to bump up the
ulimits to make it work. I guess this is done in a way to make switching
between mails faster since their essentially preloaded.




Re: [UPDATE] mail/aerc needs fixing

2022-12-10 Thread Thim Cederlund
On Sat Dec 10, 2022 at 6:48 PM CET, Omar Polo wrote:
> On 2022/12/10 18:16:11 +0100, "Thim Cederlund"  wrote:
> > > > I noticed that some of my directories were missing in the sidebar.
> > > > 
> > > > It turned out to be a bug in the maildir worker that was later patched
> > > > upstream [1]. It seems it would be appropriate to bump up the version
> > > > to a newer commit. I'm on v0.0.0-20221206102608-c1784b624aea which
> > > > released today (December 6th) and I have noticed no issues thus far.
> > > > 
> > > > [1]: https://git.sr.ht/~rjarry/aerc/commit/150aa0f498b9780a40fd
> > >
> > > Are you sure this is the offending commit?  Asking because it's part
> > > of the latest release.
> > 
> > Well, the aerc developers seems to think so. When 0.13 released I opened up 
> > a
> > issue and ask them if they had been able to recreate the issue I was having.
> > See the link below for a full conversation.
> > 
> > https://lists.sr.ht/~rjarry/aerc-discuss/%3CCNV39ZJB2UIW.ZHKIZNS3Q4SO%40openbsd.localdomain%3E
> > 
> > TLDR;
> > "Julian Pidancet a month ago
> > I submitted a fix for this 4 days ago on aerc-devel:
> > https://lists.sr.ht/~rjarry/aerc-devel/%3C20221021191507.267516-1-julian.pidancet%40oracle.com%3E;
>
> Ah, sorry then, I misunderstood your mail.  The fix for your issue was
> committed just days after 0.13 was tagged:
>
>   commit 8153f59188bfb62a944a731fcffc78670085b675
>   date: Tue Oct 25 21:30:56 2022 UTC
>
>   maildir: fix maildir folder listing
>   [...]
>

I am so sorry for explaining it in such a terrible way

> Have to admit that I'm a bit reclutant to update it, there have been
> more than 100 commits since latest release, but there are a few
> bugfixes and it could be interesting to get them.  Let me test your
> diff for a bit your diff to see how it goes.

Honestly I just pulled the commit of whatever the latest version was and I
haven't had any issues, although I have to admit I don't use the notmuch
functionality which seems to have been getting the most attention lately.

I guess we could get away with bumping up the version one or two commits
after the so called fix if we wanted to.

Anyways, thanks for the interest. In the end it's your call =)


Best Regards,

Thim Cederlund



[UPDATE] mail/aerc needs fixing

2022-12-06 Thread Thim Cederlund
Hi op@ and ports@,

I noticed that some of my directories were missing in the sidebar.

It turned out to be a bug in the maildir worker that was later patched
upstream [1]. It seems it would be appropriate to bump up the version
to a newer commit. I'm on v0.0.0-20221206102608-c1784b624aea which
released today (December 6th) and I have noticed no issues thus far.

[1]: https://git.sr.ht/~rjarry/aerc/commit/150aa0f498b9780a40fd

Now, op@ is the maintainer here so I guess he has the final say :)


Best Regards,

Thim Cederlund


Index: Makefile
===
RCS file: /home/cvs/ports/mail/aerc/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile21 Oct 2022 11:06:08 -  1.6
+++ Makefile6 Dec 2022 20:16:07 -
@@ -1,9 +1,9 @@
 COMMENT =  terminal email client
 
 MODGO_MODNAME =git.sr.ht/~rjarry/aerc
-MODGO_VERSION =v0.0.0-20221020202109-8e37d16a32ee
+MODGO_VERSION =v0.0.0-20221206102608-c1784b624aea
 
-V =0.13.0
+V =0.13.0pl20221206
 DISTNAME = aerc-$V
 
 CATEGORIES =   mail
Index: distinfo
===
RCS file: /home/cvs/ports/mail/aerc/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- distinfo21 Oct 2022 11:06:08 -  1.6
+++ distinfo6 Dec 2022 20:13:15 -
@@ -1,4 +1,4 @@
-SHA256 (aerc-0.13.0.zip) = IbscULse7msY7PSjGwPJqIjlpzq2HRyrMKcTcAreJzw=
+SHA256 (aerc-0.13.0pl20221206.zip) = 
hPzR4ZOY3CYE+2uj1X91YVjbZ9AJ5qystXUGsYswQrM=
 SHA256 (go_modules/4d63.com/gochecknoglobals/@v/v0.1.0.mod) = 
CoiCfB7g1EMsWIt68xomcx8db1/KEFaNOnjdCKsq+sc=
 SHA256 (go_modules/4d63.com/gochecknoglobals/@v/v0.1.0.zip) = 
9pEmszxXw/fffUClxOF+ny60YpSOF+EKe6VEKxSsBvk=
 SHA256 (go_modules/bitbucket.org/creachadair/shell/@v/v0.0.6.mod) = 
jrU1IxbKOpVIw7+aTsm0X55+XJLMrJ/mN2yuoWyj364=
@@ -325,8 +325,8 @@
 SHA256 (go_modules/github.com/fullstorydev/grpcurl/@v/v1.6.0.zip) = 
iUB9Zs3pEkK2fxGEoMjqsbGIk91IBQswSKRopSEZiyk=
 SHA256 (go_modules/github.com/fzipp/gocyclo/@v/v0.6.0.mod) = 
aeViKYd5ycYD7KmvDNjeKrTt87qUImJUMytvUtA3cVA=
 SHA256 (go_modules/github.com/fzipp/gocyclo/@v/v0.6.0.zip) = 
kdYOuR86MJcR5G1ER4KTpVj+uWV8agQ/C0BEkcivqME=
-SHA256 (go_modules/github.com/gatherstars-com/jwz/@v/v1.3.0.mod) = 
x16PWCRIxs9oZw/hlw4YvOzEpR07kesRHrcAJUJvroM=
-SHA256 (go_modules/github.com/gatherstars-com/jwz/@v/v1.3.0.zip) = 
QP+EyqnY9SMSfwAW5esPECtyIrgUZAVT1CNYR/YgLZQ=
+SHA256 
(go_modules/github.com/gatherstars-com/jwz/@v/v1.3.2-0.20221104050604-3da8c59aef0a.mod)
 = x16PWCRIxs9oZw/hlw4YvOzEpR07kesRHrcAJUJvroM=
+SHA256 
(go_modules/github.com/gatherstars-com/jwz/@v/v1.3.2-0.20221104050604-3da8c59aef0a.zip)
 = ViA6neZgYqIYapuRWCdpUXow3JcllsOfLEHr3GiLWWc=
 SHA256 (go_modules/github.com/gdamore/encoding/@v/v1.0.0.mod) = 
pJgRJVFfDy3yU8LeOjrBlwx0Q+W2adlH6HTnezaBtuU=
 SHA256 (go_modules/github.com/gdamore/encoding/@v/v1.0.0.zip) = 
Y4qYMuL2LRGNfFEdhr2uFiKlHzMd5IoB2Sn9JOvmoqY=
 SHA256 (go_modules/github.com/gdamore/tcell/v2/@v/v2.3.3.mod) = 
rQRC7QKpjBhrhj0Ba0Q4tkLQo0JEsS3neTa6ebHtXbE=
@@ -1902,7 +1902,7 @@
 SHA256 (go_modules/sigs.k8s.io/yaml/@v/v1.1.0.mod) = 
JC1yDRxq7+SjBcM0GoBXXhmlRRelO2IPjOKMKW5R06o=
 SHA256 (go_modules/sigs.k8s.io/yaml/@v/v1.2.0.mod) = 
8ikTVRI4fWZj4fCZmkkiq3CN7UvcgExxzpPj1gK6ld0=
 SHA256 (go_modules/sigs.k8s.io/yaml/@v/v1.2.0.zip) = 
Ve0Ixd9EigM79+LCkS1NqoW4VqBchUsMh8zIXH8/v8c=
-SIZE (aerc-0.13.0.zip) = 430963
+SIZE (aerc-0.13.0pl20221206.zip) = 470925
 SIZE (go_modules/4d63.com/gochecknoglobals/@v/v0.1.0.mod) = 105
 SIZE (go_modules/4d63.com/gochecknoglobals/@v/v0.1.0.zip) = 13354
 SIZE (go_modules/bitbucket.org/creachadair/shell/@v/v0.0.6.mod) = 48
@@ -2229,8 +2229,8 @@
 SIZE (go_modules/github.com/fullstorydev/grpcurl/@v/v1.6.0.zip) = 130685
 SIZE (go_modules/github.com/fzipp/gocyclo/@v/v0.6.0.mod) = 41
 SIZE (go_modules/github.com/fzipp/gocyclo/@v/v0.6.0.zip) = 16339
-SIZE (go_modules/github.com/gatherstars-com/jwz/@v/v1.3.0.mod) = 202
-SIZE (go_modules/github.com/gatherstars-com/jwz/@v/v1.3.0.zip) = 5007390
+SIZE 
(go_modules/github.com/gatherstars-com/jwz/@v/v1.3.2-0.20221104050604-3da8c59aef0a.mod)
 = 202
+SIZE 
(go_modules/github.com/gatherstars-com/jwz/@v/v1.3.2-0.20221104050604-3da8c59aef0a.zip)
 = 5154128
 SIZE (go_modules/github.com/gdamore/encoding/@v/v1.0.0.mod) = 77
 SIZE (go_modules/github.com/gdamore/encoding/@v/v1.0.0.zip) = 19867
 SIZE (go_modules/github.com/gdamore/tcell/v2/@v/v2.3.3.mod) = 308
Index: modules.inc
===
RCS file: /home/cvs/ports/mail/aerc/modules.inc,v
retrieving revision 1.4
diff -u -r1.4 modules.inc
--- modules.inc 21 Oct 2022 11:06:08 -  1.4
+++ modules.inc 6 Dec 2022 20:12:15 -
@@ -1,3 +1,5 @@
+MODGO_VERSION =v0.0.0-20221206102608-c1784b624aea
+
 MODGO_MODULES =\
4d63.com/gochecknoglobalsv0.1.0 \
bitbucket.org/creachadair/shell

Re: new: x11/xdragon (or x11/dragon-drop?)

2022-10-05 Thread Thim Cederlund
On Tue Oct 4, 2022 at 11:20 AM CEST, Omar Polo wrote:
> I think we can live without a copy of the GPL, i don't think it should
> be installed.
>
> upstream makefile seems to have some support for renaming.  Setting
> NAME=dragon-drop as FAKE_FLAGS seems to do it.

Very well, it wasn't clear to me if we always have to make sure that a copy of
the license gets installed if provided so I went with it, but now I know.

The custom target was also there in case upstream decides to drop the NAME
flag for any reason, but sure, the Makefile it a bit tidier without it :)

> nitpick: i'd consistently use += for WANTLIB, like
> `make port-lib-depends-check' outputs.

Actually it _is_ the output of make ports-lib-depends-check. Weirdly enough
it didn't append the libraries in the first line. But fine, I'll remember to
keep an eye for any incosistencies in the future :)

> Briefly tested, seems to work just fine, thanks!
>
> Here's a tweaked tarball that's OK op@ to import

Thank you Omar :) Does anyone want to import it? (I've reattached @op's copy)

Best Regards,

Thim Cederlund


dragon-drop.tar.gz
Description: application/gzip


Re: new: x11/xdragon (or x11/dragon-drop?)

2022-09-17 Thread Thim Cederlund
ping

On Wed Sep 14, 2022 at 6:18 PM CEST, Thim Cederlund wrote:
> Hi,
>
> Here's a port for dragon, it is a program that acts as a drag-and-drop source
> or sink. You can drag files FROM it and TO it basically. I find myself drag
> and dropping stuff all the time and I don't use a GUI file manager so this 
> makes
> things easy.
>
> Now to the awkward stuff, the package name "dragon" is already taken by
> x11/kde-applications/dragon so I opted for xdragon. I noticed however that the
> Arch Linux User Repository package name is "dragon-drop" so maybe we should
> name it the same for the sake of consistency?
>
> I added a custom do-install target in order to install the LICENSE file and
> the renamed files.
>
> Let me know what you guys think.
>
>
> Best Regards,
>
> Thim Cederlund



xdragon.tar.gz
Description: application/gzip


Re: [update] sysutils/lf 22->27

2022-09-14 Thread Thim Cederlund
On Wed Sep 14, 2022 at 11:33 PM CEST, Thim Cederlund wrote:
> On Wed Sep 14, 2022 at 10:41 PM CEST, Stuart Henderson wrote:
> > This diff changes only the filename, nothing else
> >
> > It would also need to update MODGO_VERSION and the set of modules
>
> Sorry for the incomplete diff, please see below.
>
>

xclip isn't playing nice with me this evening, here's the _complete_ diff yet
again. Third time's the charm. the previous diff didn't include the removal
of the patch.


cvs server: Diffing .
Index: Makefile
===
RCS file: /cvs/ports/sysutils/lf/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile11 Mar 2022 19:57:33 -  1.5
+++ Makefile14 Sep 2022 21:41:16 -
@@ -1,9 +1,9 @@
 COMMENT =  terminal file manager inspired by ranger written in Go
 
 MODGO_MODNAME =github.com/gokcehan/lf
-MODGO_VERSION =v0.0.0-20210413204849-4601e74d666e
+MODGO_VERSION =v0.0.0-20220908131049-17e1a8464690
 
-R =22
+R =27
 DISTNAME = lf-${R}
 WRKDIST =  ${WRKDIR}/github.com/gokcehan/lf@${MODGO_VERSION}
 
@@ -24,16 +24,16 @@
 MODGO_MODULES =\
github.com/gdamore/encoding  v1.0.0 \
github.com/gdamore/tcell/v2  v2.3.1 \
-   github.com/gokcehan/tcell/v2 
v2.2.1-0.20210329222449-4dd2d52e83ef \
github.com/lucasb-eyer/go-colorful   v1.0.3 \
github.com/mattn/go-runewidthv0.0.10 \
github.com/rivo/uniseg   v0.1.0 \
-   golang.org/x/sys 
v0.0.0-20201119102817-f84b799fce68 \
+   golang.org/x/sys 
v0.0.0-20220209214540-3681064d5158 \
golang.org/x/term
v0.0.0-20210220032956-6a3ed077a48d \
golang.org/x/textv0.3.0 \
gopkg.in/djherbis/times.v1   v1.2.0
 
 MODGO_MODFILES =   \
+   golang.org/x/sys v0.0.0-20201119102817-f84b799fce68 \
golang.org/x/termv0.0.0-20201210144234-2321bbc49cbf
 
 do-install:
Index: distinfo
===
RCS file: /cvs/ports/sysutils/lf/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo25 May 2021 11:17:37 -  1.3
+++ distinfo14 Sep 2022 21:41:16 -
@@ -2,8 +2,6 @@
 SHA256 (go_modules/github.com/gdamore/encoding/@v/v1.0.0.zip) = 
Y4qYMuL2LRGNfFEdhr2uFiKlHzMd5IoB2Sn9JOvmoqY=
 SHA256 (go_modules/github.com/gdamore/tcell/v2/@v/v2.3.1.mod) = 
rQRC7QKpjBhrhj0Ba0Q4tkLQo0JEsS3neTa6ebHtXbE=
 SHA256 (go_modules/github.com/gdamore/tcell/v2/@v/v2.3.1.zip) = 
aXsU0VYkzZX6KMPTS2kplTKfHjDPH2Cf98rMILp/awU=
-SHA256 
(go_modules/github.com/gokcehan/tcell/v2/@v/v2.2.1-0.20210329222449-4dd2d52e83ef.mod)
 = rQRC7QKpjBhrhj0Ba0Q4tkLQo0JEsS3neTa6ebHtXbE=
-SHA256 
(go_modules/github.com/gokcehan/tcell/v2/@v/v2.2.1-0.20210329222449-4dd2d52e83ef.zip)
 = TzWnxsl7act2XecePoNHyzZi8LvnYrn6bDaE7yPUMrw=
 SHA256 (go_modules/github.com/lucasb-eyer/go-colorful/@v/v1.0.3.mod) = 
hPnDjpiEqwE8g3yxau4TlQDT1cbMqwJDmIHbLs8o9mA=
 SHA256 (go_modules/github.com/lucasb-eyer/go-colorful/@v/v1.0.3.zip) = 
qobu50Rk+L3FrZp9TqRz5yxl5qPdVpLBBzbQY14+AF8=
 SHA256 (go_modules/github.com/mattn/go-runewidth/@v/v0.0.10.mod) = 
QTaqoj/LMXaikoIvKoqYzMey/eOKWZIsFSsAb1nVlpU=
@@ -11,7 +9,8 @@
 SHA256 (go_modules/github.com/rivo/uniseg/@v/v0.1.0.mod) = 
bHMYonqNVHOo62YedfsAUoF24O/FkxDtJ3yhO9EqU/E=
 SHA256 (go_modules/github.com/rivo/uniseg/@v/v0.1.0.zip) = 
y3Ad+B82rPuyYnp4Zi/cqhUO4awA0Hlqfz6vvbYhgSg=
 SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20201119102817-f84b799fce68.mod) 
= GBl56L1X0tngZBgtqGyaYRGqaXVeiI8IQx7OR0Kuw0M=
-SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20201119102817-f84b799fce68.zip) 
= JoHrUmd2g743YCWKr+E8kcHIOIhELpxlRTNK6XoCs4Y=
+SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20220209214540-3681064d5158.mod) 
= 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
+SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20220209214540-3681064d5158.zip) 
= hCiatd7ADqb3uRHDkrWRmNBG6r5DGFy6Rc/3n1sakjM=
 SHA256 
(go_modules/golang.org/x/term/@v/v0.0.0-20201210144234-2321bbc49cbf.mod) = 
TLqxT3cGdxsnHZlaGzzBMf5aJGqtx+5tG6bwvYlHgfo=
 SHA256 
(go_modules/golang.org/x/term/@v/v0.0.0-20210220032956-6a3ed077a48d.mod) = 
TLqxT3cGdxsnHZlaGzzBMf5aJGqtx+5tG6bwvYlHgfo=
 SHA256 
(go_modules/golang.org/x/term/@v/v0.0.0-20210220032956-6a3ed077a48d.zip) = 
PWshrRZ7XLzJrIhsi6LHhbo8VZ5IeRVG8zkBdQ33aGM=
@@ -19,13 +18,11 @@
 SHA256 (go_modules/golang.org/x/text/@v/v0.3.0.zip) = 
6jBoOVUD08fvjOFqKG91yMk4gsJaZsKqbI4q1Np6muA=
 SHA256 (go_modules/gopkg.in/djherbis/times.v1/@v/v1.2.0.mod) = 
FsSHV+kPum+Q+goV0gngl1scYFnBxz0D5F6cS9fq2g8=
 SHA256 (go_modules/gopkg.in/djherbis/times.v1/@v/v1.2.0.zip) = 
ktPnLGj2S+AQ24Th5d2x7m+rk6Sq1XtxXBKKrHXUTOo=
-SHA256 (lf-22.zip) = +USae7CaUvtxrNGzQjKkevxyOSAUwnzUmM5Y3p8Lq28=
+SHA256 (lf-27.zip) = emgngLW

Re: [update] sysutils/lf 22->27

2022-09-14 Thread Thim Cederlund
2.3.1.zip) = 222653
-SIZE 
(go_modules/github.com/gokcehan/tcell/v2/@v/v2.2.1-0.20210329222449-4dd2d52e83ef.mod)
 = 308
-SIZE 
(go_modules/github.com/gokcehan/tcell/v2/@v/v2.2.1-0.20210329222449-4dd2d52e83ef.zip)
 = 227557
 SIZE (go_modules/github.com/lucasb-eyer/go-colorful/@v/v1.0.3.mod) = 51
 SIZE (go_modules/github.com/lucasb-eyer/go-colorful/@v/v1.0.3.zip) = 442291
 SIZE (go_modules/github.com/mattn/go-runewidth/@v/v0.0.10.mod) = 84
@@ -33,7 +30,8 @@
 SIZE (go_modules/github.com/rivo/uniseg/@v/v0.1.0.mod) = 39
 SIZE (go_modules/github.com/rivo/uniseg/@v/v0.1.0.zip) = 45664
 SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20201119102817-f84b799fce68.mod) = 
33
-SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20201119102817-f84b799fce68.zip) = 
1529034
+SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20220209214540-3681064d5158.mod) = 
33
+SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20220209214540-3681064d5158.zip) = 
1705205
 SIZE (go_modules/golang.org/x/term/@v/v0.0.0-20201210144234-2321bbc49cbf.mod) 
= 95
 SIZE (go_modules/golang.org/x/term/@v/v0.0.0-20210220032956-6a3ed077a48d.mod) 
= 95
 SIZE (go_modules/golang.org/x/term/@v/v0.0.0-20210220032956-6a3ed077a48d.zip) 
= 23402
@@ -41,4 +39,4 @@
 SIZE (go_modules/golang.org/x/text/@v/v0.3.0.zip) = 6349244
 SIZE (go_modules/gopkg.in/djherbis/times.v1/@v/v1.2.0.mod) = 34
 SIZE (go_modules/gopkg.in/djherbis/times.v1/@v/v1.2.0.zip) = 16389
-SIZE (lf-22.zip) = 122239
+SIZE (lf-27.zip) = 133394
Index: pkg/PLIST
===
RCS file: /cvs/ports/sysutils/lf/pkg/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- pkg/PLIST   11 Mar 2022 19:57:33 -  1.2
+++ pkg/PLIST   14 Sep 2022 21:31:26 -
@@ -2,7 +2,5 @@
 @man man/man1/lf.1
 share/applications/lf.desktop
 share/examples/lf/
-@sample ${SYSCONFDIR}/lf/
 share/examples/lf/lfrc.example
-@sample ${SYSCONFDIR}/lf/lfrc
 @tag update-desktop-database



Best Regards,

Thim Cederlund



[update] sysutils/lf 22->27

2022-09-14 Thread Thim Cederlund
Hi,

I noticed that sysutils/lf hasn't been updated in over a year so here is a
diff for getting it to r27. See the link below for all changes

Everything seems to be working just as it should on my amd64 system.

Changelog: https://github.com/gokcehan/lf/releases



Index: Makefile
===
RCS file: /cvs/ports/sysutils/lf/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile11 Mar 2022 19:57:33 -  1.5
+++ Makefile14 Sep 2022 20:27:00 -
@@ -3,7 +3,7 @@
 MODGO_MODNAME =github.com/gokcehan/lf
 MODGO_VERSION =v0.0.0-20210413204849-4601e74d666e
 
-R =22
+R =27
 DISTNAME = lf-${R}
 WRKDIST =  ${WRKDIR}/github.com/gokcehan/lf@${MODGO_VERSION}
 
Index: distinfo
===
RCS file: /cvs/ports/sysutils/lf/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo25 May 2021 11:17:37 -  1.3
+++ distinfo14 Sep 2022 20:27:00 -
@@ -19,7 +19,7 @@
 SHA256 (go_modules/golang.org/x/text/@v/v0.3.0.zip) = 
6jBoOVUD08fvjOFqKG91yMk4gsJaZsKqbI4q1Np6muA=
 SHA256 (go_modules/gopkg.in/djherbis/times.v1/@v/v1.2.0.mod) = 
FsSHV+kPum+Q+goV0gngl1scYFnBxz0D5F6cS9fq2g8=
 SHA256 (go_modules/gopkg.in/djherbis/times.v1/@v/v1.2.0.zip) = 
ktPnLGj2S+AQ24Th5d2x7m+rk6Sq1XtxXBKKrHXUTOo=
-SHA256 (lf-22.zip) = +USae7CaUvtxrNGzQjKkevxyOSAUwnzUmM5Y3p8Lq28=
+SHA256 (lf-27.zip) = +USae7CaUvtxrNGzQjKkevxyOSAUwnzUmM5Y3p8Lq28=
 SIZE (go_modules/github.com/gdamore/encoding/@v/v1.0.0.mod) = 77
 SIZE (go_modules/github.com/gdamore/encoding/@v/v1.0.0.zip) = 19867
 SIZE (go_modules/github.com/gdamore/tcell/v2/@v/v2.3.1.mod) = 308
@@ -41,4 +41,4 @@
 SIZE (go_modules/golang.org/x/text/@v/v0.3.0.zip) = 6349244
 SIZE (go_modules/gopkg.in/djherbis/times.v1/@v/v1.2.0.mod) = 34
 SIZE (go_modules/gopkg.in/djherbis/times.v1/@v/v1.2.0.zip) = 16389
-SIZE (lf-22.zip) = 122239
+SIZE (lf-27.zip) = 122239



new: x11/xdragon (or x11/dragon-drop?)

2022-09-14 Thread Thim Cederlund
Hi,

Here's a port for dragon, it is a program that acts as a drag-and-drop source
or sink. You can drag files FROM it and TO it basically. I find myself drag
and dropping stuff all the time and I don't use a GUI file manager so this makes
things easy.

Now to the awkward stuff, the package name "dragon" is already taken by
x11/kde-applications/dragon so I opted for xdragon. I noticed however that the
Arch Linux User Repository package name is "dragon-drop" so maybe we should
name it the same for the sake of consistency?

I added a custom do-install target in order to install the LICENSE file and
the renamed files.

Let me know what you guys think.


Best Regards,

Thim Cederlund


xdragon.tar.gz
Description: application/gzip


Re: pledge x11/xcape

2022-08-13 Thread Thim Cederlund
On Sat Aug 13, 2022 at 1:10 PM CEST, Omar Polo wrote:
> i was going through the list of non-pledged process in my list and
> found xcape.  It's a simple program that allows to turn some keys
> (e.g. ctrl) to act as another key (e.g. esc) when pressed and released
> by themselves.  It's around 500 lines of code and I haven't spotted
> anything that won't run under pledge `stdio', except for the first
> half of main.
>
> I'm running it as
>
>   $ xcape -e 'Control_L=Escape'
>
> (which I just discovered it's the default so I can drop -e entirely)
> and is working fine.
>
> % ps aux | grep xcape
> op   28882  0.0  0.0  1664  2392 ??  Sp 12:46PM0:00.51 xcape -e 
> Con
>
> ok?
>

Works as expected, no issus there. Isn't a "uses pledge()" comment in
the Makefile necessary? Or is it added only when upstream has support for it?

Best Regards,

Thim Cederlund

>
> Index: Makefile
> ===
> RCS file: /home/cvs/ports/x11/xcape/Makefile,v
> retrieving revision 1.3
> diff -u -p -r1.3 Makefile
> --- Makefile  11 Mar 2022 20:17:43 -  1.3
> +++ Makefile  13 Aug 2022 10:43:13 -
> @@ -3,6 +3,7 @@ COMMENT = configure a modifier key when 
>  GH_ACCOUNT = alols
>  GH_PROJECT = xcape
>  GH_TAGNAME = v1.2
> +REVISION =   0
>  
>  CATEGORIES = x11
>  
> Index: patches/patch-xcape_c
> ===
> RCS file: patches/patch-xcape_c
> diff -N patches/patch-xcape_c
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-xcape_c 13 Aug 2022 10:42:51 -
> @@ -0,0 +1,18 @@
> +pledge it
> +
> +Index: xcape.c
> +--- xcape.c.orig
>  xcape.c
> +@@ -191,6 +191,12 @@ int main (int argc, char **argv)
> + if (self->debug != True)
> + daemon (0, 0);
> + 
> ++if (pledge ("stdio", NULL) == -1)
> ++{
> ++fprintf (stderr, "pledge: %s\n", strerror(errno));
> ++exit (EXIT_FAILURE);
> ++}
> ++
> + sigemptyset (>sigset);
> + sigaddset (>sigset, SIGINT);
> + sigaddset (>sigset, SIGTERM);



Re: [new] fonts/cursed-font

2022-08-06 Thread Thim Cederlund
On Sat Aug 6, 2022 at 1:50 PM CEST, Stuart Henderson wrote:
> On 2022/08/03 16:54, Thim Cederlund wrote:
> > Hi,
> > 
> > On Wed Aug 3, 2022 at 3:55 PM CEST, Stuart Henderson wrote:
> > > I might be mistaken but I don't think there was an updated tar to
> > > get rid of mkfontdir/alias bits that @fontdir takes care of?
> > >
> > > I don't think the MESSAGE should be included, if such a message
> > > needs to go anywhere at all, it should probably be printed by
> > > pkg_add. But the other bitmap fonts seem to do ok without.
> > 
> > Here you go.
>
> op@ got me to have another look, on reflection I think it was right to do
> the fonts.alias things after all, seems that it probably is needed for
> bitmap fonts.
>
> So OK for the earlier version.
>

Oh. I skimmed through the files created by @fontdir but I noticed that
the fonts.alias file is empty. This wasn't the case with the older version that
I sent. I've attached the version without the MESSAGE file.
Both versions seems to be working fine for me but better safe than sorry.


Best Regards,

Thim Cederlund

>
> > 
> > Best Regards,
> > 
> > Thim Cederlund
> > 
> > >
> > >
> > >
> > > On 2022/08/03 15:33, Thim Cederlund wrote:
> > > > ping
> > > > 
> > > > On Sun Jul 31, 2022 at 1:08 PM CEST, Stuart Henderson wrote:
> > > > > @fontdir takes care of running mkfontdir, it shouldn't be needed as a 
> > > > > separate build step. See pkg_create(1).
> > > > >
> > > > > -- 
> > > > >   Sent from a phone, apologies for poor formatting.
> > > > >
> > > > > On 31 July 2022 11:26:25 Omar Polo  wrote:
> > > > >
> > > > > > Hello,
> > > > > >
> > > > > > "Thim Cederlund"  wrote:
> > > > > >> Hi ports@,
> > > > > >>
> > > > > >> % pkg_info cursed-font
> > > > > >> Information for inst:cursed-font-1.0.0
> > > > > >>
> > > > > >> Comment:
> > > > > >> monospaced 9x18 bitmap font for low-DPI screens
> > > > > >>
> > > > > >> Description:
> > > > > >> cursed font is a 9x18 bitmapped font designed for low-DPI screens.
> > > > > >> It was originally an embiggened and monospace-ified version of 
> > > > > >> Apple's Chicago
> > > > > >> font from System 6, but it also takes inspiration from many other 
> > > > > >> fonts such
> > > > > >> as bizcat, ttyp0, tamzen, scientifica.
> > > > > >>
> > > > > >> Maintainer: Thim Cederlund 
> > > > > >>
> > > > > >> WWW: https://github.com/kiedtl/cursed
> > > > > >>
> > > > > >>
> > > > > >> Picture of the font in use: 
> > > > > >> https://tilde.team/~kiedtl/images/cursed/sdemo.png
> > > > > >
> > > > > > the font is a bit too big for my tastes, but the port looks good! :)
> > > > > >
> > > > > > two minor nitpicks regarding the indentation, but otherwise it's ok 
> > > > > > for
> > > > > > me to import it if someone wants to.  no need to send an updated
> > > > > > tarball, i trust whoever imports it to adjust the indentation
> > > > > >
> > > > > > maybe we should print a note about `xset +fp /usr/local/...; xset fp
> > > > > > rehash' when installing bitmap fonts?  not an issue per-se, other
> > > > > > packages like dina-fonts lacks it.
> > > > > >
> > > > > > --- Makefile.orig Sun Jul 31 12:18:09 2022
> > > > > > +++ Makefile Sun Jul 31 12:20:05 2022
> > > > > > @@ -1,6 +1,6 @@
> > > > > > COMMENT = monospaced 9x18 bitmap font for low-DPI screens
> > > > > >
> > > > > > -V = 1.0.0
> > > > > > +V = 1.0.0
> > > > > > PKGNAME = cursed-font-${V}
> > > > > >
> > > > > > GH_PROJECT = cursed
> > > > > > @@ -22,7 +22,7 @@
> > > > > > do-build:
> > > > > >  ${X11BASE}/bin/bdftopcf -t ${WRKSRC}/font.bdf \
> > > > > >  | gzip -9 >${WRKSRC}/cursed.pcf.gz
> > > > > > - ${X11BASE}/bin/fonttosfnt -o ${WRKSRC}/cursed.otb 
> > > > > > ${WRKSRC}/font.bdf
> > > > > > + ${X11BASE}/bin/fonttosfnt -o ${WRKSRC}/cursed.otb 
> > > > > > ${WRKSRC}/font.bdf
> > > > > >  ${X11BASE}/bin/mkfontdir ${WRKSRC}
> > > > > >  egrep '\.pcf\.gz' ${WRKSRC}/fonts.dir | \
> > > > > >  sed 's/\.pcf\.gz//g' > ${WRKSRC}/fonts.alias
> > > > 
> > 



cursed.tar.gz
Description: application/gzip


Re: [new] fonts/cursed-font

2022-08-04 Thread Thim Cederlund
Hi,

On Wed Aug 3, 2022 at 5:20 PM CEST, Stuart Henderson wrote:
> this one's OK sthen@ to import
>

Thanks! I don't have CVS access, can anyone please import it?
I've attached the tar again for convenience.


Best Regards,

Thim Cederlund


> On 2022/08/03 16:54, Thim Cederlund wrote:
> > Hi,
> > 
> > On Wed Aug 3, 2022 at 3:55 PM CEST, Stuart Henderson wrote:
> > > I might be mistaken but I don't think there was an updated tar to
> > > get rid of mkfontdir/alias bits that @fontdir takes care of?
> > >
> > > I don't think the MESSAGE should be included, if such a message
> > > needs to go anywhere at all, it should probably be printed by
> > > pkg_add. But the other bitmap fonts seem to do ok without.
> > 
> > Here you go.
> > 
> > 
> > Best Regards,
> > 
> > Thim Cederlund
> > 
> > >
> > >
> > >
> > > On 2022/08/03 15:33, Thim Cederlund wrote:
> > > > ping
> > > > 
> > > > On Sun Jul 31, 2022 at 1:08 PM CEST, Stuart Henderson wrote:
> > > > > @fontdir takes care of running mkfontdir, it shouldn't be needed as a 
> > > > > separate build step. See pkg_create(1).
> > > > >
> > > > > -- 
> > > > >   Sent from a phone, apologies for poor formatting.
> > > > >
> > > > > On 31 July 2022 11:26:25 Omar Polo  wrote:
> > > > >
> > > > > > Hello,
> > > > > >
> > > > > > "Thim Cederlund"  wrote:
> > > > > >> Hi ports@,
> > > > > >>
> > > > > >> % pkg_info cursed-font
> > > > > >> Information for inst:cursed-font-1.0.0
> > > > > >>
> > > > > >> Comment:
> > > > > >> monospaced 9x18 bitmap font for low-DPI screens
> > > > > >>
> > > > > >> Description:
> > > > > >> cursed font is a 9x18 bitmapped font designed for low-DPI screens.
> > > > > >> It was originally an embiggened and monospace-ified version of 
> > > > > >> Apple's Chicago
> > > > > >> font from System 6, but it also takes inspiration from many other 
> > > > > >> fonts such
> > > > > >> as bizcat, ttyp0, tamzen, scientifica.
> > > > > >>
> > > > > >> Maintainer: Thim Cederlund 
> > > > > >>
> > > > > >> WWW: https://github.com/kiedtl/cursed
> > > > > >>
> > > > > >>
> > > > > >> Picture of the font in use: 
> > > > > >> https://tilde.team/~kiedtl/images/cursed/sdemo.png
> > > > > >
> > > > > > the font is a bit too big for my tastes, but the port looks good! :)
> > > > > >
> > > > > > two minor nitpicks regarding the indentation, but otherwise it's ok 
> > > > > > for
> > > > > > me to import it if someone wants to.  no need to send an updated
> > > > > > tarball, i trust whoever imports it to adjust the indentation
> > > > > >
> > > > > > maybe we should print a note about `xset +fp /usr/local/...; xset fp
> > > > > > rehash' when installing bitmap fonts?  not an issue per-se, other
> > > > > > packages like dina-fonts lacks it.
> > > > > >
> > > > > > --- Makefile.orig Sun Jul 31 12:18:09 2022
> > > > > > +++ Makefile Sun Jul 31 12:20:05 2022
> > > > > > @@ -1,6 +1,6 @@
> > > > > > COMMENT = monospaced 9x18 bitmap font for low-DPI screens
> > > > > >
> > > > > > -V = 1.0.0
> > > > > > +V = 1.0.0
> > > > > > PKGNAME = cursed-font-${V}
> > > > > >
> > > > > > GH_PROJECT = cursed
> > > > > > @@ -22,7 +22,7 @@
> > > > > > do-build:
> > > > > >  ${X11BASE}/bin/bdftopcf -t ${WRKSRC}/font.bdf \
> > > > > >  | gzip -9 >${WRKSRC}/cursed.pcf.gz
> > > > > > - ${X11BASE}/bin/fonttosfnt -o ${WRKSRC}/cursed.otb 
> > > > > > ${WRKSRC}/font.bdf
> > > > > > + ${X11BASE}/bin/fonttosfnt -o ${WRKSRC}/cursed.otb 
> > > > > > ${WRKSRC}/font.bdf
> > > > > >  ${X11BASE}/bin/mkfontdir ${WRKSRC}
> > > > > >  egrep '\.pcf\.gz' ${WRKSRC}/fonts.dir | \
> > > > > >  sed 's/\.pcf\.gz//g' > ${WRKSRC}/fonts.alias
> > > > 
> > 



cursed-font.tar.gz
Description: application/gzip


Re: [new] fonts/cursed-font

2022-08-03 Thread Thim Cederlund
Hi,

On Wed Aug 3, 2022 at 3:55 PM CEST, Stuart Henderson wrote:
> I might be mistaken but I don't think there was an updated tar to
> get rid of mkfontdir/alias bits that @fontdir takes care of?
>
> I don't think the MESSAGE should be included, if such a message
> needs to go anywhere at all, it should probably be printed by
> pkg_add. But the other bitmap fonts seem to do ok without.

Here you go.


Best Regards,

Thim Cederlund

>
>
>
> On 2022/08/03 15:33, Thim Cederlund wrote:
> > ping
> > 
> > On Sun Jul 31, 2022 at 1:08 PM CEST, Stuart Henderson wrote:
> > > @fontdir takes care of running mkfontdir, it shouldn't be needed as a 
> > > separate build step. See pkg_create(1).
> > >
> > > -- 
> > >   Sent from a phone, apologies for poor formatting.
> > >
> > > On 31 July 2022 11:26:25 Omar Polo  wrote:
> > >
> > > > Hello,
> > > >
> > > > "Thim Cederlund"  wrote:
> > > >> Hi ports@,
> > > >>
> > > >> % pkg_info cursed-font
> > > >> Information for inst:cursed-font-1.0.0
> > > >>
> > > >> Comment:
> > > >> monospaced 9x18 bitmap font for low-DPI screens
> > > >>
> > > >> Description:
> > > >> cursed font is a 9x18 bitmapped font designed for low-DPI screens.
> > > >> It was originally an embiggened and monospace-ified version of Apple's 
> > > >> Chicago
> > > >> font from System 6, but it also takes inspiration from many other 
> > > >> fonts such
> > > >> as bizcat, ttyp0, tamzen, scientifica.
> > > >>
> > > >> Maintainer: Thim Cederlund 
> > > >>
> > > >> WWW: https://github.com/kiedtl/cursed
> > > >>
> > > >>
> > > >> Picture of the font in use: 
> > > >> https://tilde.team/~kiedtl/images/cursed/sdemo.png
> > > >
> > > > the font is a bit too big for my tastes, but the port looks good! :)
> > > >
> > > > two minor nitpicks regarding the indentation, but otherwise it's ok for
> > > > me to import it if someone wants to.  no need to send an updated
> > > > tarball, i trust whoever imports it to adjust the indentation
> > > >
> > > > maybe we should print a note about `xset +fp /usr/local/...; xset fp
> > > > rehash' when installing bitmap fonts?  not an issue per-se, other
> > > > packages like dina-fonts lacks it.
> > > >
> > > > --- Makefile.orig Sun Jul 31 12:18:09 2022
> > > > +++ Makefile Sun Jul 31 12:20:05 2022
> > > > @@ -1,6 +1,6 @@
> > > > COMMENT = monospaced 9x18 bitmap font for low-DPI screens
> > > >
> > > > -V = 1.0.0
> > > > +V = 1.0.0
> > > > PKGNAME = cursed-font-${V}
> > > >
> > > > GH_PROJECT = cursed
> > > > @@ -22,7 +22,7 @@
> > > > do-build:
> > > >  ${X11BASE}/bin/bdftopcf -t ${WRKSRC}/font.bdf \
> > > >  | gzip -9 >${WRKSRC}/cursed.pcf.gz
> > > > - ${X11BASE}/bin/fonttosfnt -o ${WRKSRC}/cursed.otb ${WRKSRC}/font.bdf
> > > > + ${X11BASE}/bin/fonttosfnt -o ${WRKSRC}/cursed.otb ${WRKSRC}/font.bdf
> > > >  ${X11BASE}/bin/mkfontdir ${WRKSRC}
> > > >  egrep '\.pcf\.gz' ${WRKSRC}/fonts.dir | \
> > > >  sed 's/\.pcf\.gz//g' > ${WRKSRC}/fonts.alias
> > 



cursed-font.tar.gz
Description: application/gzip


Re: [new] fonts/cursed-font

2022-08-03 Thread Thim Cederlund
ping

On Sun Jul 31, 2022 at 1:08 PM CEST, Stuart Henderson wrote:
> @fontdir takes care of running mkfontdir, it shouldn't be needed as a 
> separate build step. See pkg_create(1).
>
> -- 
>   Sent from a phone, apologies for poor formatting.
>
> On 31 July 2022 11:26:25 Omar Polo  wrote:
>
> > Hello,
> >
> > "Thim Cederlund"  wrote:
> >> Hi ports@,
> >>
> >> % pkg_info cursed-font
> >> Information for inst:cursed-font-1.0.0
> >>
> >> Comment:
> >> monospaced 9x18 bitmap font for low-DPI screens
> >>
> >> Description:
> >> cursed font is a 9x18 bitmapped font designed for low-DPI screens.
> >> It was originally an embiggened and monospace-ified version of Apple's 
> >> Chicago
> >> font from System 6, but it also takes inspiration from many other fonts 
> >> such
> >> as bizcat, ttyp0, tamzen, scientifica.
> >>
> >> Maintainer: Thim Cederlund 
> >>
> >> WWW: https://github.com/kiedtl/cursed
> >>
> >>
> >> Picture of the font in use: 
> >> https://tilde.team/~kiedtl/images/cursed/sdemo.png
> >
> > the font is a bit too big for my tastes, but the port looks good! :)
> >
> > two minor nitpicks regarding the indentation, but otherwise it's ok for
> > me to import it if someone wants to.  no need to send an updated
> > tarball, i trust whoever imports it to adjust the indentation
> >
> > maybe we should print a note about `xset +fp /usr/local/...; xset fp
> > rehash' when installing bitmap fonts?  not an issue per-se, other
> > packages like dina-fonts lacks it.
> >
> > --- Makefile.orig Sun Jul 31 12:18:09 2022
> > +++ Makefile Sun Jul 31 12:20:05 2022
> > @@ -1,6 +1,6 @@
> > COMMENT = monospaced 9x18 bitmap font for low-DPI screens
> >
> > -V = 1.0.0
> > +V = 1.0.0
> > PKGNAME = cursed-font-${V}
> >
> > GH_PROJECT = cursed
> > @@ -22,7 +22,7 @@
> > do-build:
> >  ${X11BASE}/bin/bdftopcf -t ${WRKSRC}/font.bdf \
> >  | gzip -9 >${WRKSRC}/cursed.pcf.gz
> > - ${X11BASE}/bin/fonttosfnt -o ${WRKSRC}/cursed.otb ${WRKSRC}/font.bdf
> > + ${X11BASE}/bin/fonttosfnt -o ${WRKSRC}/cursed.otb ${WRKSRC}/font.bdf
> >  ${X11BASE}/bin/mkfontdir ${WRKSRC}
> >  egrep '\.pcf\.gz' ${WRKSRC}/fonts.dir | \
> >  sed 's/\.pcf\.gz//g' > ${WRKSRC}/fonts.alias



Re: [new] fonts/cursed-font

2022-07-31 Thread Thim Cederlund


Oh, that explains why I noticed a message upon uninstalling the port. Thanks 
for explaining!

Also, sorry for poor formatting.

Med vänliga hälsningar

Thim Cederlund


> 31 juli 2022 kl. 13:08 skrev Stuart Henderson :
> 
> @fontdir takes care of running mkfontdir, it shouldn't be needed as a 
> separate build step. See pkg_create(1).
> 
> -- 
> Sent from a phone, apologies for poor formatting.
> 
>> On 31 July 2022 11:26:25 Omar Polo  wrote:
>> 
>> Hello,
>> 
>> "Thim Cederlund"  wrote:
>>> Hi ports@,
>>> 
>>> % pkg_info cursed-font
>>> Information for inst:cursed-font-1.0.0
>>> 
>>> Comment:
>>> monospaced 9x18 bitmap font for low-DPI screens
>>> 
>>> Description:
>>> cursed font is a 9x18 bitmapped font designed for low-DPI screens.
>>> It was originally an embiggened and monospace-ified version of Apple's 
>>> Chicago
>>> font from System 6, but it also takes inspiration from many other fonts such
>>> as bizcat, ttyp0, tamzen, scientifica.
>>> 
>>> Maintainer: Thim Cederlund 
>>> 
>>> WWW: https://github.com/kiedtl/cursed
>>> 
>>> 
>>> Picture of the font in use: 
>>> https://tilde.team/~kiedtl/images/cursed/sdemo.png
>> 
>> the font is a bit too big for my tastes, but the port looks good! :)
>> 
>> two minor nitpicks regarding the indentation, but otherwise it's ok for
>> me to import it if someone wants to.  no need to send an updated
>> tarball, i trust whoever imports it to adjust the indentation
>> 
>> maybe we should print a note about `xset +fp /usr/local/...; xset fp
>> rehash' when installing bitmap fonts?  not an issue per-se, other
>> packages like dina-fonts lacks it.
>> 
>> --- Makefile.orig Sun Jul 31 12:18:09 2022
>> +++ Makefile Sun Jul 31 12:20:05 2022
>> @@ -1,6 +1,6 @@
>> COMMENT = monospaced 9x18 bitmap font for low-DPI screens
>> 
>> -V = 1.0.0
>> +V = 1.0.0
>> PKGNAME = cursed-font-${V}
>> 
>> GH_PROJECT = cursed
>> @@ -22,7 +22,7 @@
>> do-build:
>> ${X11BASE}/bin/bdftopcf -t ${WRKSRC}/font.bdf \
>> | gzip -9 >${WRKSRC}/cursed.pcf.gz
>> - ${X11BASE}/bin/fonttosfnt -o ${WRKSRC}/cursed.otb ${WRKSRC}/font.bdf
>> + ${X11BASE}/bin/fonttosfnt -o ${WRKSRC}/cursed.otb ${WRKSRC}/font.bdf
>> ${X11BASE}/bin/mkfontdir ${WRKSRC}
>> egrep '\.pcf\.gz' ${WRKSRC}/fonts.dir | \
>> sed 's/\.pcf\.gz//g' > ${WRKSRC}/fonts.alias
> 


Re: [new] fonts/cursed-font

2022-07-31 Thread Thim Cederlund
Hi Omar,

On Sun Jul 31, 2022 at 12:25 PM CEST, Omar Polo wrote:
> Hello,
>
> "Thim Cederlund"  wrote:
> > Hi ports@,
> > 
> > % pkg_info cursed-font
> > Information for inst:cursed-font-1.0.0
> > 
> > Comment:
> > monospaced 9x18 bitmap font for low-DPI screens
> > 
> > Description:
> > cursed font is a 9x18 bitmapped font designed for low-DPI screens.
> > It was originally an embiggened and monospace-ified version of Apple's 
> > Chicago
> > font from System 6, but it also takes inspiration from many other fonts such
> > as bizcat, ttyp0, tamzen, scientifica.
> > 
> > Maintainer: Thim Cederlund 
> > 
> > WWW: https://github.com/kiedtl/cursed
> > 
> > 
> > Picture of the font in use: 
> > https://tilde.team/~kiedtl/images/cursed/sdemo.png
>
> the font is a bit too big for my tastes, but the port looks good! :)

I imagine that it's a bit big for some, I'm running dual 24" displays and sit
a bit far from my screens which is why I like it :)

>
> two minor nitpicks regarding the indentation, but otherwise it's ok for
> me to import it if someone wants to.  no need to send an updated
> tarball, i trust whoever imports it to adjust the indentation
>
you're absolutely right about the indentation, vim's autoindent is playing
games on me. Maybe I wasn't paying attention, either way see below.

> maybe we should print a note about `xset +fp /usr/local/...; xset fp
> rehash' when installing bitmap fonts?  not an issue per-se, other
> packages like dina-fonts lacks it.
>
I was thinking about this first as well but then I noticed that no other package
does this. although I haven't ran in to an issue on two of my machines I might
as well add it.

cursed-font-1.0.0: ok
Updating font cache: ok
--- +cursed-font-1.0.0 ---
You may wish to run:
$ xset +fp /usr/local/share/fonts/cursed
$ xset fp rehash

Please see attached, and thanks for the interest :)

> --- Makefile.orig Sun Jul 31 12:18:09 2022
> +++ Makefile  Sun Jul 31 12:20:05 2022
> @@ -1,6 +1,6 @@
>  COMMENT =monospaced 9x18 bitmap font for low-DPI screens
>  
> -V =  1.0.0
> +V =  1.0.0
>  PKGNAME =cursed-font-${V}
>  
>  GH_PROJECT = cursed
> @@ -22,7 +22,7 @@
>  do-build:
>   ${X11BASE}/bin/bdftopcf -t ${WRKSRC}/font.bdf \
>   | gzip -9 >${WRKSRC}/cursed.pcf.gz
> - ${X11BASE}/bin/fonttosfnt -o ${WRKSRC}/cursed.otb 
> ${WRKSRC}/font.bdf
> +     ${X11BASE}/bin/fonttosfnt -o ${WRKSRC}/cursed.otb ${WRKSRC}/font.bdf
>   ${X11BASE}/bin/mkfontdir ${WRKSRC}
>   egrep '\.pcf\.gz' ${WRKSRC}/fonts.dir | \
>   sed 's/\.pcf\.gz//g' > ${WRKSRC}/fonts.alias



Best Regards,

Thim Cederlund


cursed-font.tar.gz
Description: application/gzip


[new] fonts/cursed-font

2022-07-30 Thread Thim Cederlund
Hi ports@,

% pkg_info cursed-font
Information for inst:cursed-font-1.0.0

Comment:
monospaced 9x18 bitmap font for low-DPI screens

Description:
cursed font is a 9x18 bitmapped font designed for low-DPI screens.
It was originally an embiggened and monospace-ified version of Apple's Chicago
font from System 6, but it also takes inspiration from many other fonts such
as bizcat, ttyp0, tamzen, scientifica.

Maintainer: Thim Cederlund 

WWW: https://github.com/kiedtl/cursed


Picture of the font in use: https://tilde.team/~kiedtl/images/cursed/sdemo.png


Best Regards,

Thim Cederlund



cursed-font.tar.gz
Description: application/gzip


Re: UPDATE: graphics/nsxiv-v30

2022-06-24 Thread Thim Cederlund
On 24/06-22 11:09, Thim Cederlund wrote:
> Sure, adding the MASTRERSITE codeberg is ok by me.
Sorry, I meant HOMEPAGE and not MASTERSITE obviously.

Best Regards,

Thim Cederlund



Re: UPDATE: graphics/nsxiv-v30

2022-06-24 Thread Thim Cederlund
Hi,

On 24/06-22 09:13, Omar Polo wrote:
> looks fine and works fine as usual, thanks! :)
> 
> However, I noticed a few things that we may want to consider for the
> update.  First of all, the development has moved to codeberg after
> github wiped (but then restored) the account of the maintainer[0].
> Moving from GH_* to a custom MASTERSITE for Codeberg probably isn't an
> option, but they also have added an homepage[1] that we may want to link.
> Secondarly, I've noticed that upstream do provide icons for the
> software, so why don't install them as well?
> 
> [0]: 
> https://nrk.neocities.org/articles/miserable-state-of-github-moderation.html
> [1]: https://nsxiv.codeberg.page/
> 
> Updated diff with these addressed and the patch regenerated (make
> update-patches).  It's ok for you? :)

Sure, adding the MASTRERSITE codeberg is ok by me.

I agree with your changes and not adding the icons was a clear miss
from my end. I don't use icons so I didn't even notice there were
any.

Thank you Omar :)

> 
> Cheers,
> 
> Omar Polo
> 
> Index: Makefile
> ===
> RCS file: /home/cvs/ports/graphics/nsxiv/Makefile,v
> retrieving revision 1.3
> diff -u -p -r1.3 Makefile
> --- Makefile  11 Mar 2022 19:22:54 -  1.3
> +++ Makefile  24 Jun 2022 07:07:36 -
> @@ -2,10 +2,12 @@ COMMENT =   neo simple X Image Viewer
>  
>  GH_PROJECT = nsxiv
>  GH_ACCOUNT = nsxiv
> -GH_TAGNAME = v29
> +GH_TAGNAME = v30
>  
>  CATEGORIES = graphics x11
>  
> +HOMEPAGE =   https://nsxiv.codeberg.page/
> +
>  MAINTAINER = Thim Cederlund 
>  
>  # GPLv2+
> @@ -41,6 +43,7 @@ MAKE_FLAGS =CC="${CC}" \
>   CFLAGS="${CFLAGS}" \
>   LDFLAGS="${LDFLAGS}"
>  
> +FAKE_TARGET =install-all
>  NO_TEST =Yes
>  
>  post-patch:
> Index: distinfo
> ===
> RCS file: /home/cvs/ports/graphics/nsxiv/distinfo,v
> retrieving revision 1.2
> diff -u -p -r1.2 distinfo
> --- distinfo  3 Mar 2022 17:38:24 -   1.2
> +++ distinfo  24 Jun 2022 06:50:20 -
> @@ -1,2 +1,2 @@
> -SHA256 (nsxiv-29.tar.gz) = 
> 564a17d921172336f7cd463bf313e39f84e4bcf4fdc789326f4112f848aad039
> -SIZE (nsxiv-29.tar.gz) = 64012
> +SHA256 (nsxiv-30.tar.gz) = TmAIxlynGlHVndfqfPDrSFctniB6dA9z8o58h35DTSs=
> +SIZE (nsxiv-30.tar.gz) = 65642
> Index: patches/patch-nsxiv_1
> ===
> RCS file: /home/cvs/ports/graphics/nsxiv/patches/patch-nsxiv_1,v
> retrieving revision 1.2
> diff -u -p -r1.2 patch-nsxiv_1
> --- patches/patch-nsxiv_1 3 Mar 2022 17:38:24 -   1.2
> +++ patches/patch-nsxiv_1 24 Jun 2022 06:51:28 -
> @@ -3,7 +3,7 @@ Corrects the path of keysymdef.h.
>  Index: nsxiv.1
>  --- nsxiv.1.orig
>  +++ nsxiv.1
> -@@ -470,7 +470,7 @@ By default nsxiv(1) will send one image per-line to st
> +@@ -499,7 +499,7 @@ By default nsxiv(1) will send one image per-line to st
>   
>   The key combo argument has the following form: "[C-][M-][S-]KEY",
>   where C/M/S indicate Ctrl/Meta(Alt)/Shift modifier states and KEY is the X
> Index: pkg/PLIST
> ===
> RCS file: /home/cvs/ports/graphics/nsxiv/pkg/PLIST,v
> retrieving revision 1.2
> diff -u -p -r1.2 PLIST
> --- pkg/PLIST 3 Mar 2022 17:38:24 -   1.2
> +++ pkg/PLIST 24 Jun 2022 07:07:03 -
> @@ -8,5 +8,12 @@ share/doc/nsxiv/
>  share/doc/nsxiv/examples/
>  share/doc/nsxiv/examples/image-info
>  share/doc/nsxiv/examples/key-handler
> +share/doc/nsxiv/examples/thumb-info
>  share/doc/nsxiv/examples/win-title
> +share/icons/hicolor/128x128/apps/nsxiv.png
> +share/icons/hicolor/16x16/apps/nsxiv.png
> +share/icons/hicolor/32x32/apps/nsxiv.png
> +share/icons/hicolor/48x48/apps/nsxiv.png
> +share/icons/hicolor/64x64/apps/nsxiv.png
>  @tag update-desktop-database
> +@tag gtk-update-icon-cache %D/share/icons/hicolor
> 
> 



UPDATE: graphics/nsxiv-v30

2022-06-23 Thread Thim Cederlund
Hi,

Update for nsxiv to v30.

TLDR; a new script has been introduced that is called when the
selected image changes in thumbnail mode.

Proper changelog doesn't exist so I would advise you to check:
https://github.com/nsxiv/nsxiv/commits/master

OK? Anyone willing to commit?

Best Regards,
Thim Cederlund



Index: Makefile
===
RCS file: /home/cvs/ports/graphics/nsxiv/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile11 Mar 2022 19:22:54 -  1.3
+++ Makefile23 Jun 2022 15:39:39 -
@@ -2,7 +2,7 @@ COMMENT =   neo simple X Image Viewer
 
 GH_PROJECT =   nsxiv
 GH_ACCOUNT =   nsxiv
-GH_TAGNAME =   v29
+GH_TAGNAME =   v30
 
 CATEGORIES =   graphics x11
 
Index: distinfo
===
RCS file: /home/cvs/ports/graphics/nsxiv/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo3 Mar 2022 17:38:24 -   1.2
+++ distinfo23 Jun 2022 15:39:41 -
@@ -1,2 +1,2 @@
-SHA256 (nsxiv-29.tar.gz) = 
564a17d921172336f7cd463bf313e39f84e4bcf4fdc789326f4112f848aad039
-SIZE (nsxiv-29.tar.gz) = 64012
+SHA256 (nsxiv-30.tar.gz) = TmAIxlynGlHVndfqfPDrSFctniB6dA9z8o58h35DTSs=
+SIZE (nsxiv-30.tar.gz) = 65642
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/graphics/nsxiv/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- PLIST   3 Mar 2022 17:38:24 -   1.2
+++ PLIST   23 Jun 2022 15:58:47 -
@@ -8,5 +8,6 @@ share/doc/nsxiv/
 share/doc/nsxiv/examples/
 share/doc/nsxiv/examples/image-info
 share/doc/nsxiv/examples/key-handler
+share/doc/nsxiv/examples/thumb-info
 share/doc/nsxiv/examples/win-title
 @tag update-desktop-database



[NEW] x11/clipmenu, x11/clipnotify

2022-04-13 Thread Thim Cederlund
On 01/04-22 18:35, Thim Cederlund wrote:
> Hi,
> 
> On 01/04-22 18:32, Omar Polo wrote:
> > Thim Cederlund  wrote:
> > > Hi,
> > > 
> > > I just wanted to clarify that I don't have CVS access so you're
> > > good to import the packages if you want to :)
> > 
> > new ports need two "OK" in order to be imported.  I gave mine, but we
> > need to wait for someone else to review them.  Also...
> >
> 
> I see, thanks for explaining, I wasn't sure of how many OKs were needed :)
> 
> > > (I am aware that they aren't imported yet and I know that 7.1 is
> > > just around the corner though)
> > 
> > ...the port tree is in "slow mode" for the 7.1.  There's a policy of "no
> > new ports" and a general slow down for updates in order to focus on
> > polishing stuff for the next release and making sure everything is
> > working fine.
> > 
> > (see https://marc.info/?l=openbsd-ports=164875744011691=2 )
> > 
> > so i guess we'll have to revisit these ports after 7.1
> >
> 
> Yup, I read the mail just the other day. I will ping when 7.1 -release is
> available. Thank you!
> 

Ping, tarballs reattached.


% pkg_info clipmenu
Information for inst:clipmenu-6.2.0

Comment:
simple clipboard manager using dmenu

Description:
clipmenu is a simple clipboard manager using dmenu or rofi.  Despite
being only <300 lines, clipmenu has many useful features, including:

* Customising the maximum number of clips stored (default 1000)
* Disabling clip collection temporarily with clipctl
* Not storing clipboard changes from certain programs, like password managers
* Taking direct ownership of the clipboard

% pkg_info clipnotify 
Information for inst:clipnotify-1.0.2

Comment:
notify on X clipboard events

Required by:
clipmenu-6.2.0

Description:
clipnotify waits until a new selection is available and then exits.
It is primarly made for clipmenu, but it can be used in shell scripts.




clipmenu.tar.gz
Description: application/tar-gz


clipnotify.tar.gz
Description: application/tar-gz


Re: [NEW] x11/clipmenu, x11/clipnotify

2022-03-28 Thread Thim Cederlund
Hi,

On 28/03-22 20:11, Omar Polo wrote:
> Thim Cederlund  wrote:
> > On 22/03-22 19:25, Thim Cederlund wrote:
> > > Hi ports@,
> > > 
> > > I don't know about you guys but I can't function without a clipboard 
> > > manager.
> > > A few years ago I was looking for the perfect one and while I haven't 
> > > found
> > > one yet I feel that clipmenu is damn near close.
> > > 
> > > 
> > > % pkg_info clipmenu
> > > Information for inst:clipmenu-6.2.0
> > > 
> > > Comment:
> > > simple clipboard manager using dmenu
> > > 
> > > Description:
> > > clipmenu is a simple clipboard manager using dmenu or rofi.
> > > The behavior of clipmenud can be customized through environment variables.
> > > 
> > > Despite being only <300 lines, clipmenu has many useful features, 
> > > including:
> > > * Customising the maximum number of clips stored (default 1000)
> > > * Disabling clip collection temporarily with clipctl
> > > * Not storing clipboard changes from certain programs, like password 
> > > managers
> > > * Taking direct ownership of the clipboard
> > > 
> > > Maintainer: Thim Cederlund 
> > > 
> > > WWW: https://github.com/cdown/clipmenu
> > > 
> > > % pkg_info clipnotify
> > > Information for inst:clipnotify-1.0.2
> > > 
> > > Comment:
> > > simple program that waits until a new selection is available
> > > 
> > > Required by:
> > > clipmenu-6.2.0
> > > 
> > > Description:
> > > clipnotify waits until a new selection is available and then exits.
> > > It is primarly made for clipmenu, but it can be used in shell scripts.
> > > 
> > > Maintainer: Thim Cederlund 
> > > 
> > > WWW: https://github.com/cdown/clipnotify
> > > 
> > > 
> > > 
> > > Best Regards,
> > > 
> > > Thim Cederlund
> > > 
> > > 
> > 
> > Ping. Tarballs reattached 
> 
> Hello :)
> 
> The makefiles looks good, just a couple of minor nits:
> 
>  - please make sure to fix the permissions for the tarballs you send.
>if the permissions are not 755 (dir) or 644 (files) then with
>PORTS_PRIVSEP you get strange errors like "can't access
>directory"/"can't read PLIST" etc.  Not a huge issue, i can easily
>fix it, but can be confusing.

Now that's weird, the permissions look alright locally.
Not entirely sure why it freaked out when the files got tar'ed.

> 
>  - usually the GH_* variables are in the following order: GH_ACCOUNT,
>GH_PROJECT, GH_TAGNAME

I see, based on my other ports I have formated them in the PROJECT,
ACCOUNT, TAG order, but you're absolutely right, I should have checked 
the template file.

> 
>  - (clipmenu) RUN_DEPENDS (and also most of other variables) are
>usually indented a little bit differently and sorted
> 
>  - (clipmenu) we can shorten the do-install target a bit by using a
>.for
> 
>  - (clipmenu) since there isn't any manpage, i think it's a good idea
>to install the readme at least in /usr/local/share/doc/clipmenu
> 
> i agree (even if it's unfortunate) that we need to roll our own
> do-install targets: clipmenu assumes GNU' install(1), and clipnotify
> tarball doesn't ship an `install' target.
>
> here's a diff against your makefiles and the tarball reattached.  I've
> took the liberty to tweak clipmenu/pkg/DESCR too a bit, now it reads:
> 
> ---
> clipmenu is a simple clipboard manager using dmenu or rofi.  Despite
> being only <300 lines, clipmenu has many useful features, including:
> 
>  * Customising the maximum number of clips stored (default 1000)
>  * Disabling clip collection temporarily with clipctl
>  * Not storing clipboard changes from certain programs, like password
>managers
>  * Taking direct ownership of the clipboard
> ---
> 
> if you're fine with the changes, it's ok for me to import.
> 

All ok by me =) thanks Omar.


Best Regards,

Thim Cederlund




Re: [NEW] x11/clipmenu, x11/clipnotify

2022-03-28 Thread Thim Cederlund
On 22/03-22 19:25, Thim Cederlund wrote:
> Hi ports@,
> 
> I don't know about you guys but I can't function without a clipboard manager.
> A few years ago I was looking for the perfect one and while I haven't found
> one yet I feel that clipmenu is damn near close.
> 
> 
> % pkg_info clipmenu
> Information for inst:clipmenu-6.2.0
> 
> Comment:
> simple clipboard manager using dmenu
> 
> Description:
> clipmenu is a simple clipboard manager using dmenu or rofi.
> The behavior of clipmenud can be customized through environment variables.
> 
> Despite being only <300 lines, clipmenu has many useful features, including:
> * Customising the maximum number of clips stored (default 1000)
> * Disabling clip collection temporarily with clipctl
> * Not storing clipboard changes from certain programs, like password managers
> * Taking direct ownership of the clipboard
> 
> Maintainer: Thim Cederlund 
> 
> WWW: https://github.com/cdown/clipmenu
> 
> % pkg_info clipnotify
> Information for inst:clipnotify-1.0.2
> 
> Comment:
> simple program that waits until a new selection is available
> 
> Required by:
> clipmenu-6.2.0
> 
> Description:
> clipnotify waits until a new selection is available and then exits.
> It is primarly made for clipmenu, but it can be used in shell scripts.
> 
> Maintainer: Thim Cederlund 
> 
> WWW: https://github.com/cdown/clipnotify
> 
> 
> 
> Best Regards,
> 
> Thim Cederlund
> 
> 

Ping. Tarballs reattached 



clipmenu.tar.gz
Description: application/tar-gz


clipnotify.tar.gz
Description: application/tar-gz


[NEW] x11/clipmenu, x11/clipnotify

2022-03-22 Thread Thim Cederlund
Hi ports@,

I don't know about you guys but I can't function without a clipboard manager.
A few years ago I was looking for the perfect one and while I haven't found
one yet I feel that clipmenu is damn near close.


% pkg_info clipmenu
Information for inst:clipmenu-6.2.0

Comment:
simple clipboard manager using dmenu

Description:
clipmenu is a simple clipboard manager using dmenu or rofi.
The behavior of clipmenud can be customized through environment variables.

Despite being only <300 lines, clipmenu has many useful features, including:
* Customising the maximum number of clips stored (default 1000)
* Disabling clip collection temporarily with clipctl
* Not storing clipboard changes from certain programs, like password managers
* Taking direct ownership of the clipboard

Maintainer: Thim Cederlund 

WWW: https://github.com/cdown/clipmenu

% pkg_info clipnotify
Information for inst:clipnotify-1.0.2

Comment:
simple program that waits until a new selection is available

Required by:
clipmenu-6.2.0

Description:
clipnotify waits until a new selection is available and then exits.
It is primarly made for clipmenu, but it can be used in shell scripts.

Maintainer: Thim Cederlund 

WWW: https://github.com/cdown/clipnotify



Best Regards,

Thim Cederlund




clipmenu.tar.gz
Description: application/tar-gz


clipnotify.tar.gz
Description: application/tar-gz


[UPDATE] tremc to 0.9.3

2022-03-12 Thread Thim Cederlund
Hi ports,

Here's a diff for updating the tremc port to version 0.9.3.

There's no changelog to it yet but it incorporates all the commits done
since the last release which was back in June 2020. Also it looks
cleaner in the ports tree to use a tag rather than a random commit as
the version number.

Builds and runs perfectly on my machine (amd64).
Anyone willing to commit it? Thanks


Best Regards,

Thim Cederlund
Index: Makefile
===
RCS file: /home/cvs/ports/net/tremc/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile11 Mar 2022 19:47:56 -  1.2
+++ Makefile12 Mar 2022 13:36:12 -
@@ -2,8 +2,7 @@ COMMENT =   curses interface for transmis

 GH_ACCOUNT =   tremc
 GH_PROJECT =   tremc
-GH_COMMIT =8b6b29163295e5cf12d9d874e80203c5906619c8
-DISTNAME = tremc-0.9.2pl20210227
+GH_TAGNAME =   0.9.3

 CATEGORIES =   net

Index: distinfo
===
RCS file: /home/cvs/ports/net/tremc/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo26 Jan 2022 08:57:01 -  1.1.1.1
+++ distinfo12 Mar 2022 13:36:24 -
@@ -1,2 +1,2 @@
-SHA256 (tremc-0.9.2pl20210227-8b6b2916.tar.gz) = 
hCC7egGcmWGeLkSpZieKVuvaxXAJPw1VRyUJcsB9GSA=
-SIZE (tremc-0.9.2pl20210227-8b6b2916.tar.gz) = 334602
+SHA256 (tremc-0.9.3.tar.gz) = linR/jpaB0dWOssVypBLNs4phJd2Z9feJfd4bhGJBR8=
+SIZE (tremc-0.9.3.tar.gz) = 334457


[UPDATE] graphics/nsxiv to v29

2022-03-03 Thread Thim Cederlund
Hi ports@,

Here's a diff for updating the nsxiv port to v29.

The current version of this port is running a release from December 12th 2021
Here's the changelog: https://github.com/nsxiv/nsxiv/blob/master/CHANGELOG.md

The patch for the Makefile (patches/patch-Makefile) is no longer needed.
Builds and runs perfectly on my machine (amd64).


All good? If so is anyone willing to import it?


Best Regards,

Thim Cederlund
--- Makefile.orig
+++ Makefile
@@ -4,7 +4,7 @@ COMMENT =   neo simple X Image Viewer

 GH_PROJECT =   nsxiv
 GH_ACCOUNT =   nsxiv
-GH_TAGNAME =   v28
+GH_TAGNAME =   v29

 CATEGORIES =   graphics x11

--- distinfo.orig
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (nsxiv-28.tar.gz) = 
38047f60e51854363dd98fb7b3bc9f1cfa9b7d6f9e8788508b6f1e317328dd75
-SIZE (nsxiv-28.tar.gz) = 60699
+SHA256 (nsxiv-29.tar.gz) = 
564a17d921172336f7cd463bf313e39f84e4bcf4fdc789326f4112f848aad039
+SIZE (nsxiv-29.tar.gz) = 64012