Excerpts from Jeffrey Ollie's message of Wed Nov 25 08:33:39 -0800 2009: > On Wed, Nov 25, 2009 at 10:16 AM, Scott Robinson <scott at quadhome.com> > wrote: > > > > == Shared Library > > > > I have modified the build to output a shared library. It's a small change > > relying on libtool. > > > > However, the archives indicate Carl dislikes libtool? > > Ugh, please, let's not go down the autoconf/automake/libtool route.
I didn't use autoconf and friends. Just put in libtool where $(CXX) and $(CC) are. Going with the system defaults. See the attached patch. > > == JSON output > > > > I added a --output=(text|json) option to "search" and "show." Then, emit > > json > > results appropriately. > > > > To accomplish this, I used the cJSON library sans parsing logic. > > > > However, I saw discussion about providing a --format option? > > Awesome, I was just looking at using json-glib but I haven't gotten > very far yet, mainly because I've never used it before (nor done much > of anything with JSON). I was going to call the option > '--output-format=(standard|json)' but I'm not going to worry about the > color of that bikeshed. > > IMHO, I think both approaches would be valuable, that way people > writing front ends could choose the methods that worked best for them. > Do you have patches that you are ready to share? > Yes! As the json work is a bit more substantial, is it preferable to start a [PATCH] thread or link to a git repo? -- Scott Robinson | http://quadhome.com/ Q: Why are my replies five sentences or less? A: http://five.sentenc.es/ -------------- next part -------------- A non-text attachment was scrubbed... Name: libtoolize-notmuch.diff Type: application/octet-stream Size: 3996 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091125/7d8741a7/attachment.obj>