]> git.cworth.org Git - obsolete/notmuch-old/commitdiff
lib: bump SONAME
authorDavid Bremner <bremner@debian.org>
Tue, 4 Oct 2011 16:47:04 +0000 (13:47 -0300)
committerDavid Bremner <bremner@debian.org>
Tue, 4 Oct 2011 16:47:04 +0000 (13:47 -0300)
Based on discussions with amdragon, tschwinge, and others on IRC, I concluded that

1) symbol versioning was probably overkill for libnotmuch
2) It was also probably GNU ld specific
3) Most importantly, nobody could tell me on short notice how exactly it works.

So since the change to the notmuch_database_find_message breaks the
previous ABI, we need to bump the SONAME.

lib/Makefile.local

index 8098432979479b84c678718e8b1f31052d9f386f..ea20b2b364c9359f826eedf1811fef3866ed7372 100644 (file)
@@ -5,19 +5,13 @@
 # the library interface, (such as the deletion of an API or a major
 # semantic change that breaks formerly functioning code).
 #
-# Note: We don't currently have plans to increment this at this time.
-# If we *do* want to make an incompatible change to the library
-# interface, we'll have to decide whether to increment this (creating
-# a new soname) or to introduce symbol versioning to be able to
-# provide support for both old and new interfaces without having to
-# increment this.
-LIBNOTMUCH_VERSION_MAJOR = 1
+LIBNOTMUCH_VERSION_MAJOR = 2
 
 # The minor version of the library interface. This should be incremented at
 # the time of release for any additions to the library interface,
 # (and when it is incremented, the release version of the library should
 #  be reset to 0).
-LIBNOTMUCH_VERSION_MINOR = 4
+LIBNOTMUCH_VERSION_MINOR = 0
 
 # The release version the library interface. This should be incremented at
 # the time of release if there have been no changes to the interface, (but