I started working on this, see browser:users/mojca/wxports. The PortGroup doesn't work yet, but I hope on some help from community. The idea would be to replace wxWidgets
by wxWidgets-2.8
, wxWidgets-devel
and wxWidgets30
by wxWidgets-3.0
(naming scheme consistent with ports like llvm, clang, ... cleaner than no dots in numbers). The ports wxWidgets-2.8
and wxWidgets-3.0
can already be installed side-by-side, but more testing is needed and ports need to be adapted once the PortGroup
is done.
The problem is that I have no clue about the zillion of python variants and I'm also not sure if wxgtk is needed or working. Any help with those highly appreciated.
My wishlist for the PortGroup
:
- allow the port to specify an incompatibility with a certain version of wxWidgets; suggestions welcome
- set wxWidgets version to 3.0 by default
- if 2.8 is requested (because port doesn't support 2.9), automatically set
supported_archs i386 ppc
& universal_variant no
, blacklist clang
- if 10.8 is used or Xcode >= 4.4 on 10.7, don't even attempt to compile the port which depends on 2.8 (throw an error)
- I'm not sure if this is needed, but on 10.4 one should either set 2.8 by default, or deprecate installation of any wxWidgets dependency on Tiger (I believe that 10.5 should be supported, I'm not sure why the Portfile for wxWidgets30 asks for 10.6)
- set
${wxWidgets.confpath
} variable to ${prefix}/libexec/wxWidgets/${version
}; suggestions for a better name welcome
Here's a list of dependencies on wx* that need to be adapted along with wxWidgets (most probably lacking some ports, for wxPython in particular), please fill the list if you spot any:
wxWidgets, wxWidgets-devel, wxWidgets30
- devel/poedit [req] (on SL autoreplace 2.8 with 3.0) {raimue openmaintainer}
- math/gnuplot [+wxwidgets/devel/30] {mojca openmaintainer}
- math/wxMaxima [required/+wxwidgets-devel/30] {usami-k openmaintainer}
only with wxWidgets30:
- aqua/pgAdmin3 [no option, required] {jwa}
- gis/grass [+wxwidgets] {nomaintainer}
- multimedia/mkvtoolnix [+wxwidgets] {nomaintainer}
- perl/p5-alien-wxwidgets [required] {nomaintainer}
- perl/p5-wx (depends on p5-alien-wxwidgets) {nomaintainer}
- perl/p5-graphics-gnuplotif (depends on gnuplot) {nomaintainer}
- science/gnuradio [+wxgui] (wxwidgets-devel) {michaelld openmaintainer}
- science/plplot {takeshi openmaintainer}
- science/stimfit [required] {gmx.de:christsc}
currenty only depends on wxWidgets 2.8:
- cross/usbprog {lilalinux.net:macports}
- devel/codeblocks (+wxgtk [freebsd]) {afb}
- devel/wxd {usami-k openmaintainer}
- devel/wxstedit (+wxgtk [freebsd]) {afb}
- graphics/wxLua (depends on wxstdedit)
- emulators/lisaem {ryandesign}
- lang/erlang [+wxwidgets, optional] {bfulgham}
- graphics/esdl (depends on erlang) {bfulgham}
- graphics/hugin-app [no option, required] {gmail.com:hvdwolf}
- graphics/rt-volume-rendering [no option, required] {gmail.com:bugcutt}
- math/fityk {nomaintainer}
known not to be compatible with 2.9 (requires more work):
- security/otrproxy [no option, required] {nomaintainer}
- www/FileZilla [no option, required] {strasweb.fr:rudloff openmaintainer}
not working:
- math/gnudatalanguage (not functional yet) {takeshi}
- kde/digikam (would depend if it could)
core:
- cross/wxmsw {nomaintainer}
- x11/wxgtk {nomaintainer}
- graphics/wxWidgets {jwa}
- graphics/wxWidgets-devel {jwa}
- graphics/wxWidgets30 {jwa}
- graphics/wxWidgets-python {nomaintainer}
python core:
- py-wxpython {nomaintainer}
> py-wxpython@2.8.12.1
> py24-wxpython@2.8.12.1 [python24, wxWidgets]
> py25-wxpython@2.8.12.1 [python25, wxWidgets]
> py27-wxpython@2.8.12.1 [python27, wxWidgets]
- py26-wxpython {jameskyle}
> py26-wxpython@2.8.10.1 [python26, wxWidgets-python]
- py-wxpython30 {jwa}
> py-wxpython30 @2.9.4.9 [py27-wxpython30]
> py27-wxpython30@2.9.4.0 [python27, wxWidgets30]
- py27-wxpython-devel {jwa}
> py27-wxpython-devel@2.9.4.9 [wxWidgets30]
python:
- py-dsv [pyXY-wxpython] {nomaintainer}
- py-pyface [pyXY-wxpython] {gmail.com:jjstickel openmaintainer}
- py-robotframework-ride [pyXY-wxpython(30)] {jwa}
- py-winpdb [pyXY-wxpython-devel] {eborisch}
- py26-pyphant [py26-wxpython & ...] {fmf.uni-freiburg.de:klaus.zimmermann, rowue}
- gis/grass [py27-wxpython30] {nomaintainer}
But cleanup is needed on the PortGroup
first, only then should ports be changed - to prevent double or triple effort.