[Debian-med-packaging] Bug#1062037: camp: NMU diff for 64-bit time_t transition

Steve Langasek vorlon at debian.org
Wed Feb 28 05:40:17 GMT 2024


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-14-generic (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
diff -Nru camp-0.8.4/debian/changelog camp-0.8.4/debian/changelog
--- camp-0.8.4/debian/changelog	2021-11-08 20:30:04.000000000 +0000
+++ camp-0.8.4/debian/changelog	2024-02-28 05:39:20.000000000 +0000
@@ -1,3 +1,10 @@
+camp (0.8.4-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062037
+
+ -- Steve Langasek <vorlon at debian.org>  Wed, 28 Feb 2024 05:39:20 +0000
+
 camp (0.8.4-4) unstable; urgency=medium
 
   * Team upload.
diff -Nru camp-0.8.4/debian/control camp-0.8.4/debian/control
--- camp-0.8.4/debian/control	2021-11-08 20:30:04.000000000 +0000
+++ camp-0.8.4/debian/control	2024-02-28 05:39:20.000000000 +0000
@@ -3,9 +3,9 @@
 Uploaders: Flavien Bridault <fbridault at ircad.fr>
 Section: science
 Priority: optional
-Build-Depends: cmake,
+Build-Depends: dpkg-dev (>= 1.22.5), cmake,
                debhelper-compat (= 13),
-               d-shlibs,
+               d-shlibs (>= 0.106~),
                libboost-dev,
                libboost-test-dev,
                qtbase5-dev
@@ -15,15 +15,15 @@
 Homepage: https://github.com/IRCAD/camp
 Rules-Requires-Root: no
 
-Package: libcamp0.8
+Package: libcamp0.8t64
 Architecture: any
 Multi-Arch: same
 Section: libs
 Depends: ${shlibs:Depends},
          ${misc:Depends}
-Conflicts: libcamp0.7
-Provides: libcamp0.7
-Replaces: libcamp0.7
+Conflicts: libcamp0.8 (<< ${source:Version}), libcamp0.7
+Provides: libcamp0.7, ${t64:Provides}
+Replaces: libcamp0.8, libcamp0.7
 Description: C++ multi-purpose reflection library
  CAMP is a multi-purpose reflection library developed by Technogerma Systems
  France (http://www.tegesoft.com).
@@ -50,7 +50,7 @@
 Package: libcamp-dev
 Architecture: any
 Section: libdevel
-Depends: libcamp0.8 (= ${binary:Version}),
+Depends: libcamp0.8t64 (= ${binary:Version}),
          ${shlibs:Depends},
          ${misc:Depends}
 Conflicts: libcamp0.7-dev
diff -Nru camp-0.8.4/debian/libcamp0.8t64.lintian-overrides camp-0.8.4/debian/libcamp0.8t64.lintian-overrides
--- camp-0.8.4/debian/libcamp0.8t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ camp-0.8.4/debian/libcamp0.8t64.lintian-overrides	2024-02-28 05:37:25.000000000 +0000
@@ -0,0 +1 @@
+libcamp0.8t64: package-name-doesnt-match-sonames libcamp0.8
diff -Nru camp-0.8.4/debian/rules camp-0.8.4/debian/rules
--- camp-0.8.4/debian/rules	2021-11-08 20:30:04.000000000 +0000
+++ camp-0.8.4/debian/rules	2024-02-28 05:39:18.000000000 +0000
@@ -12,6 +12,7 @@
 override_dh_install:
 	dh_install
 	d-shlibmove \
+		--t64 \
 		--commit --multiarch --devunversioned --exclude-a --exclude-la \
 		--movedev debian/tmp/usr/include/camp usr/include \
 		--movedev debian/tmp/usr/include/camp-xml usr/include \


More information about the Debian-med-packaging mailing list