tags 626120 + patch
thanks

there are some serious issues with the build system.
It builds without opengl although--disable-gl us *not* set and links fltk_gl
As it now does not use opengl --as-needed removes the linkage and the
stubs do not seem to work properly.

I guess the openGL build is intended, so attached a patch which fixes
the it.
Not using the broken stubs prevents --as-needed from removing the
linkage to libGL.so from libfltk_gl.so
The non-openGL build remains broken.
--- pyfltk-1.1.5.orig/setup.py
+++ pyfltk-1.1.5/setup.py
@@ -241,7 +241,7 @@ if not (sys.platform == 'win32' and not
         lowercase_item = item.lower()
         if string.find(lowercase_item, "pthread") >= 0:
             doMulti = True
-        if string.find(lowercase_item, "fltk") < 0 and string.find(lowercase_item, "gl") >= 0:
+        if string.find(lowercase_item, "fltk") >= 0 and string.find(lowercase_item, "gl") >= 0:
             doOpenGL = True
         if string.find(lowercase_item, "fltk") >= 0 and string.find(lowercase_item, "forms") >= 0:
             doForms = True

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to