Opened 13 years ago
Closed 5 years ago
#33389 closed submission (wontfix)
New package py26-gtkglext
Reported by: | thetawaves@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | jovo@…, cooljeanius (Eric Gallager), petrrr, seanfarley (Sean Farley) | |
Port: | py26-gtkglext |
Description
This is a simple update to py25-gtkglext to compile against python2.6.
WHY?
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:
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.
Attachments (3)
Change History (12)
Changed 13 years ago by thetawaves@…
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Cc: | thetawaves@… removed |
---|---|
Keywords: | py26-gtkglext pycam removed |
Version: | 2.0.3 |
The existing py25-gtkglext should be unified to add py26, py27, etc instead.
comment:3 Changed 12 years ago by jovo@…
Another pyCAM user. Runing pyCAM, until recently, with the py26-gtklext fix described. Now moved to Homebrew http://www.shapeoko.com/wiki/index.php/PyCAM-MacOS as a workaround.
comment:4 Changed 12 years ago 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).
Changed 12 years ago by sorokine@…
Attachment: | Portfile.2 added |
---|
Portfile for py27, compiles but library fails to load
comment:5 Changed 12 years ago by mf2k (Frank Schima)
A few comments:
- The revision line needs to be removed.
- Is there a reason it does not use the unified python portgroup?
- Formatting could be improved.
Changed 9 years ago by Blokkendoos (Johan)
Attachment: | 2016-01-01 py27-gtkglext.tgz added |
---|
py27-gtkglext for OS X 10.10
comment:8 Changed 9 years ago by Blokkendoos (Johan)
Added py27-gtkglext portfile for OS X 10.10 (Yosemite).
Patched configure to use pygobject-codegen-2.0-2.7 instead of pygtk-codegen-2.0. Did not figure out how to get the location/links right, so two symlinks are still needed after installation.
$ sudo port install py27-gtkglext
$ sudo ln -s /opt/local/lib/python2.7/site-packages/gtk-2.0/gtk/gtkgl /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/gtkgl;
$ sudo ln -s /opt/local/lib/python2.7/site-packages/gtk-2.0/gtk/gdkgl /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/gdkgl;
comment:9 Changed 5 years ago by jmroot (Joshua Root)
Cc: | seanfarley added |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Deleted in r113806.
Copy of py25-gtkglext with some version numbers changed to target python2.6