[packages/vtk] - jsoncpp patch no longer needed - rel 12

baggins baggins at pld-linux.org
Tue Jun 23 22:51:29 CEST 2015


commit 9cf01b513cf772cc043f130da3c5b6a844e7289c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Jun 23 22:51:11 2015 +0200

    - jsoncpp patch no longer needed
    - rel 12

 jsoncpp16.patch | 65 ---------------------------------------------------------
 vtk.spec        |  5 ++---
 2 files changed, 2 insertions(+), 68 deletions(-)
---
diff --git a/vtk.spec b/vtk.spec
index 038bcb8..dca65b9 100644
--- 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 \
diff --git a/jsoncpp16.patch b/jsoncpp16.patch
deleted file mode 100644
index 2fe7dff..0000000
--- a/jsoncpp16.patch
+++ /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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vtk.git/commitdiff/9cf01b513cf772cc043f130da3c5b6a844e7289c



More information about the pld-cvs-commit mailing list