Bug#1062454: inventor: NMU diff for 64-bit time_t transition

Lukas Märdian slyon at debian.org
Wed Feb 28 11:33: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')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-21-generic (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 inventor-2.1.5-10+dfsg/debian/changelog inventor-2.1.5-10+dfsg/debian/changelog
--- inventor-2.1.5-10+dfsg/debian/changelog	2023-05-28 01:08:52.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/changelog	2024-02-28 11:29:26.000000000 +0000
@@ -1,3 +1,10 @@
+inventor (2.1.5-10+dfsg-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062454
+
+ -- Lukas M?rdian <slyon at debian.org>  Wed, 28 Feb 2024 11:29:26 +0000
+
 inventor (2.1.5-10+dfsg-2) unstable; urgency=medium
 
   [ Steve Robbins ]
diff -Nru inventor-2.1.5-10+dfsg/debian/control inventor-2.1.5-10+dfsg/debian/control
--- inventor-2.1.5-10+dfsg/debian/control	2023-05-28 01:08:52.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/control	2024-02-28 11:29:26.000000000 +0000
@@ -3,7 +3,7 @@
 Uploaders: Steve M. Robbins <smr at debian.org>
 Section: devel
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
                csh,
                libx11-dev,
                libxi-dev,
@@ -21,7 +21,9 @@
 Vcs-Git: https://salsa.debian.org/science-team/inventor.git
 Homepage: http://oss.sgi.com/projects/inventor/
 
-Package: libinventor1
+Package: libinventor1t64
+Provides: ${t64:Provides}
+Breaks: libinventor1 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${misc:Depends},
@@ -31,7 +33,7 @@
 Recommends: xdg-utils,
             xpdf | pdf-viewer
 Conflicts: libinventor0
-Replaces: libinventor0
+Replaces: libinventor1, libinventor0
 Description: Open Inventor runtime environment
  This package contains the required files to run Open Inventor applications.
  .
@@ -48,7 +50,7 @@
 Package: inventor-dev
 Architecture: any
 Depends: ${misc:Depends},
-         libinventor1 (= ${binary:Version}),
+         libinventor1t64 (= ${binary:Version}),
          libc6-dev,
          xlibmesa-dev | libgl-dev,
          libmotif-dev
diff -Nru inventor-2.1.5-10+dfsg/debian/libinventor1.files inventor-2.1.5-10+dfsg/debian/libinventor1.files
--- inventor-2.1.5-10+dfsg/debian/libinventor1.files	2023-05-28 01:08:52.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/libinventor1.files	1970-01-01 00:00:00.000000000 +0000
@@ -1,6 +0,0 @@
-usr/lib/libInventor.so.1
-usr/lib/libInventor.so.1.[0-9]*.[0-9]*
-usr/lib/libInventorXt.so.1
-usr/lib/libInventorXt.so.1.[0-9]*.[0-9]*
-usr/share/inventor/help/Inventor
-usr/share/inventor/fonts
diff -Nru inventor-2.1.5-10+dfsg/debian/libinventor1.lintian-overrides inventor-2.1.5-10+dfsg/debian/libinventor1.lintian-overrides
--- inventor-2.1.5-10+dfsg/debian/libinventor1.lintian-overrides	2023-05-28 01:08:52.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/libinventor1.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-libinventor1: package-depends-on-an-x-font-package Depends: xfonts-scalable
diff -Nru inventor-2.1.5-10+dfsg/debian/libinventor1.postinst inventor-2.1.5-10+dfsg/debian/libinventor1.postinst
--- inventor-2.1.5-10+dfsg/debian/libinventor1.postinst	2023-05-28 01:08:52.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/libinventor1.postinst	1970-01-01 00:00:00.000000000 +0000
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = configure ]; then
-    sh /usr/share/inventor/fonts/link-fonts.sh
-fi
-
-
-#DEBHELPER#
diff -Nru inventor-2.1.5-10+dfsg/debian/libinventor1.prerm inventor-2.1.5-10+dfsg/debian/libinventor1.prerm
--- inventor-2.1.5-10+dfsg/debian/libinventor1.prerm	2023-05-28 01:08:52.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/libinventor1.prerm	1970-01-01 00:00:00.000000000 +0000
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = remove -o "$1" = upgrade ]; then
-    temp=`mktemp /tmp/libinventor1.XXXXXX`
-    rm $temp `find /usr/share/inventor/fonts -type l`
-fi
-
-#DEBHELPER#
diff -Nru inventor-2.1.5-10+dfsg/debian/libinventor1t64.files inventor-2.1.5-10+dfsg/debian/libinventor1t64.files
--- inventor-2.1.5-10+dfsg/debian/libinventor1t64.files	1970-01-01 00:00:00.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/libinventor1t64.files	2023-05-28 01:08:52.000000000 +0000
@@ -0,0 +1,6 @@
+usr/lib/libInventor.so.1
+usr/lib/libInventor.so.1.[0-9]*.[0-9]*
+usr/lib/libInventorXt.so.1
+usr/lib/libInventorXt.so.1.[0-9]*.[0-9]*
+usr/share/inventor/help/Inventor
+usr/share/inventor/fonts
diff -Nru inventor-2.1.5-10+dfsg/debian/libinventor1t64.lintian-overrides inventor-2.1.5-10+dfsg/debian/libinventor1t64.lintian-overrides
--- inventor-2.1.5-10+dfsg/debian/libinventor1t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/libinventor1t64.lintian-overrides	2024-02-28 11:29:17.000000000 +0000
@@ -0,0 +1,2 @@
+libinventor1t64: package-depends-on-an-x-font-package Depends: xfonts-scalable
+libinventor1t64: package-name-doesnt-match-sonames libinventor1
diff -Nru inventor-2.1.5-10+dfsg/debian/libinventor1t64.postinst inventor-2.1.5-10+dfsg/debian/libinventor1t64.postinst
--- inventor-2.1.5-10+dfsg/debian/libinventor1t64.postinst	1970-01-01 00:00:00.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/libinventor1t64.postinst	2023-05-28 01:08:52.000000000 +0000
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = configure ]; then
+    sh /usr/share/inventor/fonts/link-fonts.sh
+fi
+
+
+#DEBHELPER#
diff -Nru inventor-2.1.5-10+dfsg/debian/libinventor1t64.prerm inventor-2.1.5-10+dfsg/debian/libinventor1t64.prerm
--- inventor-2.1.5-10+dfsg/debian/libinventor1t64.prerm	1970-01-01 00:00:00.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/libinventor1t64.prerm	2023-05-28 01:08:52.000000000 +0000
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = remove -o "$1" = upgrade ]; then
+    temp=`mktemp /tmp/libinventor1.XXXXXX`
+    rm $temp `find /usr/share/inventor/fonts -type l`
+fi
+
+#DEBHELPER#


More information about the debian-science-maintainers mailing list