Source: nifticlib
Dear maintainer,

Please find attached a final version of this patch for the time_t
transition.  This patch is being uploaded to unstable.

Note that this adds a versioned build-dependency on dpkg-dev, to guard
against accidental backports with a wrong ABI.

Thanks!


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-21-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
diff -Nru nifticlib-3.0.1/debian/changelog nifticlib-3.0.1/debian/changelog
--- nifticlib-3.0.1/debian/changelog    2022-05-31 16:28:14.000000000 +0000
+++ nifticlib-3.0.1/debian/changelog    2024-03-01 12:39:03.000000000 +0000
@@ -1,3 +1,10 @@
+nifticlib (3.0.1-9.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063178
+
+ -- Benjamin Drung <bdr...@debian.org>  Fri, 01 Mar 2024 12:39:03 +0000
+
 nifticlib (3.0.1-9) unstable; urgency=medium
 
   * Team upload.
diff -Nru nifticlib-3.0.1/debian/control nifticlib-3.0.1/debian/control
--- nifticlib-3.0.1/debian/control      2022-05-31 16:24:31.000000000 +0000
+++ nifticlib-3.0.1/debian/control      2024-03-01 12:39:03.000000000 +0000
@@ -4,8 +4,8 @@
            Yaroslav Halchenko <deb...@onerussian.com>
 Section: science
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
-               d-shlibs,
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
+               d-shlibs (>= 0.106),
                cmake,
                zlib1g-dev,
                doxygen,
@@ -64,14 +64,16 @@
  This is a transitional dummy package.  It installs libnifti2-dev which
  should be used instead.
 
-Package: libniftiio2
+Package: libniftiio2t64
+Provides: ${t64:Provides}
 Architecture: any
 Multi-Arch: same
 Section: libs
 Depends: ${shlibs:Depends},
          ${misc:Depends}
 Breaks: libnifti2 (<= 3.0)
-Replaces: libnifti2 (<= 3.0)
+Conflicts: libniftiio2 (<< ${source:Version})
+Replaces: libniftiio2, libnifti2 (<= 3.0)
 Description: low-level IO libraries for the NIfTI-1 data format (niftiio)
  Niftilib is a set of i/o libraries for reading and writing files in the
  NIfTI-1 data format. NIfTI-1 is a binary file format for storing medical
@@ -84,7 +86,7 @@
 Architecture: any
 Multi-Arch: same
 Section: libdevel
-Depends: libniftiio2 (= ${binary:Version}),
+Depends: libniftiio2t64 (= ${binary:Version}),
          ${misc:Depends}
 Breaks: libnifti-dev (<= 3.0)
 Replaces: libnifti-dev (<= 3.0)
diff -Nru nifticlib-3.0.1/debian/libniftiio2t64.lintian-overrides 
nifticlib-3.0.1/debian/libniftiio2t64.lintian-overrides
--- nifticlib-3.0.1/debian/libniftiio2t64.lintian-overrides     1970-01-01 
00:00:00.000000000 +0000
+++ nifticlib-3.0.1/debian/libniftiio2t64.lintian-overrides     2024-03-01 
12:35:00.000000000 +0000
@@ -0,0 +1 @@
+libniftiio2t64: package-name-doesnt-match-sonames libniftiio2
diff -Nru nifticlib-3.0.1/debian/rules nifticlib-3.0.1/debian/rules
--- nifticlib-3.0.1/debian/rules        2022-05-30 16:03:11.000000000 +0000
+++ nifticlib-3.0.1/debian/rules        2024-03-01 12:36:50.000000000 +0000
@@ -83,6 +83,7 @@
                    --movedev debian/libnifti2-dev/usr/include/nifti/znzlib.h 
usr/include/nifti \
                    debian/tmp/usr/lib/libznz*.so
        d-shlibmove --commit \
+                   --t64 \
                    --multiarch \
                    --devunversioned \
                    --exclude-la \

Reply via email to