Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22561 - [glew] build glewmx also

Attached to Project: Arch Linux
Opened by Balló György (City-busz) - Sunday, 23 January 2011, 02:25 GMT
Last edited by Stéphane Gaudreault (stephane) - Monday, 30 May 2011, 10:40 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Stéphane Gaudreault (stephane)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Please build glewmx library also. It's required for nux (which a dependency of Unity) in AUR. By default, build with GLEW_MX=1 option replaces the original glew library, which should be avoid due it breaks API compatibility. So makefiles should be patched to create both libraries. I attached a modified PKGBUILD for it.

Upstream bugreport of the patch: http://sourceforge.net/tracker/?func=detail&aid=3138858&group_id=67586&atid=523276
This task depends upon

Closed by  Stéphane Gaudreault (stephane)
Monday, 30 May 2011, 10:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  glew-1.6.0 into [testing]
Comment by Stéphane Gaudreault (stephane) - Sunday, 23 January 2011, 17:53 GMT
Do you know if this patch has been accepted upstream ?
Comment by Balló György (City-busz) - Sunday, 23 January 2011, 18:34 GMT
It's not accepted by upstream yet, but the patches modify the build process only, not the libraries itself. If you think that it's not acceptable by Arch, feel free to close this task until upstream accept these patches.
Comment by Stéphane Gaudreault (stephane) - Monday, 24 January 2011, 16:12 GMT
I will wait a little to see what decision upstream takes. If they accept the patch, I will be happy to apply it to our pkg.
Comment by Balló György (City-busz) - Saturday, 19 March 2011, 04:39 GMT
An another patch is accepted by upstream, and will be available in version 1.5.9:
http://glew.git.sourceforge.net/git/gitweb.cgi?p=glew/glew;a=commit;h=18455eb40fe2d71f5f78cce0bf44eb302c224016

After that glewmx library builds along with glew by default. You have to modify the install line only from:
make GLEW_DEST="${pkgdir}/usr" install
to:
make GLEW_DEST="${pkgdir}/usr" install.all
Comment by Stéphane Gaudreault (stephane) - Monday, 21 March 2011, 14:13 GMT
It seems that this patch breaks the ABI compatibility of the /usr/lib/libGLEW.so.1.5 library. For example supertux and clementine visualization no longer works with this patch without beeing rebuilded.
I do not think this is worth a rebuild of ~20 packages. I prefer waiting the final release for the rebuild.
Comment by Balló György (City-busz) - Monday, 21 March 2011, 19:56 GMT
Ok, I haven't tested them. In this case I think also that it would better to wait for the next release.
Comment by Balló György (City-busz) - Monday, 23 May 2011, 11:57 GMT
A new version (1.6.0) released for a while, which includes this patch. Please use 'install.all' command when you update this package. Thanks!
Comment by Stéphane Gaudreault (stephane) - Tuesday, 24 May 2011, 10:40 GMT
Thank you for your message. I was aware for this release. As the soname change, it require a rebuild. We had a few prioritary rebuild recently (krb5, perl ...), but this one should find is way to [staging] soon.

Loading...