Your message dated Fri, 11 May 2012 22:48:40 +0000
with message-id <e1ssydc-0000gm...@franck.debian.org>
and subject line Bug#662710: fixed in gle-graphics 4.2.4c-1
has caused the Debian Bug report #662710,
regarding gle-graphics: FTBFS against Qt 4.8
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
662710: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662710
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: gle-graphics
Version: 4.2.4-1
User: debian-qt-...@lists.debian.org
Usertags: qt48-transition

Hi,

Your package fails to build against Qt 4.8 which is currently in experimental.
The transition to unstable/testing is tracked in bug #653903.

I'm attaching a patch that contains the necessary changes.
It can be applied even before Qt 4.8 enters unstable.

Build log:

> g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT 
> -DQT_NO_DEBUG -DQT_OPENGL_LIB
> -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED 
> -I/usr/share/qt4/mkspecs/linux-g++-64
> -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork 
> -I/usr/include/qt4/QtGui
> -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I. -I/usr/X11R6/include -Imoc 
> -o
> objects/3dviewer.o 3dviewer.cpp
> 3dviewer.cpp: In member function 'virtual void QGLE3DWidget::paintGL()':
> 3dviewer.cpp:110:41: error: 'gluPerspective' was not declared in this scope
> 3dviewer.cpp:118:53: error: 'gluLookAt' was not declared in this scope
> make[4]: *** [objects/3dviewer.o] Error 1

Regards,
Felix

Description: Backport upstream patch to build against qt4.8
Author: Jan Struyf <jstruy...@struyf-ye.org>
Origin: upstream, http://glx.git.sourceforge.net/git/gitweb.cgi?p=glx/gle;a=patch;h=b0cf21c1d6fbad25da849f658feb82b433091977
Bug-Ubuntu: https://launchpad.net/bugs/935114

Index: gle-graphics/configure.ac
===================================================================
--- gle-graphics.orig/configure.ac	2012-02-24 19:39:59.000000000 +0100
+++ gle-graphics/configure.ac	2012-02-24 19:39:59.000000000 +0100
@@ -73,8 +73,10 @@
 HAVE_CYGWIN=0
 HAVE_MINGW=0
 HAVE_LIBZ=0
+HAVE_LIBGLU_H=0
 QT_CONFIG="CONFIG += release"
 QT_RPATH=
+QT_LIBGLU_LIB=
 
 HAVE_STATIC_LIBPNG=0
 HAVE_STATIC_LIBTIFF=0
@@ -574,6 +576,14 @@
         HAVE_QT=1
         QMAKE_VERS=`$QMAKE_PROG -v | tail -n 1`
     fi
+    
+    AC_CHECK_HEADERS(GL/glu.h,
+    [AC_DEFINE(HAVE_LIBGLU_H)],
+    [])
+    
+    AC_CHECK_LIB(GLU,gluLookAt,
+    [QT_LIBGLU_LIB=-lGLU],
+    [])
 fi
 
 if test "x$HAVE_RPATH" != "x0"; then
@@ -805,6 +815,7 @@
 AC_SUBST(MAKE_AUTOPACKAGE)
 AC_SUBST(QT_CONFIG)
 AC_SUBST(QT_RPATH)
+AC_SUBST(QT_LIBGLU_LIB)
 AC_SUBST(HAVE_EXTRA_FONTS)
 
 AC_CONFIG_FILES([Makefile src/gle/Makefile src/gle/bitmap/Makefile src/gle/letzfitz/Makefile src/gle/surface/Makefile src/gle/tokens/Makefile src/fbuild/Makefile src/makefmt/Makefile src/manip/Makefile src/TeX/Makefile src/gui/MakefileAC src/gui/qgle.pro src/doc/gle.1 platform/autoconf/gle-graphics.pc platform/autopackage/gle4.apspec])
Index: gle-graphics/src/config.h.in
===================================================================
--- gle-graphics.orig/src/config.h.in	2012-02-24 19:39:59.000000000 +0100
+++ gle-graphics/src/config.h.in	2012-02-24 19:39:59.000000000 +0100
@@ -72,6 +72,7 @@
 #undef HAVE_STDINT_H
 #undef HAVE_INTTYPES_H
 #undef HAVE_SYS_PARAM_H
+#undef HAVE_LIBGLU_H
 
 #undef HAVE_NCURSES_H
 #undef HAVE_CURSES_H
Index: gle-graphics/src/gui/3dviewer.cpp
===================================================================
--- gle-graphics.orig/src/gui/3dviewer.cpp	2012-02-24 19:39:59.000000000 +0100
+++ gle-graphics/src/gui/3dviewer.cpp	2012-02-24 19:39:59.000000000 +0100
@@ -23,9 +23,15 @@
 #include "../gle/cutils.h"
 #include "../gle/gle-block.h"
 #include "../gle/surface/gsurface.h"
