Re: Re: Re: Re: [OT] Terminal redraw issues / isync launchctl job in macOS 13.5

2023-08-10 Thread Jan Eden via Mutt-users
On 2023-08-10 09:37, Dennis Preiser wrote:

> On Thu, Aug 10, 2023 at 08:14:23AM +0200, Jan Eden via Mutt-users wrote:
> > On 2023-08-07 19:18, Dennis Preiser wrote:
> >> Not surprising. You must somehow tell homebrew that for mutt
> >> --with-curses=PATH/TO/HOMEBREW/ROOT is necessary.
> > 
> > Tried that, and it worked (up to a point). Compiling mutt with the
> > following options
> > 
> > ./configure --enable-hcache --with-curses=/opt/homebrew/opt/ncurses 
> > --with-tokyocabinet=/opt/homebrew/opt/tokyo-cabinet
> > 
> > eliminates the redraw issue (using the current ncurses version), but
> > when I try to add gpgme –
> 
> It would be worth a try to change the mutt formula locally.
> 
> | brew edit mutt
> 
> Then add
> 
> depends_on "ncurses"
> 
> where the depends are and add
> 
> "--with-curses=#{Formula["ncurses"].opt_prefix}"
> 
> to the configure options. Save and reinstall mutt
> 
> brew reinstall mutt
> 
> This should install mutt with the edited, locally cached formula. Since
> I don't use homebrew myself I don't know if this is lost in a brew
> update.

Thank you! I had to create a copy of
/opt/homebrew/opt/mutt/.brew/mutt.rb because my changes to the original
file were overwritten. But then I could execute

brew install --build-from-source mutt.rb

to get a working mutt binary. Thanks again, your help is much
appreciated.

- Jan


signature.asc
Description: PGP signature


Re: Re: Re: [OT] Terminal redraw issues / isync launchctl job in macOS 13.5

2023-08-10 Thread Dennis Preiser
On Thu, Aug 10, 2023 at 08:14:23AM +0200, Jan Eden via Mutt-users wrote:
> On 2023-08-07 19:18, Dennis Preiser wrote:
>> Not surprising. You must somehow tell homebrew that for mutt
>> --with-curses=PATH/TO/HOMEBREW/ROOT is necessary.
> 
> Tried that, and it worked (up to a point). Compiling mutt with the
> following options
> 
> ./configure --enable-hcache --with-curses=/opt/homebrew/opt/ncurses 
> --with-tokyocabinet=/opt/homebrew/opt/tokyo-cabinet
> 
> eliminates the redraw issue (using the current ncurses version), but
> when I try to add gpgme –

It would be worth a try to change the mutt formula locally.

| brew edit mutt

Then add

depends_on "ncurses"

where the depends are and add

"--with-curses=#{Formula["ncurses"].opt_prefix}"

to the configure options. Save and reinstall mutt

brew reinstall mutt

This should install mutt with the edited, locally cached formula. Since
I don't use homebrew myself I don't know if this is lost in a brew
update.

Dennis


Re: Re: Re: [OT] Terminal redraw issues / isync launchctl job in macOS 13.5

2023-08-10 Thread Jan Eden via Mutt-users
On 2023-08-07 19:18, Dennis Preiser wrote:

> On Mon, Aug 07, 2023 at 06:16:39PM +0200, Jan Eden via Mutt-users wrote:
> > On 2023-08-07 16:29, Dennis Preiser wrote:
> >> Maybe it is sufficient to install a newer ncurses with homebrew.
> > 
> > Even with ncurses 6.4 installed, homebrew delivers a mutt version linked
> > against ncurses 5.7.
> 
> Not surprising. You must somehow tell homebrew that for mutt
> --with-curses=PATH/TO/HOMEBREW/ROOT is necessary.

Tried that, and it worked (up to a point). Compiling mutt with the
following options

./configure --enable-hcache --with-curses=/opt/homebrew/opt/ncurses 
--with-tokyocabinet=/opt/homebrew/opt/tokyo-cabinet

eliminates the redraw issue (using the current ncurses version), but
when I try to add gpgme –

./configure --enable-gpgme --enable-hcache 
--with-curses=/opt/homebrew/opt/ncurses 
--with-tokyocabinet=/opt/homebrew/opt/tokyo-cabinet 
--with-gpgme-prefix=/opt/homebrew/opt/gpgme  
--with-libgpg-error-prefix=/opt/homebrew/opt/libgpg-error

– the compilation results in a fatal error:

In file included from crypt-gpgme.c:47:
/opt/homebrew/Cellar/gpgme/1.21.0/include/gpgme.h:30:10: fatal error: 
'gpg-error.h' file not found
#include 
 ^
1 error generated.

So I would need to compile gpgme and libgpg-error myself (and probably
other components). I use homebrew to avoid this stuff, and will have to
live with the redraw bug for now.Nevertheless: Thanks for your
suggestion!

- Jan


signature.asc
Description: PGP signature