attached debdiff for oneiric.
natty only needs a no change rebuild SRU but this patch could also be applied 
there in case someone wants to rebuild it with --as-needed.

Description: Fix build with opengl
 builds with fltk_config --use-gl but does not set doOpenGL to True in setup.py 
due to a bug
 so it uses opengl stubs which lead to --as-needed removing the opengl linkage

** Patch added: "pyfltk_1.1.5-3ubuntu1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/pyfltk/+bug/779340/+attachment/2131086/+files/pyfltk_1.1.5-3ubuntu1.debdiff

** Description changed:

  Binary package hint: python-fltk
  
  After upgrading to 11.04, running the following from python or ipython
  fails:
  
+ debdiff patch in comment #3
+ 
+ TEST CASE:
  >>>import fltk
  
  Version of python-fltk: 1.1.5-3
  
  Here is the error message:
  In [2]: import fltk
  ---------------------------------------------------------------------------
  ImportError                               Traceback (most recent call last)
  
  /home/andy/<ipython console> in <module>()
  
  /usr/lib/python2.7/dist-packages/fltk/__init__.py in <module>()
       29                 fp.close()
       30             return _mod
  ---> 31     _fltk = swig_import_helper()
       32     del swig_import_helper
       33 else:
  
  /usr/lib/python2.7/dist-packages/fltk/__init__.py in swig_import_helper()
       25         if fp is not None:
       26             try:
  ---> 27                 _mod = imp.load_module('_fltk', fp, pathname, 
description)
       28             finally:
       29                 fp.close()
  
  ImportError: /usr/lib/python2.7/dist-packages/fltk/_fltk.so: undefined
  symbol: glEnd
  
  In [3]:

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/779340

Title:
  From python: import fltk fails

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to