Control: reopen -1
Control: retitle -1 libcwidget4: should conflict with libcwidget3v5

On 2019-08-29 14:32 +0200, Manuel A. Fernandez Montecelo wrote:

> Control: tags -1 + pending
>
>
> Hi Sven,
>
> Em seg, 26 de ago de 2019 às 20:33, Sven Joachim <svenj...@gmx.de> escreveu:
>> On 2019-08-26 07:55 +0200, Sven Joachim wrote:
>>
>> > Package: libcwidget4
>> > Version: 0.5.18-3
>> >
>> > The libcwidget4 package ships its translations under
>> > /usr/share/locale/*/LC_MESSAGES/libcwidget3.mo.  This is bad, because
>> > these files conflict with the ones from libcwidget3v5, they should be
>> > named /usr/share/locale/*/LC_MESSAGES/libcwidget4.mo instead.
>> >
>> > See bug #655689[1] for the initial discussion about including the soname in
>> > the translation file names, and why these are currently called
>> > libcwidget3.mo rather than just libcwidget.mo.
>>
>> Attached is a patch against the master branch in cwidget-upstream which
>> takes care of that, I have not looked what it would take to apply it to
>> the Debian packaging.
>
> Thanks for the fix and the explanations.

Thanks for applying the patch in the latest upload, but that was not
sufficient as libcwidget4 still has "Conflicts: libcwidget3v5".  New
patch to get rid of this is attached.

>> Having to change three files for an SONAME bump is not great.  Another
>> option would be to set the domain back to 'cwidget' and ship the
>> translations in their own package, say libcwidget-l10n.  Then both
>> libcwidget4 and a later libcwidget5 package could declare a relationship
>> to libcwidget-l10n, probably Recommends.
>
> There's been only this one SONAME change in the last decade or so, so
> I think that we're fine with the current method :)

Okay, I just fear that it will be forgotten when the next SONAME bump
occurs in ten years or so.

Cheers,
       Sven

From a348550a122ee3ab4803dcfd677b8bb9d7e6fcf7 Mon Sep 17 00:00:00 2001
From: Sven Joachim <svenj...@gmx.de>
Date: Fri, 30 Aug 2019 17:40:12 +0200
Subject: [PATCH] Drop obsolete Conflicts/Breaks/Replaces

There is no file conflict between libcwidget4 and libcwidget3v5
anymore, and old aptitude versions are not linked with libcwidget4.
---
 debian/control | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/debian/control b/debian/control
index ec9588f..21d6b97 100644
--- a/debian/control
+++ b/debian/control
@@ -25,9 +25,6 @@ Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends},
          ${shlibs:Depends}
 Suggests: libcwidget-dev
-Conflicts: libcwidget3v5
-Replaces: libcwidget3v5
-Breaks: libcwidget3v5, aptitude (<< 0.8.10-7)
 Description: high-level terminal interface library for C++ (runtime files)
  libcwidget is a modern user interface library modeled on GTK+ and Qt,
  but using curses as its display layer and with widgets that are
--
2.23.0

Reply via email to