unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Notmuch shared library
@ 2010-03-11 22:37 Ben Gamari
  2010-03-11 22:37 ` [PATCH] Build and link against notmuch " Ben Gamari
                   ` (5 more replies)
  0 siblings, 6 replies; 30+ messages in thread
From: Ben Gamari @ 2010-03-11 22:37 UTC (permalink / raw)
  To: notmuch

Hey all,

Here's a rebased version of my shared library patch. It's pretty similar to the
last version and should build against a clean tree (I'd recommend git clean -fxd).
Let me know if you have any build issues.

In the eyes of the powers that be, what is the long-term status of this patch?
It's been pretty painless to rebase, but it would be nice to merge at some
point. Then perhaps we could focus a bit on the bindings situation. Just a
thought.

Cheers,

- Ben

^ permalink raw reply	[flat|nested] 30+ messages in thread
* Re: [PATCH] Add SWIG interface file
@ 2010-01-26  5:38 Ben Gamari
  2010-01-26  6:15 ` [PATCH] Build and link against notmuch shared library Ben Gamari
  0 siblings, 1 reply; 30+ messages in thread
From: Ben Gamari @ 2010-01-26  5:38 UTC (permalink / raw)
  To: notmuch


For the record, both the swig branch and the shared-library branch are
available from,
  anonymous: git://goldnerlab.physics.umass.edu/notmuch
  gitweb: http://goldnerlab.physics.umass.edu/git?p=notmuch.git;a=summary

Hope this helps,

- Ben

^ permalink raw reply	[flat|nested] 30+ messages in thread
* Re: libtool-less shared library building
  2010-01-20 20:07 libtool-less shared library building Ben Gamari
@ 2010-01-20 20:18 David Bremner
  2010-01-20 20:35 ` [PATCH] Build and link against notmuch shared library Ben Gamari
  0 siblings, 1 reply; 30+ messages in thread
From: David Bremner @ 2010-01-20 20:18 UTC (permalink / raw)
  To: Ben Gamari, notmuch, cworth

On Wed, 20 Jan 2010 15:07:26 -0500, Ben Gamari <bgamari.foss@gmail.com> wrote:
> Here is a short patch to build libnotmuch.so and link against the notmuch
> binary against it. I think the notmuch rule in Makefile.local is probably
> missing a dependency on lib/libnotmuch.so, but I wasn't sure how to specify it
> without having it be added to the linker command line.

It looks like that doesn't set an soname. Technically this isn't hard,
just add -Wl,-soname=$(SONAME) to the g++ command line. But keeping
track of when the soname should be bumped is a more challenging
enterprise.

d

^ permalink raw reply	[flat|nested] 30+ messages in thread
* libtool-less shared library building
@ 2010-01-20 20:07 Ben Gamari
  2010-01-20 20:07 ` [PATCH] Build and link against notmuch shared library Ben Gamari
  0 siblings, 1 reply; 30+ messages in thread
From: Ben Gamari @ 2010-01-20 20:07 UTC (permalink / raw)
  To: notmuch, cworth

Here is a short patch to build libnotmuch.so and link against the notmuch
binary against it. I think the notmuch rule in Makefile.local is probably
missing a dependency on lib/libnotmuch.so, but I wasn't sure how to specify it
without having it be added to the linker command line.

Let me know what you think. Thanks!

- Ben

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

end of thread, other threads:[~2010-04-01 22:09 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-11 22:37 Notmuch shared library Ben Gamari
2010-03-11 22:37 ` [PATCH] Build and link against notmuch " Ben Gamari
2010-03-12 13:41 ` (no subject) Ingmar Vanhassel
2010-03-15 17:58   ` Ben Gamari
2010-03-12 13:47 ` Ingmar Vanhassel
2010-03-12 15:02   ` Sebastian Spaeth
2010-03-15 16:20     ` Sebastian Spaeth
2010-04-01  7:54   ` Notmuch shared library Carl Worth
2010-04-01  9:10     ` Sebastian Spaeth
2010-04-01 11:10     ` Michal Sojka
2010-04-01 11:24       ` martin f krafft
2010-04-01 11:41         ` martin f krafft
2010-04-01 12:12         ` Carl Worth
2010-04-01 12:44           ` Michal Sojka
2010-04-01 22:09             ` Carl Worth
2010-04-01 11:47     ` [PATCH] Makefile: Create include directory when installing headers Michal Sojka
2010-04-01 12:13       ` Carl Worth
2010-03-12 13:47 ` [PATCH 1/3] Build and link against notmuch shared library, install notmuch.h Ingmar Vanhassel
2010-03-28  2:44   ` Ben Gamari
2010-03-12 13:47 ` [PATCH 2/3] Fix target dependencies for multiple jobs Ingmar Vanhassel
2010-03-12 13:47 ` [PATCH 3/3] Add a --libdir option to ./configure Ingmar Vanhassel
  -- strict thread matches above, loose matches on Subject: below --
2010-01-26  5:38 [PATCH] Add SWIG interface file Ben Gamari
2010-01-26  6:15 ` [PATCH] Build and link against notmuch shared library Ben Gamari
2010-01-20 20:18 libtool-less shared library building David Bremner
2010-01-20 20:35 ` [PATCH] Build and link against notmuch shared library Ben Gamari
2010-01-23  0:58   ` Felipe Contreras
2010-01-23  2:06     ` Ingmar Vanhassel
2010-01-23 18:58       ` bgamari.foss
2010-01-25  1:00         ` Scott Robinson
2010-01-23 18:35     ` Ben Gamari
2010-01-20 20:07 libtool-less shared library building Ben Gamari
2010-01-20 20:07 ` [PATCH] Build and link against notmuch shared library Ben Gamari
2010-01-20 20:20   ` Mike Hommey

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).