[MacPorts] #39807: wxWidgets: allow side-by-side installation of 2.8 and 2.9

MacPorts noreply at macports.org
Fri Jul 19 09:38:09 PDT 2013


#39807: wxWidgets: allow side-by-side installation of 2.8 and 2.9
-------------------------+-------------------------------------------------
 Reporter:  mojca@…      |      Owner:  jwa@…
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  wxWidgets wxWidgets-devel
                         |  wxWidgets30
-------------------------+-------------------------------------------------
 See also #26082 and #37819.

 I believe that a trivial fix could make side-by-side installation of
 wxWidgets 2.8 and 2.9 possible and would allow easier testing and
 transition of wxWidgets dependent ports.

 By looking at the files that wxWidgets 2.9.5 install, the only possibly
 conflicting files seem to be the following:
 {{{
   /opt/local/bin/wx-config
   /opt/local/bin/wxrc
   /opt/local/share/aclocal/wxwin.m4
   /opt/local/share/bakefile/presets/wx.bkl
   /opt/local/share/bakefile/presets/wx_presets.py
   /opt/local/share/bakefile/presets/wx_unix.bkl
   /opt/local/share/bakefile/presets/wx_win32.bkl
   /opt/local/share/bakefile/presets/wx_xrc.bkl
   /opt/local/share/locale/*/LC_MESSAGES/wxstd.mo
 }}}
 These files are probably easy to move around (I didn't try, I only
 speculate).

 I would further suggest to delete wxWidgets26, to replace wxWidgets by
 wxWidgets28 and wxWidgets-devel by wxWidgets30 (which is already there).

 Then something like "{{{port select}}}" (or "{{{port install wxWidgets
 +wx30}}}") would be needed to create those two symlinks in
 {{{$prefix/bin}}}. I don't believe that anything else is really needed
 except for maybe a very simple wxWidgets PortGroup to be able to set path
 like this:
 {{{
 --with-wx-config=${prefix}/bin/wx-config
 }}}
 or rather
 {{{
 --with-wx-config=${prefix}/lib/wx/config/osx_cocoa-unicode-2.9
 }}}
 and possibly some other trivial issues I'm not yet aware of.

 Further on the ports should get variants {{{+wxWidgets28}}},
 {{{+wxWidgets30}}}, but that's further down the road. I believe that
 making side-by-side installation of the two ports would be a huge step
 forward.

-- 
Ticket URL: <https://trac.macports.org/ticket/39807>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list