Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] neomutt: update to 20200417.
@ 2020-04-17 19:08 Vaelatern
  2020-04-19  3:35 ` [PR PATCH] [Updated] " Vaelatern
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Vaelatern @ 2020-04-17 19:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

There is a new pull request by Vaelatern against master on the void-packages repository

https://github.com/Vaelatern/void-packages neomutt
https://github.com/void-linux/void-packages/pull/21092

neomutt: update to 20200417.
This does not work, 9 unit tests fail. Upstream tracking issue: https://github.com/neomutt/neomutt/issues/2273

A patch file from https://github.com/void-linux/void-packages/pull/21092.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-neomutt-21092.patch --]
[-- Type: text/x-diff, Size: 4080 bytes --]

From e352ed6ab455015a8aa2525513bcee45c4ade935 Mon Sep 17 00:00:00 2001
From: Toyam Cox <Vaelatern@voidlinux.org>
Date: Fri, 17 Apr 2020 15:07:17 -0400
Subject: [PATCH] neomutt: update to 20200417.

---
 .../neomutt/patches/00-bugfix-20200417.patch  | 39 +++++++++++++++++++
 srcpkgs/neomutt/template                      | 13 +++++--
 2 files changed, 49 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/neomutt/patches/00-bugfix-20200417.patch

diff --git a/srcpkgs/neomutt/patches/00-bugfix-20200417.patch b/srcpkgs/neomutt/patches/00-bugfix-20200417.patch
new file mode 100644
index 00000000000..7fe789ad622
--- /dev/null
+++ b/srcpkgs/neomutt/patches/00-bugfix-20200417.patch
@@ -0,0 +1,39 @@
+VOID PACKAGING NOTE: This was added to our release at upstream's request.
+Upstream released, found a bug, fixed it, and reached out to their downstream
+packagers to get this fix included.
+
+This is instead of breaking downstream packagers by moving the tag. We thank
+neomutt upstream for their attention to packaging this software.
+
+commit 9e7537caddb9c6adc720bb3322a7512cf51ab025 (HEAD -> master, origin/master, origin/HEAD)
+Author: Richard Russon <rich@flatcap.org>
+Date:   Fri Apr 17 15:36:58 2020 +0100
+
+    ensure OP_NULL is always first
+
+    A recent refactoring altered the ordering of the OPs when autocrypt was
+    enabled.  This mean that OP_NULL wasn't 0 any more.
+
+    Fixes: #2268
+
+diff --git a/opcodes.h b/opcodes.h
+index 701df71f8..3984d3a03 100644
+--- opcodes.h
++++ opcodes.h
+@@ -37,7 +37,6 @@
+ #endif
+
+ #define OPS_CORE(_fmt) \
+-  _fmt(OP_NULL,                           N_("null operation")) \
+   _fmt(OP_ATTACH_COLLAPSE,                N_("toggle display of subparts")) \
+   _fmt(OP_ATTACH_VIEW_MAILCAP,            N_("force viewing of attachment using mailcap")) \
+   _fmt(OP_ATTACH_VIEW_TEXT,               N_("view attachment as text")) \
+@@ -317,6 +316,7 @@
+   _fmt(OP_COMPOSE_SMIME_MENU,             N_("show S/MIME options")) \
+
+ #define OPS(_fmt) \
++  _fmt(OP_NULL,                           N_("null operation")) \
+   OPS_AUTOCRYPT(_fmt) \
+   OPS_CORE(_fmt) \
+   OPS_SIDEBAR(_fmt) \
+
diff --git a/srcpkgs/neomutt/template b/srcpkgs/neomutt/template
index 4ec4f53771d..9db62c850bc 100644
--- a/srcpkgs/neomutt/template
+++ b/srcpkgs/neomutt/template
@@ -1,15 +1,17 @@
 # Template file for 'neomutt'
 pkgname=neomutt
-version=20200320
+version=20200417
 revision=1
 wrksrc="neomutt-${version}"
 build_style=configure
-configure_args="--ssl --gpgme --notmuch --gdbm --lua --sasl --zlib"
+configure_args="--ssl --gpgme --notmuch --gdbm --lua --sasl --zlib --tdb
+ --rocksdb"
 make_check_target=test
 conf_files="/etc/neomuttrc"
 # neomutt needs either w3m/lynx/elinks to build manual.html
 hostmakedepends="docbook-xsl gettext libxslt perl tcl w3m"
 makedepends="aspell-devel gdbm-devel gettext-devel gpgme-devel libidn-devel
+ rocksdb-devel tdb-devel
  libnotmuch-devel libressl-devel libsasl-devel lua-devel zlib-devel"
 depends="mime-types"
 short_desc="Mutt with misc fixes and feature patches"
@@ -17,7 +19,7 @@ maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://neomutt.org/"
 distfiles="https://github.com/neomutt/neomutt/archive/${version}.tar.gz"
-checksum=69daf2e0633dee7e8bdba74ab714adfa70e8f078028b56d612228c2aa836aafa
+checksum=6ed358053ae17694b580f3b5b13eec9f00f5a7320e76fae6fba767607c40cc48
 
 # fix:
 if [ "${XBPS_CROSS_BASE}" ]; then
@@ -36,6 +38,10 @@ post_install() {
 	vsconf contrib/gpg.rc Muttrc.gpg.dist
 }
 
+pre_check() {
+	export NEOMUTT_TEST_DIR=$(mktemp -d)
+}
+
 # REMARKS:
 # Conf file is in a --sysconfdir=/etc/$pkgname/Muttrc and then alternatives to
 # /etc/Muttrc. In addition, a dependency on mime-types is broken by having
@@ -51,3 +57,4 @@ post_install() {
 # /etc/neomuttrc now exists, and there are no conflicts with regular mutt.
 # Due to this, an install.msg was added and all alternatives were removed.
 # Cross compiling was fixed in 20180323
+# 20200417 had some build changes, none referenced explicitly by our templates.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] neomutt: update to 20200417.
  2020-04-17 19:08 [PR PATCH] neomutt: update to 20200417 Vaelatern
@ 2020-04-19  3:35 ` Vaelatern
  2020-04-19 21:51 ` Vaelatern
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Vaelatern @ 2020-04-19  3:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

There is an updated pull request by Vaelatern against master on the void-packages repository

https://github.com/Vaelatern/void-packages neomutt
https://github.com/void-linux/void-packages/pull/21092

neomutt: update to 20200417.
This does not work, 9 unit tests fail. Upstream tracking issue: https://github.com/neomutt/neomutt/issues/2273

A patch file from https://github.com/void-linux/void-packages/pull/21092.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-neomutt-21092.patch --]
[-- Type: text/x-diff, Size: 4480 bytes --]

From fa87cc2658a37c4b53ae4cd908e4ae53441319f4 Mon Sep 17 00:00:00 2001
From: Toyam Cox <Vaelatern@voidlinux.org>
Date: Fri, 17 Apr 2020 15:07:17 -0400
Subject: [PATCH] neomutt: update to 20200417.

---
 .../neomutt/patches/00-bugfix-20200417.patch  | 39 +++++++++++++++++++
 srcpkgs/neomutt/template                      | 20 ++++++++--
 2 files changed, 55 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/neomutt/patches/00-bugfix-20200417.patch

diff --git a/srcpkgs/neomutt/patches/00-bugfix-20200417.patch b/srcpkgs/neomutt/patches/00-bugfix-20200417.patch
new file mode 100644
index 00000000000..7fe789ad622
--- /dev/null
+++ b/srcpkgs/neomutt/patches/00-bugfix-20200417.patch
@@ -0,0 +1,39 @@
+VOID PACKAGING NOTE: This was added to our release at upstream's request.
+Upstream released, found a bug, fixed it, and reached out to their downstream
+packagers to get this fix included.
+
+This is instead of breaking downstream packagers by moving the tag. We thank
+neomutt upstream for their attention to packaging this software.
+
+commit 9e7537caddb9c6adc720bb3322a7512cf51ab025 (HEAD -> master, origin/master, origin/HEAD)
+Author: Richard Russon <rich@flatcap.org>
+Date:   Fri Apr 17 15:36:58 2020 +0100
+
+    ensure OP_NULL is always first
+
+    A recent refactoring altered the ordering of the OPs when autocrypt was
+    enabled.  This mean that OP_NULL wasn't 0 any more.
+
+    Fixes: #2268
+
+diff --git a/opcodes.h b/opcodes.h
+index 701df71f8..3984d3a03 100644
+--- opcodes.h
++++ opcodes.h
+@@ -37,7 +37,6 @@
+ #endif
+
+ #define OPS_CORE(_fmt) \
+-  _fmt(OP_NULL,                           N_("null operation")) \
+   _fmt(OP_ATTACH_COLLAPSE,                N_("toggle display of subparts")) \
+   _fmt(OP_ATTACH_VIEW_MAILCAP,            N_("force viewing of attachment using mailcap")) \
+   _fmt(OP_ATTACH_VIEW_TEXT,               N_("view attachment as text")) \
+@@ -317,6 +316,7 @@
+   _fmt(OP_COMPOSE_SMIME_MENU,             N_("show S/MIME options")) \
+
+ #define OPS(_fmt) \
++  _fmt(OP_NULL,                           N_("null operation")) \
+   OPS_AUTOCRYPT(_fmt) \
+   OPS_CORE(_fmt) \
+   OPS_SIDEBAR(_fmt) \
+
diff --git a/srcpkgs/neomutt/template b/srcpkgs/neomutt/template
index 4ec4f53771d..2e939b7298f 100644
--- a/srcpkgs/neomutt/template
+++ b/srcpkgs/neomutt/template
@@ -1,23 +1,27 @@
 # Template file for 'neomutt'
 pkgname=neomutt
-version=20200320
+version=20200417
 revision=1
 wrksrc="neomutt-${version}"
 build_style=configure
-configure_args="--ssl --gpgme --notmuch --gdbm --lua --sasl --zlib"
+configure_args="--ssl --gpgme --notmuch --gdbm --lua --sasl --zlib --tdb
+ --rocksdb"
 make_check_target=test
 conf_files="/etc/neomuttrc"
 # neomutt needs either w3m/lynx/elinks to build manual.html
 hostmakedepends="docbook-xsl gettext libxslt perl tcl w3m"
 makedepends="aspell-devel gdbm-devel gettext-devel gpgme-devel libidn-devel
+ rocksdb-devel tdb-devel
  libnotmuch-devel libressl-devel libsasl-devel lua-devel zlib-devel"
 depends="mime-types"
 short_desc="Mutt with misc fixes and feature patches"
 maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://neomutt.org/"
-distfiles="https://github.com/neomutt/neomutt/archive/${version}.tar.gz"
-checksum=69daf2e0633dee7e8bdba74ab714adfa70e8f078028b56d612228c2aa836aafa
+distfiles="https://github.com/neomutt/neomutt/archive/${version}.tar.gz
+ https://github.com/neomutt/neomutt-test-files/archive/1ee274e9ae1330fb901eb7b8275b3079d7869222.tar.gz"
+checksum="6ed358053ae17694b580f3b5b13eec9f00f5a7320e76fae6fba767607c40cc48
+ f7aeb9a70b213b1bbcdba629745fd345bde825c467453912f5cfd7f1d75418f5"
 
 # fix:
 if [ "${XBPS_CROSS_BASE}" ]; then
@@ -36,6 +40,13 @@ post_install() {
 	vsconf contrib/gpg.rc Muttrc.gpg.dist
 }
 
+pre_check() {
+	cd ${XBPS_BUILDDIR}/neomutt-test-files-1ee274e9ae1330fb901eb7b8275b3079d7869222/
+	./setup.sh
+	cd -
+	export NEOMUTT_TEST_DIR=${XBPS_BUILDDIR}/neomutt-test-files-1ee274e9ae1330fb901eb7b8275b3079d7869222
+}
+
 # REMARKS:
 # Conf file is in a --sysconfdir=/etc/$pkgname/Muttrc and then alternatives to
 # /etc/Muttrc. In addition, a dependency on mime-types is broken by having
@@ -51,3 +62,4 @@ post_install() {
 # /etc/neomuttrc now exists, and there are no conflicts with regular mutt.
 # Due to this, an install.msg was added and all alternatives were removed.
 # Cross compiling was fixed in 20180323
+# 20200417 had some build changes, none referenced explicitly by our templates.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] neomutt: update to 20200417.
  2020-04-17 19:08 [PR PATCH] neomutt: update to 20200417 Vaelatern
  2020-04-19  3:35 ` [PR PATCH] [Updated] " Vaelatern
