unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [rfc] autotools compatibility and Hurd as platform
@ 2012-03-03 16:40 Justus Winter
  2012-03-03 16:40 ` [PATCH 1/2] Add GNU as a valid platform Justus Winter
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Justus Winter @ 2012-03-03 16:40 UTC (permalink / raw)
  To: notmuch

I made two tiny patches to enable notmuch to be built on the Hurd, the
first one is straight forward, it just adds GNU as a platform and
reuses the settings for Linux.

The second one deals with the problem that the value passed as an
argument to --build is not a triple but a tuple:

% dpkg-architecture -qDEB_HOST_GNU_TYPE
i486-gnu

notmuchs configure script expects the arguments for --host and --build
to be triple but autotools is much more forgiving here. It does so by
canonicalizing the values using some serious voodoo in
/usr/share/misc/config.sub.

The patch reuses config.sub to canonicalize the arguments, but this
introduces a build dependency on autotools and probably worse, it uses
autotools internals and the path to config.sub has to be hardcoded.

Since this might be not desirable we might also just drop the code
that parses the --host and --build options since we're not using them
anyway.

With these two patches notmuch builds fine and works on the Hurd, the
testsuite is running fine (modulo one test, but that might be broken,
haven't checked on linux) and the python bindings are fine too (I've
been successfully running afew to tag some mails).

Cheers,
Justus

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

end of thread, other threads:[~2012-03-20 11:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-03 16:40 [rfc] autotools compatibility and Hurd as platform Justus Winter
2012-03-03 16:40 ` [PATCH 1/2] Add GNU as a valid platform Justus Winter
2012-03-03 16:40 ` [PATCH 2/2] Use autotools config.sub for --host and --build parsing Justus Winter
2012-03-05  2:20 ` [rfc] autotools compatibility and Hurd as platform David Bremner
2012-03-05 10:23   ` [PATCH 1/2] Add GNU as a valid platform Justus Winter
2012-03-05 10:23     ` [PATCH 2/2] Do not try to parse the options for --build and --host arguments Justus Winter
2012-03-18 15:38     ` [PATCH 1/2] Add GNU as a valid platform David Bremner
2012-03-20 11:20     ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

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 read-only IMAP folder(s) and NNTP newsgroup(s).