Opened 11 years ago

Closed 11 years ago

#40727 closed update (fixed)

wxPython: upgrade to 2.9.5.0

Reported by: mojca (Mojca Miklavec) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: maintainer haspatch Cc: jyrkiwahlstedt, eborisch (Eric A. Borisch), howarth@…, michaelld (Michael Dickens), neurodroid (Christoph Schmidt-Hieber), mkae (Marko Käning)
Port: py-wxpython-3.0, wxPython-3.0

Description

I'm uploading a patch for upgrade to wxPython 2.9.5.0.

I would like to ask all maintainers of wxPython dependencies to check whether the update works with their ports and possibly attach any additional patches that are needed for their own ports here or create new tickets and leave a link.

I will consider fixing ticket #38850 in the same commit as well if Marko confirms in time that the upstream patch works as expected.

Attachments (3)

wxPython-2.9.5.0.diff (8.2 KB) - added by mojca (Mojca Miklavec) 11 years ago.
upgrade wxPython-3.0 to 2.9.5.0
wxPython-2.9.5.0-deadkeyspatch.diff (23.4 KB) - added by mojca (Mojca Miklavec) 11 years ago.
update wxPython to 2.9.5.0 including a patch for #38850
wxWidgets-3.0.0.diff (31.2 KB) - added by mojca (Mojca Miklavec) 11 years ago.
update wxPython to 2.9.5.0 and wxWidgets to 3.0.0-rc1

Download all attachments as: .zip

Change History (11)

Changed 11 years ago by mojca (Mojca Miklavec)

Attachment: wxPython-2.9.5.0.diff added

upgrade wxPython-3.0 to 2.9.5.0

comment:1 Changed 11 years ago by mojca (Mojca Miklavec)

The tickets for an upgrade of stimfit (#40725) and py-stfio (#40726).

Changed 11 years ago by mojca (Mojca Miklavec)

update wxPython to 2.9.5.0 including a patch for #38850

comment:2 Changed 11 years ago by mojca (Mojca Miklavec)

I added a new patch that should also address #38850, but I need Marko's confirmation that it actually works.

comment:3 Changed 11 years ago by mojca (Mojca Miklavec)

As a side note I also noticed that 3.0.0-RC1 is out and that there are still commits to the 2.8 branch (and milestone allows setting 2.8.13). This means that I need to request a few patches to be backported to 2.8.12.

I could actually upgrade to wxWidgets 3.0.0-RC1 together with upgrading wxPython to 2.9.5.0.

Changed 11 years ago by mojca (Mojca Miklavec)

Attachment: wxWidgets-3.0.0.diff added

update wxPython to 2.9.5.0 and wxWidgets to 3.0.0-rc1

comment:4 Changed 11 years ago by mojca (Mojca Miklavec)

Plus I forgot to patch wxWidgets-1.0.tcl to change the version from 2.9 to 3.0.

Last edited 11 years ago by mojca (Mojca Miklavec) (previous) (diff)

comment:5 Changed 11 years ago by mojca (Mojca Miklavec)

Committed in r112161. Time to revbump the dependencies.

comment:6 Changed 11 years ago by neurodroid (Christoph Schmidt-Hieber)

After an update, I get:

$ wx-config
bash: wx-config: command not found
$ sudo port select wxWidgets wxWidgets-3.0
Selecting 'wxWidgets-3.0' for 'wxWidgets' failed: could not create new link "/opt/local/bin/wx-config": target "/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.9/bin/wx-config" doesn't exist
$ find /opt/local/Library/Frameworks/wxWidgets.framework -name wx-config
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxPython/2.9/bin/wx-config
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin/wx-config

comment:7 Changed 11 years ago by mojca (Mojca Miklavec)

I'm sorry. I knew this would happen one day. Hopefully fixed in r112174. Please remind me to do this change when I upgrade wxPython-3.0. Does port select allow putting variables into files?

comment:8 Changed 11 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: newclosed

For most ports I don't know whether they need a revbump or not (some ports use C code and need to link against libraries, other use just python scripts and don't have explicit binary/library dependencies). An approximate list:

  • gis/grass: doesn't work (so I didn't try to change anything)
  • python/py-winpdb: not needed
  • python/py-robotframework-ride: upgraded (not sure if a revbump is otherwise needed or not)
  • python/py-stfio: upgraded
  • science/gnuradio: not needed
  • science/relax: not sure if needed
  • science/stimfit: needed, upgraded

It might be that relax still needs a revbump - in case it does, please feel free to do it or ask me to do it. I'm closing the ticket now.

Note: See TracTickets for help on using tickets.