DEB arts: Change the library package name in case of incompatible ABI for 64-bit time_t. #284
Merged
SlavekB
merged 1 commits from deb/t64abi/arts
into master
2 months ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'deb/t64abi/arts'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Added a build-time change of
libarts1c2a
package tolibarts1t64
, for distributions and architectures that enforce 64-bittime_t
. Because historically there was a suffixc2a
as a result of earlier ABI migrations, it is replaced byt64
.Replaces: arts-trinity (<< 4:14.0.0~)
Breaks: arts-trinity (<< 4:14.0.0~)
Depends: libartsc0-trinity (>= ${source:Version}), libarts1c2a-trinity (>= ${source:Version})
Depends: libartsc0-trinity (>= ${source:Version}), libarts1c2a-trinity (>= ${source:Version}) | libarts1t64-trinity (>= ${source:Version})
As per comment in another PR, it would be better to modify the
Depends
field at run time for -t64 packages, IMO.See explanation in comment on #283.
DEB_DH_STRIP_ARGS := --dbg-package=arts-trinity-dbg
PACKAGES_WITH_LIBS := libarts1c2a-trinity libartsc0-trinity
PACKAGES_WITH_LIBS := libarts1$(DEB_TIME64_SUFFIX)-trinity libartsc0-trinity
It would also be good to keep the same root name
libarts1c2a
for the t64 package. For R14.2.0 we could discuss about dropping thec2a
part, like was done long ago for tdelibsSuffix removal is possible in two cases: the SO version changes, which was the case of tdelibs –
tdelibs3c2a
was changed totdelibs14
, or the suffix turns into another, which is case oft64
. You can see this information about the removal of the original suffixes and replace with thet64
on https://wiki.debian.org/releasegoals/64bit-timeIn this case, there was no reason to increase the version of SO, so there was no opportunity to remove the suffix, but only the opportunity to replace it. Remember that the increase in the SO version on the removal or replacement of the suffix means the need to rebuild all dependent packages.
e83caeb51c
to8f8ece8a19
2 months agoLooks good
8f8ece8a19
into master 2 months agoReviewers
8f8ece8a19
.