Re: how to compile neomutt+gpgme
On 28.9.2022 00:53, Jon Fineman wrote: I wanted to compile neomutt in ports and add gpgme. In the Makefile I set FLAVOR as below. FLAVOR?=gpgme But when I run make it builds /usr/ports/pobj/neomutt-20220429/build-amd64 without gpgme. See neomutt -v below. When I build the FLAVOR for notmuch I get my expected module in: /usr/ports/pobj/neomutt-20220429-notmuch I don't see a path of: /usr/ports/pobj/neomutt-20220429-gpgme desktop(/usr/ports/pobj)$: ls -ltrd neomutt-20220429* drwxr-xr-x 5 jjf jjf 1024 Sep 26 15:02 neomutt-20220429-notmuch drwxr-xr-x 5 jjf jjf 1024 Sep 27 12:05 neomutt-20220429 What am I missing on setting? My goal is to build gpgme+notmuch. https://www.openbsd.org/faq/ports/ports.html#PortsFlavors Thanks. I am on: kern.version=OpenBSD 7.2 (GENERIC.MP) #748: Thu Sep 22 11:46:36 MDT 2022 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP I ran cvs -q up -Pd -A after sysupdate. neomutt info: desktop(/usr/ports/pobj/neomutt-20220429/build-amd64)$: ./neomutt -v NeoMutt 20220429 Copyright (C) 1996-2022 Michael R. Elkins and others. NeoMutt comes with ABSOLUTELY NO WARRANTY; for details type 'neomutt -vv'. NeoMutt is free software, and you are welcome to redistribute it under certain conditions; type 'neomutt -vv' for details. System: OpenBSD 7.2 (amd64) ncurses: ncurses 5.7.20081102 (compiled with 5.7.20081102) libiconv: 1.17 libidn2: 2.3.0 (compiled with 2.3.0) LibreSSL: LibreSSL 3.6.0 OpenSSL: LibreSSL 3.6.0 storage: kyotocabinet, tdb Configure options: --mandir=/usr/local/man --with-ui=ncurses --docdir=/usr/local/share/doc/neomutt --with-lock=flock --idn=0 --idn2 --fmemopen --ssl --tdb --debug --kyotocabinet Compilation CFLAGS: -O2 -pipe -g -I/usr/local/include -std=c99 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -DNCURSES_WIDECHAR Default options: +attach_headers_color +compose_to_sender +compress +cond_date +debug +encrypt_to_self +forgotten_attachments +forwref +ifdef +imap +index_color +initials +limit_current_thread +multiple_fcc +nested_if +new_mail +nntp +pop +progress +quasi_delete +regcomp +reply_with_xorig +sensible_browser +sidebar +skip_quoted +smtp +status_color +timeout +tls_sni +trash Compile options: -autocrypt -fcntl +flock +fmemopen +futimens +getaddrinfo -gnutls -gpgme -gss +hcache -homespool +idn -inotify -locales_hack -lua -mixmaster +nls -notmuch +openssl +pgp +regex -sasl +smime -sqlite +sun_attachment MAILPATH="/var/mail" PKGDATADIR="/usr/local/share/neomutt" SENDMAIL="/usr/sbin/sendmail" SYSCONFDIR="/usr/local/etc" I have gpgme and gnutls installed. desktop(~/)$: pkg_info -D snap -Q gpgme gpgme-1.18.0 (installed) gpgme-qt-1.18.0 ruby27-gpgme-2.0.20 ruby30-gpgme-2.0.20 ruby31-gpgme-2.0.20 desktop(~/nuc)$: pkg_info -D snap -Q gnutls debug-gnutls-3.7.7 gnutls-3.7.7 (installed)
Re: how to compile neomutt+gpgme
On 2022-09-27, Jon Fineman wrote: > I wanted to compile neomutt in ports and add gpgme. In the Makefile I > set FLAVOR as below. > FLAVOR?=gpgme Don't edit the Makefile for this, set it in the environment: FLAVOR=gpgme make package > But when I run make it builds > /usr/ports/pobj/neomutt-20220429/build-amd64 > without gpgme. See neomutt -v below. > > When I build the FLAVOR for notmuch I get my expected module in: > /usr/ports/pobj/neomutt-20220429-notmuch > > I don't see a path of: > /usr/ports/pobj/neomutt-20220429-gpgme > > desktop(/usr/ports/pobj)$: ls -ltrd neomutt-20220429* > drwxr-xr-x 5 jjf jjf 1024 Sep 26 15:02 neomutt-20220429-notmuch > drwxr-xr-x 5 jjf jjf 1024 Sep 27 12:05 neomutt-20220429 > > > What am I missing on setting? My goal is to build gpgme+notmuch. For this you want FLAVOR="gpgme notmuch" make package Or just use packages, this is one of the combinations of flavours which is built by default.
how to compile neomutt+gpgme
I wanted to compile neomutt in ports and add gpgme. In the Makefile I set FLAVOR as below. FLAVOR?=gpgme But when I run make it builds /usr/ports/pobj/neomutt-20220429/build-amd64 without gpgme. See neomutt -v below. When I build the FLAVOR for notmuch I get my expected module in: /usr/ports/pobj/neomutt-20220429-notmuch I don't see a path of: /usr/ports/pobj/neomutt-20220429-gpgme desktop(/usr/ports/pobj)$: ls -ltrd neomutt-20220429* drwxr-xr-x 5 jjf jjf 1024 Sep 26 15:02 neomutt-20220429-notmuch drwxr-xr-x 5 jjf jjf 1024 Sep 27 12:05 neomutt-20220429 What am I missing on setting? My goal is to build gpgme+notmuch. Thanks. I am on: kern.version=OpenBSD 7.2 (GENERIC.MP) #748: Thu Sep 22 11:46:36 MDT 2022 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP I ran cvs -q up -Pd -A after sysupdate. neomutt info: desktop(/usr/ports/pobj/neomutt-20220429/build-amd64)$: ./neomutt -v NeoMutt 20220429 Copyright (C) 1996-2022 Michael R. Elkins and others. NeoMutt comes with ABSOLUTELY NO WARRANTY; for details type 'neomutt -vv'. NeoMutt is free software, and you are welcome to redistribute it under certain conditions; type 'neomutt -vv' for details. System: OpenBSD 7.2 (amd64) ncurses: ncurses 5.7.20081102 (compiled with 5.7.20081102) libiconv: 1.17 libidn2: 2.3.0 (compiled with 2.3.0) LibreSSL: LibreSSL 3.6.0 OpenSSL: LibreSSL 3.6.0 storage: kyotocabinet, tdb Configure options: --mandir=/usr/local/man --with-ui=ncurses --docdir=/usr/local/share/doc/neomutt --with-lock=flock --idn=0 --idn2 --fmemopen --ssl --tdb --debug --kyotocabinet Compilation CFLAGS: -O2 -pipe -g -I/usr/local/include -std=c99 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -DNCURSES_WIDECHAR Default options: +attach_headers_color +compose_to_sender +compress +cond_date +debug +encrypt_to_self +forgotten_attachments +forwref +ifdef +imap +index_color +initials +limit_current_thread +multiple_fcc +nested_if +new_mail +nntp +pop +progress +quasi_delete +regcomp +reply_with_xorig +sensible_browser +sidebar +skip_quoted +smtp +status_color +timeout +tls_sni +trash Compile options: -autocrypt -fcntl +flock +fmemopen +futimens +getaddrinfo -gnutls -gpgme -gss +hcache -homespool +idn -inotify -locales_hack -lua -mixmaster +nls -notmuch +openssl +pgp +regex -sasl +smime -sqlite +sun_attachment MAILPATH="/var/mail" PKGDATADIR="/usr/local/share/neomutt" SENDMAIL="/usr/sbin/sendmail" SYSCONFDIR="/usr/local/etc" I have gpgme and gnutls installed. desktop(~/)$: pkg_info -D snap -Q gpgme gpgme-1.18.0 (installed) gpgme-qt-1.18.0 ruby27-gpgme-2.0.20 ruby30-gpgme-2.0.20 ruby31-gpgme-2.0.20 desktop(~/nuc)$: pkg_info -D snap -Q gnutls debug-gnutls-3.7.7 gnutls-3.7.7 (installed)