Package: clam-networkeditor
Version: 1.4.0-3
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



*** /tmp/tmp0LSV0W/bug_body
In Ubuntu, the attached patch was applied to achieve the following:

  * d/p/include_glu-h.patch: Add missing include to build with qt 4.8
    (LP: #791317)

In Debian, qt4.8 is in experimental currently and building against that 
version fails with:

g++ -o src/widgets/generated/generated/moc_QFirstPerson.os -c -g -O3 -Wall 
-pipe -fomit-frame-pointer -fPIC 
-DDATA_EXAMPLES_PATH="\"/root/clam-networkeditor-1.4.0/debian/tmp/usr/share/networkeditor/example-data\""
 -DQT_PLUGIN -DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -DCLAM_FLOAT 
-DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_LADSPA=1 -DUSE_SNDFILE=1 -DUSE_OGGVORBIS=1 
-DWITH_VORBIS=1 -DUSE_MAD=1 -DWITH_MAD=1 -DUSE_ID3=1 -DUSE_ALSA=1 -DUSE_JACK=1 
-DUSE_PORTAUDIO=1 -DUSE_FFTW3=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB 
-DQT_XML_LIB -DQT_SVG_LIB -DQT_SHARED -DCLAM_MODULE=qtmonitors 
-I/usr/local/include -I/usr/include/alsa -I/usr/include/qt4 
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL 
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtUiTools 
-I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtNetwork 
-I/usr/include/qt4/QtWebKit -Isrc/widgets -Isrc/widgets/generated 
-Isrc/widgets/generated/generated -Isrc/monitors -Isrc/monitors/generate
 d src/widgets/generated/moc_QFirstPerson.cxx
In file included from src/widgets/generated/moc_QFirstPerson.cxx:10:0:
src/widgets/generated/../QFirstPerson.hxx:73:2: error: 'GLUquadric' does not 
name a type
src/widgets/generated/../QFirstPerson.hxx:346:2: error: 'GLUquadric' does not 
name a type
src/widgets/generated/../QFirstPerson.hxx: In constructor 
'QFirstPerson::QFirstPerson(QWidget*)':
src/widgets/generated/../QFirstPerson.hxx:84:5: error: class 'QFirstPerson' 
does not have any field named '_sphere'
src/widgets/generated/../QFirstPerson.hxx: In member function 'virtual void 
QFirstPerson::resizeGL(int, int)':
src/widgets/generated/../QFirstPerson.hxx:109:73: error: 'gluPerspective' was 
not declared in this scope
src/widgets/generated/../QFirstPerson.hxx: In member function 'virtual void 
QFirstPerson::paintScene()':
src/widgets/generated/../QFirstPerson.hxx:200:21: error: 'sphere' was not 
declared in this scope
src/widgets/generated/../QFirstPerson.hxx:200:36: error: 'gluSphere' was not 
declared in this scope
src/widgets/generated/../QFirstPerson.hxx: In member function 'void 
QFirstPerson::drawLight(float*, float*, const char*, const QColor&)':
src/widgets/generated/../QFirstPerson.hxx:229:20: error: 'sphere' was not 
declared in this scope
src/widgets/generated/../QFirstPerson.hxx:229:35: error: 'gluSphere' was not 
declared in this scope
scons: *** [src/widgets/generated/generated/moc_QFirstPerson.os] Error 1
scons: building terminated because of errors.
make[1]: *** [override_dh_auto_build] Error 2

Thanks for considering the patch.


- -- System Information:
Debian Release: wheezy/sid
  APT prefers precise
  APT policy: (700, 'precise')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-16-generic (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJPPqJnAAoJEGHzRCZ03mYkE00P/33BKeZjR67YdekIC3+7W8aD
xswr81TLfHTWfGUtzOI7Bo9jPmJJEtNGGplWNgfs3nUPOPhmIhyaV1iNnDjFhUoO
u+PLxDc/cT3Kz3FZ+Heggxvqhm9hwZibgBWbx4KgPuPUBOhEor1t/c7kKnKGztCb
fpKayv4SOfyR2HVzJAm3hzPbBht30ny6mlqiQvpx4SWpvz4WohJNZE0KbwERQZhs
xHoUEXYLwUd9ibBRZmbr1o/OIbctt0qXK1VBjua+7lIVX4Uu8b28oB5b3wrQYUse
t7byxHdObLElRkM42Chs5bbgkgm4PZUZtqvEaMhKFt3sWvjsSOxIqrqmnU3EMa0X
OiCx43N5l7TaTbv4JtTu+VtNGoIGqDi4xujyqdIIYpQN+Us90CnsNtnGPeD5bVEB
8b5f9D2KjUQHJ1Owowv3rhv6TgEfQju/7AOIV3PS4NFeQHrceFeKGaoFeFynppUM
dZQIX1dqv7IgA7HdMBG+refeDgzkFBXGXLFR9aZoiz1jE+BpFW3RnLC3nDwJJ667
66EQJd3rfgNeBk5s0eUyCtLlCdv3u7Tev4FBm6u6BvqYigTeoNOYyfsH47HfQzcr
wJ8p9C4yVfe8rCYVD8EvmdkXf5JP6tdaooh9toG9SaiNwW5eK/oN9NCLgto8lQ0m
eGcUPErFkaswfq7YGFGV
=gBYT
-----END PGP SIGNATURE-----
diff -Nru clam-networkeditor-1.4.0/debian/patches/include_glu-h.patch clam-networkeditor-1.4.0/debian/patches/include_glu-h.patch
--- clam-networkeditor-1.4.0/debian/patches/include_glu-h.patch	1970-01-01 01:00:00.000000000 +0100
+++ clam-networkeditor-1.4.0/debian/patches/include_glu-h.patch	2012-02-17 19:50:04.000000000 +0100
@@ -0,0 +1,15 @@
+Description: Add missing include to fix FTBFS with new qt4
+Author: Andreas Moog <am...@ubuntu.com>
+Bug-Ubuntu: https://launchpad.net/bugs/791317
+
+--- clam-networkeditor-1.4.0.orig/src/widgets/QFirstPerson.hxx
++++ clam-networkeditor-1.4.0/src/widgets/QFirstPerson.hxx
+@@ -6,6 +6,8 @@
+ #include <QtGui/QKeyEvent>
+ #include <iostream>
+ #include <cmath>
++#include <GL/glu.h>
++
+ static float * vColor(const QColor & color)
+ {
+ 	static float vcolor[4];
diff -Nru clam-networkeditor-1.4.0/debian/patches/series clam-networkeditor-1.4.0/debian/patches/series
--- clam-networkeditor-1.4.0/debian/patches/series	2011-05-16 16:04:37.000000000 +0200
+++ clam-networkeditor-1.4.0/debian/patches/series	2012-02-17 19:04:28.000000000 +0100
@@ -1 +1,2 @@
 FTBFS_with_gcc_4.5
+include_glu-h.patch
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to