Bug#979306: QVTKOpenGLWidget.h: No such file or directory

2021-01-28 Thread Drew Parsons
Package: libvtk9-qt-dev
Version: 9.0.1+dfsg1-8
Followup-For: Bug #979306

As far as avogadrolibs goes, replacing QVTKOpenGLWidget with
QVTKOpenGLStereoWidget seems to be sufficient to remove the
deprecated function (though it will also need help to find
/usr/include/vtk-9.0/).

However I suggest nevertheless that QVTKOpenGLWidget.h should still be
provided by libvtk9-qt-dev.  It's deprecated,
https://vtk.org/doc/nightly/html/classQVTKOpenGLWidget.html, but that
doesn't mean it's eliminated yetx.

The point of the deprecated functions is provide client applications
notification and time to upgrade to the new API. So the header still
needs to be provided by libvtk9-qt-dev in order to achieve that.

Doesn't the upstream build system still install the deprecated header?

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

Bug#979306: QVTKOpenGLWidget.h: No such file or directory

2021-01-07 Thread Drew Parsons

On 2021-01-08 05:48, Anton Gladky wrote:

Hi Drew,

this header is according to documentation deprecated.
I tried to use the proposed header, but some more changes
in the code are needed.

Please verify it and close the bug, if nothing more can be done
on vtk9 side.



Thanks for checking it, Anton.  I'll work with the avogadrolibs 
developers to get the code updated in that case.
I'll inspect more closely and then close the bug (or transfer it to 
avogadrolibs)



Drew

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

Bug#979306: QVTKOpenGLWidget.h: No such file or directory

2021-01-07 Thread Anton Gladky
Hi Drew,

this header is according to documentation deprecated.
I tried to use the proposed header, but some more changes
in the code are needed.

Please verify it and close the bug, if nothing more can be done
on vtk9 side.

Regards

Anton

Am Di., 5. Jan. 2021 um 23:49 Uhr schrieb Drew Parsons :
>
> Hi Anton, I've pushed avogadrolibs to salsa master,
> https://salsa.debian.org/debichem-team/avogadrolibs

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

Bug#979306: QVTKOpenGLWidget.h: No such file or directory

2021-01-05 Thread Drew Parsons

Hi Anton, I've pushed avogadrolibs to salsa master,
https://salsa.debian.org/debichem-team/avogadrolibs

On 2021-01-06 07:00, Anton Gladky wrote:

Hi Drew,

could you please push the version of avogadrolibs which your working on
into the git? So I could probably test it against newer vtk9. Thanks.

Regards

Anton

Am Di., 5. Jan. 2021 um 05:09 Uhr schrieb Drew Parsons 
:


Package: libvtk9-qt-dev
Version: 9.0.1+dfsg1-6
Severity: normal

This is another report from trying to build avogadrolibs against VTK9
(Build-Depends: libvtk9-qt-dev), following on from Bug#979073
(thanks for configuring RenderingContextOpenGL2).


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

Bug#979306: QVTKOpenGLWidget.h: No such file or directory

2021-01-05 Thread Anton Gladky
Hi Drew,

could you please push the version of avogadrolibs which your working on
into the git? So I could probably test it against newer vtk9. Thanks.

Regards

Anton

Am Di., 5. Jan. 2021 um 05:09 Uhr schrieb Drew Parsons :
>
> Package: libvtk9-qt-dev
> Version: 9.0.1+dfsg1-6
> Severity: normal
>
> This is another report from trying to build avogadrolibs against VTK9
> (Build-Depends: libvtk9-qt-dev), following on from Bug#979073
> (thanks for configuring RenderingContextOpenGL2).

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

Bug#979306: QVTKOpenGLWidget.h: No such file or directory

2021-01-04 Thread Drew Parsons
Package: libvtk9-qt-dev
Version: 9.0.1+dfsg1-6
Severity: normal

This is another report from trying to build avogadrolibs against VTK9
(Build-Depends: libvtk9-qt-dev), following on from Bug#979073
(thanks for configuring RenderingContextOpenGL2).

avogadrolibs is now emitting this build error:

  [ 37%] Building CXX object 
avogadro/vtk/CMakeFiles/AvogadroVtk.dir/vtkAvogadroActor.cxx.o
  cd /projects/debichem/build/avogadrolibs/obj-x86_64-linux-gnu/avogadro/vtk && 
