Replies: 8 comments 19 replies
-
On Wed, Mar 24, 2021 at 01:11:33PM -0700, alxpl wrote:
Hello everyone,
It's been a while since I last built a development snapshot of SciDAVis and
there have been a lot of changes since the 2.3.0 release (which is really good
for the project). I think I might find a couple of hours to run some tests this
weekend (as it turns out PhDs really do take up a lot of one's time), so that I
don't botch the Fedora updates whenever a new release appears. Is anyone using
a build system that builds rpms and contains recent builds? Unless I'm looking
at the wrong place, the most recent rpm-related change in Russel's OBS project
page is from 8 months ago.
Yeah, no sorry - I haven't updated the OBS project for the new cmake
build process.
At the moment, I am stuck on getting the MacOSX build to work - it
works on a developer machine, but as soon as I rewrite the executables
and dylibs to refer to the locally packages dylibs, it core dumps,
right when opening the QtSettings file.
Alternatively, could someone take a look at the current dependencies in my spec
file and tell me off the top of their head what is obsolete?
Basically you should remove liborigin-devel, qwt5-qt5-devel and
qwtplot3d-qt5-devel, and instead using the git submodule system to
build and include the pacthed versions of these libraries. This works
with the cmake system - which is the way forward. Building by qmake is
like to break any time soon, if not already broken.
I think I updated the building page on github with instructions how to do that.
… These are the dependencies of the main package:
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: python3
BuildRequires: desktop-file-utils
BuildRequires: gsl-devel
BuildRequires: liborigin-devel
BuildRequires: mesa-libGLU-devel
BuildRequires: muParser-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qwt5-qt5-devel
BuildRequires: qwtplot3d-qt5-devel
BuildRequires: python3-sip-devel
BuildRequires: python3-pyqt5-sip
BuildRequires: qt5-qtsvg-devel
BuildRequires: qt5-linguist
BuildRequires: zlib-devel
BuildRequires: libappstream-glib
# required for the tests, enable when building locally
#BuildRequires: xorg-x11-server-Xvfb
#BuildRequires: unittest-cpp-devel
#BuildRequires: boost-devel
Requires: python3-qt5
Requires: hicolor-icon-theme
Requires: kde-filesystem
Recommends: python3-%{name}
the python3 module depends on python3-devel and python3-qt5-devel, but as far
as I can tell, these won't require any changes.
If nobody can spare the cycles, that's ok, I think I'll figure things out by
myself eventually.
All the best,
A.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.*
--
----------------------------------------------------------------------------
Dr Russell Standish Phone 0425 253119 (mobile)
Principal, High Performance Coders ***@***.***
http://www.hpcoders.com.au
----------------------------------------------------------------------------
|
Beta Was this translation helpful? Give feedback.
-
On Wed, Mar 24, 2021 at 05:15:32PM -0700, alxpl wrote:
Hello Russel,
Thanks for the update.
Basically you should remove liborigin-devel, qwt5-qt5-devel and
qwtplot3d-qt5-devel, and instead using the git submodule system to
build and include the pacthed versions of these libraries. This works
with the cmake system - which is the way forward. Building by qmake is
like to break any time soon, if not already broken.
I don't think that's going to work in Fedora and probably other distributions,
unless I don't fully grasp how submodules work. As far as I can tell our build
systems do not get internet access during build time and everything has to be
declared in the spec file (and be part of the distribution). Bundling
libraries, though no longer completely forbidden, is still discouraged.
Besides, I'm the also the maintainer of two out of these three packages, so it
doesn't complicate things any further for me at least, to update all the
packages at once. However, modifying them with SciDAVis specific code is a
whole different beast…
a) SciDAVis can be built against system installed libraries via CMAKE options
b) The tarballs for official releases will contain the checked-out submodule directories, when I finally get around to finishing a release.
Both liborigin and qwt5-qt5 are Miquel Agueda's projects, and
considerably forked from mainstream qwt, and maybe liborigin too. But
even those repos have been forked for SciDAVis specific fixes. You
could merge upstream, I suppose, but its a lot of extra work, and
particularly the qwt5-qt5 and qwplot3d-qt5 projects are really just for
supporting SciDAVis only, AFAICT.
I think I updated the building page on github with instructions how to do
that.
This one?
Don't know - there's no URL here...
…--
----------------------------------------------------------------------------
Dr Russell Standish Phone 0425 253119 (mobile)
Principal, High Performance Coders ***@***.***
http://www.hpcoders.com.au
----------------------------------------------------------------------------
|
Beta Was this translation helpful? Give feedback.
-
On Thu, Mar 25, 2021 at 12:52:42AM -0700, alxpl wrote:
a) SciDAVis can be built against system installed libraries via CMAKE
options
That's good to know. As long as it's only the build time dependencies, there's
some wiggle room to get things working.
Miguel has been contributing directly to liborigin upstream and given Qwt's
development state, it was relatively easy to get the qwt5-qt5 fork accepted and
packaged in Fedora. I may have to bother qwplot3d's maintainer at some point,
but everything seems doable so far.
I was asking about this page:
https://github.com/highperformancecoder/scidavis/blob/master/INSTALL.md
Ah, yes - that still refers to the old qmake method. It needs to be updated, but cmake is a pretty simple system to find your way around. Any questions, please post here - there's a few people around bulding from source code.
…
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.*
--
----------------------------------------------------------------------------
Dr Russell Standish Phone 0425 253119 (mobile)
Principal, High Performance Coders ***@***.***
http://www.hpcoders.com.au
----------------------------------------------------------------------------
|
Beta Was this translation helpful? Give feedback.
-
Earlier today Stefan Gerlach merged the commits in the liborigin submodule with the upstream repository, so there's no need for it right now. Since there are other consumers of liborigin, such as LabPlot, it would be a good idea to push changes directly upstream and avoid needless forking and fragmentation. Last night I built the latest snapshot of qwt5-qt5, tonight I'm going to work on liborigin and SciDAVis, so hopefully sometime tomorrow I will submit the 2.4.0 update to Fedora repositories. |
Beta Was this translation helpful? Give feedback.
-
Sigh - I see what you mean. I thought these repos that Chinoune had
been github forked, so that it would make it easier to issue pull
requests on the the original repo.
But I now see they've been forked forked, with not connection to the original.
Could you please tell me what are the official forks of liborigin,
qwt5-qt5 and qwtplot3d, and I'll try to see if I can establish a
connection to allow pushing changes upstream.
Cheers
…On Sat, May 08, 2021 at 01:25:57PM -0700, alxpl wrote:
Earlier today Stefan Gerlach merged the commits in the liborigin submodule with
the upstream repository, so there's no need for it right now. Since there are
other consumers of liborigin, such as LabPlot, it would be a good idea to push
changes directly upstream and avoid needless forking and fragmentation.
Last night I built the latest snapshot of qwt5-qt5, tonight I'm going to work
on liborigin and SciDAVis, so hopefully sometime tomorrow I will submit the
2.4.0 update to Fedora repositories.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.*
--
----------------------------------------------------------------------------
Dr Russell Standish Phone 0425 253119 (mobile)
Principal, High Performance Coders ***@***.***
http://www.hpcoders.com.au
----------------------------------------------------------------------------
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the info. I will look at these, and attempt to "derive" the
versions used by SciDAVis from those version, to enable pushing
changes upstream. For liborigin and qwt-qt5 at least - qwtplot3d looks
like it is abandonware - I don't think we can do anything here.
Cheers
…On Sun, May 09, 2021 at 03:45:00AM -0700, alxpl wrote:
• liborigin:
https://sourceforge.net/projects/liborigin/
Miquel and Stefan are the people working on it at the moment and its
development has been following that of SciDAVis and LabPlot.
• qwt5-qt5 was forked off the last maintenance release of the Qwt 5.x branch,
5.2.3, by Miquel. I've seen other distributions package it as well, mostly
in order to build SciDAVis, so until there's a migration to a newer version
of Qwt, for all intents and purposes, Miquel's repo is the upstream source:
https://github.com/gbm19/qwt5-qt5
• qwtplot3d hasn't seen an update since 2007 and it has been a pain for
package maintainers to keep around and build with Qt5. It's download page
lists a 0.3.0 version, but there's nothing more recent than 0.2.7:
http://qwtplot3d.sourceforge.net/
I've seen people replace it with functionality from Qt's own Qt Data
Visualization module:
https://doc.qt.io/qt-5/qtdatavisualization-index.html
That includes a fork of SciDAVis, AlphaPlot:
***@***.***
In Fedora, the only other package that depends on qwtplot3d is COPASI and
it looks like they are (very slowly) moving away from it too.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.*
--
----------------------------------------------------------------------------
Dr Russell Standish Phone 0425 253119 (mobile)
Principal, High Performance Coders ***@***.***
http://www.hpcoders.com.au
----------------------------------------------------------------------------
|
Beta Was this translation helpful? Give feedback.
-
If we can avoid the move to Qwt6 by using this new library, lets go for it.
I already have had one attempt at Qwt6 migration, and I know it is a
big and horrible job, given just how many C++ conventions are broken
by that library.
…On Mon, May 10, 2021 at 12:33:44AM -0700, Suthiro wrote:
@narunlifescience thank you for answering! QCustomPlot is a great library, it
founds usage it in my projects extensively. Do I understand right that you have
dropped qwt/qwtplot3d completely?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.*
--
----------------------------------------------------------------------------
Dr Russell Standish Phone 0425 253119 (mobile)
Principal, High Performance Coders ***@***.***
http://www.hpcoders.com.au
----------------------------------------------------------------------------
|
Beta Was this translation helpful? Give feedback.
-
On Fri, May 14, 2021 at 12:25:57PM -0700, Suthiro wrote:
@narunlifescience I'm sure that it is much simpler to integrate changes from
AlphaPlot to SciDAVis than vice versa. Also, SciDAVis already has support for
SciDAVis files, and, as you stated, SciDAVis has large user base and AlphaPlot
doesn't. Not to mention that SciDAVis is updated more or less regular and has
more active developers right now. So it would be really great if you would
reintegrate your amazing efforts into upstream. I could help with that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.*
From my perspective, I responded to Tilman Benkert's request for
someone to take over SciDAVis thinking that it might help me brush up
my Qt chops. To a certain extent that has happened, but things have
panned out quite differently, and I'm now unlikely to really do much
Qt work other than on SciDAVis. I'm much more likely to need
Javascript UI skills in future projects.
I've also not really found a use for SciDAVis for my own plotting
needs - it lacks in publication quality output, and also does not
scale well to large datasets. I have found I continue to use and
invest in GNUplot, which being command line driven, performs extremely
well on those points. The former issue (publication quality output)
could be easily enough addressed, of course, the latter about dataset
size scalability can never be - it is a limitation to having a
spreadsheet built into a plotting library.
Nevertheless, I'm committed as ever to not letting SciDAVis "wither on
the vine". It has proved an interesting exercise in managing a
moderately large legacy codebase, and in managing an open source
multinational community.
As for comments on whether AlphaPlot should be merged into SciDAVis or
AlphaPlot become the new SciDAVis, I am quite open to either
possibility. SciDAVis does have quite a large user community, and that
has value. But the value really is in the brand name, not the code,
which is large, crufty (due in no small part to a failed "aspect
oriented" redesign) and relying on out-of-date libraries. It was quite
a struggle to get it rejigged for Python 3 and Qt5 (still not quite
there on Macs), and there is substantial effort required to move to
Qwt6.
Cheers
…--
----------------------------------------------------------------------------
Dr Russell Standish Phone 0425 253119 (mobile)
Principal, High Performance Coders ***@***.***
http://www.hpcoders.com.au
----------------------------------------------------------------------------
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
It's been a while since I last built a development snapshot of SciDAVis and there have been a lot of changes since the 2.3.0 release (which is really good for the project). I think I might find a couple of hours to run some tests this weekend (as it turns out PhDs really do take up a lot of one's time), so that I don't botch the Fedora updates whenever a new release appears. Is anyone using a build system that builds rpms and contains recent builds? Unless I'm looking at the wrong place, the most recent rpm-related change in Russel's OBS project page is from 8 months ago.
Alternatively, could someone take a look at the current dependencies in my spec file and tell me off the top of their head what is obsolete?
These are the dependencies of the main package:
the python3 module depends on python3-devel and python3-qt5-devel, but as far as I can tell, these won't require any changes.
If nobody can spare the cycles, that's ok, I think I'll figure things out by myself eventually.
All the best,
A.
Beta Was this translation helpful? Give feedback.
All reactions