[Freewx-maint] Bug#791311: wxwidgets3.0: library transition may be needed when GCC 5 is the default

Matthias Klose doko at debian.org
Thu Jul 30 11:58:51 UTC 2015


Control: tags -1 + patch pending

attaching patch, and uploading to experimental (same as for xapian-core).
-------------- next part --------------
diff -Nru wxwidgets3.0-3.0.2+dfsg/debian/changelog wxwidgets3.0-3.0.2+dfsg/debian/changelog
--- wxwidgets3.0-3.0.2+dfsg/debian/changelog	2015-07-02 05:48:09.000000000 +0200
+++ wxwidgets3.0-3.0.2+dfsg/debian/changelog	2015-07-30 13:28:25.000000000 +0200
@@ -1,3 +1,11 @@
+wxwidgets3.0 (3.0.2+dfsg-1ubuntu1) wily; urgency=medium
+
+  * Rename library packages, follow-up for the libstdc++6 ABI transition.
+    Closes: #791311.
+  * Add Breaks/Replaces to the old library packages.
+
+ -- Matthias Klose <doko at ubuntu.com>  Thu, 30 Jul 2015 13:26:47 +0200
+
 wxwidgets3.0 (3.0.2+dfsg-1) unstable; urgency=medium
 
   * Repack sources to remove prebuilt .swf and .chm files without sources
diff -Nru wxwidgets3.0-3.0.2+dfsg/debian/control wxwidgets3.0-3.0.2+dfsg/debian/control
--- wxwidgets3.0-3.0.2+dfsg/debian/control	2015-07-02 04:09:26.000000000 +0200
+++ wxwidgets3.0-3.0.2+dfsg/debian/control	2015-07-30 13:28:35.000000000 +0200
@@ -15,11 +15,13 @@
 Vcs-Browser: https://anonscm.debian.org/gitweb/?p=freewx/wx.git;a=shortlog;h=refs/heads/wx3.0-debian
 Homepage: http://www.wxwidgets.org/
 
-Package: libwxbase3.0-0
+Package: libwxbase3.0-0v5
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Multi-Arch: same
+Breaks: libwxbase3.0-0
+Replaces: libwxbase3.0-0
 Description: wxBase library (runtime) - non-GUI support classes of wxWidgets toolkit
  wxBase is a collection of C++ classes providing basic data structures
  (strings, lists, arrays), powerful wxDateTime class for date manipulations,
@@ -37,7 +39,7 @@
 Package: libwxbase3.0-dev
 Architecture: any
 Section: libdevel
-Depends: wx3.0-headers (= ${binary:Version}), libwxbase3.0-0 (= ${binary:Version}), libc6-dev | libc-dev, ${misc:Depends}
+Depends: wx3.0-headers (= ${binary:Version}), libwxbase3.0-0v5 (= ${binary:Version}), libc6-dev | libc-dev, ${misc:Depends}
 Suggests: wx3.0-doc, gettext
 Description: wxBase library (development) - non-GUI support classes of wxWidgets toolkit
  wxBase is a collection of C++ classes providing basic data structures
@@ -52,13 +54,15 @@
  This package provides the files needed to compile apps using the wxBase
  library.
 
-Package: libwxbase3.0-0-dbg
+Package: libwxbase3.0-0v5-dbg
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Section: debug
 Priority: extra
-Depends: libwxbase3.0-0 (= ${binary:Version}), ${misc:Depends}
+Depends: libwxbase3.0-0v5 (= ${binary:Version}), ${misc:Depends}
 Multi-Arch: same
+Breaks: libwxbase3.0-0-dbg
+Replaces: libwxbase3.0-0-dbg
 Description: debugging symbols for the wxBase library
  This package contains detached debugging symbols for the wxBase library
  (part of wxWidgets).
@@ -72,11 +76,13 @@
  wxBase currently supports the following platforms: Generic Unix (Linux,
  FreeBSD, Solaris, HP-UX, ...), Microsoft Windows, and Mac OS X.
 
