Hello community, here is the log from the commit of package ASL for openSUSE:Factory checked in at 2018-02-05 10:53:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ASL (Old) and /work/SRC/openSUSE:Factory/.ASL.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ASL" Mon Feb 5 10:53:15 2018 rev:7 rq:572418 version:0.1.7 Changes: -------- --- /work/SRC/openSUSE:Factory/ASL/ASL.changes 2016-11-21 14:26:15.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ASL.new/ASL.changes 2018-02-05 10:53:55.601737540 +0100 @@ -1,0 +2,11 @@ +Sat Feb 3 14:42:46 UTC 2018 - simonpuchert@alice.de + +- Fix build with vtk 8.1 (hack / workaround) + * Add vtk-version.patch + +------------------------------------------------------------------- +Tue Nov 21 08:57:01 UTC 2017 - adam.majer@suse.de + +- Use split version of boost (boo#1062767) + +------------------------------------------------------------------- New: ---- vtk-version.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ASL.spec ++++++ --- /var/tmp/diff_new_pack.nSEMzC/_old 2018-02-05 10:53:56.145712100 +0100 +++ /var/tmp/diff_new_pack.nSEMzC/_new 2018-02-05 10:53:56.149711913 +0100 @@ -25,6 +25,7 @@ Group: Productivity/Scientific/Physics Url: http://asl.org.il/features/ Source: https://github.com/AvtechScientific/ASL/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: vtk-version.patch BuildRequires: cmake >= 3.0.2 BuildRequires: doxygen BuildRequires: fdupes @@ -35,12 +36,14 @@ BuildRequires: netcdf-devel BuildRequires: ocl-icd-devel BuildRequires: opencl-headers-1_2 -BuildRequires: vtk-devel >= 6.1 +BuildRequires: vtk-devel >= 7 Recommends: beignet Recommends: freeocl BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} == 1315 && 0%{?is_opensuse} == 1 -BuildRequires: boost_1_58_0-devel +%if 0%{?suse_version} >= 1330 +BuildRequires: libboost_filesystem-devel +BuildRequires: libboost_program_options-devel +BuildRequires: libboost_system-devel %else BuildRequires: boost-devel >= 1.58.0 %endif @@ -108,6 +111,7 @@ %prep %setup -q +%patch0 -p1 sed -i 's/HTML_TIMESTAMP = YES/HTML_TIMESTAMP = NO/' doc/Developer-Guide/Doxyfile.in %build ++++++ vtk-version.patch ++++++ diff -Nur ASL-0.1.7/CMakeLists.txt new/CMakeLists.txt --- ASL-0.1.7/CMakeLists.txt 2018-01-25 03:48:40.386868950 +0100 +++ new/CMakeLists.txt 2018-01-29 12:29:24.326711316 +0100 @@ -53,7 +53,7 @@ # ToDo: check - system component might be not needed any longer on new versions of Boost find_package(Boost 1.53 REQUIRED COMPONENTS program_options filesystem system) # ToDo: remove support for VTK 6.1 at some point in future -find_package(VTK 6.1 QUIET COMPONENTS vtkRenderingCore vtkImagingCore vtkFiltersCore vtkIOCore vtkIOGeometry vtkIOLegacy vtkIOXML vtkIOMINC vtkCommonCore vtkViewsCore vtkftgl vtksys vtkDICOMParser vtkexpat vtkzlib NO_MODULE) +find_package(VTK 8.1 QUIET COMPONENTS vtkRenderingCore vtkImagingCore vtkFiltersCore vtkIOCore vtkIOGeometry vtkIOLegacy vtkIOXML vtkIOMINC vtkCommonCore vtkViewsCore vtksys vtkDICOMParser vtkexpat vtkzlib NO_MODULE) if(NOT VTK_FOUND) find_package(VTK 7.0 REQUIRED COMPONENTS vtkRenderingCore vtkImagingCore vtkFiltersCore vtkIOCore vtkIOGeometry vtkIOLegacy vtkIOXML vtkIOMINC vtkCommonCore vtkViewsCore vtksys vtkDICOMParser vtkexpat vtkzlib NO_MODULE) endif()