mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
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
This commit is contained in:
parent
f1c6e22ee6
commit
7bf5be75ae
3 changed files with 5 additions and 2 deletions
3
NEWS
3
NEWS
|
@ -81,6 +81,9 @@ contrib/ from now on.
|
||||||
Library changes
|
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
|
The function notmuch_database_close has been split into
|
||||||
notmuch_database_close and notmuch_database_destroy
|
notmuch_database_close and notmuch_database_destroy
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ from ctypes import CDLL, Structure, POINTER
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
#package-global instance of the notmuch library
|
#package-global instance of the notmuch library
|
||||||
try:
|
try:
|
||||||
nmlib = CDLL("libnotmuch.so.2")
|
nmlib = CDLL("libnotmuch.so.3")
|
||||||
except:
|
except:
|
||||||
raise ImportError("Could not find shared 'notmuch' library.")
|
raise ImportError("Could not find shared 'notmuch' library.")
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
# the library interface, (such as the deletion of an API or a major
|
# the library interface, (such as the deletion of an API or a major
|
||||||
# semantic change that breaks formerly functioning code).
|
# 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 minor version of the library interface. This should be incremented at
|
||||||
# the time of release for any additions to the library interface,
|
# the time of release for any additions to the library interface,
|
||||||
|
|
Loading…
Reference in a new issue