Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556832 - sci-visualization/scidavis new qtiplot fork
Summary: sci-visualization/scidavis new qtiplot fork
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Andrew Ammerlaan
URL: https://github.com/highperformancecod...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2015-08-06 11:02 UTC by Pacho Ramos
Modified: 2021-05-23 12:50 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for dev-pyhon/pygsl-2.3.0 (pygsl-2.3.0.ebuild,724 bytes, text/plain)
2017-12-09 15:13 UTC, Helmut Jarausch
Details
ebuild for sci-visualization/scidavis-1.22 (scidavis-1.22.ebuild,1.98 KB, text/plain)
2017-12-09 15:14 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2015-08-06 11:02:25 UTC
It looks like the development of this qtiplot fork that doesn't require so many KDE depends has resumed for one year or so:
http://scidavis.sourceforge.net/

Maybe it would be interesting to try to package it 

Thanks a lot
Comment 2 Helmut Jarausch 2017-12-09 15:13:17 UTC
Created attachment 509094 [details]
ebuild for dev-pyhon/pygsl-2.3.0

newer version of dev-python/pygsl which is compatible with sci-libs/gsl-2.x
Comment 3 Helmut Jarausch 2017-12-09 15:14:57 UTC
Created attachment 509096 [details]
ebuild for sci-visualization/scidavis-1.22
Comment 4 urcindalo 2017-12-13 11:46:31 UTC
(In reply to Helmut Jarausch from comment #3)
> Created attachment 509096 [details]
> ebuild for sci-visualization/scidavis-1.22

Thanks very much for your efforts.
Your pygsl-2.3.0 compiled just fine, but scidavis-1.22 fails this way:
===
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -std=c++0x -D_REENTRANT -Wall -W -fPIC -DSCRIPTING_CONSOLE -DSCRIPTING_DIALOG -DQT_PLUGIN -DTS_PATH=\"/usr/share/scidavis/translations\" -DDOC_PATH=\"/usr/share/doc/scidavis\" -DPLUGIN_PATH=\"/usr/lib/scidavis/plugins\" -DLEGACY_CODE_0_2_x -DSCRIPTING_MUPARSER -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/var/tmp/portage/sci-visualization/scidavis-1.22/homedir/usr/include -I/usr/include/qwtplot3d -I/usr/include/muParser -I../scidavis -Isrc -Isrc/future -I../tmp/scidavis -I. -o ../tmp/libscidavis/ImageMarker.o src/ImageMarker.cpp
In file included from src/ImageMarker.cpp:30:0:
src/ImageMarker.h:32:22: fatal error: qwt_plot.h: No such file or directory
 #include <qwt_plot.h>
                      ^
In file included from src/ArrowMarker.h:32:0,
                 from src/ArrowMarker.cpp:29:
src/PlotEnrichement.h:32:22: fatal error: qwt_plot.h: No such file or directory
 #include <qwt_plot.h>
                      ^
compilation terminated.
compilation terminated.
make[1]: *** [Makefile:2228: ../tmp/libscidavis/ArrowMarker.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:2232: ../tmp/libscidavis/ImageMarker.o] Error 1
src/TitlePicker.cpp:31:22: fatal error: qwt_plot.h: No such file or directory
 #include <qwt_plot.h>
                      ^
compilation terminated.
make[1]: *** [Makefile:2004: ../tmp/libscidavis/TitlePicker.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/sci-visualization/scidavis-1.22/work/scidavis-1.22/libscidavis'
make: *** [Makefile:45: sub-libscidavis-make_default-ordered] Error 2
===

qwt_plot.h was installed by x11-libs/qwt-6.1.3-r1 in /usr/include/qwt6/qwt_plot.h

I also have x11-libs/qwtplot3d-0.2.7-r2 installed.
Comment 5 Helmut Jarausch 2017-12-13 12:28:09 UTC
I have only x11-libs/qwt:5 installed here.
I try to install x11-libs/qwt:6, as well, and see what happens.
Comment 6 Helmut Jarausch 2017-12-13 13:11:28 UTC
(In reply to Helmut Jarausch from comment #5)
> I have only x11-libs/qwt:5 installed here.
> I try to install x11-libs/qwt:6, as well, and see what happens.

It still emerges fine here.

I only had to add


MAKEOPTS+=" -j1"


after  the RDEPEND block
Comment 7 Andreas Sturmlechner gentoo-dev 2017-12-17 23:45:13 UTC
Depending on dev-qt/qt3support:4 this point is simply awful. Is there any hope that upstream is porting to Qt5?
Comment 8 Andreas Sturmlechner gentoo-dev 2017-12-24 12:13:49 UTC
git master build system, still lists qt3support indeed...
Comment 9 Oliver Freyermuth 2018-04-12 14:15:24 UTC
Upstream is taking action on removing the qt3support-dependency right now:
https://github.com/highperformancecoder/scidavis/pull/67
Comment 10 urcindalo 2018-09-03 09:09:05 UTC
v1.23 was released on 2018-07-16.
Comment 11 Andreas Sturmlechner gentoo-dev 2019-05-30 08:37:24 UTC
(In reply to urcindalo from comment #10)
> v1.23 was released on 2018-07-16.

Still Qt4-based => impossible to add to repository.
Comment 12 Andrew Ammerlaan gentoo-dev 2020-10-26 13:29:12 UTC
> Still Qt4-based => impossible to add to repository.

Scidavis now works with Qt5, it is however still stuck at qwt-5

I've been working on some ebuilds for this today and yesterday and made a PR to the science overlay: https://github.com/gentoo/sci/pull/984 

After some fiddling and patching it is working just fine for me.
Comment 13 Larry the Git Cow gentoo-dev 2020-11-08 12:19:23 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=95237a8720b367c230480d89cddb4bafd207d9a8

commit 95237a8720b367c230480d89cddb4bafd207d9a8
Author:     Andrew Ammerlaan <andrewammerlaan@riseup.net>
AuthorDate: 2020-11-08 12:19:02 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@riseup.net>
CommitDate: 2020-11-08 12:19:02 +0000

    sci-visualization/scidavis: Scientific Data Analysis and Visualization
    
    Bug: https://bugs.gentoo.org/556832
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>

 sci-visualization/scidavis/Manifest                |  1 +
 .../scidavis/files/scidavis-build.patch            | 39 +++++++++
 .../scidavis/files/scidavis-tests.patch            | 10 +++
 sci-visualization/scidavis/metadata.xml            | 24 ++++++
 sci-visualization/scidavis/scidavis-2.3.0.ebuild   | 93 ++++++++++++++++++++++
 5 files changed, 167 insertions(+)
Comment 14 Larry the Git Cow gentoo-dev 2020-11-09 13:22:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/sci.git/commit/?id=f068dc7864dfae7b572dade8744da359f9767a12

commit f068dc7864dfae7b572dade8744da359f9767a12
Author:     Andrew Ammerlaan <andrewammerlaan@riseup.net>
AuthorDate: 2020-10-26 12:12:49 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2020-11-09 13:22:31 +0000

    sci-visualization/scidavis: Qt5 data visualizer and analyzer
    
    Requires new deps qwtplot3d and qwt5-qt5(packaged as qwt:5)
    
    Reported-by: Helmut Jarausch, urcindalo, Oliver Freyermuth
    Closes: https://bugs.gentoo.org/556832
    Closes: https://github.com/gentoo/sci/pull/984
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
    Signed-off-by: Benda Xu <heroxbd@gentoo.org>

 sci-visualization/scidavis/Manifest                |  1 +
 .../scidavis/files/scidavis-build.patch            | 39 +++++++++
 .../scidavis/files/scidavis-tests.patch            | 10 +++
 sci-visualization/scidavis/metadata.xml            | 24 ++++++
 sci-visualization/scidavis/scidavis-2.3.0.ebuild   | 93 ++++++++++++++++++++++
 5 files changed, 167 insertions(+)
Comment 15 Andrew Ammerlaan gentoo-dev 2021-05-23 12:50:30 UTC
This has now been moved to ::gentoo 
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9fa805e47c117ce5554e13c9d2a578a97a45c22
(forgot to link this bug)