@ 2020-04-19 21:51 ` Vaelatern
  2020-04-19 21:52 ` Vaelatern
  2020-04-19 22:30 ` [PR PATCH] [Merged]: " Vaelatern
  3 siblings, 0 replies; 5+ messages in thread
From: Vaelatern @ 2020-04-19 21:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

There is an updated pull request by Vaelatern against master on the void-packages repository

https://github.com/Vaelatern/void-packages neomutt
https://github.com/void-linux/void-packages/pull/21092

neomutt: update to 20200417.
This does not work, 9 unit tests fail. Upstream tracking issue: https://github.com/neomutt/neomutt/issues/2273

A patch file from https://github.com/void-linux/void-packages/pull/21092.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-neomutt-21092.patch --]
[-- Type: text/x-diff, Size: 4955 bytes --]

From 89cc298651159eaaf585acd035d3f119aacdf0dc Mon Sep 17 00:00:00 2001
From: Toyam Cox <Vaelatern@voidlinux.org>
Date: Fri, 17 Apr 2020 15:07:17 -0400
Subject: [PATCH] neomutt: update to 20200417.

---
 .../neomutt/patches/00-bugfix-20200417.patch  | 39 +++++++++++++++++++
 srcpkgs/neomutt/template                      | 32 +++++++++++++--
 2 files changed, 67 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/neomutt/patches/00-bugfix-20200417.patch

diff --git a/srcpkgs/neomutt/patches/00-bugfix-20200417.patch b/srcpkgs/neomutt/patches/00-bugfix-20200417.patch
new file mode 100644
index 00000000000..1342dd6a1d6
--- /dev/null
+++ b/srcpkgs/neomutt/patches/00-bugfix-20200417.patch
@@ -0,0 +1,39 @@
+VOID PACKAGING NOTE: This was added to our release at upstream's request.
+Upstream released, found a bug, fixed it, and reached out to their downstream
+packagers to get this fix included.
+
+This is instead of breaking downstream packagers by moving the tag. We thank
+neomutt upstream for their attention to packaging this software.
+
+commit 9e7537caddb9c6adc720bb3322a7512cf51ab025 (HEAD -> master, origin/master, origin/HEAD)
+Author: Richard Russon <rich@flatcap.org>
+Date:   Fri Apr 17 15:36:58 2020 +0100
+
+    ensure OP_NULL is always first
+
+    A recent refactoring altered the ordering of the OPs when autocrypt was
+    enabled.  This mean that OP_NULL wasn't 0 any more.
+
+    Fixes: #2268
+
+diff --git a/opcodes.h b/opcodes.h
+index 701df71f8..3984d3a03 100644
+--- neomutt-20200417/opcodes.h
++++ neomutt-20200417/opcodes.h
+@@ -37,7 +37,6 @@
+ #endif
+
+ #define OPS_CORE(_fmt) \
+-  _fmt(OP_NULL,                           N_("null operation")) \
+   _fmt(OP_ATTACH_COLLAPSE,                N_("toggle display of subparts")) \
+   _fmt(OP_ATTACH_VIEW_MAILCAP,            N_("force viewing of attachment using mailcap")) \
+   _fmt(OP_ATTACH_VIEW_TEXT,               N_("view attachment as text")) \
+@@ -317,6 +316,7 @@
+   _fmt(OP_COMPOSE_SMIME_MENU,             N_("show S/MIME options")) \
+
+ #define OPS(_fmt) \
++  _fmt(OP_NULL,                           N_("null operation")) \
+   OPS_AUTOCRYPT(_fmt) \
+   OPS_CORE(_fmt) \
+   OPS_SIDEBAR(_fmt) \
+
diff --git a/srcpkgs/neomutt/template b/srcpkgs/neomutt/template
index 4ec4f53771d..8d3e3707f69 100644
--- a/srcpkgs/neomutt/template
+++ b/srcpkgs/neomutt/template
@@ -1,23 +1,29 @@
 # Template file for 'neomutt'
 pkgname=neomutt
-version=20200320
+version=20200417
 revision=1
 wrksrc="neomutt-${version}"
+create_wrksrc=true
+build_wrksrc="$wrksrc"
 build_style=configure
-configure_args="--ssl --gpgme --notmuch --gdbm --lua --sasl --zlib"
+configure_args="--ssl --gpgme --notmuch --gdbm --lua --sasl --zlib --tdb
+ --rocksdb --testing"
 make_check_target=test
 conf_files="/etc/neomuttrc"
 # neomutt needs either w3m/lynx/elinks to build manual.html
 hostmakedepends="docbook-xsl gettext libxslt perl tcl w3m"
 makedepends="aspell-devel gdbm-devel gettext-devel gpgme-devel libidn-devel
+ rocksdb-devel tdb-devel
  libnotmuch-devel libressl-devel libsasl-devel lua-devel zlib-devel"
 depends="mime-types"
 short_desc="Mutt with misc fixes and feature patches"
 maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://neomutt.org/"
-distfiles="https://github.com/neomutt/neomutt/archive/${version}.tar.gz"
-checksum=69daf2e0633dee7e8bdba74ab714adfa70e8f078028b56d612228c2aa836aafa
+distfiles="https://github.com/neomutt/neomutt/archive/${version}.tar.gz
+ https://github.com/neomutt/neomutt-test-files/archive/1ee274e9ae1330fb901eb7b8275b3079d7869222.tar.gz"
+checksum="6ed358053ae17694b580f3b5b13eec9f00f5a7320e76fae6fba767607c40cc48
+ f7aeb9a70b213b1bbcdba629745fd345bde825c467453912f5cfd7f1d75418f5"
 
 # fix:
 if [ "${XBPS_CROSS_BASE}" ]; then
@@ -36,6 +42,19 @@ post_install() {
 	vsconf contrib/gpg.rc Muttrc.gpg.dist
 }
 
+pre_check() {
+	(
+	 cd ${wrksrc}/neomutt-test-files-1ee274e9ae1330fb901eb7b8275b3079d7869222/
+	 ./setup.sh
+	)
+	export NEOMUTT_TEST_DIR=${wrksrc}/neomutt-test-files-1ee274e9ae1330fb901eb7b8275b3079d7869222
+}
+
+post_check() {
+	# This is a file chmodded to 311 and can't be removed normally
+	chmod 777 ${wrksrc}/neomutt-test-files-1ee274e9ae1330fb901eb7b8275b3079d7869222/maildir/damson
+}
+
 # REMARKS:
 # Conf file is in a --sysconfdir=/etc/$pkgname/Muttrc and then alternatives to
 # /etc/Muttrc. In addition, a dependency on mime-types is broken by having
@@ -51,3 +70,8 @@ post_install() {
 # /etc/neomuttrc now exists, and there are no conflicts with regular mutt.
 # Due to this, an install.msg was added and all alternatives were removed.
 # Cross compiling was fixed in 20180323
+# 20200417 had some build changes, none referenced explicitly by our templates.
+# It also added a need for a special directory for unit tests, refered here by
+# commit hash (due to a lack of versioning)
+# Currently a shebang for keybase is rewritten to python2. That should be
+# fixed.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] neomutt: update to 20200417.
  2020-04-17 19:08 [PR PATCH] neomutt: update to 20200417 Vaelatern
  2020-04-19  3:35 ` [PR PATCH] [Updated] " Vaelatern
  2020-04-19 21:51 ` Vaelatern
@ 2020-04-19 21:52 ` Vaelatern
  2020-04-19 22:30 ` [PR PATCH] [Merged]: " Vaelatern
  3 siblings, 0 replies; 5+ messages in thread
From: Vaelatern @ 2020-04-19 21:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

There is an updated pull request by Vaelatern against master on the void-packages repository

https://github.com/Vaelatern/void-packages neomutt
https://github.com/void-linux/void-packages/pull/21092

neomutt: update to 20200417.
This does not work, 9 unit tests fail. Upstream tracking issue: https://github.com/neomutt/neomutt/issues/2273

A patch file from https://github.com/void-linux/void-packages/pull/21092.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-neomutt-21092.patch --]
[-- Type: text/x-diff, Size: 4955 bytes --]

From 9ea1cd03d3ad50776df8b3d2ef8b6d2f71772c38 Mon Sep 17 00:00:00 2001
From: Toyam Cox <Vaelatern@voidlinux.org>
Date: Fri, 17 Apr 2020 15:07:17 -0400
Subject: [PATCH] neomutt: update to 20200417.

---
 .../neomutt/patches/00-bugfix-20200417.patch  | 39 +++++++++++++++++++
 srcpkgs/neomutt/template                      | 32 +++++++++++++--
 2 files changed, 67 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/neomutt/patches/00-bugfix-20200417.patch

diff --git a/srcpkgs/neomutt/patches/00-bugfix-20200417.patch b/srcpkgs/neomutt/patches/00-bugfix-20200417.patch
new file mode 100644
index 00000000000..1342dd6a1d6
--- /dev/null
+++ b/srcpkgs/neomutt/patches/00-bugfix-20200417.patch
@@ -0,0 +1,39 @@
+VOID PACKAGING NOTE: This was added to our release at upstream's request.
+Upstream released, found a bug, fixed it, and reached out to their downstream
+packagers to get this fix included.
+
+This is instead of breaking downstream packagers by moving the tag. We thank
+neomutt upstream for their attention to packaging this software.
+
+commit 9e7537caddb9c6adc720bb3322a7512cf51ab025 (HEAD -> master, origin/master, origin/HEAD)
+Author: Richard Russon <rich@flatcap.org>
+Date:   Fri Apr 17 15:36:58 2020 +0100
+
+    ensure OP_NULL is always first
+
+    A recent refactoring altered the ordering of the OPs when autocrypt was
+    enabled.  This mean that OP_NULL wasn't 0 any more.
+
+    Fixes: #2268
+
+diff --git a/opcodes.h b/opcodes.h
+index 701df71f8..3984d3a03 100644
+--- neomutt-20200417/opcodes.h
++++ neomutt-20200417/opcodes.h
+@@ -37,7 +37,6 @@
+ #endif
+
+ #define OPS_CORE(_fmt) \
+-  _fmt(OP_NULL,                           N_("null operation")) \
+   _fmt(OP_ATTACH_COLLAPSE,                N_("toggle display of subparts")) \
+   _fmt(OP_ATTACH_VIEW_MAILCAP,            N_("force viewing of attachment using mailcap")) \
+   _fmt(OP_ATTACH_VIEW_TEXT,               N_("view attachment as text")) \
+@@ -317,6 +316,7 @@
+   _fmt(OP_COMPOSE_SMIME_MENU,             N_("show S/MIME options")) \
+
+ #define OPS(_fmt) \
++  _fmt(OP_NULL,                           N_("null operation")) \
+   OPS_AUTOCRYPT(_fmt) \
+   OPS_CORE(_fmt) \
+   OPS_SIDEBAR(_fmt) \
+
diff --git a/srcpkgs/neomutt/template b/srcpkgs/neomutt/template
index 4ec4f53771d..8d3e3707f69 100644
--- a/srcpkgs/neomutt/template
+++ b/srcpkgs/neomutt/template
@@ -1,23 +1,29 @@
 # Template file for 'neomutt'
 pkgname=neomutt
-version=20200320
+version=20200417
 revision=1
 wrksrc="neomutt-${version}"
+create_wrksrc=true
+build_wrksrc="$wrksrc"
 build_style=configure
-configure_args="--ssl --gpgme --notmuch --gdbm --lua --sasl --zlib"
+configure_args="--ssl --gpgme --notmuch --gdbm --lua --sasl --zlib --tdb
+ --rocksdb --testing"
 make_check_target=test
 conf_files="/etc/neomuttrc"
 # neomutt needs either w3m/lynx/elinks to build manual.html
 hostmakedepends="docbook-xsl gettext libxslt perl tcl w3m"
 makedepends="aspell-devel gdbm-devel gettext-devel gpgme-devel libidn-devel
+ rocksdb-devel tdb-devel
  libnotmuch-devel libressl-devel libsasl-devel lua-devel zlib-devel"
 depends="mime-types"
 short_desc="Mutt with misc fixes and feature patches"
 maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://neomutt.org/"
-distfiles="https://github.com/neomutt/neomutt/archive/${version}.tar.gz"
-checksum=69daf2e0633dee7e8bdba74ab714adfa70e8f078028b56d612228c2aa836aafa
+distfiles="https://github.com/neomutt/neomutt/archive/${version}.tar.gz
+ https://github.com/neomutt/neomutt-test-files/archive/1ee274e9ae1330fb901eb7b8275b3079d7869222.tar.gz"
+checksum="6ed358053ae17694b580f3b5b13eec9f00f5a7320e76fae6fba767607c40cc48
+ f7aeb9a70b213b1bbcdba629745fd345bde825c467453912f5cfd7f1d75418f5"
 
 # fix:
 if [ "${XBPS_CROSS_BASE}" ]; then
@@ -36,6 +42,19 @@ post_install() {
 	vsconf contrib/gpg.rc Muttrc.gpg.dist
 }
 
+pre_check() {
+	(
+	 cd ${wrksrc}/neomutt-test-files-1ee274e9ae1330fb901eb7b8275b3079d7869222/
+	 ./setup.sh
+	)
+	export NEOMUTT_TEST_DIR=${wrksrc}/neomutt-test-files-1ee274e9ae1330fb901eb7b8275b3079d7869222
+}
+
+post_check() {
+	# This is a file chmodded to 311 and can't be removed normally
+	chmod 777 ${wrksrc}/neomutt-test-files-1ee274e9ae1330fb901eb7b8275b3079d7869222/maildir/damson
+}
+
 # REMARKS:
 # Conf file is in a --sysconfdir=/etc/$pkgname/Muttrc and then alternatives to
 # /etc/Muttrc. In addition, a dependency on mime-types is broken by having
@@ -51,3 +70,8 @@ post_install() {
 # /etc/neomuttrc now exists, and there are no conflicts with regular mutt.
 # Due to this, an install.msg was added and all alternatives were removed.
 # Cross compiling was fixed in 20180323
+# 20200417 had some build changes, none referenced explicitly by our templates.
+# It also added a need for a special directory for unit tests, refered here by
+# commit hash (due to a lack of versioning)
+# Currently a shebang for keybase is rewritten to python2. That should be
+# fixed.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Merged]: neomutt: update to 20200417.
  2020-04-17 19:08 [PR PATCH] neomutt: update to 20200417 Vaelatern
                   ` (2 preceding siblings ...)
  2020-04-19 21:52 ` Vaelatern
@ 2020-04-19 22:30 ` Vaelatern
  3 siblings, 0 replies; 5+ messages in thread
From: Vaelatern @ 2020-04-19 22:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 272 bytes --]

There's a merged pull request on the void-packages repository

neomutt: update to 20200417.
https://github.com/void-linux/void-packages/pull/21092

Description:
This does not work, 9 unit tests fail. Upstream tracking issue: https://github.com/neomutt/neomutt/issues/2273

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-19 22:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-17 19:08 [PR PATCH] neomutt: update to 20200417 Vaelatern
2020-04-19  3:35 ` [PR PATCH] [Updated] " Vaelatern
2020-04-19 21:51 ` Vaelatern
2020-04-19 21:52 ` Vaelatern
2020-04-19 22:30 ` [PR PATCH] [Merged]: " Vaelatern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).