Package: whitedune
Version: 0.28.14-1.1
Severity: normal
Tags: patch

VRML geometry Text doesn't work, and whitedune
issues lots of "no font found" messages.

To reproduce, look at any WRL file in
http://www.uni-c.dtu.dk/~univind/kicad/outline/ - each polygon corner
(white lines only) is annotated with the point index in a VRML Billboard.

This patch solves the problem by adding a call to
glutInit() and an #include of the necessary header.

--- whitedune-0.28.14.org/src/main.cpp  2008-01-02 23:05:49.000000000 +0100
+++ whitedune-0.28.14/src/main.cpp      2010-03-24 15:20:26.000000000 +0100
@@ -28,6 +28,8 @@
 #include "MainWindow.h"
 #include "xerrorhandler.h"
 
+#include <GL/glut.h>
+
 #ifdef WIN32
 #  define errorprintf msgboxprintf
 #else
@@ -319,6 +321,7 @@
 #ifdef HAVE_FPU_ENABLE_INTERRUPTS
     fpu_enable_interrupts();
 #endif
+    glutInit(&argc,argv);
     swMainLoop();
 //    delete TheApp;
     exit(0);


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.33-smp (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=da_DK (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages whitedune depends on:
ii  freeglut3               2.6.0-1          OpenGL Utility Toolkit
ii  lesstif2                1:0.95.2-1       OSF/Motif 2.1 implementation relea
ii  libc6                   2.10.2-6         Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.4.2-9        GCC support library
ii  libgl1-mesa-glx [libgl1 7.7.1-1          A free implementation of the OpenG
ii  libglu1-mesa [libglu1]  7.7.1-1          The OpenGL utility library (GLU)
ii  libjpeg62               6b-16.1          The Independent JPEG Group's JPEG 
ii  libpng12-0              1.2.43-1         PNG library - runtime
ii  libstdc++6              4.4.2-9          The GNU Standard C++ Library v3
ii  libx11-6                2:1.3.3-2        X11 client-side library
ii  libxext6                2:1.1.1-3        X11 miscellaneous extension librar
ii  libxi6                  2:1.3-4          X11 Input extension library
ii  libxmu6                 2:1.0.5-1        X11 miscellaneous utility library
ii  libxp6                  1:1.0.0.xsf1-2   X Printing Extension (Xprint) clie
ii  libxt6                  1:1.0.7-1        X11 toolkit intrinsics library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages whitedune recommends:
ii  xfonts-100dpi                 1:1.0.1    100 dpi fonts for X

Versions of packages whitedune suggests:
pn  whitedune-docs                <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to