Christophe Marin 2024-11-20 17:11:15 +00:00 committed by Git OBS Bridge
commit 6e2b22fb4c
13 changed files with 932 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,29 @@
From c1b7769c37c70d189d09d8dc104d0541433b58b6 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christophe@krop.fr>
Date: Wed, 12 May 2021 07:27:48 +0200
Subject: [PATCH] Fix build with CMake 3.20
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dfb3bf8..b7c75f0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -112,10 +112,10 @@ elseif(kst_3rdparty_download)
elseif(GCC_VERSION VERSION_EQUAL 4.7 OR GCC_VERSION VERSION_GREATER 4.7)
set(ver 4.7)
set(md5 de6e8dbab1bb17eee6057941fddc93e3)
- else(GCC_VERSION VERSION_EQUAL 4.6 OR GCC_VERSION VERSION_GREATER 4.6)
+ elseif(GCC_VERSION VERSION_EQUAL 4.6 OR GCC_VERSION VERSION_GREATER 4.6)
set(ver 4.6)
set(md5 70d8670af9c21eb8fb466654c95d8e4d)
- else(GCC_VERSION VERSION_GREATER 4.4)
+ elseif(GCC_VERSION VERSION_GREATER 4.4)
set(ver 4.4)
set(md5 999248fb40a44543af4dd4cd1be0ceeb)
else()
--
2.31.1

View File

@ -0,0 +1,33 @@
commit b438fb0d1c831cb8c024eb4dc644aeb5114074e6
Author: Christophe Giboudeaux <christophe@krop.fr>
Date: Sun Jun 3 19:43:34 2018 +0200
Fix build with Qt 5.11
qt5_use_modules was removed in Qt 5.11. use target_link_libraries instead.
diff --git a/cmake/modules/KstMacros.cmake b/cmake/modules/KstMacros.cmake
index 4ff9c151..bc3d8a6c 100644
--- a/cmake/modules/KstMacros.cmake
+++ b/cmake/modules/KstMacros.cmake
@@ -240,7 +240,7 @@ endmacro()
macro(kst_link)
target_link_libraries(${kst_name} ${ARGV})
if(kst_qt5)
- qt5_use_modules(${kst_name} Widgets Xml Network PrintSupport)
+ target_link_libraries(${kst_name} Qt5::Widgets Qt5::Xml Qt5::Network Qt5::PrintSupport)
else()
target_link_libraries(${kst_name}
${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTSVG_LIBRARY} ${QT_QTNETWORK_LIBRARY})
diff --git a/src/libkstapp/view.h b/src/libkstapp/view.h
index 95c8c6a5..2af53938 100644
--- a/src/libkstapp/view.h
+++ b/src/libkstapp/view.h
@@ -14,6 +14,7 @@
#define VIEW_H
#include <QGraphicsView>
+#include <QMenu>
#include "kst_export.h"

3
Kst-2.0.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cefbfd3e3710771985e08f02a397ef8ab407168fa8415d2c3c5740c031af18c6
size 14527129

7
_constraints Normal file
View File

@ -0,0 +1,7 @@
<constraints>
<hardware>
<disk>
<size unit="G">6</size>
</disk>
</hardware>
</constraints>

16
_service Normal file
View File

@ -0,0 +1,16 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://invent.kde.org/graphics/kst-plot.git</param>
<param name="revision">v2.1-2024-10-20</param>
<param name="versionformat">2.1.0</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual" />
</services>

View File

@ -0,0 +1,18 @@
Subject: Fix a header path
From: Antonio Larrosa <alarrosa@suse.com>
We install H5Cpp.h in /usr/include so we need to fix the include line.
Index: kst-plot/src/datasources/hdf5/hdf5.h
===================================================================
--- kst-plot.orig/src/datasources/hdf5/hdf5.h
+++ kst-plot/src/datasources/hdf5/hdf5.h
@@ -18,7 +18,7 @@
#include <dataplugin.h>
#include <QFileInfo>
-#include <hdf5/serial/H5Cpp.h>
+#include <H5Cpp.h>
#include <exception>
#include "debug.h"

204
gsl2-support.patch Normal file
View File

