diff --git a/kst-2.0.8.20210516git-libhdf5-1.12.0.patch b/kst-2.0.8.20210516git-libhdf5-1.12.0.patch new file mode 100644 index 0000000..387a4cf --- /dev/null +++ b/kst-2.0.8.20210516git-libhdf5-1.12.0.patch @@ -0,0 +1,11 @@ +--- kst-plot-2.0.8.20210516git/src/datasources/hdf5/hdf5.cpp.orig 2021-05-16 19:33:50.708519324 +0200 ++++ kst-plot-2.0.8.20210516git/src/datasources/hdf5/hdf5.cpp 2021-05-16 19:35:21.563204551 +0200 +@@ -308,7 +308,7 @@ + return 0; + } + +- status = H5Oget_info_by_name(id, name, &infobuf, H5P_DEFAULT); ++ status = H5Oget_info_by_name(id, name, &infobuf, H5P_DEFAULT, H5O_INFO_BASIC); + if(status == 0){ + if(infobuf.type == H5O_TYPE_DATASET){ + H5::DataSet dataset = h5Source->_hdfFile->openDataSet(name); diff --git a/kst.spec b/kst.spec index ea5a84b..87279ec 100644 --- a/kst.spec +++ b/kst.spec @@ -1,5 +1,5 @@ Name: kst -Version: 2.0.8.20200427git +Version: 2.0.8.20210516git Release: 1mamba Summary: An application used to display scientific data Group: Graphical Desktop/Applications/Scientific @@ -7,13 +7,12 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://kst-plot.kde.org/ -## GITSOURCE https://github.com/Kst-plot/kst.git master -Source: https://github.com/Kst-plot/kst.git/master/kst-%{version}.tar.bz2 +Source: https://invent.kde.org/graphics/kst-plot.git/master/kst-plot-%{version}.tar.bz2 Patch0: kst-2.0.8.20200427git-libhdf5-1.10.5.patch +Patch1: kst-2.0.8.20210516git-libhdf5-1.12.0.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: ldconfig BuildRequires: libcfitsio-devel BuildRequires: libgcc BuildRequires: libgsl-devel @@ -25,9 +24,8 @@ BuildRequires: libtiff-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: cmake -BuildRequires: libmatio-devel >= 1.5.16 +BuildRequires: libmatio-devel >= 1.5.21 Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description An application used to display scientific data. @@ -51,8 +49,9 @@ This package contains libraries and header files for developing applications tha %debug_package %prep -%setup -q +%setup -q -n kst-plot-%{version} %patch0 -p1 +%patch1 -p1 %build %cmake -d build \ @@ -102,6 +101,9 @@ This package contains libraries and header files for developing applications tha %doc ChangeLog NEWS README README.kstScript README.md %changelog +* Sun May 16 2021 Silvan Calarco 2.0.8.20210516git-1mamba +- update to 2.0.8.20210516git + * Mon Apr 27 2020 Silvan Calarco 2.0.8.20200427git-1mamba - update to 2.0.8.20200427git