-Package: libwxgtk3.0-0
+Package: libwxgtk3.0-0v5
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Multi-Arch: same
+Breaks: libwxgtk3.0-0
+Replaces: libwxgtk3.0-0
 Description: wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime)
  wxWidgets (formerly known as wxWindows) is a class library for C++ providing
  GUI components and other facilities on several popular platforms (and some
@@ -89,7 +95,7 @@
 Package: libwxgtk3.0-dev
 Architecture: any
 Section: libdevel
-Depends: wx-common, wx3.0-headers (= ${binary:Version}), libwxgtk3.0-0 (= ${binary:Version}), libwxbase3.0-dev (= ${binary:Version}), libgl1-mesa-dev | libgl-dev, xlibmesa-glu-dev | libglu-dev, ${misc:Depends}
+Depends: wx-common, wx3.0-headers (= ${binary:Version}), libwxgtk3.0-0v5 (= ${binary:Version}), libwxbase3.0-dev (= ${binary:Version}), libgl1-mesa-dev | libgl-dev, xlibmesa-glu-dev | libglu-dev, ${misc:Depends}
 Suggests: wx3.0-doc, gettext
 Description: wxWidgets Cross-platform C++ GUI toolkit (GTK+ development)
  wxWidgets (formerly known as wxWindows) is a class library for C++ providing
@@ -102,13 +108,15 @@
  .
  This package also provides the wx-config script.
 
-Package: libwxgtk3.0-0-dbg
+Package: libwxgtk3.0-0v5-dbg
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Section: debug
 Priority: extra
-Depends: libwxgtk3.0-0 (= ${binary:Version}), libwxbase3.0-0-dbg (= ${binary:Version}), ${misc:Depends}
+Depends: libwxgtk3.0-0v5 (= ${binary:Version}), libwxbase3.0-0v5-dbg (= ${binary:Version}), ${misc:Depends}
 Multi-Arch: same
+Breaks: libwxgtk3.0-0-dbg
+Replaces: libwxgtk3.0-0-dbg
 Description: debugging symbols for the wxGTK GUI toolkit library
  This package contains detached debugging symbols for the wxGTK library
  (part of wxWidgets).
@@ -117,11 +125,13 @@
  GUI components and other facilities on several popular platforms (and some
  unpopular ones as well).
 
-Package: libwxgtk-media3.0-0
+Package: libwxgtk-media3.0-0v5
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Multi-Arch: same
+Breaks: libwxgtk-media3.0-0
+Replaces: libwxgtk-media3.0-0
 Description: wxWidgets Cross-platform C++ GUI toolkit (GTK+ media library runtime)
  wxWidgets (formerly known as wxWindows) is a class library for C++ providing
  GUI components and other facilities on several popular platforms (and some
@@ -130,13 +140,15 @@
  This package provides the media shared libraries needed to run programs linked
  against libwx_gtk2u_media.
 
-Package: libwxgtk-media3.0-0-dbg
+Package: libwxgtk-media3.0-0v5-dbg
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Section: debug
 Priority: extra
-Depends: libwxgtk-media3.0-0 (= ${binary:Version}), libwxgtk3.0-0-dbg (= ${binary:Version}), ${misc:Depends}
+Depends: libwxgtk-media3.0-0v5 (= ${binary:Version}), libwxgtk3.0-0v5-dbg (= ${binary:Version}), ${misc:Depends}
 Multi-Arch: same
+Breaks: libwxgtk-media3.0-0-dbg
+Replaces: libwxgtk-media3.0-0-dbg
 Description: debugging symbols for the wxGTK media library
  This package contains detached debugging symbols for the wxGTK media library
  (part of wxWidgets).
@@ -148,7 +160,7 @@
 Package: libwxgtk-media3.0-dev
 Architecture: any
 Section: libdevel
-Depends: wx-common, wx3.0-headers (= ${binary:Version}), libwxgtk-media3.0-0 (= ${binary:Version}), libwxgtk3.0-dev (= ${binary:Version}), ${misc:Depends}
+Depends: wx-common, wx3.0-headers (= ${binary:Version}), libwxgtk-media3.0-0v5 (= ${binary:Version}), libwxgtk3.0-dev (= ${binary:Version}), ${misc:Depends}
 Suggests: wx3.0-doc, gettext
 Description: wxWidgets Cross-platform C++ GUI toolkit (GTK+ media library development)
  wxWidgets (formerly known as wxWindows) is a class library for C++ providing
@@ -158,11 +170,13 @@
  This package provides files needed to compile wxWidgets programs using the
  wxgtk-media library.
 
-Package: libwxgtk-webview3.0-0
+Package: libwxgtk-webview3.0-0v5
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Multi-Arch: same
+Breaks: libwxgtk-webview3.0-0
+Replaces: libwxgtk-webview3.0-0
 Description: wxWidgets Cross-platform C++ GUI toolkit (webview library runtime)
  wxWidgets (formerly known as wxWindows) is a class library for C++ providing
  GUI components and other facilities on several popular platforms (and some
@@ -171,14 +185,16 @@
  This package provides the webview shared libraries needed to run programs
  linked against libwx_gtk2u_webview.
 
-Package: libwxgtk-webview3.0-0-dbg
+Package: libwxgtk-webview3.0-0v5-dbg
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Section: debug
 Priority: extra
-Depends: libwxgtk-webview3.0-0 (= ${binary:Version}), libwxgtk3.0-0-dbg (= ${binary:Version}), ${misc:Depends}
+Depends: libwxgtk-webview3.0-0v5 (= ${binary:Version}), libwxgtk3.0-0v5-dbg (= ${binary:Version}), ${misc:Depends}
 Suggests: libwebkitgtk-3.0-0-dbg
 Multi-Arch: same
+Breaks: libwxgtk-webview3.0-0-dbg
+Replaces: libwxgtk-webview3.0-0-dbg
 Description: debugging symbols for the wxGTK webview library
  This package contains detached debugging symbols for the wxGTK webview library
  (part of wxWidgets).
@@ -190,7 +206,7 @@
 Package: libwxgtk-webview3.0-dev
 Architecture: any
 Section: libdevel
-Depends: wx-common, wx3.0-headers (= ${binary:Version}), libwxgtk-webview3.0-0 (= ${binary:Version}), libwxgtk3.0-dev (= ${binary:Version}), ${misc:Depends}
+Depends: wx-common, wx3.0-headers (= ${binary:Version}), libwxgtk-webview3.0-0v5 (= ${binary:Version}), libwxgtk3.0-dev (= ${binary:Version}), ${misc:Depends}
 Suggests: wx3.0-doc, gettext
 Description: wxWidgets Cross-platform C++ GUI toolkit (webview library development)
  wxWidgets (formerly known as wxWindows) is a class library for C++ providing
diff -Nru wxwidgets3.0-3.0.2+dfsg/debian/control.in wxwidgets3.0-3.0.2+dfsg/debian/control.in
--- wxwidgets3.0-3.0.2+dfsg/debian/control.in	2015-07-02 03:27:48.000000000 +0200
+++ wxwidgets3.0-3.0.2+dfsg/debian/control.in	2015-07-30 13:26:00.000000000 +0200
@@ -20,6 +20,8 @@
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Multi-Arch: same
+Breaks: libwxbase3.0-0
+Replaces: libwxbase3.0-0
 Description: wxBase library (runtime) - non-GUI support classes of wxWidgets toolkit
  wxBase is a collection of C++ classes providing basic data structures
  (strings, lists, arrays), powerful wxDateTime class for date manipulations,
@@ -59,6 +61,8 @@
 Priority: extra
 Depends: libwxbase=SOV (= ${binary:Version}), ${misc:Depends}
 Multi-Arch: same
+Breaks: libwxbase3.0-0-dbg
+Replaces: libwxbase3.0-0-dbg
 Description: debugging symbols for the wxBase library
  This package contains detached debugging symbols for the wxBase library
  (part of wxWidgets).
@@ -77,6 +81,8 @@
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Multi-Arch: same
+Breaks: libwxgtk3.0-0
+Replaces: libwxgtk3.0-0
 Description: wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime)
  wxWidgets (formerly known as wxWindows) is a class library for C++ providing
  GUI components and other facilities on several popular platforms (and some
@@ -109,6 +115,8 @@
 Priority: extra
 Depends: libwxgtk=SOV (= ${binary:Version}), libwxbase=SOV-dbg (= ${binary:Version}), ${misc:Depends}
 Multi-Arch: same
+Breaks: libwxgtk3.0-0-dbg
+Replaces: libwxgtk3.0-0-dbg
 Description: debugging symbols for the wxGTK GUI toolkit library
  This package contains detached debugging symbols for the wxGTK library
  (part of wxWidgets).
@@ -122,6 +130,8 @@
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Multi-Arch: same
+Breaks: libwxgtk-media3.0-0
+Replaces: libwxgtk-media3.0-0
 Description: wxWidgets Cross-platform C++ GUI toolkit (GTK+ media library runtime)
  wxWidgets (formerly known as wxWindows) is a class library for C++ providing
  GUI components and other facilities on several popular platforms (and some
@@ -137,6 +147,8 @@
 Priority: extra
 Depends: libwxgtk-media=SOV (= ${binary:Version}), libwxgtk=SOV-dbg (= ${binary:Version}), ${misc:Depends}
 Multi-Arch: same
+Breaks: libwxgtk-media3.0-0-dbg
+Replaces: libwxgtk-media3.0-0-dbg
 Description: debugging symbols for the wxGTK media library
  This package contains detached debugging symbols for the wxGTK media library
  (part of wxWidgets).
@@ -163,6 +175,8 @@
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Multi-Arch: same
+Breaks: libwxgtk-webview3.0-0
+Replaces: libwxgtk-webview3.0-0
 Description: wxWidgets Cross-platform C++ GUI toolkit (webview library runtime)
  wxWidgets (formerly known as wxWindows) is a class library for C++ providing
  GUI components and other facilities on several popular platforms (and some
@@ -179,6 +193,8 @@
 Depends: libwxgtk-webview=SOV (= ${binary:Version}), libwxgtk=SOV-dbg (= ${binary:Version}), ${misc:Depends}
 Suggests: libwebkitgtk-3.0-0-dbg
 Multi-Arch: same
+Breaks: libwxgtk-webview3.0-0-dbg
+Replaces: libwxgtk-webview3.0-0-dbg
 Description: debugging symbols for the wxGTK webview library
  This package contains detached debugging symbols for the wxGTK webview library
  (part of wxWidgets).
diff -Nru wxwidgets3.0-3.0.2+dfsg/debian/rules wxwidgets3.0-3.0.2+dfsg/debian/rules
--- wxwidgets3.0-3.0.2+dfsg/debian/rules	2015-07-02 05:48:08.000000000 +0200
+++ wxwidgets3.0-3.0.2+dfsg/debian/rules	2015-07-30 13:26:44.000000000 +0200
@@ -50,7 +50,7 @@
 so_age := $(shell sed 's,<set var="WX_AGE">\([0-9]\+\)</set>,\1,p;d' build/bakefiles/version.bkl)
 soversion := $(shell expr $(so_cur) - $(so_age))
 
-sorelease := $(release:%-$(DEBIAN_WXFLAVOUR)=%)-$(soversion)$(addprefix -,$(DEBIAN_WXFLAVOUR))
+sorelease := $(release:%-$(DEBIAN_WXFLAVOUR)=%)-$(soversion)$(addprefix -,$(DEBIAN_WXFLAVOUR))v5
 
 # Base value for alternative priorities.
 alt_prio  := $(subst .,,$(release))


More information about the Freewx-maint mailing list