<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib/gen-version-script.sh, branch debian/0.22_rc0-1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.22_rc0-1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.22_rc0-1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2015-07-28T19:34:01Z</updated>
<entry>
<title>build: add "set -eu" to version script generation</title>
<updated>2015-07-28T19:34:01Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2015-07-27T18:42:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=882ccb7e49fa8cca9d498c3eda0fbb64ea57d348'/>
<id>urn:sha1:882ccb7e49fa8cca9d498c3eda0fbb64ea57d348</id>
<content type='text'>
It turns out that on certain systems like FreeBSD, c++filt is not
installed by default. It's basically OK if we fail the build in that
case, but what's really not OK is for the build to continue and
generate bad binaries.
</content>
</entry>
<entry>
<title>build: add canonicalize_file_name to symbols exported from libnotmuch.so</title>
<updated>2014-04-18T20:58:34Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2014-04-09T11:24:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3242e29e57acf1715f4f7bfd7c384d4a699c68f3'/>
<id>urn:sha1:3242e29e57acf1715f4f7bfd7c384d4a699c68f3</id>
<content type='text'>
This is needed for our compat version of canonicalize_file_name to be used.
</content>
</entry>
<entry>
<title>lib/gen-version-script.h: add getline and getdelim to notmuch.sym if needed</title>
<updated>2011-09-05T10:44:14Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-09-05T03:19:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9db21452721356be5169254cd7e8c0ec5b25066b'/>
<id>urn:sha1:9db21452721356be5169254cd7e8c0ec5b25066b</id>
<content type='text'>
If the configure script detects missing getline and/or getdelim
symbols, then notmuch will use it's own versions. This patch, based on
id:"87k49v12i5.fsf@pc44es141.cs.uni-magdeburg.de" by Matthias
Guedemann, adds the symbols to notmuch.sym as well so they are
properly exported from the library.
</content>
</entry>
<entry>
<title>lib/gen-version-script.sh: replace --defined argument to nm with awk</title>
<updated>2011-09-05T10:39:44Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-09-05T02:50:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=80212b13294cababfb41f643765ca00bdf8e55dd'/>
<id>urn:sha1:80212b13294cababfb41f643765ca00bdf8e55dd</id>
<content type='text'>
OpenBSD nm apparently doesn't support --defined.

The awk condition is based on the assumption that all defined symbols
have some hex number in the first column.

Thanks to Matthias Guedemann reporting the problem, and an earlier
version of this patch.
</content>
</entry>
<entry>
<title>re-enable notmuch.sym generation using POSIX sed</title>
<updated>2011-08-21T19:50:39Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-08-21T19:45:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4b55df85348c4ad4129bf6a9af052231f1d6716e'/>
<id>urn:sha1:4b55df85348c4ad4129bf6a9af052231f1d6716e</id>
<content type='text'>
Unfortunately Robin Green's patch 52e4dedf9aa was lost when I created
gen-version-script.sh. This merges his changes manually into that
script. It turns out tabs seem not needed in version script
files, so I simplified a bit and removed the printf.

Thanks to Alexander Botero-Lowry for help and testing.
</content>
</entry>
<entry>
<title>libnotmuch: export Xapian typeinfo symbols</title>
<updated>2011-07-17T01:16:46Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-07-16T18:59:44Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=feb22fef2e3f6f1cf1722f00945c580e506df0df'/>
<id>urn:sha1:feb22fef2e3f6f1cf1722f00945c580e506df0df</id>
<content type='text'>
The lack of such exporting seems to cause problems catching
exceptions, as suggested by

    http://gcc.gnu.org/wiki/Visibility

This manifested in the symbol-hiding test failing when notmuch was
compile with gcc 4.4.5. On i386, this further manifested as notmuch
new failing to run (crashing with an uncaught exception on first run).
</content>
</entry>
</feed>