@ -0,0 +1,204 @@
From a9d24f91057441bbd2e3ed9e7536b071121526cb Mon Sep 17 00:00:00 2001
From: "D. V. Wiebe" <dvw@ketiltrout.net>
Date: Thu, 10 Mar 2016 14:09:26 -0800
Subject: [PATCH] GSL-2.x support.
---
src/plugins/fits/non_linear.h | 67 +++++++++++++++++++++-------------
src/plugins/fits/non_linear_weighted.h | 66 ++++++++++++++++++++-------------
2 files changed, 82 insertions(+), 51 deletions(-)
diff --git a/src/plugins/fits/non_linear.h b/src/plugins/fits/non_linear.h
index 4506704..74e82e7 100644
--- a/src/plugins/fits/non_linear.h
+++ b/src/plugins/fits/non_linear.h
@@ -18,6 +18,7 @@
#include <gsl/gsl_blas.h>
#include <gsl/gsl_multifit_nlin.h>
#include <gsl/gsl_statistics.h>
+#include <gsl/gsl_version.h>
#include "common.h"
struct data {
@@ -100,6 +101,7 @@ bool kstfit_nonlinear(
gsl_multifit_function_fdf function;
gsl_vector_view vectorViewInitial;
gsl_matrix* pMatrixCovariance;
+ gsl_matrix *pMatrixJacobian;
struct data d;
double dXInitial[NUM_PARAMS];
double* pInputX;
@@ -177,37 +179,50 @@ bool kstfit_nonlinear(
}
iIterations++;
} while( iStatus == GSL_CONTINUE && iIterations < MAX_NUM_ITERATIONS );
- gsl_multifit_covar( pSolver->J, 0.0, pMatrixCovariance );
-
- //
- // determine the fitted values...
- //
- for( i=0; i<NUM_PARAMS; i++ ) {
- dXInitial[i] = gsl_vector_get( pSolver->x, i );
- }
-
- for( i=0; i<iLength; i++ ) {
- vectorOutYFitted->value()[i] = function_calculate( pInputX[i], dXInitial );
- vectorOutYResiduals->value()[i] = pInputY[i] - vectorOutYFitted->value()[i];
- }
+#if GSL_MAJOR_VERSION >= 2
+ pMatrixJacobian = gsl_matrix_alloc( iLength, NUM_PARAMS );
+#else
+ pMatrixJacobian = pSolver->J;
+#endif
+ if ( pMatrixJacobian != NULL) {
+#if GSL_MAJOR_VERSION >= 2
+ gsl_multifit_fdfsolver_jac( pSolver, pMatrixJacobian );
+#endif
+ gsl_multifit_covar( pMatrixJacobian, 0.0, pMatrixCovariance );
+
+ //
+ // determine the fitted values...
+ //
+ for( i=0; i<NUM_PARAMS; i++ ) {
+ dXInitial[i] = gsl_vector_get( pSolver->x, i );
+ }
- //
- // fill in the parameter values and covariance matrix...
- //
- for( i=0; i<NUM_PARAMS; i++ ) {
- vectorOutYParameters->value()[i] = gsl_vector_get( pSolver->x, i );
- for( j=0; j<NUM_PARAMS; j++ ) {
- vectorOutYCovariance->value()[(i*NUM_PARAMS)+j] = gsl_matrix_get( pMatrixCovariance, i, j );
+ for( i=0; i<iLength; i++ ) {
+ vectorOutYFitted->value()[i] = function_calculate( pInputX[i], dXInitial );
+ vectorOutYResiduals->value()[i] = pInputY[i] - vectorOutYFitted->value()[i];
}
- }
- //
- // determine the value of chi^2/nu
- //
- scalarOutChi->setValue(gsl_blas_dnrm2( pSolver->f ));
+ //
+ // fill in the parameter values and covariance matrix...
+ //
+ for( i=0; i<NUM_PARAMS; i++ ) {
+ vectorOutYParameters->value()[i] = gsl_vector_get( pSolver->x, i );
+ for( j=0; j<NUM_PARAMS; j++ ) {
+ vectorOutYCovariance->value()[(i*NUM_PARAMS)+j] = gsl_matrix_get( pMatrixCovariance, i, j );
+ }
+ }
- bReturn = true;
+ //
+ // determine the value of chi^2/nu
+ //
+ scalarOutChi->setValue(gsl_blas_dnrm2( pSolver->f ));
+ bReturn = true;
+
+#if GSL_MAJOR_VERSION >= 2
+ gsl_matrix_free( pMatrixJacobian );
+#endif
+ }
gsl_matrix_free( pMatrixCovariance );
}
gsl_multifit_fdfsolver_free( pSolver );
diff --git a/src/plugins/fits/non_linear_weighted.h b/src/plugins/fits/non_linear_weighted.h
index 6ca7d6f..347ae9d 100644
--- a/src/plugins/fits/non_linear_weighted.h
+++ b/src/plugins/fits/non_linear_weighted.h
@@ -18,6 +18,7 @@
#include <gsl/gsl_blas.h>
#include <gsl/gsl_multifit_nlin.h>
#include <gsl/gsl_statistics.h>
+#include <gsl/gsl_version.h>
#include "common.h"
struct data {
@@ -101,6 +102,7 @@ bool kstfit_nonlinear_weighted(
gsl_multifit_function_fdf function;
gsl_vector_view vectorViewInitial;
gsl_matrix* pMatrixCovariance;
+ gsl_matrix *pMatrixJacobian;
struct data d;
double dXInitial[NUM_PARAMS];
double* pInputs[3];
@@ -193,37 +195,51 @@ bool kstfit_nonlinear_weighted(
}
while( iStatus == GSL_CONTINUE && iIterations < MAX_NUM_ITERATIONS );
- gsl_multifit_covar( pSolver->J, 0.0, pMatrixCovariance );
-
- //
- // determine the fitted values...
- //
- for( i=0; i<NUM_PARAMS; i++ ) {
- dXInitial[i] = gsl_vector_get( pSolver->x, i );
- }
+#if GSL_MAJOR_VERSION >= 2
+ pMatrixJacobian = gsl_matrix_alloc( iLength, NUM_PARAMS );
+#else
+ pMatrixJacobian = pSolver->J;
+#endif
+
+ if ( pMatrixJacobian != NULL) {
+#if GSL_MAJOR_VERSION >= 2
+ gsl_multifit_fdfsolver_jac( pSolver, pMatrixJacobian );
+#endif
+ gsl_multifit_covar( pMatrixJacobian, 0.0, pMatrixCovariance );
+
+ //
+ // determine the fitted values...
+ //
+ for( i=0; i<NUM_PARAMS; i++ ) {
+ dXInitial[i] = gsl_vector_get( pSolver->x, i );
+ }
- for( i=0; i<iLength; i++ ) {
- vectorOutYFitted->value()[i] = function_calculate( pInputs[XVALUES][i], dXInitial );
- vectorOutYResiduals->value()[i] = pInputs[YVALUES][i] - vectorOutYFitted->value()[i];
- }
+ for( i=0; i<iLength; i++ ) {
+ vectorOutYFitted->value()[i] = function_calculate( pInputs[XVALUES][i], dXInitial );
+ vectorOutYResiduals->value()[i] = pInputs[YVALUES][i] - vectorOutYFitted->value()[i];
+ }
- //
- // fill in the parameter values and covariance matrix...
- //
- for( i=0; i<NUM_PARAMS; i++ ) {
- vectorOutYParameters->value()[i] = gsl_vector_get( pSolver->x, i );
- for( j=0; j<NUM_PARAMS; j++ ) {
- vectorOutYCovariance->value()[(i*NUM_PARAMS)+j] = gsl_matrix_get( pMatrixCovariance, i, j );
+ //
+ // fill in the parameter values and covariance matrix...
+ //
+ for( i=0; i<NUM_PARAMS; i++ ) {
+ vectorOutYParameters->value()[i] = gsl_vector_get( pSolver->x, i );
+ for( j=0; j<NUM_PARAMS; j++ ) {
+ vectorOutYCovariance->value()[(i*NUM_PARAMS)+j] = gsl_matrix_get( pMatrixCovariance, i, j );
+ }
}
- }
- //
- // determine the value of chi^2/nu
- //
- scalarOutChi->setValue(gsl_blas_dnrm2( pSolver->f ));
+ //
+ // determine the value of chi^2/nu
+ //
+ scalarOutChi->setValue(gsl_blas_dnrm2( pSolver->f ));
- bReturn = true;
+ bReturn = true;
+#if GSL_MAJOR_VERSION >= 2
+ gsl_matrix_free( pMatrixJacobian );
+#endif
+ }
gsl_matrix_free( pMatrixCovariance );
}
gsl_multifit_fdfsolver_free( pSolver );

3
kst-plot-2.1.0.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:934ac7d1f966650468128db7cf73d5f70f01bee36b5d1e24cd364fe1ebb1ea2c
size 29413389

4
kst-plot.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: kst-plot
version: 2.1.0
mtime: 1729390534
commit: 07d15fac34c718b9433bd9480b78079031032e4e

469
kst.changes Normal file
View File

@ -0,0 +1,469 @@
-------------------------------------------------------------------
Wed Nov 20 17:11:06 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Stop using the %suse_update_desktop_file macro
-------------------------------------------------------------------
Mon Oct 28 15:20:57 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
- Update to kst 2.1.0
This release includes all updates since 2.0.8 released in 2014:
* Too many bug fixes to list
* Many feature improvements
Some of the changes can be seen at:
https://invent.kde.org/graphics/kst-plot/-/compare/v2.0.8...v2.1-2024-10-20
- Remove patches that are already included in 2.1.0:
* gsl2-support.patch
* Fix-build-with-Qt-511.patch
* 0001-Fix-build-with-CMake-3.20.patch
- Add patch to fix a hdf5 include path that we install in
another directory:
* fix-hdf5-include-path.patch
-------------------------------------------------------------------
Fri Jan 6 16:35:08 UTC 2023 - Christophe Marin <christophe@krop.fr>
- Update build constraints
-------------------------------------------------------------------
Fri Jan 6 12:41:00 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop libnetcdf BuildRequires: this seems not to be required (and
does no longer exist).
-------------------------------------------------------------------
Thu Dec 15 07:37:04 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Replace libcfitsio-devel with pkgconfig(cfitsio): the devel
package was renamed 8 years ago. Instead of caring for the name,
we care for the symbol CMake is looking for.
-------------------------------------------------------------------
Wed May 12 05:29:54 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
- Add patch to fix build with CMake 3.20:
* 0001-Fix-build-with-CMake-3.20.patch
-------------------------------------------------------------------
Tue Jul 21 07:34:52 UTC 2020 - Michel Normand <normand@linux.vnet.ibm.com>
- Add _constraints min disk space for PowerPC to avoid build error
-------------------------------------------------------------------
Thu Jan 16 10:58:00 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
- Remove the optional getdata dependency.
The Getdata development stalled and it still requires Python 2.
-------------------------------------------------------------------
Sat Sep 7 07:10:31 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
- Use -ffat-lto-objects
-------------------------------------------------------------------
Fri Feb 15 09:44:08 UTC 2019 - wbauer@tmo.at
- Use %cmake and %cmake_install macros
-------------------------------------------------------------------
Sun Jun 3 17:44:42 UTC 2018 - christophe@krop.fr
- Add Fix-build-with-Qt-511.patch.
- Run spec-cleaner
-------------------------------------------------------------------
Thu Feb 22 08:29:11 UTC 2018 - aloisio@gmx.com
- Switched build to Qt5 for TW and Leap 15
-------------------------------------------------------------------
Thu Aug 4 21:46:34 UTC 2016 - wbauer@tmo.at
- Add gsl2-support.patch to fix build with GSL-2.x
-------------------------------------------------------------------
Mon Aug 24 09:46:34 UTC 2015 - toddrme2178@gmail.com
- Require correct libnetcdf version.
-------------------------------------------------------------------
Tue Jul 29 10:18:04 UTC 2014 - dmitry_r@opensuse.org
- Build with MAT files support
-------------------------------------------------------------------
Mon Jul 21 17:57:48 UTC 2014 - ctrippe@opensuse.org
- Update to 2.0.8
1) Data sources
* A new datasource: sourcelist, which is a successive list of otherwise identical datasources
* Another new datasource: FITS tables, contributed by a new contributor: Nicholas Chapman. Welcome!
* ASCII improved once again to support huge files (>8 GB!)
* Add option how empty ASCII columns should be handled (NaN, copy previous, interpolate)
* Improve ASCII config dialog layout
* Handle data sources which are temporarily typed into the data source selector,
but which are not actually used and when a data source is deleted, delete its slave primitives as well
2) Main new features
* Thanks to the awesome job done by the KDE internationalization team, Kst 2.0.8 is now available in the following languages: ca ca@valencia de en_GB fr nl pl pt pt_BR sv uk. Kst will default to using the system language, if available. To override this, launch with e.g. "LANG=en ./kst2"
* A progress bar appears when parsing large ASCII files, very nice when it takes long with huge files!
* Reworked view vector values allowing easy comparison of vectors and changing the number of digits shown - a first step towards a more table-centric view as in other plotting tools
* Add filtering to the data manager to allow finding items easily in complex sessions
* Add an "unwind" filter: for data fields that have wrapped. For example, an angle (0-360 degrees) which has rotated several times
* New plugin to compute the "activity level" of a signal as the product of standard deviation and number of reversals over a sliding window.
3) Misc. improvements
* Scripting: major rework underway - still ongoing. Hopefully Python scripting will be supported under Windows as well in the next version
* Add a -T command line option which creates a new tab
* Equations: add 'degree' versions of the trig functions: sind, cosd, etc as well as atan2(x,y)
* Avoid having to type * before/after the text in the editmultiple widget
* HOWTO explaining how to add a plugin
* Improvements to use the whole available space in the scalar/vector/matrix/string selectors
* To reduce the impact of latent/glitchy file system situations, delay reloading a file which looks like it has shrunk
* Use "Spectrogram" instead of "CSD"
* Option to use the "native" Qt graphics system if "use raster" is not selected (native works far better for remote X)
4) Bug fixes
* Scalar selector improvements
* Many improvements in the update system and propagation of data source configuration changes
* Solve wrong vector selection in shift and differentiation plugins (kde#325393)
* Fix annoying bug breaking the recent data file and session lists (kde#325086)
* Only reset starting frame to skip boundry if in count from end mode -> allow selecting the right subsamples when using skip in other cases
* Various fixes to ASCII configuration to ensure that we don't parse the whole file when we only want to change the settings
* Make sure custom color applies to all lines of a multi line text label
* Don't crash when there is an exception while searching for rows
* Some improvements to defaults in filter plugins
* Fix enabling/disabling widgets in FFT options (kde#328371)
* In datawizard, don't create plots if no curves (kde#307723)
* Update curve names in plot dialog when changed (kde#318139)
- Remove the python subpackage as this is still under development
and should not be build according to upstream.
-------------------------------------------------------------------
Thu Jul 18 19:22:32 UTC 2013 - ctrippe@opensuse.org
- Update to 2.0.7
* Automatic formatting of X axis time display from the datawizard when reading string-formatted time
* More speed for files with very many columns
* Scripting: major rework adding support for histograms, spectrums and plugins
* Allow the x and y plot labels to be changed from the command line
* Fix a bug where if you drag a plot to a new tab, it wasn't picked up by future autoformat actions nor listed in plot lists
* Cumulative sum plugin now returns a vector of the same size as the input vector
* Fix toggling tied zoom
* Save/reload "automatically scale number axis" setting in plots.
* Fix regression in which re-scaling font sizes when adding plots didn't work.
* Fix gaussian + Lorentzian fits so that they actually fit
* Respect dialog defaults and curve properties for point density.
* Restore proper behavior of font scaling when adding plots to tabs
-------------------------------------------------------------------
Fri Mar 15 14:09:06 UTC 2013 - dmitry_r@opensuse.org
- Change desktop menu category to Science
-------------------------------------------------------------------
Mon Jul 30 17:55:38 UTC 2012 - ctrippe@opensuse.org
- Update to 2.0.6, for a complete list of changes see
http://kst-plot.kde.org/files/Log_messages_2.0.5_to_2.0.6.txt
* When loading a kst file, prompt the user for an alternate if a
datasource can't be found
* Save/use arrow head property defaults
* Don't invert Z order of viewItems which are direct children of
the View
* Data wizard fixes (spectrum format, speed improvements when
there are many vectors,
* Properly handle missing data in custom-delimited ASCII to avoid
mixing the vectors
* Large speedup (x10!) for ASCII with very many columns
* Allow SVG and pixmap view objects to have adjustable aspect ratios
* Fix apply button in view item dialogs (including labels)
- Build python-kst for scripting
-------------------------------------------------------------------
Fri Jun 29 12:08:09 UTC 2012 - reddwarf@opensuse.org
- BuildRequire libnetcdf_c++-devel after the package split
-------------------------------------------------------------------
Mon May 21 18:11:12 UTC 2012 - ctrippe@opensuse.org
- Update to 2.0.5
* Data-fixed annotation objects (e.g. text and arrows which
scroll along with the curves)
* Support for Matlab's .mat file format for strigns, matrices,
vectors and scalars
* Beta version of python scripting (on Linux only for now,
depending on NumPy 1.6 and SciPy and requiring .py and .pyc
files installed in the right place). See documentation at
http://hen.astro.utoronto.ca/pyKst/ and don't hesitate to ask
for help on the mailing list as this feature is still in
beta stage
* Drag & Drop support: simply drop a .kst file onto Kst and it
will open, if you drop any data file it will open in the data
wizard
* Improved printing to vector formats (printer, PDF, SVG)
* Optional antialiasing (may be slow on some systems)
* A number of bugs and crashes fixed in various areas, like
shared axis boxes. See detailed changelog at
http://kst-plot.kde.org/files/Log_messages_2.0.4_to_2.0.5.txt
for more information
-------------------------------------------------------------------
Sat Mar 24 15:07:35 UTC 2012 - idonmez@suse.com
- Depend on netcdf-devel for openSUSE >= 12.2
- Build in parallel
-------------------------------------------------------------------
Mon Oct 17 13:11:58 UTC 2011 - toddrme2178@gmail.com
- Switched to using KDE macros
- Switched release build (this is supposed to optimize performance)
- Cleaned up spec file formatting
-------------------------------------------------------------------
Wed Sep 14 03:25:55 UTC 2011 - ctrippe@opensuse.org
- Update to kst 2.0.4
* A major re-write of the auto-layout command: it works much
better now and no longer gets in the way
* Improvements to automatic legend names
* Fixes to the layout mode, with better visual feedback during
drag operations
* Numerous other bugfixes and improvements (point density,
scientific notation, issues with log mode, bar colors, fixed
aspect ratio in images and svg annotation items)
* UI and usability improvements: for instance you can now just
double-click on labels or axes to open the corresponding dialog
* The introduction of a Settings->Theme dialog which sets brush,
stroke, and font for all view items, optionally applying to all
existing objects, and/or saving as the default for all future
objects
* A great new auto-completer for the the equation editor and
label editor, including support for wildcards
* A number of crashes fixed in various plugins
-------------------------------------------------------------------
Mon Apr 18 18:36:57 UTC 2011 - ctrippe@opensuse.org
- Update to kst 2.0.3
* cmake-based build system
* many improvements in the reading of ASCII files: extensive UI
overhaul and huge speedup
* support for metadata added for netCDF files (scalar and string
attributes) and ASCII (units and some data-file info)
* UI improvements (new icons, consistency with KDE HIG guidelines,
some dialogs reworked)
* lots of bugs and crashes fixed in less-often used parts of the code
-------------------------------------------------------------------
Wed Dec 15 18:43:46 UTC 2010 - ctrippe@gmx.net
- BuildRequire getdata-devel for openSUSE 11.4
-------------------------------------------------------------------
Mon Nov 22 18:07:54 UTC 2010 - ctrippe@gmx.net
- Update to kst 2.0.2
* Kst 2.0.2: Kst does not crash any more when ASCII data is imported.
* Kst 2.0.1: Many bugfixes and polished GUI (e.g. drag and drop of plots between tabs)
- BuildRequire libnetcdf-devel
-------------------------------------------------------------------
Tue Aug 31 17:55:22 UTC 2010 - ctrippe@gmx.net
- Update to 2.0.0
* Fixes bnc#541957
- add export INSTALL_LIBDIR=lib64 in the build section fixes bnc#548228
-------------------------------------------------------------------
Tue Jul 14 22:02:33 CEST 2009 - tittiatcoke@gmail.com
- Update to 2.0.0 beta 2
* KDE4 version
-------------------------------------------------------------------
Sat Jul 11 15:33:11 CEST 2009 - tittiatcoke@gmail.com
- update to 1.8.0:
* Fast real-time display and manipulation of streaming data
* Quick zooming and scrolling via mouse and keyboard
* Extensible via plugins
* Built-in high-speed equation interpreter
* Multiple tabs or windows
* Graphical plot layout manager
* Javascript scripting
* Drag and drop
* Cut and paste
* Native power spectrum algorithm and histograms
* Image and matrix support, including waterfall plots
* Support for the most popular data formats including:
+ ASCII, dirfile, CDF, piolib, FITS, HEALPix, qimage
+ Plugin design allows additional formats
* Time input
* Built-in ELOG functionality
* Command-line and RPC control mechanisms
* Printing, including to images, postscript, and PDF
-------------------------------------------------------------------
Sat Feb 14 12:43:36 CET 2009 - coolo@suse.de
- call kde_post_install before %find_lang
-------------------------------------------------------------------
Wed Oct 22 12:41:23 CEST 2008 - dmueller@suse.de
- update to 1.7.0:
* Fast real-time display and manipulation of streaming data
* Quick zooming and scrolling via mouse and keyboard
* Extensible via plugins
* Built-in high-speed equation interpreter
* Multiple tabs or windows
* Graphical plot layout manager
* Javascript scripting
* Drag and drop
* Cut and paste
* Native power spectrum algorithm and histograms
* Image and matrix support, including waterfall plots
* Support for the most popular data formats including:
o ASCII, dirfile, CDF, netCDF, piolib, FITS, HEALPix, qimage
o Plugin design allows additional formats
* Time input
* Built-in ELOG functionality
* Command-line and RPC control mechanisms
* Printing, including to images, postscript, and PDF
-------------------------------------------------------------------
Mon Jul 7 20:17:05 CEST 2008 - dmueller@suse.de
- fix build
- fix devel package requires
-------------------------------------------------------------------
Thu Apr 24 10:05:01 CEST 2008 - stbinner@suse.de
- update to 1.6.0: no changelog provided
-------------------------------------------------------------------
Fri Mar 14 12:20:35 CET 2008 - dmueller@suse.de
- fixed specfile
-------------------------------------------------------------------
Thu Mar 13 17:59:53 CET 2008 - dmueller@suse.de
- update to 1.5.0:
* Fast real-time display and manipulation of streaming data
* Quick zooming and scrolling via mouse and keyboard
* Extensible via plugins
* Built-in high-speed equation interpreter
* Multiple tabs or windows
* Graphical plot layout manager
* Javascript scripting
* Drag and drop
* Cut and paste
* Native power spectrum algorithm and histograms
* Image and matrix support, including waterfall plots
* Support for the most popular data formats including:
o ASCII, dirfile, CDF, netCDF, piolib, FITS, HEALPix, qimage
o Plugin design allows additional formats
* Time input
* Built-in ELOG functionality
* Command-line and RPC control mechanisms
* Printing, including to images, postscript, and PDF
- licensing fixes (bnc#369453)
-------------------------------------------------------------------
Wed Nov 28 14:44:48 CET 2007 - dmueller@suse.de
- fix build against glibc 2.7
-------------------------------------------------------------------
Sat Aug 4 14:27:40 CEST 2007 - stbinner@suse.de
- update to version 1.4: numerous bugfixes, see ChangeLog
-------------------------------------------------------------------
Thu Jun 21 11:26:14 CEST 2007 - stbinner@suse.de
- fix invalid .desktop file
-------------------------------------------------------------------
Fri Jun 1 08:20:57 CEST 2007 - coolo@suse.de
- move kde_post_install
-------------------------------------------------------------------
Tue May 29 14:36:01 CEST 2007 - coolo@suse.de
- fix translations handling
-------------------------------------------------------------------
Wed May 23 12:55:10 CEST 2007 - stbinner@suse.de
- use %fupes
- add missing ldconfig run calls
-------------------------------------------------------------------
Fri Oct 20 09:25:42 CEST 2006 - stbinner@suse.de
- update to version 1.3:1: numerous deadlock and crash fixes
-------------------------------------------------------------------
Wed Sep 20 13:38:09 CEST 2006 - stbinner@suse.de
- update to version 1.3.0: no change log digest provided
-------------------------------------------------------------------
Wed Apr 19 14:43:50 CEST 2006 - stbinner@suse.de
- don't use broken netcdf on distributions before 10.1
-------------------------------------------------------------------
Tue Mar 28 15:58:08 CEST 2006 - stbinner@suse.de
- update to version 1.2.1
* countless bugfixes
-------------------------------------------------------------------
Mon Feb 20 12:37:34 CET 2006 - stbinner@suse.de
- cleanup BuildRequires: after gsl-devel dependency fix
-------------------------------------------------------------------
Wed Feb 15 22:19:25 CET 2006 - stbinner@suse.de
- update to version 1.2
-------------------------------------------------------------------
Wed Jan 25 21:33:26 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Sat Nov 12 00:45:17 CET 2005 - dmueller@suse.de
- fix build
-------------------------------------------------------------------
Thu Oct 27 09:54:32 CEST 2005 - stbinner@suse.de
- update to version 1.1.1
-------------------------------------------------------------------
Mon Oct 10 22:07:16 CEST 2005 - stbinner@suse.de
- fix include hints for Qt 3.3.5
-------------------------------------------------------------------
Wed Oct 5 11:21:38 CEST 2005 - stbinner@suse.de
- fix some %files entries for 64 bit
-------------------------------------------------------------------
Tue Oct 4 12:51:47 CEST 2005 - stbinner@suse.de
- initial package (version 1.1.0)

122
kst.spec Normal file
View File

@ -0,0 +1,122 @@
#
# spec file for package kst
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2011 Christian Trippe ctrippe@opensuse.org
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: kst
Version: 2.1.0
Release: 0
Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality
License: GPL-2.0-or-later
URL: https://kst-plot.kde.org/
Source: kst-plot-%{version}.tar.zst
# PATCH-FIX-OPENSUSE
Patch0: fix-hdf5-include-path.patch
BuildRequires: Mesa-devel
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gsl-devel
BuildRequires: hdf5-devel
BuildRequires: libmatio-devel
BuildRequires: libnetcdf_c++-devel
BuildRequires: libqt5-linguist
BuildRequires: netcdf-devel
BuildRequires: pkgconfig
BuildRequires: readline-devel
BuildRequires: cmake(Qt5Concurrent)
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5Network)
BuildRequires: cmake(Qt5PrintSupport)
BuildRequires: cmake(Qt5Svg)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5Xml)
BuildRequires: pkgconfig(cfitsio)
Obsoletes: python-kst < %{version}
%description
Kst is a data plotting and viewing program. Some of the features include:
- Robust plotting of live "streaming" data
- Powerful keyboard and mouse plot manipulation
- Powerful plug-in and extension support
- Large selection of built-in plotting and data manipulation functions,
such as histograms, equations, and power spectra
- Color mapping and contour mapping capabilities for three-dimensional data
- Monitoring of events and notification support
- Built-in filtering and curve fitting capabilities
- Convenient command line interface
- Powerful graphical user interface
%package devel
Summary: Development files for kst
Requires: kst = %{version}
Requires: cmake(Qt5Concurrent)
Requires: cmake(Qt5Core)
Requires: cmake(Qt5Network)
Requires: cmake(Qt5PrintSupport)
Requires: cmake(Qt5Widgets)
Requires: cmake(Qt5Xml)
%description devel
Development libraries and headers needed to build software
making use of kst
%prep
%autosetup -p1 -n kst-plot-%{version}
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
EXTRA_FLAGS="-Dkst_install_prefix=%{_prefix} \
-Dkst_rpath=0 \
-Dkst_install_libdir=%{_lib} \
-Dkst_release=1 \
-Dkst_dbgsym=1 \
-Dkst_python=0 \
-Dkst_qt5=1"
%cmake $EXTRA_FLAGS
%cmake_build
%install
%cmake_install
%fdupes %{buildroot}
%ldconfig_scriptlets
%files
%license COPYING*
%doc AUTHORS NEWS README
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/*
%dir %{_datadir}/icons/hicolor/*/apps
%dir %{_datadir}/icons/hicolor/*/mimetypes
%{_bindir}/kst2
%{_datadir}/applications/kst2.desktop
%{_datadir}/icons/hicolor/*/*/*kst.*
%{_libdir}/kst2/
%{_libdir}/libkst*.so.*
%{_mandir}/man1/kst2.1%{?ext_man}
%{_datadir}/mime/packages/x-kst.xml
%files devel
%license COPYING*
%{_libdir}/*.so
%{_libdir}/libkst2app.a
%changelog