+#include "../config.h"
 
 #include <math.h>
 
+#ifdef HAVE_LIBGLU_H
+       #include <GL/glu.h>
+#endif
+
+
 QGLE3DWidget::QGLE3DWidget(QWidget *parent, GLEInterface* iface)
      : QGLWidget(parent)
 {
Index: gle-graphics/src/gui/qgle.pro.in
===================================================================
--- gle-graphics.orig/src/gui/qgle.pro.in	2012-02-24 18:48:09.857237000 +0100
+++ gle-graphics/src/gui/qgle.pro.in	2012-02-24 19:54:34.345962872 +0100
@@ -176,7 +176,7 @@
 
 # add the "lib" directory to the search path of the linker
 unix {
-	LIBS += @QT_RPATH@
+	LIBS += @QT_RPATH@ @QT_LIBGLU_LIB@
 }
 
 # vim:et

--- End Message ---
--- Begin Message ---
Source: gle-graphics
Source-Version: 4.2.4c-1

We believe that the bug you reported is fixed in the latest version of
gle-graphics, which is due to be installed in the Debian FTP archive:

gle-graphics_4.2.4c-1.debian.tar.gz
  to main/g/gle-graphics/gle-graphics_4.2.4c-1.debian.tar.gz
gle-graphics_4.2.4c-1.dsc
  to main/g/gle-graphics/gle-graphics_4.2.4c-1.dsc
gle-graphics_4.2.4c-1_amd64.deb
  to main/g/gle-graphics/gle-graphics_4.2.4c-1_amd64.deb
gle-graphics_4.2.4c.orig.tar.gz
  to main/g/gle-graphics/gle-graphics_4.2.4c.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 662...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian T. Steigies <c...@debian.org> (supplier of updated gle-graphics 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


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

Format: 1.8
Date: Fri, 11 May 2012 00:01:36 +0200
Source: gle-graphics
Binary: gle-graphics
Architecture: source amd64
Version: 4.2.4c-1
Distribution: unstable
Urgency: low
Maintainer: Christian T. Steigies <c...@debian.org>
Changed-By: Christian T. Steigies <c...@debian.org>
Description: 
 gle-graphics - Interactive Graphics Language Editor
Closes: 662710 667183
Changes: 
 gle-graphics (4.2.4c-1) unstable; urgency=low
 .
   * new upstream version (closes: #662710, #667183)
   * updated Standards-Version to 3.9.3 (no changes)
Checksums-Sha1: 
 1c927d136541b2ea46b0d3272a0c1c1a30cd3867 1298 gle-graphics_4.2.4c-1.dsc
 9b2b1653ce33c8a0d89e3dbafa0ce136c1a4f520 2321578 
gle-graphics_4.2.4c.orig.tar.gz
 d97f1d78467aeadcad32aba3bd368c5b1af93f13 12808 
gle-graphics_4.2.4c-1.debian.tar.gz
 d597296ba6b0bfcc01a8b357c3d1adcd3e77b846 4581706 
gle-graphics_4.2.4c-1_amd64.deb
Checksums-Sha256: 
 a2d662bede0ecd651613acc0b23df476b7b5663e057a06a79834698939ad5381 1298 
gle-graphics_4.2.4c-1.dsc
 82acab185a29aa8fcba3029512e59c74775b73d4db6eec5f6d0b75d6767f4c4e 2321578 
gle-graphics_4.2.4c.orig.tar.gz
 97ebe94c3fa1bac83e187ff7a06618d0a9f43bdbdbb4663d7fdf53a6e48aebee 12808 
gle-graphics_4.2.4c-1.debian.tar.gz
 5eedb8b27b60468f114fe62935ca30756573d376085c55c1378cbb7c7e0578ce 4581706 
gle-graphics_4.2.4c-1_amd64.deb
Files: 
 13e64fc99cc8afb6d0cbad9fede8592b 1298 graphics optional 
gle-graphics_4.2.4c-1.dsc
 ea81bb06f1465a00c9041c58259877a1 2321578 graphics optional 
gle-graphics_4.2.4c.orig.tar.gz
 711aa19d66fab1dce3c719ca144ed3cd 12808 graphics optional 
gle-graphics_4.2.4c-1.debian.tar.gz
 5c3ad889bbc88f2b587b6853b0ed6d1b 4581706 graphics optional 
gle-graphics_4.2.4c-1_amd64.deb

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

iEYEARECAAYFAk+tklgACgkQhWcuXd2lEoCLEQCeJpCXU9r4beJjfVcUKD09FPWW
YagAnAlPXoLFFu42oacPoSxujPQrItSR
=3XZd
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to