aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2012-04-28 18:25:36 -0400
committerGravatar David Bremner <bremner@debian.org>2012-05-05 20:06:09 -0300
commit7bf5be75ae8e3c2d4e8c06bba8b44f4fd495349b (patch)
treefc2ec751275b940847a06315fa61d518b49ca249
parentf1c6e22ee60c6e546315368aa3c3d90be36cd945 (diff)
lib: Bump SO version from 2.0.0 to 3.0.0
We've changed the APIs of notmuch_database_open, notmuch_database_create, and notmuch_database_close. Amended by db: also bump string in bindings/python/notmuch/globals.py
-rw-r--r--NEWS3
-rw-r--r--bindings/python/notmuch/globals.py2
-rw-r--r--lib/Makefile.local2
3 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index c0cb3a28..9e32d56c 100644
--- a/NEWS
+++ b/NEWS
@@ -81,6 +81,9 @@ contrib/ from now on.
Library changes
---------------
+The API changes detailed below break binary and source compatibility,
+so libnotmuch has been bumped to version 3.0.0.
+
The function notmuch_database_close has been split into
notmuch_database_close and notmuch_database_destroy
diff --git a/bindings/python/notmuch/globals.py b/bindings/python/notmuch/globals.py
index 823c3e23..f5fad72a 100644
--- a/bindings/python/notmuch/globals.py
+++ b/bindings/python/notmuch/globals.py
@@ -22,7 +22,7 @@ from ctypes import CDLL, Structure, POINTER
#-----------------------------------------------------------------------------
#package-global instance of the notmuch library
try:
- nmlib = CDLL("libnotmuch.so.2")
+ nmlib = CDLL("libnotmuch.so.3")
except:
raise ImportError("Could not find shared 'notmuch' library.")
diff --git a/lib/Makefile.local b/lib/Makefile.local
index 54c4dea4..8a9aa28a 100644
--- a/lib/Makefile.local
+++ b/lib/Makefile.local
@@ -5,7 +5,7 @@
# the library interface, (such as the deletion of an API or a major
# semantic change that breaks formerly functioning code).
#
-LIBNOTMUCH_VERSION_MAJOR = 2
+LIBNOTMUCH_VERSION_MAJOR = 3
# The minor version of the library interface. This should be incremented at
# the time of release for any additions to the library interface,