Comment 2 for bug 14648

Revision history for this message
In , Helen Faulkner (h-faulkner) wrote : Re: libwxgtk2.4-python and wxpython2.5.3 have conflicting files without a package conflict

Hello,

I reassigned this bug to the source package because, on inspection,
there are more conflicting things than the one listed in the original
bug report. It actually seems like a fair bit of wxWindows2.4 has
overlapping files with wxWidgets2.5.

Here is a list of the overlapping things I found:

A)
/usr/bin/wxrc is in libwxgtk2.4-contrib-dev and in wx2.5-common
(and the manpages for those also overlap)

B)
helpviewer img2py pyalacarte pycrust pywrap xrced
img2png img2xpm pyalamode pyshell pywxrc

are in /usr/bin for wxpython2.5.3 and for libwxgtk2.4-python
(and their manpages)

C)
/usr/share/aclocal/wxwwin.m4
is in wx2.5-common and in wxwin2.4-headers.

wx-config.1.gz
is in /usr/share/man/man1 for wx2.5-common and for wxwin2.4-headers.

D) lots of stuff is the same iin /usr/share/locale
for wx2.5-i18n and in wxwin2.4-i18n.

E)
wx.pth and wxversion.py
are in usr/lib/python2.3/site-packages in wxpython2.5.3

So, I think that several of the wxWidgets2.5 packages need to conflict
with several of the wxWindows2.4 packages. I changed the debian/control
file like this:

debian/control
--- debian/control~ 2004-11-12 11:00:33.000000000 +0000
+++ debian/control 2005-01-08 16:23:49.000000000 +0000
@@ -81,7 +81,7 @@
  Section: python
  Depends: libwxgtk2.5.3-python, python2.3, ${shlibs:Depends}
  Suggests: wxwin2.5-doc, wxwin2.5-examples, python2.3-xml
-Conflicts: wxpython
+Conflicts: wxpython, libwxgtk2.4-python
  Replaces: wxpython, libwxgtk2.4-python
  Provides: wxpython
  Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython common
files)
@@ -96,7 +96,7 @@
  Architecture: any
  Section: devel
  Depends: ${shlibs:Depends}
-Conflicts: wx-common
+Conflicts: wx-common, libwxgtk2.4-contrib-dev, wxwin2.4-headers
  Replaces: wx-common, wxwin2.4-headers, libwxgtk2.4-contrib-dev
  Provides: wx-common
  Description: wxWidgets Cross-platform C++ GUI toolkit (common support
files)
@@ -122,8 +122,8 @@
  Package: wx2.5-i18n
  Architecture: all
  Section: libs
-Conflicts: wx-i18n, wxwin-i18n
-Replaces: wx-i18n, wxwin-i18n
+Conflicts: wx-i18n, wxwin-i18n, wxwin2.4-i18n
+Replaces: wx-i18n, wxwin-i18n, wxwin2.4-i18n
  Provides: wx-i18n
  Description: wxWidgets Cross-platform C++ GUI toolkit (i18n support)
   wxWidgets (formerly known as wxWindows) is a class library for C++
providing

Thanks,

Helen

PS. Thanks for packaging wxWidgets! I use it all the time and I like it :)