While looking at the Debian packaging for cpdb-libs-2.0~b7 I saw that some ...#84
While looking at the Debian packaging for cpdb-libs-2.0~b7 I saw that some ...#84alteholz wants to merge 1 commit intoOpenPrinting:masterfrom
Conversation
… some symbols have been removed since cpdb-libs-2.0~b5. According to [1] in this case the soname has to be changed as well. I would suggest a value of 3:1:0 - "revision" has to change - "current" needs to be increased as interfaces have been removed - "age" stays the same as ABI is not backward compatible I would be glad if a version cpdb-libs-2.0~b8 could be released. [1] https://autotools.info/libtool/version.html
|
Which symbols got actually removed? And with which commit? Perhaps this is a bug or oversight and we can re-introduce them, ideally as a wrapper which calls an existing function or as pseudo-symbol, to satisfy consistency checks of distro build servers. |
|
According to dpkg-gensymbols the following symbols are missing in b7 compared with b5: For example 6c95351 says that cpdbConcat() was intentionally replaced by g_strconcat() and cpdbConcat() shall no longer be part of the ABI. So at least this does not seem like a bug ... |
|
Originally, I was assuming that while in beta one does not yet need to stabilize the API/ABI and planned to assure its stability only when starting with release candidates. Now, as distros have picked up on the beta versions (the beta phase has taken very long as the API was built up following the demands of projects of adding CPDB support to the 5 known free software print dialogs (GTK, Qt, Mozilla, Chromium, LibreOffice). Now these dialogs are all implemented with the API provided by the latest release (2.0b7). So we could say that this API we should use for the final release. Now there are different approaches for finalization:
WDYT? |
|
From my point of view 2. is the best option. While 1. might work as well, it needs too much work from external people. If the problem can be solved "internally" I would prefer this. 2.08b with soname 3 as the next release would be great. I don't see a reason why RC1 needs to be done quickly afterwards, but ok ... |
|
@alteholz Sorry for being late on this. With this PR you propose to change soname from 2 to 3:1:0. Would it not already work just setting it 3? |
|
Generally, I will follow your suggestion of releasing 2.0b8 with bumped soname. |
When writing the comment, I thought the increase in the revision is needed. |
Somewhere between 2.0b5 and 2.0b7 some API functions have been removed, assuming that while in beta, the API is not expected to be stabilized. But as some distros have already included 2.0b5 we are bumping the soname, to not cause confusion with the distro's package build servers. Solves PR #84 but we go the simpler way of just using "3" as new soname.
... symbols have been removed since cpdb-libs-2.0~b5. According to [1] in this case the soname has to be changed as well. I would suggest a value of 3:1:0
I would be glad if a version cpdb-libs-2.0~b8 could be released.
[1] https://autotools.info/libtool/version.html