Thread: [PyOpenGL-Users] Swig 1.3.19 Patch and Fedora Core 2 RPM
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@ro...> - 2004-07-13 13:43:05
|
Forwarding this to the group... Subject: PyOpenGL Swig 1.3.19 Patch and Fedora Core 2 RPM From: "David H. Johnson" <dh...@ua...> Date: Mon, 12 Jul 2004 10:34:19 -0500 To: pyo...@li..., pyo...@li... Hi Everyone, After about 2 weeks of obsessive compulsive building and packaging... Here is a swig 1.3.19 patch and FC2 RPM and SRPM: http://sgce.cbse.uab.edu/pyopengl/ You'll also find the RPM spec and patch files. I didn't get the FC1 RPMs to build... But they shouldn't be too far off if someone wants to work on it. Togl patches weren't included so togl support isn't there. However that could be installed separately. I would also be interested to see if the patch enables swig1.3.19 based compilation on other systems. The patch isn't the cleanest in the world. Getting the GLUT.py and GLE.py files to go where they're supposed to was a blatant hack. Other things tried to keep up with the general setup scheme. Another semi-hack was having the modules named _modname so the target .so's would be _modname.so as swig 1.3.19 makes all .py calls to _modname by default. I think the package requirements below are correct, but I'm not positive... FC2 packages needed for the RPM: python-2.3.3-6 freeglut-2.2.0-11 tix-8.1.4-96.1 tkinter-2.3.3-6 FC2.dag packages needed for the RPM: python-imaging-1.1.4-1.1.fc2.dag python-numeric-23.1-0.1.fc2.dag Development packages needed to compile PyOpenGL w/ patch: python-devel-2.3.3-6 freeglut-devel-2.2.0-11 xorg-x11-devel-6.7.0-5 swig-1.3.19-6.1 And to compile the RPMS: rpm-build-4.3.1-0.3 Hope everyone finds this useful. --David ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://members.rogers.com/mcfletch/ blog: http://zope.vex.net/~mcfletch/plumbing/ |
From: Mike C. F. <mcf...@ro...> - 2004-07-13 14:03:30
|
And now replying to it... The dev-2_1 branch in CVS has already been moved to using SWIG 1.3.21. There is also a minor patch posted to the list a few weeks ago which allows for building on Gentoo, and I assume, Fedora Core 2 (though the person who reported the Fedora Core 2 failure never actually reported back on whether everything was working, the fact that they were getting to the point where WGL was missing on Linux suggests it worked) merely by skipping the SWIG generation step (as was originally intended in the code). I'll take a look at the patches to see if there's anything I missed in the 1.3.21 conversion. Have fun, Mike Mike C. Fletcher wrote: > Forwarding this to the group... > ... > Here is a swig 1.3.19 patch and FC2 RPM and SRPM: > http://sgce.cbse.uab.edu/pyopengl/ > > You'll also find the RPM spec and patch files. I didn't get the FC1 > RPMs to build... But they shouldn't be too far off if someone wants to > work on it. ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://members.rogers.com/mcfletch/ blog: http://zope.vex.net/~mcfletch/plumbing/ |