/usr/bin/c++ -DAvogadroVtk_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG 
-DQT_WIDGETS_LIB 
-I/projects/debichem/build/avogadrolibs/obj-x86_64-linux-gnu/avogadro/vtk/AvogadroVtk_autogen/include
 -I/projects/debichem/build/avogadrolibs/obj-x86_64-linux-gnu 
-I/projects/debichem/build/avogadrolibs 
-I/projects/debichem/build/avogadrolibs/obj-x86_64-linux-gnu/avogadro/core 
-I/projects/debichem/build/avogadrolibs/obj-x86_64-linux-gnu/avogadro/io 
-I/projects/debichem/build/avogadrolibs/obj-x86_64-linux-gnu/avogadro/quantumio 
-I/projects/debichem/build/avogadrolibs/obj-x86_64-linux-gnu/avogadro/rendering 
-I/projects/debichem/build/avogadrolibs/obj-x86_64-linux-gnu/avogadro/qtgui 
-I/projects/debichem/build/avogadrolibs/obj-x86_64-linux-gnu/avogadro/qtopengl 
-I/projects/debichem/build/avogadrolibs/obj-x86_64-linux-gnu/avogadro/vtk 
-isystem /usr/include/eigen3 -isystem /usr/include/x86_64-linux-gnu/qt5 
-isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -isystem 
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -Wdate-time -D_FORTIFY_SOURCE=2 
-fPIC -g -O2 -fdebug-prefix-map=/projects/debichem/build/avogadrolibs=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -fPIC -fvisibility=hidden -fvisibility-inlines-hidden 
-fPIC -std=c++17 -o CMakeFiles/AvogadroVtk.dir/vtkAvogadroActor.cxx.o -c 
/projects/debichem/build/avogadrolibs/avogadro/vtk/vtkAvogadroActor.cxx
  In file included from 
/projects/debichem/build/avogadrolibs/avogadro/vtk/vtkAvogadroActor.cxx:17:
  /projects/debichem/build/avogadrolibs/avogadro/vtk/vtkAvogadroActor.h:21:10: 
fatal error: vtkActor.h: No such file or directory
 21 | #include 
|  ^~~~
  compilation terminated.
  In file included from 
/projects/debichem/build/avogadrolibs/obj-x86_64-linux-gnu/avogadro/vtk/AvogadroVtk_autogen/EWIEGA46WW/moc_vtkglwidget.cpp:10,
   from 
/projects/debichem/build/avogadrolibs/obj-x86_64-linux-gnu/avogadro/vtk/AvogadroVtk_autogen/mocs_compilation.cpp:2:
  
/projects/debichem/build/avogadrolibs/obj-x86_64-linux-gnu/avogadro/vtk/AvogadroVtk_autogen/EWIEGA46WW/../../../../../avogadro/vtk/vtkglwidget.h:22:10:
 fatal error: QVTKOpenGLWidget.h: No such file or directory
 22 | #include 
|  ^~~~
  compilation terminated.


We can ignore the vtkActor.h error for the purposes of this bug report.
vtkActor.h is provided by libvtk9-dev, I'll chase it up separately and
work out why avogadrolibs didn't find it. Perhaps libvtk9-dev needs
some fix somewhere like
/usr/lib/x86_64-linux-gnu/cmake/vtk-9.0/VTK-targets.cmake in order to
provide the include directory, or perhaps (and more likely)
avogadrolibs is not even asking cmake to find VTK the right way.

What I'm filing this bug for is the error on QVTKOpenGLWidget.h .
It is not provided by libvtk9-qt-dev.  The strange thing
though, is that it is referenced in the VTK9 build log:
  Generating code for file GUISupport/Qt/QVTKOpenGLWidget.h...
It is included in the docs. vtk9-doc provides
/usr/share/doc/vtk9/html/QVTKOpenGLWidget_8h.html

So there seems to be an inconsistency between libvtk9-qt-dev and
vtk9-doc.  Should libvtk9-qt-dev be providing QVTKOpenGLWidget.h ?
Does debian/libvtk9-qt-dev.install (if not libvtk9-qt.install) need to
be updated after adding RenderingContextOpenGL2?


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libvtk9-qt-dev depends on:
ii  libqt5opengl5-dev 5.15.2+dfsg-2
ii  libqt5webkit5-dev 5.212.0~alpha4-11
ii  libvtk9-dev   9.0.1+dfsg1-6
ii  libvtk9-qt9.0.1+dfsg1-6
ii  qtbase5-dev   5.15.2+dfsg-2
ii  qttools5-private-dev  5.15.2-3

libvtk9-qt-dev recommends no packages.

libvtk9-qt-dev suggests no packages.

-- no debconf information

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