From: Uwe Kleine-König Date: Sat, 9 Jul 2011 19:17:09 +0000 (+0200) Subject: debian: strictly depend on the same version of libnotmuch X-Git-Tag: 0.6.1~15 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=f01b8d1331d099f6bb53f94f7313de0c6c188e4e;hp=7e3cb13a05abc6892d709f8f5629d42dbf13bd9b debian: strictly depend on the same version of libnotmuch It took quite some time to debug why folder: searches didn't work for me though I had notmuch 0.6~rc1 installed. amdragon in #notmuch found out that I still had libnotmuch1 0.5+nmu3 installed. To prevent the same problem in the future let notmuch depend on the same version of libnotmuch1. Reviewed-By: David Bremner The underlying issue is that the libnotmuch interface is not entirely captured by the set of exported symbols. In particular the query syntax can change without being visible to the linker at all. --- diff --git a/debian/control b/debian/control index 78c9849b..03afdf44 100644 --- a/debian/control +++ b/debian/control @@ -15,7 +15,7 @@ Dm-Upload-Allowed: yes Package: notmuch Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: libnotmuch1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Recommends: notmuch-emacs | notmuch-vim Description: thread-based email index, search and tagging Notmuch is a system for indexing, searching, reading, and tagging