net-mail/notmuch-0.22 fails tests due to lack of smime support by dev-libs/gmime. gmime's ./configure defaults to not enable smime. Adding smime to IUSE, and adding $(use_enable smime) to src_configure compiles gmime with smime support (using gpgme, which I suppose should be added as a dependency in this case) which then allows notmuch to pass the S/MIME test.
I think --enable-smime should be passed unconditionally as --enable-cryptography. It doesn't need extra dependencies.
I would be happy with unconditional smime, as you suggest. Sorry, I just didn't notice that gpgme is already a dependency.
Looks like gpgme dependency is unnecessary without --enable-smime, so maybe that part was done wrong in the past. Might read the configure.ac and #define's wrong though, getting late for me. S/MIME support in gmime is experimental though, hence the default disabled upstream. Maybe we should remove the dependency (if what I suspect is true), and then think about this experimental S/MIME thing behind use flag that adds gpgme dep back.
Created attachment 435000 [details, diff] gmime-smime.patch I have checked with net-mail/notmuch. Tests against gmime+smime pass. Functionality in UI is present now.
ping
Looks good to me, but I do not think my ok is required.
@aidecoe, feel free to go ahead... but I would revbump it (for that you will likely need to do two revbumps, one as a candidate to be stabilized soon and other for testing with the new gtk-sharp depend and as I am unsure when we will be able to stabilize newer gtk-sharp)
Thanks, Pacho! It is done. Jack, thanks for reporting!