Bug#1063211: parlatype: NMU diff for 64-bit time_t transition

2024-02-29 Thread Benjamin Drung
Source: parlatype
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 parlatype-3.1/debian/changelog parlatype-3.1/debian/changelog
--- parlatype-3.1/debian/changelog  2023-11-01 19:48:41.0 +
+++ parlatype-3.1/debian/changelog  2024-02-29 19:57:19.0 +
@@ -1,3 +1,10 @@
+parlatype (3.1-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063211
+
+ -- Benjamin Drung   Thu, 29 Feb 2024 19:57:19 +
+
 parlatype (3.1-3) unstable; urgency=medium
 
   * Bump Standards-Version to 4.6.2 (no changes needed)
diff -Nru parlatype-3.1/debian/control parlatype-3.1/debian/control
--- parlatype-3.1/debian/control2023-11-01 19:23:30.0 +
+++ parlatype-3.1/debian/control2024-02-29 19:57:19.0 +
@@ -2,7 +2,7 @@
 Section: sound
 Priority: optional
 Maintainer: Gabor Karsay 
-Build-Depends: appstream-util ,
+Build-Depends: dpkg-dev (>= 1.22.5), appstream-util ,
at-spi2-core ,
dbus ,
debhelper-compat (= 13),
@@ -46,16 +46,17 @@
  controlled with the "Play" button from your keyboard even if its window is not
  focused.
 
-Package: libparlatype5
+Package: libparlatype5t64
+Provides: ${t64:Provides}
 Architecture: any
 Section: libs
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends},
  ${shlibs:Depends}
-Breaks: libparlatype1,
+Breaks: libparlatype5 (<< ${source:Version}), libparlatype1,
 libparlatype2,
 libparlatype3
-Replaces: libparlatype1,
+Replaces: libparlatype5, libparlatype1,
   libparlatype2,
   libparlatype3
 Multi-Arch: same
@@ -69,7 +70,7 @@
 Architecture: any
 Section: libdevel
 Depends: ${misc:Depends},
- libparlatype5 (= ${binary:Version}),
+ libparlatype5t64 (= ${binary:Version}),
  gir1.2-parlatype-4.0 (= ${binary:Version}),
  libglib2.0-dev (>= 2.35.3),
  libgtk-3-dev (>= 3.7.7)
diff -Nru parlatype-3.1/debian/libparlatype5.install 
parlatype-3.1/debian/libparlatype5.install
--- parlatype-3.1/debian/libparlatype5.install  2021-11-06 18:27:19.0 
+
+++ parlatype-3.1/debian/libparlatype5.install  1970-01-01 00:00:00.0 
+
@@ -1,2 +0,0 @@
-usr/lib/*/libparlatype.so.*
-usr/share/locale/*/LC_MESSAGES/libparlatype5.mo
diff -Nru parlatype-3.1/debian/libparlatype5.symbols 
parlatype-3.1/debian/libparlatype5.symbols
--- parlatype-3.1/debian/libparlatype5.symbols  2021-12-19 19:02:46.0 
+
+++ parlatype-3.1/debian/libparlatype5.symbols  1970-01-01 00:00:00.0 
+
@@ -1,73 +0,0 @@
-libparlatype.so.5 libparlatype5 #MINVER#
-* Build-Depends-Package: libparlatype-dev
- pt_config_apply@Base 3.0
- pt_config_get_base_folder@Base 3.0
- pt_config_get_file@Base 3.0
- pt_config_get_key@Base 3.0
- pt_config_get_lang_code@Base 3.0
- pt_config_get_lang_name@Base 3.0
- pt_config_get_name@Base 3.0
- pt_config_get_plugin@Base 3.0
- pt_config_get_type@Base 3.0
- pt_config_is_installed@Base 3.0
- pt_config_is_valid@Base 3.0
- pt_config_new@Base 3.0
- pt_config_set_base_folder@Base 3.0
- pt_config_set_file@Base 3.0
- pt_config_set_name@Base 3.0
- pt_error_quark@Base 3.0
- pt_player_clear_selection@Base 1.5
- pt_player_config_is_loadable@Base 3.0
- pt_player_configure_asr@Base 3.0
- pt_player_connect_waveviewer@Base 1.6
- pt_player_get_back@Base 1.6
- pt_player_get_current_time_string@Base 1.4
- pt_player_get_duration@Base 1.5
- pt_player_get_duration_time_string@Base 1.4
- pt_player_get_filename@Base 1.4
- pt_player_get_forward@Base 1.6
- pt_player_get_mode@Base 3.0
- pt_player_get_mute@Base 2.1
- pt_player_get_pause@Base 1.6
- pt_player_get_position@Base 1.5
- pt_player_get_speed@Base 3.1
- pt_player_get_time_string@Base 1.4
- pt_player_get_timestamp@Base 1.4
- pt_player_get_timestamp_for_time@Base 1.6
- pt_player_get_timestamp_position@Base 1.6
- pt_player_get_type@Base 1.4
- pt_player_get_uri@Base 1.4
- pt_player_get_volume@Base 2.1
- pt_player_goto_timestamp@Base 1.4
- pt_player_jump_back@Base 1.6
- pt_player_jump_forward@Base 1.6
- pt_player_jump_relative@Base 1.4
- pt_player_jump_to_position@Base 1.4
- pt_player_new@Base 1.6
- pt_player_open_uri@Base 2.0
- pt_player_pause@Base 1.4
- pt_player_pause_and_rewind@Base 1.6
- pt_player_play@Base 1.4
- pt_player_play_pause@Base 

