tags 935348 patch
thanks
On Mon, Sep 30, 2019 at 10:13:00PM +0200, Moritz Mühlenhoff wrote:
> On Wed, Aug 21, 2019 at 11:03:35PM +0300, Dmitry Shachnev wrote:
> > Source: nfs-ganesha
> > Version: 2.7.6-1
> > Severity: important
> > User: debian-qt-...@lists.debian.org
> > Usertags: qt4-removal
> >
> > Hi!
> >
> > As you might know, we the Qt/KDE team are going to remove Qt 4 in Bullseye
> > cycle, as announced in [1].
> >
> > 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.
> >
> > Your package still uses Qt 4, via the Python bindings (PyQt4).
> >
> > Therefore, please take the time and:
> >
> > - contact your upstream (if existing) and ask about the state of a Qt 5 /
> > PyQt5 port of your application;
> > - if there are no activities regarding porting, investigate whether there
> > are
> > suitable alternatives for your users;
> > - if there is a Qt 5 port that is not yet packaged, consider packaging it;
> > - if both the Qt 4 and the Qt 5 versions already coexist in the Debian
> > archives, consider removing the Qt 4 version.
>
> This only affects the python-nfs-ganesha binary package, how about temporarily
> dropping it until this has been fixed upstream? There are no reverse
> dependencies
> in the archive.
Patch attached. This also resolves #937137 which is blocking the removal of some
other Python 2 components.
Cheers,
Moritz
diff -Naur nfs-ganesha-2.7.6.orig/debian/control nfs-ganesha-2.7.6/debian/control
--- nfs-ganesha-2.7.6.orig/debian/control 2019-07-25 12:04:06.0 +0200
+++ nfs-ganesha-2.7.6/debian/control 2019-11-20 12:35:22.810901438 +0100
@@ -28,12 +28,7 @@
libglusterfs-dev (>= 4.1.0),
librgw-dev,
libcephfs-dev,
- python-dev,
- dh-python,
dh-systemd,
- python-qt4,
- python-sphinx,
- pyqt4-dev-tools,
pkgconf
Vcs-Git: https://salsa.debian.org/debian/nfs-ganesha.git
Vcs-Browser: https://salsa.debian.org/debian/nfs-ganesha
@@ -173,24 +168,6 @@
HPSS, LUSTRE, XFS and ZFS.
This package contains a library for a FSAL_GPFS and conf files.
-Package: python-nfs-ganesha
-Pre-Depends: ${misc:Pre-Depends}
-Architecture: all
-Section: python
-Provides: ${python:Provides}
-Depends: python-dbus,
- python-qt4,
- ${misc:Depends},
- ${python:Depends},
- ${shlibs:Depends}
-Description: Python bindings for nfs-ganesha
- NFS-GANESHA is a NFS Server running in user space with a large cache.
- It comes with various backend modules to support different file systems
- and namespaces. Supported name spaces are POSIX, PROXY, SNMP, FUSE-like,
- HPSS, LUSTRE, XFS and ZFS.
- .
- This package contains Python bindings for nfs-ganesha admin
-
Package: nfs-ganesha-doc
Architecture: all
Section: doc
diff -Naur nfs-ganesha-2.7.6.orig/debian/python-nfs-ganesha.install nfs-ganesha-2.7.6/debian/python-nfs-ganesha.install
--- nfs-ganesha-2.7.6.orig/debian/python-nfs-ganesha.install 2019-07-25 12:04:06.0 +0200
+++ nfs-ganesha-2.7.6/debian/python-nfs-ganesha.install 1970-01-01 01:00:00.0 +0100
@@ -1 +0,0 @@
-usr/lib/python*/site-packages
diff -Naur nfs-ganesha-2.7.6.orig/debian/rules nfs-ganesha-2.7.6/debian/rules
--- nfs-ganesha-2.7.6.orig/debian/rules 2019-07-25 12:04:06.0 +0200
+++ nfs-ganesha-2.7.6/debian/rules 2019-11-20 12:35:11.707459685 +0100
@@ -14,7 +14,7 @@
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
%:
- dh $@ --with python2,systemd
+ dh $@ --with systemd
override_dh_auto_configure:
cd src && ln -s ../debian .
@@ -35,7 +35,7 @@
-DUSE_9P_RDMA=NO \
-DUSE_LTTNG=YES \
-DUSE_ADMIN_TOOLS=YES \
- -DUSE_GUI_ADMIN_TOOLS=YES \
+ -DUSE_GUI_ADMIN_TOOLS=NO \
-DUSE_RADOS_RECOV=NO \
-DRADOS_URLS=NO \
-DUSE_FSAL_VFS=ON \