Opened 5 years ago

Closed 15 months ago

#15291 closed defect (outdated)

Fix wxPython/Phoenix build with wxGTK3/Broadway port

Reported by: kosenko Owned by:
Priority: normal Milestone:
Component: Phoenix Version: stable-latest
Keywords: Cc:
Blocked By: Blocking:
Patch: yes


  1. You should build wxGTK3/Broadway and able to run minimal sample as described in #14469. All required patches are already applied to wxWidgets. Phoenix has problems with wxString/UTF-8 and STL build, so you should configure wxWidgets without --enable-utf8 --enable-stl options:
../wxWidgets/configure --with-gtk=3 --enable-debug=max --disable-display --disable-mediactrl\
 --without-opengl --disable-uiactionsim --disable-webview

I have tested with GTK+ 3.4.4 on Ubuntu 12.04 LTS 64-bit.

  1. You should apply patches and should be able to build wxPython/Phoenix with wxGTK3/X11 and run as described #15262. Note before building Broadway you should clean up Phoenix/wxGTK/X11 build because this ticket supposes build in the same folder.
  1. Apply patch from this ticket and build Phoenix as described in #15262, but use wxGTK3/Broadway folder instead of wxGTK3/X11 one. This patch disables some Phoenix classes (wxDisplay, wxUIActionSimulator, wxGLCanvas, wxWebView) that is not available in wxGTK3/Broadway.
  1. Run demo with:
export LD_LIBRARY_PATH=/path/to/gtk+/install/lib/
GDK_BACKEND=broadway PYTHONPATH=. python demo/

Attachments (2)

phoenix_broadway.diff download (2.2 KB) - added by kosenko 5 years ago.
phoenix_broadway.png download (130.8 KB) - added by kosenko 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by kosenko

Changed 5 years ago by kosenko

comment:1 Changed 5 years ago by kosenko

comment:2 Changed 5 years ago by robind

  • Status changed from new to infoneeded_new

I would like to add this capability to Phoenix, but it would have to be done in a way that could be turned on or off via a command-line switch rather than commenting out things that are not working. Or the best thing of course would be to make those things work if possible, or stub them out so they either raise an exception or are silently ignored depending on which is more appropriate in each case.

Can you provide a patch for one of those options?

comment:3 Changed 15 months ago by robind

  • Resolution set to outdated
  • Status changed from infoneeded_new to closed

Closing old Phoenix tickets...

If this is still an issue in wxPython 4.0.0a1 then please open a new issue (or PR) at the wxPython-Phoenix project page on Github:

Note: See TracTickets for help on using tickets.