Bug#1063211: parlatype: NMU diff for 64-bit time_t transition

2024-02-05 Thread Lucas Kanashiro
Source: parlatype
Version: 3.1-3
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: debian-...@lists.debian.org
Usertags: time-t

NOTICE: these changes must not be uploaded to unstable yet!

Dear maintainer,

As part of the 64-bit time_t transition required to support 32-bit
architectures in 2038 and beyond
(https://wiki.debian.org/ReleaseGoals/64bit-time), we have identified
parlatype as a source package shipping runtime libraries whose ABI
either is affected by the change in size of time_t, or could not be
analyzed via abi-compliance-checker (and therefore to be on the safe
side we assume is affected).

To ensure that inconsistent combinations of libraries with their
reverse-dependencies are never installed together, it is necessary to
have a library transition, which is most easily done by renaming the
runtime library package.

Since turning on 64-bit time_t is being handled centrally through a change
to the default dpkg-buildflags (https://bugs.debian.org/1037136), it is
important that libraries affected by this ABI change all be uploaded close
together in time.  Therefore I have prepared a 0-day NMU for parlatype
which will initially be uploaded to experimental if possible, then to
unstable after packages have cleared binary NEW.

Please find the patch for this NMU attached.

If you have any concerns about this patch, please reach out ASAP.  Although
this package will be uploaded to experimental immediately, there will be a
period of several days before we begin uploads to unstable; so if information
becomes available that your package should not be included in the transition,
there is time for us to amend the planned uploads.



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

Kernel: Linux 6.2.0-39-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, 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)
diff -Nru parlatype-3.1/debian/changelog parlatype-3.1/debian/changelog
--- parlatype-3.1/debian/changelog  2023-11-01 16:48:41.0 -0300
+++ parlatype-3.1/debian/changelog  2024-02-05 14:44:45.0 -0300
@@ -1,3 +1,10 @@
+parlatype (3.1-3.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Lucas Kanashiro   Mon, 05 Feb 2024 14:44:45 -0300
+
 parlatype (3.1-3) unstable; urgency=medium
 
   * Bump Standards-Version to 4.6.2 (no changes needed)
diff -Nru parlatype-3.1/debian/control parlatype-3.1/debian/control
--- parlatype-3.1/debian/control2023-11-01 16:23:30.0 -0300
+++ parlatype-3.1/debian/control2024-02-05 14:44:45.0 -0300
@@ -46,16 +46,17 @@
  controlled with the "Play" button from your keyboard even if its window is not
  focused.
 
-Package: libparlatype5
+Package: libparlatype5t64
+Provides: ${t64:Provides}
 Architecture: any
 Section: libs
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends},
  ${shlibs:Depends}
-Breaks: libparlatype1,
+Breaks: libparlatype5 (<< ${source:Version}), libparlatype1,
 libparlatype2,
 libparlatype3
-Replaces: libparlatype1,
+Replaces: libparlatype5, libparlatype1,
   libparlatype2,
   libparlatype3
 Multi-Arch: same
@@ -69,7 +70,7 @@
 Architecture: any
 Section: libdevel
 Depends: ${misc:Depends},
- libparlatype5 (= ${binary:Version}),
+ libparlatype5t64 (= ${binary:Version}),
  gir1.2-parlatype-4.0 (= ${binary:Version}),
  libglib2.0-dev (>= 2.35.3),
  libgtk-3-dev (>= 3.7.7)
diff -Nru parlatype-3.1/debian/libparlatype5.install 
parlatype-3.1/debian/libparlatype5.install
--- parlatype-3.1/debian/libparlatype5.install  2021-11-06 15:27:19.0 
-0300
+++ parlatype-3.1/debian/libparlatype5.install  1969-12-31 21:00:00.0 
-0300
@@ -1,2 +0,0 @@
-usr/lib/*/libparlatype.so.*
-usr/share/locale/*/LC_MESSAGES/libparlatype5.mo
diff -Nru parlatype-3.1/debian/libparlatype5.symbols 
parlatype-3.1/debian/libparlatype5.symbols
--- parlatype-3.1/debian/libparlatype5.symbols  2021-12-19 16:02:46.0 
-0300
+++ parlatype-3.1/debian/libparlatype5.symbols  1969-12-31 21:00:00.0 
-0300
@@ -1,73 +0,0 @@
-libparlatype.so.5 libparlatype5 #MINVER#
-* Build-Depends-Package: libparlatype-dev
- pt_config_apply@Base 3.0
- pt_config_get_base_folder@Base 3.0
- pt_config_get_file@Base 3.0
- pt_config_get_key@Base 3.0
- pt_config_get_lang_code@Base 3.0
- pt_config_get_lang_name@Base 3.0
- pt_config_get_name@Base 3.0
- pt_config_get_plugin@Base 3.0
- pt_config_get_type@Base 3.0
- pt_config_is_installed@Base 3.0
- pt_config_is_valid@Base 3.0
- pt_config_new@Base 3.0
- pt_config_set_base_folder@Base 3.0
- pt_config_set_file@Base 3.0
- pt_config_set_name@Base 3.0
-