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-15-generic (SMP w/8 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 hepmc3-3.1.2/debian/changelog hepmc3-3.1.2/debian/changelog
--- hepmc3-3.1.2/debian/changelog       2019-09-19 06:14:37.000000000 +0000
+++ hepmc3-3.1.2/debian/changelog       2024-02-28 08:49:33.000000000 +0000
@@ -1,3 +1,10 @@
+hepmc3 (3.1.2-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1064098
+
+ -- Lukas Märdian <sl...@debian.org>  Wed, 28 Feb 2024 08:49:33 +0000
+
 hepmc3 (3.1.2-2) unstable; urgency=medium
 
   * Move doxygen from B-D-I to B-D. (Closes: #933629)
diff -Nru hepmc3-3.1.2/debian/control hepmc3-3.1.2/debian/control
--- hepmc3-3.1.2/debian/control 2019-09-19 04:23:06.000000000 +0000
+++ hepmc3-3.1.2/debian/control 2024-02-28 08:49:32.000000000 +0000
@@ -4,19 +4,22 @@
 Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
 Uploaders: HepMC developers <hepmc-...@nospam.cern.ch>,
            Mo Zhou <cdlumin...@gmail.com>,
-Build-Depends: debhelper (>= 9~), cmake, doxygen
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 9~), cmake, doxygen
 Standards-Version: 4.3.0
 Homepage: http://hepmc.web.cern.ch/hepmc/
 Vcs-Git: https://salsa.debian.org/science-team/hepmc3.git
 Vcs-Browser: https://salsa.debian.org/science-team/hepmc3
 
-Package: libhepmc3
+Package: libhepmc3t64
+Provides: ${t64:Provides}
+Replaces: libhepmc3
+Breaks: libhepmc3 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Recommends: libhepmc3-search
+Recommends: libhepmc3t64-search
 Suggests: libhepmc3-dev, libhepmc3-search-dev
 Description: Event Record for Monte Carlo Generators
  The HepMC package is an object oriented event record written in C++ for
@@ -39,7 +42,7 @@
 Package: libhepmc3-dev
 Section: libdevel
 Architecture: any
-Depends: libhepmc3 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Depends: libhepmc3t64 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Recommends: libhepmc3-search-dev
 Suggests: hepmc3-doc
 Description: Event Record for Monte Carlo Generators - development files
@@ -60,10 +63,14 @@
  .
  This package provides development files for HepMC3.
 
-Package: libhepmc3-search
+Package: libhepmc3t64-search
+Provides: ${t64:Provides}
+X-Time64-Compat: libhepmc3-search
+Replaces: libhepmc3-search
+Breaks: libhepmc3-search (<< ${source:Version})
 Section: libs
 Architecture: any
-Depends: libhepmc3 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Depends: libhepmc3t64 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Suggests: hepmc3-doc
 Description: Monte Carlo event record FIO library -  search engine
  The HepMC package is an object oriented event record written in C++ for
@@ -86,7 +93,7 @@
 Package: libhepmc3-search-dev
 Section: libdevel
 Architecture: any
-Depends: libhepmc3-search (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}
+Depends: libhepmc3t64-search (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}
 Suggests: hepmc3-doc
 Description: Event Record for Monte Carlo Generators - development files for 
search engine
  The HepMC package is an object oriented event record written in C++ for
@@ -110,7 +117,7 @@
 Section: doc
 Architecture: all
 Depends: ${misc:Depends}
-Recommends: libhepmc3-dev, libhepmc3
+Recommends: libhepmc3-dev, libhepmc3t64
 Description: Event Record for Monte Carlo Generators (docs)
  The HepMC package is an object oriented event record written in C++ for
  High Energy Physics Monte Carlo Generators.
diff -Nru hepmc3-3.1.2/debian/libhepmc3.install 
hepmc3-3.1.2/debian/libhepmc3.install
--- hepmc3-3.1.2/debian/libhepmc3.install       2019-09-18 14:58:58.000000000 
+0000
+++ hepmc3-3.1.2/debian/libhepmc3.install       1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-usr/lib/*/libHepMC3.so.*
diff -Nru hepmc3-3.1.2/debian/libhepmc3-search.install 
hepmc3-3.1.2/debian/libhepmc3-search.install
--- hepmc3-3.1.2/debian/libhepmc3-search.install        2019-09-18 
14:58:58.000000000 +0000
+++ hepmc3-3.1.2/debian/libhepmc3-search.install        1970-01-01 
00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/libHepMC3search.so.*
diff -Nru hepmc3-3.1.2/debian/libhepmc3t64.install 
hepmc3-3.1.2/debian/libhepmc3t64.install
--- hepmc3-3.1.2/debian/libhepmc3t64.install    1970-01-01 00:00:00.000000000 
+0000
+++ hepmc3-3.1.2/debian/libhepmc3t64.install    2019-09-18 14:58:58.000000000 
+0000
@@ -0,0 +1 @@
+usr/lib/*/libHepMC3.so.*
diff -Nru hepmc3-3.1.2/debian/libhepmc3t64.lintian-overrides 
hepmc3-3.1.2/debian/libhepmc3t64.lintian-overrides
--- hepmc3-3.1.2/debian/libhepmc3t64.lintian-overrides  1970-01-01 
00:00:00.000000000 +0000
+++ hepmc3-3.1.2/debian/libhepmc3t64.lintian-overrides  2024-02-28 
08:49:21.000000000 +0000
@@ -0,0 +1 @@
+libhepmc3t64: package-name-doesnt-match-sonames libhepmc3
diff -Nru hepmc3-3.1.2/debian/libhepmc3t64-search.install 
hepmc3-3.1.2/debian/libhepmc3t64-search.install
--- hepmc3-3.1.2/debian/libhepmc3t64-search.install     1970-01-01 
00:00:00.000000000 +0000
+++ hepmc3-3.1.2/debian/libhepmc3t64-search.install     2019-09-18 
14:58:58.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libHepMC3search.so.*
diff -Nru hepmc3-3.1.2/debian/libhepmc3t64-search.lintian-overrides 
hepmc3-3.1.2/debian/libhepmc3t64-search.lintian-overrides
--- hepmc3-3.1.2/debian/libhepmc3t64-search.lintian-overrides   1970-01-01 
00:00:00.000000000 +0000
+++ hepmc3-3.1.2/debian/libhepmc3t64-search.lintian-overrides   2024-02-28 
08:49:21.000000000 +0000
@@ -0,0 +1 @@
+libhepmc3t64-search: package-name-doesnt-match-sonames libhepmc3-search
-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to