[MacPorts] #24350: proposed new Portfiles for wxWidgets and wxPython

MacPorts noreply at macports.org
Sat Apr 3 12:41:07 PDT 2010


#24350: proposed new Portfiles for wxWidgets and wxPython
--------------------------------------------------+-------------------------
 Reporter:  jjstickel@…                           |       Owner:  macports-tickets@…                   
     Type:  update                                |      Status:  new                                  
 Priority:  Normal                                |   Milestone:                                       
Component:  ports                                 |     Version:  1.8.2                                
 Keywords:  wxwidgets wxpython 10.6 Snow Leopard  |        Port:                                       
--------------------------------------------------+-------------------------

Comment(by jjstickel@…):

 I have come to expect some level of difficulty when using free software,
 but I am quite amazed by the mess of wxwidgets/wxpython!  Anyway, there
 are 2 primary problems addressed by this ticket: 1) the stable release of
 wxpython is often out of sync with that of wxwidgets, and 2) current
 stable wxWidgets and wxPython do not have support for cocoa, but carbon
 does not build 64 bit.  There must be close to a dozen macports tickets
 related to these problems.

 Regarding problem 1, as I state in the ticket description, I propose a new
 port "wxWidgets-python" to be the dependency for py*-wxpython with a
 version number that is in sync with that of the latest stable release of
 wxPython.  This wxWidgets version can be installed from the bundled
 wxPython sources.  Those that are primarily interested in using wxPython
 may be quite satisfied by this solution.  Those that want only wxWidgets
 without python can install the official stand-alone version of wxWidgets.
 I hope the macports developers are amenable to my proposal.  I am open to
 changing or shortening the name of the port, e.g. "wxWidgets-py".

 For problem 2, possible solutions, as I currently understand them,
 are:[[BR]]
 a) build wxwidgets/wxpython against 32 bit carbon; to do so requires all
 dependencies to be built 32 bit or universal[[BR]]
 b) build wxwidgets/wxpython from development sources (svn) with cocoa (see
 ticket #21530)[[BR]]
 c) build wxwidgets/wxpython against gtk +x11 (solution proposed
 here)[[BR]]
 d) build wxwidgets/wxpython against gtk +quartz (not tried)[[BR]]
 From my own experience, I ran into all kinds of problems trying a&b.
 Fortunately, I found solution c (build against x11/gtk) to be quite
 satisfactory, and that is the solution I provide in the attached portfiles
 in the form of a "gtk" variant.  Solution d may be another option, but I
 have not tried it myself.  Again, I hope the macports developers are
 amenable to the addition of a gtk variant for wxwidgets and wxpython.

 For those interested, please try out the portfiles.  There may be bugs or
 better ways to handle things.  For example, I simply removed sdl support
 from the gtk variant of wxWidgets since it caused a build error, but there
 may be an easy way to fix this.

-- 
Ticket URL: <http://trac.macports.org/ticket/24350#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list