reopen 626964
found 626964 0.15~rc1-4
retitle 626964 should link against libGL
thanks

the patch I provided was incomplete. David Martinez Marti updated
it to also link with the needed libGL:
https://mail.gna.org/public/soya-user/2011-06/msg00013.html
I did not update the bug as I failed to notice that the package
had another maintainer who was not aware of this.
Sorry for this mistake.

Here the patch from David which is also applied in ubuntu:
It might also fix bug 393274

Date: Mon, 23 May 2011 16:56:58 +0200
Author: David Martinez Marti <[email protected]>
Origin: https://mail.gna.org/public/soya-user/2011-06/msg00013.html
Subject: soya must link against gl and glu which it uses directly
 indirect reliance breaks when dependencies are compiled with
 ld --as-needed --no-copy-dt-needed
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/soya/+bug/780305
---
 soya/setup.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Index: soya/setup.py
===================================================================
--- soya.orig/setup.py 2011-07-18 01:00:03.578795000 +0200
+++ soya/setup.py      2011-07-18 01:06:18.823305079 +0200
@@ -114,9 +114,9 @@
 #from config import *
 
 if sys.platform[:3] == "win":
-      LIBS = ["m", "glew32", "SDL", "SDL_mixer", "freetype", "cal3d", 
"stdc++", "ode"]
+      LIBS = ["m", "glew32", "SDL", "SDL_mixer", "freetype", "cal3d", 
"stdc++", "ode","opengl32","glut"]
 else:
-      LIBS = ["m", "GLEW", "SDL", "freetype", "cal3d", "stdc++","ode"]
+      LIBS = ["m", "GLEW", "SDL", "freetype", "cal3d", 
"stdc++","ode","GL","GLU"]
       FRAMEWORKS=[]
 
 SOYA_PYREX_SOURCES  = ["_soya.pyx", "matrix.c", "chunk.c"]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to