[new] sysutils/btop v1.3.0

2024-01-27 Thread Laurent Cheylus
Hi, proposal to import sysutils/btop. btop is a ressource monitor (written in C++) for CPU, processes, memory, disks and network => https://github.com/aristocratos/btop With the work of Jos Dehaes (https://github.com/joske), OpenBSD is now supported by btop with version 1.3.0. With the recent

Re: [new] sysutils/btop v1.3.0

2024-02-08 Thread Laurent Cheylus
Hi, > Please remove the -O2 from OPTFLAGS, otherwise if you use e.g. > "make CXXFLAGS=-O0" it uses "-O0 -O2" and the -O2 takes priority. OK, patch Makefile to remove -O2 flag for compilation. I also fix install step for btop themes (do-install and regen pkg/PLIST). > I need to use --utf-force

Re: [new] sysutils/btop v1.3.0

2024-02-08 Thread Stuart Henderson
On 2024/02/08 10:10, Laurent Cheylus wrote: > > I need to use --utf-force otherwise I get this: > > > > $ btop > > ERROR: No UTF-8 locale detected! > > Use --utf-force argument to force start if you're sure your terminal > > can handle it. > > > > (I am in a UTF-8 environment but as is common on

Re: [new] sysutils/btop v1.3.0

2024-02-08 Thread Laurent Cheylus
> Yes, but that is not enough, it should check LC_CTYPE 5oo. > > > I have no issue in my OpenBSD env with UTF-8 support for btop: > > The standard way to use UTF-8 on OpenBSD is to *only* set LC_CTYPE. > > https://www.openbsd.org/faq/faq10.html#locales OK, my locale settings are exported via my

Re: [new] sysutils/btop v1.3.0

2024-02-08 Thread Stuart Henderson
On 2024/02/08 15:05, Laurent Cheylus wrote: > > Yes, but that is not enough, it should check LC_CTYPE 5oo. > > > > > I have no issue in my OpenBSD env with UTF-8 support for btop: > > > > The standard way to use UTF-8 on OpenBSD is to *only* set LC_CTYPE. > > > > https://www.openbsd.org/faq/faq1

Re: [new] sysutils/btop v1.3.0

2024-01-27 Thread Stuart Henderson
On 2024/01/27 12:04, Laurent Cheylus wrote: > Hi, > > proposal to import sysutils/btop. > > btop is a ressource monitor (written in C++) for CPU, processes, memory, > disks and network => https://github.com/aristocratos/btop > With the work of Jos Dehaes (https://github.com/joske), OpenBSD is no

Re: [new] sysutils/btop v1.3.0

2024-01-27 Thread Laurent Cheylus
Hi Stuart, - Mail original - > The patch fails to apply. Also it patches the install target, which > is overridden with do-install anyway. > > Patching file Makefile using Plan A... > Hunk #1 succeeded at 57 with fuzz 2 (offset 11 lines). > Hunk #2 succeeded at 136 (offset -17 lines). > H

Re: [new] sysutils/btop v1.3.0

2024-01-27 Thread Stuart Henderson
On 2024/01/27 15:51, Laurent Cheylus wrote: > Hi Stuart, > > - Mail original - > > The patch fails to apply. Also it patches the install target, which > > is overridden with do-install anyway. > > > > Patching file Makefile using Plan A... > > Hunk #1 succeeded at 57 with fuzz 2 (offset 1

Re: [new] sysutils/btop v1.3.0

2024-01-27 Thread Laurent Cheylus
Re Stuart, - Mail original - > > I don't understand, there is no patch for btop Makefile in my port > > !?!? Mistake on your side with an old working tree ? > > Ah, I had an old one in mystuff. > > In which case, please can you add one, to disable the ANSI colour > sequence crap it write

Re: [new] sysutils/btop v1.3.0

2024-01-29 Thread Stuart Henderson
On 2024/01/27 16:58, Laurent Cheylus wrote: > > Attached, a new version of my port adding a patch for Makefile: > > - remove ANSI colour sequence during build/link > - remove part to use all CPU cores by default during build > - remove unnecessary -fstack-clash-protection flag > - use -lkvm flag