]> git.pld-linux.org Git - packages/vtk.git/commitdiff
- jsoncpp patch no longer needed auto/th/vtk-6.1.0-12
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 23 Jun 2015 20:51:11 +0000 (22:51 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 23 Jun 2015 20:51:11 +0000 (22:51 +0200)
- rel 12

jsoncpp16.patch [deleted file]
vtk.spec

diff --git a/jsoncpp16.patch b/jsoncpp16.patch
deleted file mode 100644 (file)
index 2fe7dff..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
---- VTK-6.1.0/ThirdParty/jsoncpp/vtk_jsoncpp.h.in~     2014-01-22 16:55:41.000000000 +0100
-+++ VTK-6.1.0/ThirdParty/jsoncpp/vtk_jsoncpp.h.in      2015-03-11 21:12:09.859743052 +0100
-@@ -18,7 +18,7 @@
- /* Use the JsonCpp library configured for VTK.  */
- #cmakedefine VTK_USE_SYSTEM_JSONCPP
- #ifdef VTK_USE_SYSTEM_JSONCPP
--# include <json/json.h>
-+# include <jsoncpp/json.h>
- # ifndef JSON_FORWARDS_H_INCLUDED
- #  error Incorrect header included, check your include paths for conflicts
- # endif
---- VTK-6.1.0/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp~       2014-01-22 16:55:41.000000000 +0100
-+++ VTK-6.1.0/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp        2015-03-11 21:13:12.856409262 +0100
-@@ -75,7 +75,7 @@
--#include "json/json.h"
-+#include "jsoncpp/json.h"
- // //////////////////////////////////////////////////////////////////////
-@@ -195,8 +195,8 @@
- // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
- #if !defined(JSON_IS_AMALGAMATION)
--# include <json/reader.h>
--# include <json/value.h>
-+# include <jsoncpp/reader.h>
-+# include <jsoncpp/value.h>
- # include "json_tool.h"
- #endif // if !defined(JSON_IS_AMALGAMATION)
- #include <utility>
-@@ -1546,8 +1546,8 @@
- // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
- #if !defined(JSON_IS_AMALGAMATION)
--# include <json/value.h>
--# include <json/writer.h>
-+# include <jsoncpp/value.h>
-+# include <jsoncpp/writer.h>
- # ifndef JSON_USE_SIMPLE_INTERNAL_ALLOCATOR
- #  include "json_batchallocator.h"
- # endif // #ifndef JSON_USE_SIMPLE_INTERNAL_ALLOCATOR
-@@ -3398,7 +3398,7 @@
- // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
- #if !defined(JSON_IS_AMALGAMATION)
--# include <json/writer.h>
-+# include <jsoncpp/writer.h>
- # include "json_tool.h"
- #endif // if !defined(JSON_IS_AMALGAMATION)
- #include <utility>
---- VTK-6.1.0/CMake/FindJsonCpp.cmake.orig     2014-01-22 16:55:41.000000000 +0100
-+++ VTK-6.1.0/CMake/FindJsonCpp.cmake  2015-03-11 21:15:27.929741618 +0100
-@@ -8,8 +8,7 @@
- # JsonCpp_LIBRARIES - the libraries to link against to use JsonCpp
- # JsonCpp_FOUND - if false the library was not found.
--find_path(JsonCpp_INCLUDE_DIR "json/json.h"
--  PATH_SUFFIXES "jsoncpp"
-+find_path(JsonCpp_INCLUDE_DIR "jsoncpp/json.h"
-   DOC "Specify the JsonCpp include directory here")
- find_library(JsonCpp_LIBRARY
index 038bcb8b3c6b3e3f544f79123a38635087c0ca8a..dca65b9217bdbb8da3a8c613b240ac244b3f8a05 100644 (file)
--- a/vtk.spec
+++ b/vtk.spec
@@ -16,7 +16,7 @@ Summary:      Toolkit for 3D computer graphics, image processing, and visualization
 Summary(pl.UTF-8):     Zestaw narzędzi do trójwymiarowej grafiki, przetwarzania obrazu i wizualizacji
 Name:          vtk
 Version:       6.1.0
-Release:       11
+Release:       12
 License:       BSD
 Group:         Libraries
 Source0:       http://www.vtk.org/files/release/6.1/VTK-%{version}.tar.gz
@@ -27,7 +27,6 @@ Patch0:               %{name}-system-libs.patch
 Patch1:                %{name}-install.patch
 Patch2:                %{name}-chemistry.patch
 Patch3:                conflicting-types.patch
-Patch4:                jsoncpp16.patch
 URL:           http://www.vtk.org/
 %{?with_OSMesa:BuildRequires: Mesa-libOSMesa-devel}
 BuildRequires: OpenGL-GLX-devel
@@ -318,7 +317,6 @@ potrzebne do uruchamiania różnych przykładów z pakietu vtk-examples.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 
 # Replace relative path ../../../VTKData with destination filesystem path
 grep -Erl '(\.\./)+VTKData' Examples | xargs \
@@ -341,6 +339,7 @@ export JAVA_HOME=%{java_home}
 mkdir -p build
 cd build
 %cmake .. \
+       -Wno-dev \
        -DBUILD_DOCUMENTATION:BOOL=ON \
        -DBUILD_EXAMPLES:BOOL=ON \
        -DBUILD_SHARED_LIBS:BOOL=ON \
This page took 0.888706 seconds and 4 git commands to generate.