Description of problem: There is an add-on for pyopengl which accelerates some opengl instructions using cython: https://pypi.python.org/pypi/PyOpenGL-accelerate Releases of this seem to be lock-step versioned with pyopengl (i.e. a specific version of pyopengl-accelerate will only work with the corresponding pyopengl). It would be good to have this packaged for Fedora - xpra which I am currenly trying to get reviewed and included in Fedora makes use of it. Because of the version locking to pyopengl, I think it would make most sense to build it in the same spec file, and split it off as an (arch'ed) submodule. What do you think?
I think it's acceptable since they are from the same upstream.
OK, great, thanks very much.
Is it helpful to work on a patch for this, or are you already working on it?
(In reply to Jonathan Underwood from comment #3) > Is it helpful to work on a patch for this, or are you already working on it? You can provide a patch since I haven't started working on this, I plan to move to 3.1.1a1.
Hmmm.. OK I worked on this, but unfortunately, as far as I can see, it's actually not possible to have the main package be noarch, and an arch dependent sub-package (the opposite is possible, of course). Have I missed something?
Created attachment 1009687 [details] Patch to add accelerate module
That's what the patch looks like adding the module to the package and removing noarch...
If we went the route of making the package arch dependent, it might actually make sense to include the -accelerate module in the main package rather than splitting off into a sub-packages.
Ah, of course, that patch is not multilib compatible - I missed out all the %{isa} stuff that would be needed. Before I do any further work, can you let me know if you're happy with: 1) Having the packages move to arch dependent (actually I guess the Tk sub-packages could remain noarch). 2) Having the accelerate modules in the main packages rather than sub-packages.
Created attachment 1010615 [details] Patch to add accelerate module into main packages This patch adds the accelerate module, but doesn't split it out into separate sub-packages as there doesn't seem to be much point doing so. The main packages are now noarch, and the -Tk subpackages are noarch sub-packages.
Created attachment 1010631 [details] Patch to add accelerate module into main packages As previously, but with the extraneous %_{isa} bits in the TK noarch packages.
(In reply to Jonathan Underwood from comment #11) > Created attachment 1010631 [details] > Patch to add accelerate module into main packages > > As previously, but with the extraneous %_{isa} bits in the TK noarch > packages. *without* the the extraneous %_{isa} bits, I mean.
Hi Christopher - any thoughts on this?
Ping
Hi Christopher - would be great to get some movement on this.
I'll handle it.
Jonathan, I've reviewed and committed your latest patch. PyOpenGL is currently building for rawhide: http://koji.fedoraproject.org/koji/taskinfo?taskID=9858838 @Christopher: I will merge the changes into F22, and possibly even F21, soonish, if you have no objection.
Thanks very much Francois. It would be great to get packages pushed for F22 and F21 too. Could I ask you to add this BZ to the update, so i see when the updates are pushed - that way I can start Require'ing the accelerate module in the xpra packages.
My pleasure. I've merged & pushed the changes into F22+F21 and create updates when the builds are done.
PyOpenGL-3.1.0-2.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/PyOpenGL-3.1.0-2.fc22
PyOpenGL-3.1.0-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/PyOpenGL-3.1.0-2.fc21
As requested :)
Great, thanks very much for this Francois.
Please can you psh these updates to stable? Also, I've applied to co-maintain this package in the pkgdb - I'd be grateful if you could approve. Thanks.
Pushed. As for co-maintainship, +1 from me but that's Christopher's call.
Unfortunately Christopher seems not to be responding presently - no Fedora activity since March 24th.
PyOpenGL-3.1.0-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
PyOpenGL-3.1.0-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.