if opengl is not in USE (specifically: not installed) wxPython fails to build. patch to ebuild and setup.py included below. These seem to allow wxPython to build OK while being sensitive to opengl USE. (Still need to test results though). ========== wxPython-2.3.2.1.ebuild.diff ========== --- wxPython-2.3.2.1.ebuild Fri Apr 12 10:08:00 2002 +++ /root/wxPython-2.3.2.1.ebuild Wed May 1 18:48:37 2002 @@ -21,6 +21,14 @@ RDEPEND="${DEPEND}" +src_unpack() { + unpack ${A} + cd ${S} + if [ ! "`use opengl`" ];then + patch -p0 < ${FILESDIR}/${P}-nogl.patch + fi +} + src_compile() { #local myconf ========== wxPython-2.3.2.1.ebuild.diff ========== ========== wxPython-2.3.2.1-nogl.patch ========== --- setup.py.orig Wed May 1 22:13:57 2002 +++ setup.py Wed May 1 22:14:07 2002 @@ -28,8 +28,8 @@ """ -BUILD_GLCANVAS = 1 # If true, build the contrib/glcanvas extension module -BUILD_OGL = 1 # If true, build the contrib/ogl extension module +BUILD_GLCANVAS = 0 # If true, build the contrib/glcanvas extension module +BUILD_OGL = 0 # If true, build the contrib/ogl extension module BUILD_STC = 1 # If true, build the contrib/stc extension module BUILD_XRC = 1 # XML based resource system BUILD_GIZMOS = 1 # Build a module for the gizmos contrib library ========== wxPython-2.3.2.1-nogl.patch ========== hth, Gontran
tested. Works for me. :)
ditto
Please give 2.3.2.1-r1 a try.
both the GLCANVAS and GIZMOS extensions have been enabled. wxPython-2.3.2.1-r2 contains the fixes. PyOpenGL is now a required dependancy for opengl support. The new ebuilds for PyOpenGL and wxPython should be available in portage within 24 hours. emerge rsync emerge wxPython