Hi,
I thought I can avoid the transition (no rev. deps), but then I
realised that older verbiste uploads depend >= on libverbiste and
so jessie => stretch update is likely to fail.

I attach a debdiff patch that:

  * adds v5 suffix to libverbiste
  * replaces/conflicts with libverbiste-0.1-0
  * depends more on libverbiste from the pov of other binary packages.
    (to avoid such a migration in the future)

Cheers,
Tomasz
diff -Nru verbiste-0.1.41/debian/changelog verbiste-0.1.41/debian/changelog
--- verbiste-0.1.41/debian/changelog    2015-04-19 10:40:42.000000000 +0200
+++ verbiste-0.1.41/debian/changelog    2015-07-04 13:23:52.000000000 +0200
@@ -1,3 +1,9 @@
+verbiste (0.1.41-5) unstable; urgency=medium
+
+  * Make g++ ABI transition (Closes: #791329)
+
+ -- Tomasz Buchert <tom...@debian.org>  Sat, 04 Jul 2015 13:16:14 +0200
+
 verbiste (0.1.41-4) unstable; urgency=medium
 
   * Drop symbols file (Closes: #780599)
diff -Nru verbiste-0.1.41/debian/control verbiste-0.1.41/debian/control
--- verbiste-0.1.41/debian/control      2015-04-19 10:40:42.000000000 +0200
+++ verbiste-0.1.41/debian/control      2015-07-04 13:23:52.000000000 +0200
@@ -10,7 +10,9 @@
 
 Package: verbiste
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: libverbiste-0.1-0v5 (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: French and Italian conjugator
  Verbiste is a program that gives the complete conjugation for French and
  Italian verbs. The knowledge base contains over 6800 verbs.
@@ -20,17 +22,23 @@
 Package: verbiste-gnome
 Section: gnome
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, verbiste (>= ${source:Version})
+Depends: libverbiste-0.1-0v5 (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: French and Italian conjugator - GNOME interface
  Verbiste is a program that gives the complete conjugation for French and
  Italian verbs. The knowledge base contains over 6800 verbs.
- . 
+ .
  This package contains a GNOME graphical interface.
 
 Package: verbiste-mate-applet
 Section: x11
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, verbiste-gnome (>= 
${source:Version}), libmate-panel-applet-4-1
+Depends: libmate-panel-applet-4-1,
+         libverbiste-0.1-0v5 (= ${binary:Version}),
+         verbiste-gnome (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: French and Italian conjugator - MATE Panel applet
  Verbiste is a program that gives the complete conjugation for French and
  Italian verbs. The knowledge base contains over 6800 verbs.
@@ -48,14 +56,14 @@
  .
  This package contains an emacs interface to verbiste.
 
-Package: libverbiste-0.1-0
+Package: libverbiste-0.1-0v5
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Pre-Depends: ${misc:Pre-Depends}
 Multi-Arch: same
-Replaces: libverbiste0c2a
-Conflicts: libverbiste0c2a
+Replaces: libverbiste0c2a, libverbiste-0.1-0
+Conflicts: libverbiste0c2a, libverbiste-0.1-0
 Description: French and Italian conjugator - shared library
  Verbiste is a program that gives the complete conjugation for French and
  Italian verbs. The knowledge base contains over 6800 verbs.
@@ -67,7 +75,9 @@
 Architecture: any
 Replaces: libverbiste0-dev
 Conflicts: libverbiste0-dev
-Depends: ${shlibs:Depends}, ${misc:Depends}, libverbiste-0.1-0 (= 
${binary:Version})
+Depends: libverbiste-0.1-0v5 (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: French and Italian conjugator - development files
  Verbiste is a program that gives the complete conjugation for French and
  Italian verbs. The knowledge base contains over 6800 verbs.
diff -Nru verbiste-0.1.41/debian/libverbiste-0.1-0.install 
verbiste-0.1.41/debian/libverbiste-0.1-0.install
--- verbiste-0.1.41/debian/libverbiste-0.1-0.install    2015-04-19 
10:40:42.000000000 +0200
+++ verbiste-0.1.41/debian/libverbiste-0.1-0.install    1970-01-01 
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-debian/tmp/usr/lib/*/libverbiste*.so.*
diff -Nru verbiste-0.1.41/debian/libverbiste-0.1-0.lintian-overrides 
verbiste-0.1.41/debian/libverbiste-0.1-0.lintian-overrides
--- verbiste-0.1.41/debian/libverbiste-0.1-0.lintian-overrides  2015-04-19 
10:40:42.000000000 +0200
+++ verbiste-0.1.41/debian/libverbiste-0.1-0.lintian-overrides  1970-01-01 
01:00:00.000000000 +0100
@@ -1,12 +0,0 @@
-# Hardening is known to produce false positives and this is the case
-# (see "Fortify Source functions" in man hardening-check).
-# As can be verified, the sources are built with -D_FORTIFY_SOURCE=2,
-# nevertheless, 3 "unsafe" functions are used:
-#   * strcpy (c-api.cpp and FrenchVerbDictionary.cpp):
-#     gcc seems to notice that the use is safe
-#   * memcpy (FrenchVerbDictionary.cpp): similar case
-#   * memmove: this call is added by GCC deep in STL
-#     code; it should be considered safe; one can verify
-#     by building verbiste with DEB_BUILD_OPTIONS=nostrip
-#     and examining the library with "objdump -S -d"
-libverbiste-0.1-0: hardening-no-fortify-functions 
usr/lib/*/libverbiste-0.1.so.*
\ No hay ningún carácter de nueva línea al final del fichero
diff -Nru verbiste-0.1.41/debian/libverbiste-0.1-0v5.install 
verbiste-0.1.41/debian/libverbiste-0.1-0v5.install
--- verbiste-0.1.41/debian/libverbiste-0.1-0v5.install  1970-01-01 
01:00:00.000000000 +0100
+++ verbiste-0.1.41/debian/libverbiste-0.1-0v5.install  2015-07-04 
13:23:52.000000000 +0200
@@ -0,0 +1 @@
+debian/tmp/usr/lib/*/libverbiste*.so.*
diff -Nru verbiste-0.1.41/debian/libverbiste-0.1-0v5.lintian-overrides 
verbiste-0.1.41/debian/libverbiste-0.1-0v5.lintian-overrides
--- verbiste-0.1.41/debian/libverbiste-0.1-0v5.lintian-overrides        
1970-01-01 01:00:00.000000000 +0100
+++ verbiste-0.1.41/debian/libverbiste-0.1-0v5.lintian-overrides        
2015-07-04 13:23:52.000000000 +0200
@@ -0,0 +1,12 @@
+# Hardening is known to produce false positives and this is the case
+# (see "Fortify Source functions" in man hardening-check).
+# As can be verified, the sources are built with -D_FORTIFY_SOURCE=2,
+# nevertheless, 3 "unsafe" functions are used:
+#   * strcpy (c-api.cpp and FrenchVerbDictionary.cpp):
+#     gcc seems to notice that the use is safe
+#   * memcpy (FrenchVerbDictionary.cpp): similar case
+#   * memmove: this call is added by GCC deep in STL
+#     code; it should be considered safe; one can verify
+#     by building verbiste with DEB_BUILD_OPTIONS=nostrip
+#     and examining the library with "objdump -S -d"
+libverbiste-0.1-0v5: hardening-no-fortify-functions 
usr/lib/*/libverbiste-0.1.so.*

Attachment: signature.asc
Description: Digital signature

Reply via email to