Bug#874853: [cmtk] Future Qt4 removal from Buster

2019-11-11 Thread Andreas Tille
Done.  Thanks for the patch, Andreas.

On Sun, Nov 10, 2019 at 11:09:12PM +0100, Moritz Mühlenhoff wrote:
> 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.0 
> +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.0 
> +0100
> +++ cmtk-3.3.1p1+dfsg/debian/rules2019-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 \
> 


-- 
http://fam-tille.de



Bug#874853: [cmtk] Future Qt4 removal from Buster

2019-11-10 Thread Moritz Mühlenhoff
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.0 +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.0 +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 \



Bug#874853: [cmtk] Future Qt4 removal from Buster

2019-10-31 Thread Torsten Rohlfing
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.

Am Do., 31. Okt. 2019 um 15:57 Uhr schrieb Moritz Mühlenhoff :

> On Sat, Sep 09, 2017 at 09:03:16PM +0200, Lisandro Damián Nicanor Pérez
> Meyer wrote:
> > Source: cmtk
> > Version: 3.3.1-1.2
> > Severity: wishlist
> > User: debian-qt-...@lists.debian.org
> > Usertags: qt4-removal
> >
> >
> > Hi! As you might know we the Qt/KDE team are preparing to remove Qt4
> > as [announced] in:
> >
> > [announced] <
> https://lists.debian.org/debian-devel-announce/2017/08/msg6.html>
> >
> > Currently Qt4 has been dead upstream and we are starting to have problems
> > maintaining it, like for example in the [OpenSSL 1.1 support] case.
> >
> > [OpenSSL 1.1 support] <
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828522>
> >
> > In order to make this move, all packages directly or indirectly
> depending on
> > the Qt4 libraries have to either get ported to Qt5 or eventually get
> > removed from the Debian repositories.
> >
> > Therefore, please take the time and:
> > - contact your upstream (if existing) and ask about the state of a Qt5
> > port of your application
> > - if there are no activities regarding porting, investigate whether
> there are
> > suitable alternatives for your users
> > - if there is a Qt5 port that is not yet packaged, consider packaging it
> > - if both the Qt4 and the Qt5 versions already coexist in the Debian
> > archives, consider removing the Qt4 version
>
> 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?
>
> Cheers,
> Moritz
>
>
>


Bug#874853: [cmtk] Future Qt4 removal from Buster

2019-10-31 Thread Moritz Mühlenhoff
On Sat, Sep 09, 2017 at 09:03:16PM +0200, Lisandro Damián Nicanor Pérez Meyer 
wrote:
> Source: cmtk
> Version: 3.3.1-1.2
> Severity: wishlist
> User: debian-qt-...@lists.debian.org
> Usertags: qt4-removal
> 
> 
> Hi! As you might know we the Qt/KDE team are preparing to remove Qt4
> as [announced] in:
> 
> [announced] 
> 
> 
> Currently Qt4 has been dead upstream and we are starting to have problems
> maintaining it, like for example in the [OpenSSL 1.1 support] case.
> 
> [OpenSSL 1.1 support] 
> 
> 
> In order to make this move, all packages directly or indirectly depending on
> the Qt4 libraries have to either get ported to Qt5 or eventually get
> removed from the Debian repositories.
> 
> Therefore, please take the time and:
> - contact your upstream (if existing) and ask about the state of a Qt5
> port of your application
> - if there are no activities regarding porting, investigate whether there are
> suitable alternatives for your users
> - if there is a Qt5 port that is not yet packaged, consider packaging it
> - if both the Qt4 and the Qt5 versions already coexist in the Debian
> archives, consider removing the Qt4 version

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?

Cheers,
Moritz