Hello,
Honestly, I would really preffer to find a sponsor to upload my work,
instead of NMU.

Regards
        Artur

On Mon, May 14, 2012 at 02:11:08AM -0400, Scott Kitterman wrote:
> Fixing this bug doesn't need all the changes that are in Unstable, so I'll 
> upload the attached diff shortly to delay/2 in order to minimize impact on 
> the Qt 4.8 transition.  If you'd prefer I delay it further, please let me 
> know.
> 
> Scott K

> diff -u libqglviewer-2.3.4/debian/changelog 
> libqglviewer-2.3.4/debian/changelog
> --- libqglviewer-2.3.4/debian/changelog
> +++ libqglviewer-2.3.4/debian/changelog
> @@ -1,3 +1,18 @@
> +libqglviewer (2.3.4-4.1) unstable; urgency=low
> +
> +  * Non-maintainer upload. (Closes: #662702)
> +
> +  [ Daniel T Chen ]
> +  * debian/rules: Use Qt4 multiarch lib path. Fixes FTBFS.
> +
> +  [ Felix Geyer ]
> +  * Add 04glu-include.dpatch to fix FTBFS with Qt 4.8.
> +  * Add 05glu-link.dpatch to make libqglviewer-qt4 link against libGLU.
> +  * Add Pre-Depends: ${misc:Pre-Depends} to libqglviewer-qt4-2.
> +  * Mark libqglviewer-qt4-2 as Multi-Arch: same.
> +
> + -- Scott Kitterman <[email protected]>  Mon, 14 May 2012 01:53:58 -0400
> +
>  libqglviewer (2.3.4-4) unstable; urgency=high
>  
>    * reupload with high urgency
> diff -u libqglviewer-2.3.4/debian/control libqglviewer-2.3.4/debian/control
> --- libqglviewer-2.3.4/debian/control
> +++ libqglviewer-2.3.4/debian/control
> @@ -5,7 +5,7 @@
>  DM-Upload-Allowed: yes
>  Homepage: http://www.libqglviewer.com/
>  Standards-Version: 3.8.3
> -Build-Depends: debhelper (>= 7), libqt3-mt-dev, libqt4-dev, 
> libqt4-opengl-dev, dpatch
> +Build-Depends: debhelper (>= 8.1.3~), libqt3-mt-dev, libqt4-dev (>= 
> 4:4.8.0~), libqt4-opengl-dev (>= 4:4.8.0~), dpatch
>  
>  Package: libqglviewer-dev-common
>  Section: libdevel
> @@ -83,6 +83,8 @@
>  Package: libqglviewer-qt4-2
>  Section: libs
>  Architecture: any
> +Multi-Arch: same
> +Pre-Depends: ${misc:Pre-Depends}
>  Depends: ${shlibs:Depends}, ${misc:Depends}
>  Description: an OpenGL 3D viewer library based on Qt - runtime library
>   libqglviewer (also known as libQGLViewer) is a free C++ library based on Qt
> diff -u libqglviewer-2.3.4/debian/rules libqglviewer-2.3.4/debian/rules
> --- libqglviewer-2.3.4/debian/rules
> +++ libqglviewer-2.3.4/debian/rules
> @@ -22,6 +22,8 @@
>       INSTALL_PROGRAM += -s
>  endif
>  
> +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
> +
>  version:=$(shell dpkg-parsechangelog | grep ^Version: | sed -e 's/^Version: 
> //' -e 's/-.*$$//')
>  ver2:=$(shell echo $(version) | cut -d. -f-2)
>  major:=$(shell echo $(version) | cut -d. -f1)
> @@ -76,13 +78,13 @@
>       cd qglviewer-qt4 && $(MAKE) install INSTALL_ROOT=$(CURDIR)/debian/tmp
>       cd designerPlugin-qt4 && $(MAKE) install 
> INSTALL_ROOT=$(CURDIR)/debian/tmp
>  
> -     mkdir -p debian/libqglviewer-qt4-2/usr/lib 
> debian/libqglviewer-qt4-dev/usr/lib/qt4/plugins/designer
> +     mkdir -p debian/libqglviewer-qt4-2/usr/lib/$(DEB_HOST_MULTIARCH) 
> debian/libqglviewer-qt4-dev/usr/lib/$(DEB_HOST_MULTIARCH)/qt4/plugins/designer
>  
> -     cp -d debian/tmp/usr/lib/*.so.* debian/libqglviewer-qt4-2/usr/lib
> -     cp -d qglviewer-qt4/libqglviewer-qt4.a 
> debian/libqglviewer-qt4-dev/usr/lib
> -     cp -d debian/tmp/usr/lib/*.so debian/libqglviewer-qt4-dev/usr/lib
> -     cp -d debian/tmp/usr/lib/*.prl debian/libqglviewer-qt4-dev/usr/lib
> -     cp -d debian/tmp/usr/lib/qt4/plugins/designer/libqglviewerplugin.so 
> debian/libqglviewer-qt4-dev/usr/lib/qt4/plugins/designer
> +     cp -d debian/tmp/usr/lib/*.so.* 
> debian/libqglviewer-qt4-2/usr/lib/$(DEB_HOST_MULTIARCH)
> +     cp -d qglviewer-qt4/libqglviewer-qt4.a 
> debian/libqglviewer-qt4-dev/usr/lib/$(DEB_HOST_MULTIARCH)
> +     cp -d debian/tmp/usr/lib/*.so 
> debian/libqglviewer-qt4-dev/usr/lib/$(DEB_HOST_MULTIARCH)
> +     cp -d debian/tmp/usr/lib/*.prl 
> debian/libqglviewer-qt4-dev/usr/lib/$(DEB_HOST_MULTIARCH)
> +     cp -d 
> debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qt4/plugins/designer/libqglviewerplugin.so
>  
> debian/libqglviewer-qt4-dev/usr/lib/$(DEB_HOST_MULTIARCH)/qt4/plugins/designer
>  
>       cp -dr debian/tmp/usr/include/QGLViewer 
> debian/libqglviewer-dev-common/usr/include
>  
> diff -u libqglviewer-2.3.4/debian/patches/00list 
> libqglviewer-2.3.4/debian/patches/00list
> --- libqglviewer-2.3.4/debian/patches/00list
> +++ libqglviewer-2.3.4/debian/patches/00list
> @@ -3,2 +3,4 @@
>  03only-headers-in-include-dir
> +04glu-include
> +05glu-link
>  99compile-examples
> only in patch2:
> unchanged:
> --- libqglviewer-2.3.4.orig/debian/patches/04glu-include.dpatch
> +++ libqglviewer-2.3.4/debian/patches/04glu-include.dpatch
> @@ -0,0 +1,32 @@
> +#! /bin/sh /usr/share/dpatch/dpatch-run
> +## 04glu-include.dpatch by Felix Geyer <[email protected]>
> +##
> +## All lines beginning with `## DP:' are a description of the patch.
> +## DP: No description.
> +
> +@DPATCH@
> +
> +diff -Nur libqglviewer-2.3.4.org/QGLViewer/camera.cpp 
> libqglviewer-2.3.4/QGLViewer/camera.cpp
> +--- libqglviewer-2.3.4.org/QGLViewer/camera.cpp
> ++++ libqglviewer-2.3.4/QGLViewer/camera.cpp
> +@@ -24,6 +24,8 @@
> + #include "camera.h"
> + #include "qglviewer.h"
> + 
> ++#include <GL/glu.h>
> ++
> + using namespace std;
> + using namespace qglviewer;
> + 
> +diff -Nur libqglviewer-2.3.4.org/QGLViewer/qglviewer.cpp 
> libqglviewer-2.3.4/QGLViewer/qglviewer.cpp
> +--- libqglviewer-2.3.4.org/QGLViewer/qglviewer.cpp
> ++++ libqglviewer-2.3.4/QGLViewer/qglviewer.cpp
> +@@ -58,6 +58,8 @@
> + # define value data
> + #endif
> + 
> ++#include <GL/glu.h>
> ++
> + using namespace std;
> + using namespace qglviewer;
> + 
> only in patch2:
> unchanged:
> --- libqglviewer-2.3.4.orig/debian/patches/05glu-link.dpatch
> +++ libqglviewer-2.3.4/debian/patches/05glu-link.dpatch
> @@ -0,0 +1,20 @@
> +#! /bin/sh /usr/share/dpatch/dpatch-run
> +## 05glu-link.dpatch by Felix Geyer <[email protected]>
> +##
> +## All lines beginning with `## DP:' are a description of the patch.
> +## DP: No description.
> +
> +@DPATCH@
> +
> +diff -Nur libqglviewer-2.3.4.org/QGLViewer/QGLViewer.pro 
> libqglviewer-2.3.4/QGLViewer/QGLViewer.pro
> +--- libqglviewer-2.3.4.org/QGLViewer/QGLViewer.pro
> ++++ libqglviewer-2.3.4/QGLViewer/QGLViewer.pro
> +@@ -131,6 +131,8 @@
> +     QMAKE_LIBS_OPENGL *= -lglut
> +   }
> + 
> ++  QMAKE_LIBS_OPENGL *= -lGLU
> ++
> +   MOC_DIR = .moc
> +   OBJECTS_DIR = .obj
> + 




-- 
Artur R. Czechowski <[email protected]>
JID: [email protected]  http://hell.pl/arturcz

Attachment: signature.asc
Description: Digital signature

Reply via email to