Package: pyopengl
Severity: important
Tags: patch

Hi,

pyopengl fails to build on GNU/kFreeBSD because a configuration file for
this system is missing. Please find attached a patch to provide one. It
would be nice if you could include it in the next upload.

Thanks in advance,
Aurelien

-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Author: aurel32
Status: in BTS

--- pyopengl-2.0.1.09.orig/config/gnukfreebsd5.cfg
+++ pyopengl-2.0.1.09/config/gnukfreebsd5.cfg
@@ -0,0 +1,34 @@
+; General config options
+;
+; Setting build_togl to zero will avoid trying to build Togl
+;
+; gl_platform is the name of the platform specific OpenGL module
+; For X-windows this GLX, Windows has WGL, etc.
+;
+; include_dirs and library_dirs are a os.pathsep separated list of
+; additional directories for headers and libraries.  No quotes
+; are needed
+[General]
+build_togl=1
+gl_platform=GLX
+include_dirs=/usr/include:/usr/local/include:/usr/X11/include:/usr/X11R6/include
+library_dirs=/usr/lib:/usr/local/lib:/usr/X11/lib:/usr/X11R6/lib
+
+; a os.pathsep separated list of the libs needed when linking GL
+[GL]
+libs=GL:X11:Xext
+
+; a os.pathsep separated list of the libs needed when linking GLU
+; the GL libraries are included automatically
+[GLU]
+libs=GLU
+
+; a os.pathsep separated list of the libs needed when linking GLUT
+; the GL and GLU libraries are included automatically
+[GLUT]
+libs=glut:Xi:Xmu
+
+; a comma separated list of the libs needed when linking Togl
+; the GL and GLU libraries are included automatically
+[Togl]
+libs=Xmu:Xt:m

Reply via email to