1 |
commit: cabb72703f081a2a0978caef6edf4ba3e2c33955 |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Aug 6 14:48:18 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 30 17:26:37 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cabb7270 |
7 |
|
8 |
dev-lang/gdl: remove unused patch |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/2162 |
11 |
|
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
dev-lang/gdl/files/0.9.5-plplot.patch | 134 ---------------------------------- |
15 |
1 file changed, 134 deletions(-) |
16 |
|
17 |
diff --git a/dev-lang/gdl/files/0.9.5-plplot.patch b/dev-lang/gdl/files/0.9.5-plplot.patch |
18 |
deleted file mode 100644 |
19 |
index 70ad1bd..00000000 |
20 |
--- a/dev-lang/gdl/files/0.9.5-plplot.patch |
21 |
+++ /dev/null |
22 |
@@ -1,134 +0,0 @@ |
23 |
-diff -up gdl-0.9.5/CMakeLists.txt.plplot gdl-0.9.5/CMakeLists.txt |
24 |
---- gdl-0.9.5/CMakeLists.txt.plplot 2014-10-07 07:21:14.000000000 -0600 |
25 |
-+++ gdl-0.9.5/CMakeLists.txt 2015-04-24 14:29:15.588067694 -0600 |
26 |
-@@ -386,7 +386,7 @@ if(PLPLOT_FOUND) |
27 |
- #}" HAVE_PLPLOT_WIDTH) |
28 |
- |
29 |
- #give it a 2nd try... |
30 |
-- check_library_exists("${PLPLOT_LIBRARIES}" c_plwidth "" HAVE_PLPLOT_WIDTH) |
31 |
-+ check_library_exists("${PLPLOT_LIBRARIES}" c_plwidth "" HAVE_PLPLOT_WIDTH) |
32 |
- if(HAVE_PLPLOT_WIDTH) |
33 |
- set(HAVE_PLPLOT_WIDTH 1) |
34 |
- endif(HAVE_PLPLOT_WIDTH) |
35 |
-@@ -402,6 +402,11 @@ if(PLPLOT_FOUND) |
36 |
- else(PLPLOT_HAS_LEGEND) |
37 |
- message(STATUS "Your plplot lib is too old for some gdl functions, please upgrade.") |
38 |
- endif(PLPLOT_HAS_LEGEND) |
39 |
-+ check_cxx_source_compiles("#include <plplot/plstream.h> |
40 |
-+ main(){PLINT n; PLFLT x,y;plcallback::fill(n,&x,&y);}" PLPLOT_HAS_PLCALLBACK) |
41 |
-+ if(PLPLOT_HAS_PLCALLBACK) |
42 |
-+ set(PLPLOT_HAS_PLCALLBACK 1) |
43 |
-+ endif(PLPLOT_HAS_PLCALLBACK) |
44 |
- endif(PLPLOT_FOUND) |
45 |
- |
46 |
- # GRAPHICSMAGICK is an alternative to the classical ImageMagick Lib. |
47 |
-diff -up gdl-0.9.5/CMakeModules/FindPlplot.cmake.plplot gdl-0.9.5/CMakeModules/FindPlplot.cmake |
48 |
---- gdl-0.9.5/CMakeModules/FindPlplot.cmake.plplot 2011-08-19 04:18:51.000000000 -0600 |
49 |
-+++ gdl-0.9.5/CMakeModules/FindPlplot.cmake 2015-04-24 13:54:56.915632230 -0600 |
50 |
-@@ -9,8 +9,12 @@ |
51 |
- # |
52 |
- |
53 |
- |
54 |
--find_library(PLPLOT_LIBRARY NAMES plplotd) |
55 |
--find_library(PLPLOTCXX_LIBRARY NAMES plplotcxxd) |
56 |
-+find_library(PLPLOT_LIBRARY NAMES plplot) |
57 |
-+find_library(PLPLOTCXX_LIBRARY NAMES plplotcxx) |
58 |
-+if(NOT PLPLOT_LIBRARY) |
59 |
-+ find_library(PLPLOT_LIBRARY NAMES plplotd) |
60 |
-+ find_library(PLPLOTCXX_LIBRARY NAMES plplotcxxd) |
61 |
-+endif(NOT PLPLOT_LIBRARY) |
62 |
- set(PLPLOT_LIBRARIES ${PLPLOT_LIBRARY} ${PLPLOTCXX_LIBRARY}) |
63 |
- find_path(PLPLOT_INCLUDE_DIR NAMES plplot/plplot.h) |
64 |
- include(FindPackageHandleStandardArgs) |
65 |
-diff -up gdl-0.9.5/config.h.cmake.plplot gdl-0.9.5/config.h.cmake |
66 |
---- gdl-0.9.5/config.h.cmake.plplot 2014-08-30 14:13:43.000000000 -0600 |
67 |
-+++ gdl-0.9.5/config.h.cmake 2015-04-24 13:39:22.259704608 -0600 |
68 |
-@@ -31,6 +31,12 @@ |
69 |
- #cmakedefine HAVE_PLPLOT_WIDTH 1 |
70 |
- #cmakedefine PLPLOT_PRIVATE_NOT_HIDDEN 1 |
71 |
- #cmakedefine PLPLOT_HAS_LEGEND |
72 |
-+#cmakedefine PLPLOT_HAS_PLCALLBACK |
73 |
-+#ifdef PLPLOT_HAS_PLCALLBACK |
74 |
-+#define PLCALLBACK plcallback |
75 |
-+#else |
76 |
-+#define PLCALLBACK plstream |
77 |
-+#endif |
78 |
- #ifndef HAVE_STDINT_H |
79 |
- #cmakedefine HAVE_STDINT_H 1 |
80 |
- #endif |
81 |
-diff -up gdl-0.9.5/src/plotting_contour.cpp.plplot gdl-0.9.5/src/plotting_contour.cpp |
82 |
---- gdl-0.9.5/src/plotting_contour.cpp.plplot 2014-09-29 11:03:12.000000000 -0600 |
83 |
-+++ gdl-0.9.5/src/plotting_contour.cpp 2015-04-24 13:39:22.267705191 -0600 |
84 |
-@@ -789,8 +789,8 @@ namespace lib |
85 |
- 1, value, |
86 |
- static_cast<PLFLT>(( *thick )[i%thick->N_Elements()]), |
87 |
- 0,0,0,0, |
88 |
-- (plstream::fill), (oneDim), |
89 |
-- (oneDim)?(plstream::tr1):(plstream::tr2), (oneDim)?(void *)&cgrid1:(void *)&cgrid2); |
90 |
-+ (PLCALLBACK::fill), (oneDim), |
91 |
-+ (oneDim)?(PLCALLBACK::tr1):(PLCALLBACK::tr2), (oneDim)?(void *)&cgrid1:(void *)&cgrid2); |
92 |
- } |
93 |
- actStream->psty(0); |
94 |
- // if (docolors) gdlSetGraphicsForegroundColorFromKw( e, actStream ); |
95 |
-@@ -808,8 +808,8 @@ namespace lib |
96 |
- clevel[i], maxmax, |
97 |
- 1,value, |
98 |
- 0,0,0,0,0, |
99 |
-- plstream::fill, (oneDim), //Onedim is accelerator since rectangles are kept rectangles see plplot doc |
100 |
-- (oneDim)?(plstream::tr1):(plstream::tr2), (oneDim)?(void *)&cgrid1:(void *)&cgrid2); |
101 |
-+ PLCALLBACK::fill, (oneDim), //Onedim is accelerator since rectangles are kept rectangles see plplot doc |
102 |
-+ (oneDim)?(PLCALLBACK::tr1):(PLCALLBACK::tr2), (oneDim)?(void *)&cgrid1:(void *)&cgrid2); |
103 |
- } |
104 |
- } else { //every other case of fill |
105 |
- // note that plshades is not protected against 1 level (color formula is |
106 |
-@@ -818,8 +818,8 @@ namespace lib |
107 |
- if (nlevel>2 && !(docolors)) { //acceleration with shades when no c_colors are given. use continuous table1, decomposed or not. |
108 |
- //acceleration is most sensible when a (x,y) transform (rotate, stretch) is in place since plplot does not recompute the map. |
109 |
- actStream->shades( map, xEl, yEl, isLog?doIt:NULL, xStart, xEnd, yStart, yEnd, |
110 |
-- clevel, nlevel, 1, 0, 0, plstream::fill, (oneDim), |
111 |
-- (oneDim)?(plstream::tr1):(plstream::tr2), |
112 |
-+ clevel, nlevel, 1, 0, 0, PLCALLBACK::fill, (oneDim), |
113 |
-+ (oneDim)?(PLCALLBACK::tr1):(PLCALLBACK::tr2), |
114 |
- (oneDim)?(void *)&cgrid1:(void *)&cgrid2); |
115 |
- } |
116 |
- else { //fill with colors defined with c_colors or n<=2 |
117 |
-@@ -832,8 +832,8 @@ namespace lib |
118 |
- clevel[i], maxmax, |
119 |
- 1,value, |
120 |
- 0,0,0,0,0, |
121 |
-- plstream::fill, (oneDim), //Onedim is accelerator since rectangles are kept rectangles see plplot doc |
122 |
-- (oneDim)?(plstream::tr1):(plstream::tr2), (oneDim)?(void *)&cgrid1:(void *)&cgrid2); |
123 |
-+ PLCALLBACK::fill, (oneDim), //Onedim is accelerator since rectangles are kept rectangles see plplot doc |
124 |
-+ (oneDim)?(PLCALLBACK::tr1):(PLCALLBACK::tr2), (oneDim)?(void *)&cgrid1:(void *)&cgrid2); |
125 |
- } else |
126 |
- printf(" Problem, sorry! plplot doesn't like to FILL with a single level!"); |
127 |
- } |
128 |
-@@ -854,7 +854,7 @@ namespace lib |
129 |
- if (doT3d) { //no label in T3D , bug in plplot... |
130 |
- actStream->setcontlabelparam ( LABELOFFSET, (PLFLT) label_size, LABELSPACING, 0 ); |
131 |
- actStream->cont ( map, xEl, yEl, 1, xEl, 1, yEl, &( clevel[i] ), 1, |
132 |
-- (oneDim)?(plstream::tr1):(plstream::tr2), (oneDim)?(void *)&cgrid1:(void *)&cgrid2); |
133 |
-+ (oneDim)?(PLCALLBACK::tr1):(PLCALLBACK::tr2), (oneDim)?(void *)&cgrid1:(void *)&cgrid2); |
134 |
- } else { |
135 |
- if (dolabels && i<labels->N_Elements()) |
136 |
- { |
137 |
-@@ -862,16 +862,16 @@ namespace lib |
138 |
- //else (lables thicker than contours) impossible with plplot... |
139 |
- actStream->setcontlabelparam ( LABELOFFSET, (PLFLT) label_size, LABELSPACING, 0 ); |
140 |
- actStream->cont ( map, xEl, yEl, 1, xEl, 1, yEl, &( clevel[i] ), 1, |
141 |
-- (oneDim)?(plstream::tr1):(plstream::tr2), (oneDim)?(void *)&cgrid1:(void *)&cgrid2); //thick contours, no label |
142 |
-+ (oneDim)?(PLCALLBACK::tr1):(PLCALLBACK::tr2), (oneDim)?(void *)&cgrid1:(void *)&cgrid2); //thick contours, no label |
143 |
- actStream->Thick(label_thick); |
144 |
- } |
145 |
- actStream->setcontlabelparam ( LABELOFFSET, (PLFLT) label_size, LABELSPACING*sqrt(label_size),(PLINT)(*labels)[i] ); |
146 |
- actStream->cont ( map, xEl, yEl, 1, xEl, 1, yEl, &( clevel[i] ), 1, |
147 |
-- (oneDim)?(plstream::tr1):(plstream::tr2), (oneDim)?(void *)&cgrid1:(void *)&cgrid2); |
148 |
-+ (oneDim)?(PLCALLBACK::tr1):(PLCALLBACK::tr2), (oneDim)?(void *)&cgrid1:(void *)&cgrid2); |
149 |
- if (!dothick) gdlSetPenThickness(e, actStream); |
150 |
- } else { |
151 |
- actStream->cont ( map, xEl, yEl, 1, xEl, 1, yEl, &( clevel[i] ), 1, |
152 |
-- (oneDim)?(plstream::tr1):(plstream::tr2), (oneDim)?(void *)&cgrid1:(void *)&cgrid2); |
153 |
-+ (oneDim)?(PLCALLBACK::tr1):(PLCALLBACK::tr2), (oneDim)?(void *)&cgrid1:(void *)&cgrid2); |
154 |
- } |
155 |
- } |
156 |
- } |