The patch is included in version 1.9.0, so remove it from Guix.
On i686-linux, test t/pop3d.t fails unless the File::FcntlLock module is
present so add it.
* gnu/packages/patches/public-inbox-fix-spawn-test.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove patch.
* gnu/packages/mail.scm (public-inbox)[version]: Change to 1.9.0.
[source]: Update hash. Remove patch.
[inputs]: Add perl-file-fcntllock if target is x86-32.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/mail.scm (mu)[arguments]<#:phases>: In the
'install-emacs-autoloads' phase, fix the path to mu4e files to generate
autoloads.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
This is no longer needed as the defaults have changed upstream.
* gnu/packages/mail.scm (msmtp)[arguments]: Remove substitution to force
'ping' instead of 'netcat' to check for network access.
* gnu/packages/mail.scm (mu): Update to 1.8.7.
[source]: Fetch from git.
[build-system]: Use meson-build-system.
[native-inputs]: Remove glib:bin and tzdata; add gnupg and texinfo; use new
style.
[inputs]: Remove guile.
[arguments]: Remove obsolete 'patch-configure, 'fix-ffi, and
'check-tz-setup phases. Rename 'patch-bin-sh-in-tests
to 'patch-bin-references and update it.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
* gnu/packages/mail.scm (exim)[arguments]:
Rewrite as G-expressions. Make some surface tweaks to reduce
excessive indentation in places, but again the output is unchanged.
The package's output remains identical.
* gnu/packages/mail.scm (exim)[arguments]: Use SEARCH-INPUT-FILE or
PATCH-SHEBANG in place of ASSOC-REF for all inputs.
This patch makes the public-inbox testsuite pass. Some tests are skipped,
so the test coverage could likely be increased with more massaging.
Perhaps the most significant change is using tini to run the testsuite so
that the testsuite's sub-processes are reaped. The ‘check’ phase is based on
the one from the mutter package. Thanks to Maxim Cournoyer for pointing out
this solution.
* gnu/packages/patches/public-inbox-fix-spawn-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add new patch.
* gnu/packages/mail.scm (public-inbox)[source]: Add new patch.
[arguments]<#:tests?>: Remove argument.
<#:imported-modules>: Add argument.
<#:modules>: Likewise.
<#:phases>{qualify-paths}: Substitute path for ‘/bin/cp’.
{pre-check}: Don't skip httpd-unix.t test. Remove unnecessary path
substitutions for “env” and “/bin/sh”.
{check}: Replace with custom version that launches the tests under tini.
[native-inputs]: Add tini.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Some fixes are needed in both the testsuite and the package itself before
tests can pass so disable them for now.
Also, the lei command needs curl to work, so add it to the PATH in
‘wrap-program’.
* gnu/packages/mail.scm (public-inbox)[version]: Change to 1.8.0.
[source]: Update hash.
[arguments]<#:tests?>: Set to #f.
[arguments]<#:phases>{wrap-programs}: Add curl to PATH.
[inputs]: Add curl and perl-socket-msghdr.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
The file ‘script/public-inbox-compact’ doesn't call ‘xapian-compact’ directly
anymore, so the substitution in the ‘qualify-paths’ phase doesn't do anything.
Now there's a reference to ‘xapian-compact’ in ‘lib/PublicInbox/Xapcmd.pm’,
so substitute the path there.
And move xapian from native-inputs to inputs and use its input path in the
substitution, since ‘xapian-compact’ is called during normal execution of
public-inbox.
Also add ‘bash-minimal’ to the package's inputs, since it uses ‘wrap-program’.
Finally, take the opportunity to change build phases to not return #t
unconditionally, since that isn't necessary anymore.
* gnu/packages/mail.scm (public-inbox)[arguments]<#:phases>: Don't return #t
from each phase.
{qualify-paths}: Substitute ‘xapian-compact’ path in the correct file. Use
‘search-input-file’ rather than ‘which’ to find it.
[native-inputs]: Move ‘xapian’ from here ...
[inputs]: ... to here. Add ‘bash-minimal’.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/mail.scm (rspamd): Update to 3.2
I also added a new build option, that changes the LOCAL_CONFDIR variable to
/etc/rspamd. This allows for rspamd configuration via the /etc/rspamd/local.d
and override.d directories, which by default were located in the PREFIX which
is in /gnu/store.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>