On Thu, Oct 31, 2019 at 08:11:31PM -0700, Torsten Rohlfing wrote:
> > There hasn't been any followup on this bug since two years and we're now
> > moving
> > forward with the Qt4 removal, are the immediate plans to port cmtk to Qt5
> > or
> > should we remove it from the archive?
> >
> No plans for Qt5 whatsoever.
>
> The only thing to note here is that Qt is actually optional for the vast
> majority of CMTK's tools. The package config could probably be changed to
> build without GUI support, which would remove the dependency on Qt.
I'm attaching a patch which disables the GUI tools in the package build.
Cheers,
Moritz
diff -aur cmtk-3.3.1p1+dfsg.orig/debian/control cmtk-3.3.1p1+dfsg/debian/control
--- cmtk-3.3.1p1+dfsg.orig/debian/control 2019-01-25 09:24:56.000000000 +0100
+++ cmtk-3.3.1p1+dfsg/debian/control 2019-11-10 22:43:57.518788563 +0100
@@ -13,8 +13,6 @@
libbz2-dev,
libfftw3-dev,
liblzma-dev,
- libqt4-dev,
- qt4-qmake,
libpng-dev,
libtiff-dev | libtiff4-dev,
libwrap0-dev,
diff -aur cmtk-3.3.1p1+dfsg.orig/debian/rules cmtk-3.3.1p1+dfsg/debian/rules
--- cmtk-3.3.1p1+dfsg.orig/debian/rules 2019-01-25 09:24:56.000000000 +0100
+++ cmtk-3.3.1p1+dfsg/debian/rules 2019-11-10 22:48:57.444774239 +0100
@@ -38,7 +38,7 @@
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DBUILD_APPS:BOOL=ON \
-DBUILD_DOCUMENTATION:BOOL=OFF \
- -DBUILD_GUI:BOOL=ON \
+ -DBUILD_GUI:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DBUILD_TESTING:BOOL=$(TESTING) \
-DCMTK_BUILD_DCMTK:BOOL=OFF \
@@ -49,7 +49,7 @@
-DCMTK_ROOT_PATH_SRI24:PATH=/usr/share/data/sri24-atlas \
-DCMTK_USE_DCMTK:BOOL=ON \
-DCMTK_USE_FFTW:BOOL=ON \
- -DCMTK_USE_QT:BOOL=ON \
+ -DCMTK_USE_QT:BOOL=OFF \
-DCMTK_USE_SMP:BOOL=ON \
-DCMTK_USE_SQLITE:BOOL=ON \
-DDART_TESTING_TIMEOUT:STRING=15000 \