Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/vtk/files: vtk-5.6.0-cg-path.patch vtk-5.6.0-libpng14.patch vtk-5.6.0-boost-property_map.patch
Date: Fri, 28 May 2010 11:51:32
Message-Id: 20100528115125.A079F2CE3C@corvid.gentoo.org
1 jlec 10/05/28 11:51:25
2
3 Added: vtk-5.6.0-cg-path.patch vtk-5.6.0-libpng14.patch
4 vtk-5.6.0-boost-property_map.patch
5 Log:
6 Version Bump #321505; Added support for ogg R; prelimary support for PREFIX
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sci-libs/vtk/files/vtk-5.6.0-cg-path.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/vtk/files/vtk-5.6.0-cg-path.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/vtk/files/vtk-5.6.0-cg-path.patch?rev=1.1&content-type=text/plain
14
15 Index: vtk-5.6.0-cg-path.patch
16 ===================================================================
17 diff --git a/CMake/FindCg.cmake b/CMake/FindCg.cmake
18 index ceb41de..5eb6003 100644
19 --- a/CMake/FindCg.cmake
20 +++ b/CMake/FindCg.cmake
21 @@ -82,6 +82,7 @@ ELSE (APPLE)
22 FIND_PROGRAM( CG_COMPILER cgc
23 /usr/bin
24 /usr/local/bin
25 + /opt/nvidia-cg-toolkit/bin
26 DOC "The Cg Compiler"
27 )
28 GET_FILENAME_COMPONENT(CG_COMPILER_DIR "${CG_COMPILER}" PATH)
29 @@ -89,6 +90,7 @@ ELSE (APPLE)
30 FIND_PATH( CG_INCLUDE_PATH Cg/cg.h
31 /usr/include
32 /usr/local/include
33 + /opt/nvidia-cg-toolkit/include
34 ${CG_COMPILER_SUPER_DIR}/include
35 DOC "The directory where Cg/cg.h resides"
36 )
37 @@ -98,6 +100,7 @@ ELSE (APPLE)
38 /usr/lib
39 /usr/local/lib64
40 /usr/local/lib
41 + /opt/nvidia-cg-toolkit/lib
42 ${CG_COMPILER_SUPER_DIR}/lib64
43 ${CG_COMPILER_SUPER_DIR}/lib
44 DOC "The Cg runtime library"
45 @@ -108,6 +111,7 @@ ELSE (APPLE)
46 /usr/lib
47 /usr/local/lib64
48 /usr/local/lib
49 + /opt/nvidia-cg-toolkit/lib
50 ${CG_COMPILER_SUPER_DIR}/lib64
51 ${CG_COMPILER_SUPER_DIR}/lib
52 DOC "The Cg runtime library"
53
54
55
56 1.1 sci-libs/vtk/files/vtk-5.6.0-libpng14.patch
57
58 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/vtk/files/vtk-5.6.0-libpng14.patch?rev=1.1&view=markup
59 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/vtk/files/vtk-5.6.0-libpng14.patch?rev=1.1&content-type=text/plain
60
61 Index: vtk-5.6.0-libpng14.patch
62 ===================================================================
63 diff --git a/IO/vtkPNGReader.cxx b/IO/vtkPNGReader.cxx
64 index d1f5c2f..0bf00e4 100644
65 --- a/IO/vtkPNGReader.cxx
66 +++ b/IO/vtkPNGReader.cxx
67 @@ -116,7 +116,7 @@ void vtkPNGReader::ExecuteInformation()
68 // minimum of a byte per pixel
69 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
70 {
71 - png_set_gray_1_2_4_to_8(png_ptr);
72 + png_set_expand_gray_1_2_4_to_8(png_ptr);
73 }
74
75 // add alpha if any alpha found
76 @@ -225,7 +225,7 @@ void vtkPNGReaderUpdate2(vtkPNGReader *self, OT *outPtr,
77 // minimum of a byte per pixel
78 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
79 {
80 - png_set_gray_1_2_4_to_8(png_ptr);
81 + png_set_expand_gray_1_2_4_to_8(png_ptr);
82 }
83
84 // add alpha if any alpha found
85
86
87
88 1.1 sci-libs/vtk/files/vtk-5.6.0-boost-property_map.patch
89
90 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/vtk/files/vtk-5.6.0-boost-property_map.patch?rev=1.1&view=markup
91 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/vtk/files/vtk-5.6.0-boost-property_map.patch?rev=1.1&content-type=text/plain
92
93 Index: vtk-5.6.0-boost-property_map.patch
94 ===================================================================
95 diff --git a/Infovis/vtkBoostGraphAdapter.h b/Infovis/vtkBoostGraphAdapter.h
96 index 5d113ac..d84cb98 100644
97 --- a/Infovis/vtkBoostGraphAdapter.h
98 +++ b/Infovis/vtkBoostGraphAdapter.h
99 @@ -50,7 +50,7 @@ namespace boost {
100 // These need to be defined before including other boost stuff
101
102 // Forward declarations are required here, so that we aren't forced
103 - // to include boost/property_map.hpp.
104 + // to include boost/property_map/property_map.hpp.
105 template<typename> class property_traits;
106 class read_write_property_map_tag;
107
108 diff --git a/Infovis/vtkTreeLayoutStrategy.cxx b/Infovis/vtkTreeLayoutStrategy.cxx
109 index 4a764ea..74d0b53 100644
110 --- a/Infovis/vtkTreeLayoutStrategy.cxx
111 +++ b/Infovis/vtkTreeLayoutStrategy.cxx
112 @@ -388,7 +388,7 @@ void vtkTreeLayoutStrategy::PrintSelf(ostream& os, vtkIndent indent)
113 #include "vtkTreeToBoostAdapter.h"
114 #include <boost/graph/visitors.hpp>
115 #include <boost/graph/depth_first_search.hpp>
116 -#include <boost/property_map.hpp>
117 +#include <boost/property_map/property_map.hpp>
118 #include <boost/pending/queue.hpp>
119
120 using namespace boost;