<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/configure, branch 0.29.1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.29.1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.29.1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2019-05-20T21:34:12Z</updated>
<entry>
<title>configure: make _check_session_keys work with an as-needed linker</title>
<updated>2019-05-20T21:34:12Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2019-05-20T20:52:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2669117ad75105c475f4c5850d9bf7a79dde9101'/>
<id>urn:sha1:2669117ad75105c475f4c5850d9bf7a79dde9101</id>
<content type='text'>
When using a promiscuous linker, _check_session_keys was working fine.

But some OSes (including some versions of Ubuntu) have set their
linker to always link in "--as-needed" mode, which means that the
order of the objects linked is relevant.  If a library is loaded
before it is needed, that library will no longer be linked in the
final outcome.  _check_session_keys.c was failing on those systems.

Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>configure: handle TEMP_GPG more robustly</title>
<updated>2019-05-20T21:24:15Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2019-05-20T20:52:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0def7b6860decf7bd725a962c2dbc3ebc2ac418c'/>
<id>urn:sha1:0def7b6860decf7bd725a962c2dbc3ebc2ac418c</id>
<content type='text'>
We never want ./configure to try to do something with an unassigned
variable.  So, make the directory $TEMP_GPG at the start of the
testing of session-key handling, and clean it up afterwards as long as
the directory exists.

Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>configure: better error handling on session key check.</title>
<updated>2019-05-20T21:17:18Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2019-05-20T20:51:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7546fd9cf69775cc256bd9d2878b2426fe14248b'/>
<id>urn:sha1:7546fd9cf69775cc256bd9d2878b2426fe14248b</id>
<content type='text'>
There are a few changes bundled here:

 * say "No." explicitly if there's a failure.

 * try to avoid implying that gpgme-config is necessary to build
   notmuch itself (it's not, though it may be useful if you need to
   rebuild gmime).

 * leave _check_session_keys and _check_session_keys.c around if
   ./configure fails, so that the user can play with it more easily
   for debugging.

 * let error messages show when _check_session_keys.c is built.

Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;

Amended by DB: use command -v instead of which.
</content>
</entry>
<entry>
<title>configure: Ensure that GMime can extract session keys</title>
<updated>2019-05-20T19:28:37Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2019-05-06T20:16:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=30c4fa3702f90572afcd1984dbd7aba70f2b4fd9'/>
<id>urn:sha1:30c4fa3702f90572afcd1984dbd7aba70f2b4fd9</id>
<content type='text'>
GMime 3.0 and higher can extract session keys, but it will *not*
extract session keys if it was built with --disable-crypto, or if it
was built against GPGME version &lt; 1.8.0.

Notmuch currently expects to be able to extract session keys, and
tests will fail if it is not possible, so we ensure that this is the
case during ./configure time.

Part of this feels awkward because notmuch doesn't directly depend on
gpg at all.  Rather, it depends on GMime, and the current
implementation of GMime depends on GPGME for its crypto, and GPGME in
turn depends on gpg.

So the use of gpg in ./configure isn't actually introducing a new
dependency, though if a future version of GMime were ever to move away
from GnuPG, we might need to reconsider.

Note that this changeset depends on
id:20190506174327.13457-1-dkg@fifthhorseman.net , which supplies the
rfc822 message test/corpora/crypto/basic-encrypted.eml used in it.

Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>gmime-cleanup: no longer need to use GMime major version during build</title>
<updated>2019-05-03T09:58:21Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2019-05-02T13:19:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c7bb4c77417371587aea0d62b7397d5a38fed5ed'/>
<id>urn:sha1:c7bb4c77417371587aea0d62b7397d5a38fed5ed</id>
<content type='text'>
Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>gmime-cleanup: always support session keys</title>
<updated>2019-05-03T09:55:32Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2019-05-02T13:19:37Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bb0b119358e4d6df5cc085a48cb3d2e09e396922'/>
<id>urn:sha1:bb0b119358e4d6df5cc085a48cb3d2e09e396922</id>
<content type='text'>
Our minimum version of GMime 3.0 always supports good session key
handling.

signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>build: drop support for gmime-2.6</title>
<updated>2019-05-03T09:49:49Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2019-05-02T13:19:33Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=570349e132da5e19b36a004e633b870cec810170'/>
<id>urn:sha1:570349e132da5e19b36a004e633b870cec810170</id>
<content type='text'>
GMime 3.0 is over 2 years old now, and 2.6 has been deprecated in
notmuch for about 1.5 years.

Comments and documentation no longer need to refer to GMime 2.6, so
clean them all up.

Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>Add a configure flag to disable rpaths</title>
<updated>2019-03-12T23:12:49Z</updated>
<author>
<name>Luis Ressel</name>
<email>aranea@aixah.de</email>
</author>
<published>2019-02-26T02:06:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5569e042315862bdedb341472160cd09f4a0a2f7'/>
<id>urn:sha1:5569e042315862bdedb341472160cd09f4a0a2f7</id>
<content type='text'>
Better support build environments where our /sbin/ldconfig based
heuristic does not work (e.g. some musl libc based systems).
</content>
</entry>
<entry>
<title>Merge tag '0.28.1'</title>
<updated>2019-02-01T12:35:20Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2019-02-01T12:35:20Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=87eb477ba546c47083f678bb7fa3d433cb591090'/>
<id>urn:sha1:87eb477ba546c47083f678bb7fa3d433cb591090</id>
<content type='text'>
notmuch 0.28.1 release
</content>
</entry>
<entry>
<title>configure: don't use special variable BASH</title>
<updated>2019-02-01T11:59:12Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2019-01-17T02:11:31Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a38853518eba567375ad7ea8bb3a5ecfb86dbd62'/>
<id>urn:sha1:a38853518eba567375ad7ea8bb3a5ecfb86dbd62</id>
<content type='text'>
bash, in it's wisdom, sets that variable when invoked as /bin/sh, but
then doesn't act as bash, at least not to the degree we need to run
scripts.
</content>
</entry>
</feed>
