tags 628018 + patch thanks On Sun, Mar 25, 2012 at 04:01:51PM +0200, Stefano Zacchiroli wrote: > > On the debian side your patch series could also include the necessary > > changes to make a new binary package. > > I'll be pleased to do so when/if mutt-notmuch is accepted in contrib/, > just out of general laziness for potentially useless work :-)
Oh well, boredom decided to offer the packaging patch, and I've been happy to abide. It is attached. Of course it depends on the previous one, and may be refined after discussion of it, e.g.: - arguably the Muttrc.d snippet could belong under contrib/ as well, instead of under debian/ - the manpage should be generated at build time I've switched my work machine to use the resulting package and it works fine, without requiring any user customization anymore. But more testing is of course welcome! Cheers. -- Stefano Zacchiroli zack@{upsilon.cc,pps.jussieu.fr,debian.org} . o . Maître de conférences ...... http://upsilon.cc/zack ...... . . o Debian Project Leader ....... @zack on identi.ca ....... o o o « the first rule of tautology club is the first rule of tautology club »
From 9e849ff8af447ed541c31a61ead8ff4f16a5fbd9 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli <z...@upsilon.cc> Date: Sun, 25 Mar 2012 17:41:29 +0200 Subject: [PATCH] debian packaging: new binary package notmuch-mutt --- debian/changelog | 7 +++++++ debian/control | 17 +++++++++++++++++ debian/notmuch-mutt.docs | 1 + debian/notmuch-mutt.install | 2 ++ debian/notmuch-mutt.manpages | 1 + debian/notmuch-mutt.rc | 6 ++++++ 6 files changed, 34 insertions(+), 0 deletions(-) create mode 100644 debian/notmuch-mutt.docs create mode 100644 debian/notmuch-mutt.install create mode 100644 debian/notmuch-mutt.manpages create mode 100644 debian/notmuch-mutt.rc diff --git a/debian/changelog b/debian/changelog index d0eec37..4e3fdcc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +notmuch (0.12-2) unstable; urgency=low + + * new binary package "notmuch-mutt" shipping integration code for + Mutt and Notmuch (AKA mutt-notmuch) + + -- Stefano Zacchiroli <z...@debian.org> Sun, 25 Mar 2012 17:43:49 +0200 + notmuch (0.12-1) unstable; urgency=low * New upstream release diff --git a/debian/control b/debian/control index ed27c58..da93ebe 100644 --- a/debian/control +++ b/debian/control @@ -105,3 +105,20 @@ Description: thread-based email index, search and tagging (vim interface) This package provides a vim based mail user agent based on notmuch. +Package: notmuch-mutt +Architecture: all +Depends: notmuch, libmail-box-perl, libmailtools-perl, + libstring-shellquote-perl, libterm-readline-gnu-perl, + ${misc:Depends} +Recommends: mutt +Enhances: notmuch, mutt +Provides: mutt-notmuch +Description: thread-based email index, search and tagging (Mutt interface) + mutt-notmuch provides integration among the Mutt mail user agent and + the Notmuch mail indexer. + . + mutt-notmuch offer two main integration features. The first one is + the ability of stating a search query interactively and then jump to + a fresh Maildir containing its search results only. The second one is + the ability to reconstruct threads on the fly starting from the + current highlighted mail. diff --git a/debian/notmuch-mutt.docs b/debian/notmuch-mutt.docs new file mode 100644 index 0000000..87bda1d --- /dev/null +++ b/debian/notmuch-mutt.docs @@ -0,0 +1 @@ +contrib/mutt-notmuch/README diff --git a/debian/notmuch-mutt.install b/debian/notmuch-mutt.install new file mode 100644 index 0000000..317d8cf --- /dev/null +++ b/debian/notmuch-mutt.install @@ -0,0 +1,2 @@ +contrib/mutt-notmuch/mutt-notmuch usr/bin +debian/notmuch-mutt.rc etc/Muttrc.d diff --git a/debian/notmuch-mutt.manpages b/debian/notmuch-mutt.manpages new file mode 100644 index 0000000..059791e --- /dev/null +++ b/debian/notmuch-mutt.manpages @@ -0,0 +1 @@ +contrib/mutt-notmuch/mutt-notmuch.1 diff --git a/debian/notmuch-mutt.rc b/debian/notmuch-mutt.rc new file mode 100644 index 0000000..0beba9b --- /dev/null +++ b/debian/notmuch-mutt.rc @@ -0,0 +1,6 @@ +macro index <F8> \ + "<enter-command>unset wait_key<enter><shell-escape>mutt-notmuch --prompt search<enter><change-folder-readonly>~/.cache/mutt_results<enter>" \ + "search mail (using notmuch)" +macro index <F9> \ + "<enter-command>unset wait_key<enter><pipe-message>mutt-notmuch thread<enter><change-folder-readonly>~/.cache/mutt_results<enter><enter-command>set wait_key<enter>" \ + "search and reconstruct owning thread (using notmuch)" -- 1.7.9.1
signature.asc
Description: Digital signature