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)
diff -Nru hdf-eos4-2.20v1.00/debian/changelog 
hdf-eos4-2.20v1.00/debian/changelog
--- hdf-eos4-2.20v1.00/debian/changelog 2018-05-31 13:09:40.000000000 +0000
+++ hdf-eos4-2.20v1.00/debian/changelog 2024-02-28 10:25:00.000000000 +0000
@@ -1,3 +1,10 @@
+hdf-eos4 (2.20v1.00-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1064091
+
+ -- Lukas Märdian <sl...@debian.org>  Wed, 28 Feb 2024 10:25:00 +0000
+
 hdf-eos4 (2.20v1.00-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru hdf-eos4-2.20v1.00/debian/control hdf-eos4-2.20v1.00/debian/control
--- hdf-eos4-2.20v1.00/debian/control   2018-05-31 13:09:40.000000000 +0000
+++ hdf-eos4-2.20v1.00/debian/control   2024-02-28 10:25:00.000000000 +0000
@@ -6,7 +6,7 @@
 Homepage: http://www.hdfeos.org
 Vcs-Browser: https://salsa.debian.org:/science-team/hdf-eos4.git
 Vcs-Git: https://salsa.debian.org:/science-team/hdf-eos4.git
-Build-Depends: debhelper  (>= 10),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper  (>= 10),
  dh-buildinfo,
  gfortran,
  libhdf4-alt-dev,
@@ -14,7 +14,10 @@
  libgctp-dev,
  zlib1g-dev
 
-Package: libhdfeos0
+Package: libhdfeos0t64
+Provides: ${t64:Provides}
+Replaces: libhdfeos0
+Breaks: libhdfeos0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -30,7 +33,7 @@
 Package: libhdfeos-dev
 Architecture: any
 Section: libdevel
-Depends: libhdfeos0 (= ${binary:Version}), ${misc:Depends}
+Depends: libhdfeos0t64 (= ${binary:Version}), ${misc:Depends}
 Multi-Arch: same
 Recommends: pkg-config
 Description:  Development files for the HDF-EOS4 library
diff -Nru hdf-eos4-2.20v1.00/debian/libhdfeos0.docs 
hdf-eos4-2.20v1.00/debian/libhdfeos0.docs
--- hdf-eos4-2.20v1.00/debian/libhdfeos0.docs   2018-05-31 13:09:40.000000000 
+0000
+++ hdf-eos4-2.20v1.00/debian/libhdfeos0.docs   1970-01-01 00:00:00.000000000 
+0000
@@ -1,2 +0,0 @@
-doc/HDFEOS-DEFINITION.TXT
-debian/README.sources
diff -Nru hdf-eos4-2.20v1.00/debian/libhdfeos0.install 
hdf-eos4-2.20v1.00/debian/libhdfeos0.install
--- hdf-eos4-2.20v1.00/debian/libhdfeos0.install        2018-05-31 
13:09:40.000000000 +0000
+++ hdf-eos4-2.20v1.00/debian/libhdfeos0.install        1970-01-01 
00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/libhdfeos.so.*
diff -Nru hdf-eos4-2.20v1.00/debian/libhdfeos0.shlibs 
hdf-eos4-2.20v1.00/debian/libhdfeos0.shlibs
--- hdf-eos4-2.20v1.00/debian/libhdfeos0.shlibs 2018-05-31 13:09:40.000000000 
+0000
+++ hdf-eos4-2.20v1.00/debian/libhdfeos0.shlibs 1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-libhdfeos 0 libhdfeos0
diff -Nru hdf-eos4-2.20v1.00/debian/libhdfeos0t64.docs 
hdf-eos4-2.20v1.00/debian/libhdfeos0t64.docs
--- hdf-eos4-2.20v1.00/debian/libhdfeos0t64.docs        1970-01-01 
00:00:00.000000000 +0000
+++ hdf-eos4-2.20v1.00/debian/libhdfeos0t64.docs        2018-05-31 
13:09:40.000000000 +0000
@@ -0,0 +1,2 @@
+doc/HDFEOS-DEFINITION.TXT
+debian/README.sources
diff -Nru hdf-eos4-2.20v1.00/debian/libhdfeos0t64.install 
hdf-eos4-2.20v1.00/debian/libhdfeos0t64.install
--- hdf-eos4-2.20v1.00/debian/libhdfeos0t64.install     1970-01-01 
00:00:00.000000000 +0000
+++ hdf-eos4-2.20v1.00/debian/libhdfeos0t64.install     2018-05-31 
13:09:40.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libhdfeos.so.*
diff -Nru hdf-eos4-2.20v1.00/debian/libhdfeos0t64.lintian-overrides 
hdf-eos4-2.20v1.00/debian/libhdfeos0t64.lintian-overrides
--- hdf-eos4-2.20v1.00/debian/libhdfeos0t64.lintian-overrides   1970-01-01 
00:00:00.000000000 +0000
+++ hdf-eos4-2.20v1.00/debian/libhdfeos0t64.lintian-overrides   2024-02-28 
10:21:54.000000000 +0000
@@ -0,0 +1 @@
+libhdfeos0t64: package-name-doesnt-match-sonames libhdfeos0
diff -Nru hdf-eos4-2.20v1.00/debian/libhdfeos0t64.shlibs 
hdf-eos4-2.20v1.00/debian/libhdfeos0t64.shlibs
--- hdf-eos4-2.20v1.00/debian/libhdfeos0t64.shlibs      1970-01-01 
00:00:00.000000000 +0000
+++ hdf-eos4-2.20v1.00/debian/libhdfeos0t64.shlibs      2024-02-28 
10:21:54.000000000 +0000
@@ -0,0 +1 @@
+libhdfeos 0 libhdfeos0t64
diff -Nru hdf-eos4-2.20v1.00/debian/rules hdf-eos4-2.20v1.00/debian/rules
--- hdf-eos4-2.20v1.00/debian/rules     2018-05-31 13:09:40.000000000 +0000
+++ hdf-eos4-2.20v1.00/debian/rules     2024-02-28 10:24:27.000000000 +0000
@@ -45,5 +45,5 @@
        sed -e 's%${BUILDDIR}%/nonexistant%' < samples/Makefile > x
        mv x samples/Makefile
        # Symlinks
-       dh_link -p libhdfeos0 $(LIBDIR)/libhdfeos.so.0.0.0  
$(LIBDIR)/libhdfeos.so.0
+       dh_link -p libhdfeos0t64 $(LIBDIR)/libhdfeos.so.0.0.0  
$(LIBDIR)/libhdfeos.so.0
        dh_link -p libhdfeos-dev $(LIBDIR)/libhdfeos.so.0.0.0 
$(LIBDIR)/libhdfeos.so

Reply via email to