[MacPorts] #33389: New package py26-gtkglext
#33389: New package py26-gtkglext ----------------------------------+----------------------------------------- Reporter: thetawaves@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: py26-gtkglext pycam | Port: py26-gtkglext ----------------------------------+----------------------------------------- This is a simple update to py25-gtkglext to compile against python2.6. WHY?[[BR]] Python 2.5 has bugs marked wont fix that make it impossible to run pycam. Pycam depends on pygtkglext. and pygtkglext is only available for python2.5. PROBLEMS:[[BR]] 1) I had to create two symbolic links after py26-gtkglext was installed: {{{ $ sudo ln -s /opt/local/lib/python2.6/site-packages/gtk-2.0/gtk/gtkgl /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/gtk-2.0/gtk/gtkgl $ sudo ln -s /opt/local/lib/python2.6/site-packages/gtk-2.0/gtk/gdkgl /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/gtk-2.0/gtk/gdkgl }}} Instead of these links should the Portfile instead tell pygtkglext to install in /opt/local/Library/Frameworks... ? 2) py25-gtkglext and py26-gtkglext can not be installed at the same time. This does not affect me at all. -- Ticket URL: <https://trac.macports.org/ticket/33389> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33389: New package py26-gtkglext ----------------------------------+----------------------------------------- Reporter: thetawaves@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: py26-gtkglext ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * keywords: py26-gtkglext pycam => * cc: thetawaves@… (removed) * version: 2.0.3 => Comment: The existing py25-gtkglext should be unified to add py26, py27, etc instead. -- Ticket URL: <https://trac.macports.org/ticket/33389#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33389: New package py26-gtkglext ----------------------------+-------------------------------- Reporter: thetawaves@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py26-gtkglext | ----------------------------+-------------------------------- Comment (by jovo@…): Another pyCAM user. Runing pyCAM, until recently, with the py26-gtklext fix described. Now moved to [http://www.shapeoko.com/wiki/index.php/PyCAM-MacOS Homebrew] as a workaround. -- Ticket URL: <https://trac.macports.org/ticket/33389#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#33389: New package py26-gtkglext ----------------------------+-------------------------------- Reporter: thetawaves@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py26-gtkglext | ----------------------------+-------------------------------- Comment (by sorokine@…): I've tried to fix this port for py27 but it did not work. To make it compile I have had to add the following link: {{{ ln -s /opt/local/bin/pygtk-codegen-2.0-2.7 /opt/local/bin/pygtk- codegen-2.0 }}} import gtk.gtkgl fails despite having /opt/local/lib/python2.6/site- packages/gtk-2.0/gtk/gtkgl on the path: {{{
import gtk.gtkgl Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named gtkgl }}}
Altered Portfile attached (fix for pkg-config). -- Ticket URL: <https://trac.macports.org/ticket/33389#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#33389: New package py26-gtkglext ----------------------------+-------------------------------- Reporter: thetawaves@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py26-gtkglext | ----------------------------+-------------------------------- Comment (by macsforever2000@…): A few comments: - The revision line needs to be removed. - Is there a reason it does not use the unified python port group? - Formatting could be improved. -- Ticket URL: <https://trac.macports.org/ticket/33389#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts