Package: vtk6
Version: 6.1.0+dfsg-8
Severity: normal
Tags: patch

Dear Maintainer,

Please consider switching to Qt5 only. Patch is attached and also pushed
to team repo, into qt5 branch.

Regards,

Dimitri.

>From 61c977246c56c2ede45080187021d64134c38ab4 Mon Sep 17 00:00:00 2001
From: Dimitri John Ledkov <x...@ubuntu.com>
Date: Wed, 16 Jul 2014 10:59:43 +0100
Subject: [PATCH] Switch vtk6 to Qt5.

---
 debian/changelog | 6 ++++++
 debian/control   | 7 ++++---
 debian/rules     | 1 +
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9037d4b..218548e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+vtk6 (6.1.0+dfsg-9) UNRELEASED; urgency=medium
+
+  * Switch vtk6 to Qt5.
+
+ -- Dimitri John Ledkov <x...@ubuntu.com>  Wed, 16 Jul 2014 10:56:17 +0100
+
 vtk6 (6.1.0+dfsg-8) unstable; urgency=medium
 
   * [f813911] Add libxdmf-dev to Depends of libvtk6-dev.
diff --git a/debian/control b/debian/control
index dac4f93..a108858 100644
--- a/debian/control
+++ b/debian/control
@@ -38,9 +38,10 @@ Build-Depends:
  libosmesa6-dev,
  libpng-dev,
  libpq-dev,
- libqt4-dev,
- libqt4-opengl-dev,
- libqtwebkit-dev,
+ qtbase5-dev,
+ libqt5webkit5-dev,
+ libqt5opengl5-dev,
+ qttools5-private-dev,
  libsqlite3-dev,
  libswscale-dev,
  libtheora-dev,
diff --git a/debian/rules b/debian/rules
index 7470254..d84ab44 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,6 +35,7 @@ extra_flags +=  \
 	-DVTK_Group_Qt=ON \
 	-DVTK_Group_Tk=ON \
 	-DVTK_Group_Views=ON \
+	-DVTK_QT_VERSION=5 \
 	-DVTK_BUILD_ALL_MODULES=ON \
 	-DMPI_CXX_INCLUDE_PATH="/usr/include/mpi" \
 	-DVTK_INSTALL_LIBRARY_DIR="/usr/lib/$(DEB_HOST_MULTIARCH)" \
-- 
2.0.1

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to