1 |
commit: aff5eaa946f533f5e199d2d32e3279a505102280 |
2 |
Author: Amy Liffey <amynka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 25 10:24:28 2017 +0000 |
4 |
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 25 10:25:56 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aff5eaa9 |
7 |
|
8 |
media-gfx/meshlab: remove old |
9 |
|
10 |
Closes: https://bugs.gentoo.org/589980 |
11 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
12 |
|
13 |
media-gfx/meshlab/Manifest | 2 - |
14 |
.../meshlab/files/1.3.2/01_crash-on-save.patch | 29 ---- |
15 |
media-gfx/meshlab/files/1.3.2/02_cstddef.patch | 46 ------- |
16 |
.../meshlab/files/1.3.2/03_disable-updates.patch | 21 --- |
17 |
media-gfx/meshlab/files/1.3.2/05_externals.patch | 25 ---- |
18 |
.../meshlab/files/1.3.2/06_format-security.patch | 44 ------- |
19 |
media-gfx/meshlab/files/1.3.2/07_gcc47.patch | 105 --------------- |
20 |
media-gfx/meshlab/files/1.3.2/08_lib3ds.patch | 32 ----- |
21 |
media-gfx/meshlab/files/1.3.2/09_libbz2.patch | 31 ----- |
22 |
media-gfx/meshlab/files/1.3.2/10_muparser.patch | 30 ----- |
23 |
media-gfx/meshlab/files/1.3.2/11_openctm.patch | 31 ----- |
24 |
media-gfx/meshlab/files/1.3.2/12_overflow.patch | 23 ---- |
25 |
media-gfx/meshlab/files/1.3.2/13_pluginsdir.patch | 21 --- |
26 |
media-gfx/meshlab/files/1.3.2/14_ply_numeric.patch | 32 ----- |
27 |
media-gfx/meshlab/files/1.3.2/15_qhull.patch | 67 ---------- |
28 |
media-gfx/meshlab/files/1.3.2/16_shadersdir.patch | 49 ------- |
29 |
.../meshlab/files/1.3.2/17_structuresynth.patch | 48 ------- |
30 |
media-gfx/meshlab/files/1.3.2/18_glew.c18p1.patch | 146 --------------------- |
31 |
.../files/1.3.2/19_CONFLICTS_IN_rpath.patch | 32 ----- |
32 |
media-gfx/meshlab/files/1.3.2/20_rpath.c18p2.patch | 43 ------ |
33 |
media-gfx/meshlab/files/1.3.2/21_RESOLUTION.patch | 29 ---- |
34 |
media-gfx/meshlab/files/1.3.2/22_aliasing.patch | 43 ------ |
35 |
media-gfx/meshlab/files/1.3.3/gcc-4.7.patch | 12 -- |
36 |
media-gfx/meshlab/files/1.3.3/lapack.patch | 11 -- |
37 |
media-gfx/meshlab/files/1.3.3/meshrender.patch | 15 --- |
38 |
media-gfx/meshlab/files/1.3.3/mpir.patch | 10 -- |
39 |
media-gfx/meshlab/files/1.3.3/pluginmanager.patch | 14 -- |
40 |
media-gfx/meshlab/files/1.3.3/qt-4.8.patch | 11 -- |
41 |
media-gfx/meshlab/files/1.3.3/rfx.patch | 14 -- |
42 |
media-gfx/meshlab/files/1.3.3/rmmeshrender.patch | 15 --- |
43 |
media-gfx/meshlab/files/1.3.3/rpath.patch | 39 ------ |
44 |
media-gfx/meshlab/files/1.3.3/structuresynth.patch | 11 -- |
45 |
media-gfx/meshlab/meshlab-1.3.2.ebuild | 83 ------------ |
46 |
media-gfx/meshlab/meshlab-1.3.3-r1.ebuild | 72 ---------- |
47 |
34 files changed, 1236 deletions(-) |
48 |
|
49 |
diff --git a/media-gfx/meshlab/Manifest b/media-gfx/meshlab/Manifest |
50 |
index 621bcabd578..4e546dc7ad7 100644 |
51 |
--- a/media-gfx/meshlab/Manifest |
52 |
+++ b/media-gfx/meshlab/Manifest |
53 |
@@ -1,4 +1,2 @@ |
54 |
-DIST MeshLabSrc_AllInc_v132.tgz 12874196 SHA256 d57f0a99a55421aac54a66e2475d48f00f7b1752f9587cd69cf9b5b9c1a519b1 SHA512 40ef1f887d18e2146d6001d9c290bb76f6fc27caf13a1256a4061d5e2c43fd8dfdc843ace2cb83c6370648c2c5be3a22e2d5b31698df46e0695890d6a20651ac WHIRLPOOL aa6da94a8d5b9d28c9b787fe307774b7223e57278ed45c3bf1a823da9f5a9b59fd058a466f3f4dea3c4c57e3934b0aed88b1446f20e746349881c1bc965fec36 |
55 |
-DIST MeshLabSrc_AllInc_v133.tgz 13390531 SHA256 c9829cd1f58713f1f82d546af1ee69291b52a0f94585f803174fb9e55654980f SHA512 ec155292be10ebe17a7d41b26d51cce88e1f00b692b8adb29462a2c3cb15444c6f27067a3396e4427cd694c82424910ba80f32f536b5f5d46d6765b2461cef43 WHIRLPOOL f1f938e7eb8d648f2a8ac4399420d947efe403f19cc163b4a4e28f8cf620ae5aa22d17503e3b5ca7920996e78dfbb41dbd89447d61bd95e4a2f69420f2196d5d |
56 |
DIST meshlab-2016.12.tar.gz 94194402 BLAKE2B 53dda75b51198d529d35ae64e1b9d8ec240ec6031835e6cde2ff1ad21403086112a6f4b9acf5c6f53328787078b3e1a90cc177f5e009834b310cdf6b168c59b0 SHA512 68bf863fc390725a949578b545bc749bbe2c07ca75d1461772c7777fd6a4b095f11b64b5b0e8b729f83fea1bb9e3ca4b41123cdea3799a8eee0de587eb7bf1d8 |
57 |
DIST vcglib-1.0.1.tar.gz 9063634 BLAKE2B 91fba7ebf1ac18d0dfb33d3e26656e546b7c35ae753777730c44ebdf327413dfe94dd5e84907eb7e1644d70bfdf7d00ae8ecd0a81587d790a31354f7db09d626 SHA512 55d1854054744abae2d41e7b5041df89253bae108df5fc1cfe777013de7192dce04bc474475cb11a1d0343ebcab1ea61b381d9d9c36c452528043e85e75bc211 |
58 |
|
59 |
diff --git a/media-gfx/meshlab/files/1.3.2/01_crash-on-save.patch b/media-gfx/meshlab/files/1.3.2/01_crash-on-save.patch |
60 |
deleted file mode 100644 |
61 |
index 84c5ced8dc6..00000000000 |
62 |
--- a/media-gfx/meshlab/files/1.3.2/01_crash-on-save.patch |
63 |
+++ /dev/null |
64 |
@@ -1,29 +0,0 @@ |
65 |
-From: Teemu Ikonen <tpikonen@×××××.com> |
66 |
-Subject: Fix crash on project save (closes: #718583) |
67 |
-Git-Branch: p/crash-on-save |
68 |
-Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..cfc9473d1fa0e565d0aad4994fbb31 |
69 |
- |
70 |
-Patch from upstream SVN commit [r6114]. |
71 |
- |
72 |
- meshlab/src/meshlab/mainwindow_RunTime.cpp | 8 ++++++-- |
73 |
- 1 file changed, 6 insertions(+), 2 deletions(-) |
74 |
- |
75 |
-diff --git a/meshlab/src/meshlab/mainwindow_RunTime.cpp b/meshlab/src/meshlab/mainwindow_RunTime.cpp |
76 |
-index 8f5057c..3273cec 100644 |
77 |
---- a/meshlab/src/meshlab/mainwindow_RunTime.cpp |
78 |
-+++ b/meshlab/src/meshlab/mainwindow_RunTime.cpp |
79 |
-@@ -1575,8 +1575,12 @@ void MainWindow::saveProject() |
80 |
- |
81 |
- /*********WARNING!!!!!! CHANGE IT!!! ALSO IN THE OPENPROJECT FUNCTION********/ |
82 |
- meshDoc()->setDocLabel(fileName); |
83 |
-- mdiarea->activeSubWindow()->setWindowTitle(meshDoc()->docLabel()); |
84 |
-- layerDialog->setWindowTitle(meshDoc()->docLabel()); |
85 |
-+ QMdiSubWindow* sub = mdiarea->currentSubWindow(); |
86 |
-+ if (sub != NULL) |
87 |
-+ { |
88 |
-+ sub->setWindowTitle(meshDoc()->docLabel()); |
89 |
-+ layerDialog->setWindowTitle(meshDoc()->docLabel()); |
90 |
-+ } |
91 |
- /****************************************************************************/ |
92 |
- |
93 |
- |
94 |
|
95 |
diff --git a/media-gfx/meshlab/files/1.3.2/02_cstddef.patch b/media-gfx/meshlab/files/1.3.2/02_cstddef.patch |
96 |
deleted file mode 100644 |
97 |
index 903b0c77b54..00000000000 |
98 |
--- a/media-gfx/meshlab/files/1.3.2/02_cstddef.patch |
99 |
+++ /dev/null |
100 |
@@ -1,46 +0,0 @@ |
101 |
-From: Teemu Ikonen <tpikonen@×××××.com> |
102 |
-Subject: Include <cstddef> on files using offsetoff (closes: #625053) |
103 |
-Git-Branch: p/cstddef |
104 |
-Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..8fb2fc380c1a53d0e603d1aaeff156 |
105 |
- |
106 |
- vcglib/wrap/io_tetramesh/import_ply.h | 1 + |
107 |
- vcglib/wrap/io_trimesh/import_ply.h | 1 + |
108 |
- vcglib/wrap/ply/plystuff.h | 1 + |
109 |
- 3 files changed, 3 insertions(+) |
110 |
- |
111 |
-diff --git a/vcglib/wrap/io_tetramesh/import_ply.h b/vcglib/wrap/io_tetramesh/import_ply.h |
112 |
-index 0da4c1f..8370e48 100644 |
113 |
---- a/vcglib/wrap/io_tetramesh/import_ply.h |
114 |
-+++ b/vcglib/wrap/io_tetramesh/import_ply.h |
115 |
-@@ -36,6 +36,7 @@ created |
116 |
- #include<wrap/ply/io_mask.h> |
117 |
- #include<wrap/io_tetramesh/io_ply.h> |
118 |
- #include<vcg/complex/tetramesh/allocate.h> |
119 |
-+#include <cstddef> |
120 |
- |
121 |
- |
122 |
- |
123 |
-diff --git a/vcglib/wrap/io_trimesh/import_ply.h b/vcglib/wrap/io_trimesh/import_ply.h |
124 |
-index 13eaa30..ce2de3a 100644 |
125 |
---- a/vcglib/wrap/io_trimesh/import_ply.h |
126 |
-+++ b/vcglib/wrap/io_trimesh/import_ply.h |
127 |
-@@ -29,6 +29,7 @@ |
128 |
- #include<wrap/io_trimesh/io_mask.h> |
129 |
- #include<wrap/io_trimesh/io_ply.h> |
130 |
- #include<vcg/complex/algorithms/create/platonic.h> |
131 |
-+#include <cstddef> |
132 |
- |
133 |
- namespace vcg { |
134 |
- namespace tri { |
135 |
-diff --git a/vcglib/wrap/ply/plystuff.h b/vcglib/wrap/ply/plystuff.h |
136 |
-index 3e41e63..4761e9f 100644 |
137 |
---- a/vcglib/wrap/ply/plystuff.h |
138 |
-+++ b/vcglib/wrap/ply/plystuff.h |
139 |
-@@ -57,6 +57,7 @@ Cleaning of the automatic bbox caching support for ply files. First working vers |
140 |
- #include <sys/types.h> |
141 |
- #include <sys/stat.h> |
142 |
- #include <fcntl.h> |
143 |
-+#include <cstddef> |
144 |
- #ifdef WIN32 |
145 |
- #include <io.h> |
146 |
- #endif |
147 |
|
148 |
diff --git a/media-gfx/meshlab/files/1.3.2/03_disable-updates.patch b/media-gfx/meshlab/files/1.3.2/03_disable-updates.patch |
149 |
deleted file mode 100644 |
150 |
index 9702758dca8..00000000000 |
151 |
--- a/media-gfx/meshlab/files/1.3.2/03_disable-updates.patch |
152 |
+++ /dev/null |
153 |
@@ -1,21 +0,0 @@ |
154 |
-From: Teemu Ikonen <tpikonen@×××××.com> |
155 |
-Subject: Disable checking for updates on startup. |
156 |
-Git-Branch: p/disable-updates |
157 |
-Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..8f6cf9176644dce65ef4518b08526c |
158 |
- |
159 |
- meshlab/src/meshlab/mainwindow_Init.cpp | 2 +- |
160 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
161 |
- |
162 |
-diff --git a/meshlab/src/meshlab/mainwindow_Init.cpp b/meshlab/src/meshlab/mainwindow_Init.cpp |
163 |
-index de3ff1d..ce7bf81 100644 |
164 |
---- a/meshlab/src/meshlab/mainwindow_Init.cpp |
165 |
-+++ b/meshlab/src/meshlab/mainwindow_Init.cpp |
166 |
-@@ -926,7 +926,7 @@ void MainWindow::saveRecentFileList(const QString &fileName) |
167 |
- |
168 |
- if(loadedMeshCounter-lastComunicatedValue>connectionInterval && !myLocalBuf.isOpen()) |
169 |
- { |
170 |
--#if not defined(__DISABLE_AUTO_STATS__) |
171 |
-+#if defined(__ENABLE_AUTO_STATS__) |
172 |
- checkForUpdates(false); |
173 |
- #endif |
174 |
- int congratsMeshCounter = settings.value("congratsMeshCounter",50).toInt(); |
175 |
|
176 |
diff --git a/media-gfx/meshlab/files/1.3.2/05_externals.patch b/media-gfx/meshlab/files/1.3.2/05_externals.patch |
177 |
deleted file mode 100644 |
178 |
index 0592b570964..00000000000 |
179 |
--- a/media-gfx/meshlab/files/1.3.2/05_externals.patch |
180 |
+++ /dev/null |
181 |
@@ -1,25 +0,0 @@ |
182 |
-From: Teemu Ikonen <tpikonen@×××××.com> |
183 |
-Subject: Only build necessary external sources. |
184 |
-Git-Branch: p/externals |
185 |
-Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..ca572df8704909a1bbe18b1ce25d76 |
186 |
- |
187 |
- meshlab/src/external/external.pro | 7 +------ |
188 |
- 1 file changed, 1 insertion(+), 6 deletions(-) |
189 |
- |
190 |
-diff --git a/meshlab/src/external/external.pro b/meshlab/src/external/external.pro |
191 |
-index c103d88..324eb91 100644 |
192 |
---- a/meshlab/src/external/external.pro |
193 |
-+++ b/meshlab/src/external/external.pro |
194 |
-@@ -2,11 +2,6 @@ config += debug_and_release |
195 |
- |
196 |
- TEMPLATE = subdirs |
197 |
- |
198 |
--SUBDIRS = lib3ds-1.3.0/lib3ds \ |
199 |
-- bzip2-1.0.5/bzip2-1.0.5.pro \ |
200 |
-- muparser_v132/src \ |
201 |
-- levmar-2.3/levmar-2.3.pro \ |
202 |
-+SUBDIRS = levmar-2.3/levmar-2.3.pro \ |
203 |
- structuresynth/structuresynth.pro \ |
204 |
-- OpenCTM-1.0.3/openctm.pro \ |
205 |
- jhead-2.95/jhead-2.95.pro |
206 |
--# openkinect/openkinect.pro |
207 |
|
208 |
diff --git a/media-gfx/meshlab/files/1.3.2/06_format-security.patch b/media-gfx/meshlab/files/1.3.2/06_format-security.patch |
209 |
deleted file mode 100644 |
210 |
index 36a767ca07e..00000000000 |
211 |
--- a/media-gfx/meshlab/files/1.3.2/06_format-security.patch |
212 |
+++ /dev/null |
213 |
@@ -1,44 +0,0 @@ |
214 |
-From: Teemu Ikonen <tpikonen@×××××.com> |
215 |
-Subject: Fix compilation errors with -Werror=format-security. |
216 |
-Git-Branch: p/format-security |
217 |
-Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..be247b855ebb49a4d826d60b7d21a0 |
218 |
- |
219 |
- .../meshlabplugins/decorate_raster_proj/decorate_raster_proj.cpp | 4 ++-- |
220 |
- meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.cpp | 2 +- |
221 |
- 2 files changed, 3 insertions(+), 3 deletions(-) |
222 |
- |
223 |
-diff --git a/meshlab/src/meshlabplugins/decorate_raster_proj/decorate_raster_proj.cpp b/meshlab/src/meshlabplugins/decorate_raster_proj/decorate_raster_proj.cpp |
224 |
-index 4864214..233b657 100644 |
225 |
---- a/meshlab/src/meshlabplugins/decorate_raster_proj/decorate_raster_proj.cpp |
226 |
-+++ b/meshlab/src/meshlabplugins/decorate_raster_proj/decorate_raster_proj.cpp |
227 |
-@@ -526,7 +526,7 @@ bool DecorateRasterProjPlugin::startDecorate( QAction *act, |
228 |
- GLenum err = glewInit(); |
229 |
- if( err != GLEW_OK ) |
230 |
- { |
231 |
-- qWarning( (std::string("Impossible to load GLEW library.")+(char*)glewGetErrorString(err)).c_str() ); |
232 |
-+ qWarning("Impossible to load GLEW library: %s", glewGetErrorString(err)); |
233 |
- return false; |
234 |
- } |
235 |
- Log( "GLEW library correctly initialized." ); |
236 |
-@@ -536,7 +536,7 @@ bool DecorateRasterProjPlugin::startDecorate( QAction *act, |
237 |
- std::string logs; |
238 |
- if( !initShaders(logs) ) |
239 |
- { |
240 |
-- qWarning( ("Error while initializing shaders.\n"+logs).c_str() ); |
241 |
-+ qWarning("Error while initializing shaders.\n%s", logs.c_str()); |
242 |
- return false; |
243 |
- } |
244 |
- Log( "Shaders correctly loaded." ); |
245 |
-diff --git a/meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.cpp b/meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.cpp |
246 |
-index 88b6f9f..c23987c 100644 |
247 |
---- a/meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.cpp |
248 |
-+++ b/meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.cpp |
249 |
-@@ -269,7 +269,7 @@ void EditArc3DPlugin::ExportPly() |
250 |
- QString suffix = "." + qfInfo.completeSuffix(); |
251 |
- QString path = qfInfo.absoluteFilePath().remove(suffix); |
252 |
- path.append("Undist" + suffix); |
253 |
-- qDebug(path.toLatin1()); |
254 |
-+ qDebug("%s", path.toStdString().c_str()); |
255 |
- |
256 |
- QImage undistImg(originalImg.width(),originalImg.height(),originalImg.format()); |
257 |
- undistImg.fill(qRgba(0,0,0,255)); |
258 |
|
259 |
diff --git a/media-gfx/meshlab/files/1.3.2/07_gcc47.patch b/media-gfx/meshlab/files/1.3.2/07_gcc47.patch |
260 |
deleted file mode 100644 |
261 |
index df608d8369e..00000000000 |
262 |
--- a/media-gfx/meshlab/files/1.3.2/07_gcc47.patch |
263 |
+++ /dev/null |
264 |
@@ -1,105 +0,0 @@ |
265 |
-From: Teemu Ikonen <tpikonen@×××××.com> |
266 |
-Subject: Fix FTBFS with GCC-4.7 |
267 |
-Git-Branch: p/gcc47 |
268 |
-Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..07a6c6cf991f44779236b31381a7ca |
269 |
- |
270 |
-Closes: #667276 |
271 |
- |
272 |
-Thanks to Matej Vela for the patch. |
273 |
- |
274 |
- meshlab/src/meshlabplugins/decorate_base/colorhistogram.h | 2 +- |
275 |
- .../vcg/complex/algorithms/local_optimization/tri_edge_flip.h | 8 ++++---- |
276 |
- vcglib/vcg/space/index/grid_static_obj.h | 2 +- |
277 |
- vcglib/wrap/gl/trimesh.h | 2 +- |
278 |
- vcglib/wrap/ply/plystuff.h | 1 + |
279 |
- 5 files changed, 8 insertions(+), 7 deletions(-) |
280 |
- |
281 |
-diff --git a/meshlab/src/meshlabplugins/decorate_base/colorhistogram.h b/meshlab/src/meshlabplugins/decorate_base/colorhistogram.h |
282 |
-index 2351b2a..90c6d76 100644 |
283 |
---- a/meshlab/src/meshlabplugins/decorate_base/colorhistogram.h |
284 |
-+++ b/meshlab/src/meshlabplugins/decorate_base/colorhistogram.h |
285 |
-@@ -40,7 +40,7 @@ public: |
286 |
- |
287 |
- //! Reset histogram data. |
288 |
- void Clear() { |
289 |
-- this->::Clear(); |
290 |
-+ Histogram<ScalarType>::Clear(); |
291 |
- CV.clear(); |
292 |
- } |
293 |
- /* |
294 |
-diff --git a/vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h b/vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h |
295 |
-index 9054166..f40f0dc 100644 |
296 |
---- a/vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h |
297 |
-+++ b/vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h |
298 |
-@@ -558,13 +558,13 @@ public: |
299 |
- // edges of the first face, except the flipped edge |
300 |
- for(int i = 0; i < 3; i++) if(i != flipped) { |
301 |
- PosType newpos(f1, i); |
302 |
-- Insert(heap, newpos, this->GlobalMark()); |
303 |
-+ this->Insert(heap, newpos, this->GlobalMark()); |
304 |
- } |
305 |
- |
306 |
- // edges of the second face, except the flipped edge |
307 |
- for(int i = 0; i < 3; i++) if(i != f1->FFi(flipped)) { |
308 |
- PosType newpos(f2, i); |
309 |
-- Insert(heap, newpos, this->GlobalMark()); |
310 |
-+ this->Insert(heap, newpos, this->GlobalMark()); |
311 |
- } |
312 |
- |
313 |
- // every edge with v0, v1 v3 of f1 |
314 |
-@@ -583,7 +583,7 @@ public: |
315 |
- do { |
316 |
- VertexPointer v = pos.VFlip(); |
317 |
- if(v != v0 && v != v1 && v != v2 && v != v3) |
318 |
-- Insert(heap, pos, this->GlobalMark()); |
319 |
-+ this->Insert(heap, pos, this->GlobalMark()); |
320 |
- |
321 |
- pos.NextE(); |
322 |
- } while(pos != startpos && !pos.IsBorder()); |
323 |
-@@ -603,7 +603,7 @@ public: |
324 |
- do { |
325 |
- VertexPointer v = pos.VFlip(); |
326 |
- if(v != v0 && v != v1 && v != v2 && v != v3) |
327 |
-- Insert(heap, pos, this->GlobalMark()); |
328 |
-+ this->Insert(heap, pos, this->GlobalMark()); |
329 |
- |
330 |
- pos.NextE(); |
331 |
- } while(pos != startpos && !pos.IsBorder()); |
332 |
-diff --git a/vcglib/vcg/space/index/grid_static_obj.h b/vcglib/vcg/space/index/grid_static_obj.h |
333 |
-index 0554393..26608d5 100644 |
334 |
---- a/vcglib/vcg/space/index/grid_static_obj.h |
335 |
-+++ b/vcglib/vcg/space/index/grid_static_obj.h |
336 |
-@@ -72,7 +72,7 @@ class GridStaticObj : public BasicGrid<FLT> |
337 |
- inline ~GridStaticObj() { if(grid) delete[] grid; } |
338 |
- inline void Init(const ObjType &val) |
339 |
- { |
340 |
-- fill(grid,grid+size(),val); |
341 |
-+ std::fill(grid,grid+size(),val); |
342 |
- } |
343 |
- |
344 |
- |
345 |
-diff --git a/vcglib/wrap/gl/trimesh.h b/vcglib/wrap/gl/trimesh.h |
346 |
-index 5d40404..ba72456 100644 |
347 |
---- a/vcglib/wrap/gl/trimesh.h |
348 |
-+++ b/vcglib/wrap/gl/trimesh.h |
349 |
-@@ -1003,7 +1003,7 @@ void Crease(MESH_TYPE &m, typename MESH_TYPE::scalar_type angleRad) |
350 |
- } |
351 |
- } |
352 |
- |
353 |
-- m.vert.math::Swap(newvert); |
354 |
-+ m.vert.swap(newvert); |
355 |
- m.vn=m.vert.size(); |
356 |
- } |
357 |
- |
358 |
-diff --git a/vcglib/wrap/ply/plystuff.h b/vcglib/wrap/ply/plystuff.h |
359 |
-index 3e41e63..4af9508 100644 |
360 |
---- a/vcglib/wrap/ply/plystuff.h |
361 |
-+++ b/vcglib/wrap/ply/plystuff.h |
362 |
-@@ -75,6 +75,7 @@ using namespace vcg; |
363 |
- #define pb_close _close |
364 |
- #define DIR_SEP "\\" |
365 |
- #else |
366 |
-+#include <unistd.h> |
367 |
- #define pb_mkdir(n) mkdir(n,0755) |
368 |
- #define pb_access access |
369 |
- #define pb_stat stat |
370 |
|
371 |
diff --git a/media-gfx/meshlab/files/1.3.2/08_lib3ds.patch b/media-gfx/meshlab/files/1.3.2/08_lib3ds.patch |
372 |
deleted file mode 100644 |
373 |
index 243ed1d9668..00000000000 |
374 |
--- a/media-gfx/meshlab/files/1.3.2/08_lib3ds.patch |
375 |
+++ /dev/null |
376 |
@@ -1,32 +0,0 @@ |
377 |
-From: Teemu Ikonen <tpikonen@×××××.com> |
378 |
-Subject: Use Debian lib3ds. |
379 |
-Git-Branch: p/lib3ds |
380 |
-Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..944ece3e566dbf4cc885163178d303 |
381 |
- |
382 |
- meshlab/src/meshlabplugins/io_3ds/io_3ds.pro | 6 ++---- |
383 |
- 1 file changed, 2 insertions(+), 4 deletions(-) |
384 |
- |
385 |
-diff --git a/meshlab/src/meshlabplugins/io_3ds/io_3ds.pro b/meshlab/src/meshlabplugins/io_3ds/io_3ds.pro |
386 |
-index cf8052a..fed064d 100644 |
387 |
---- a/meshlab/src/meshlabplugins/io_3ds/io_3ds.pro |
388 |
-+++ b/meshlab/src/meshlabplugins/io_3ds/io_3ds.pro |
389 |
-@@ -14,7 +14,7 @@ SOURCES += meshio.cpp \ |
390 |
- |
391 |
- TARGET = io_3ds |
392 |
- |
393 |
--INCLUDEPATH += ../../external/lib3ds-1.3.0/ |
394 |
-+INCLUDEPATH += /usr/include/lib3ds |
395 |
- |
396 |
- # Notes on the paths of lib3ds files. |
397 |
- # Once you have compiled the library put the lib files in a dir named lib/XXX/ |
398 |
-@@ -25,9 +25,7 @@ win32-msvc.net:LIBS += ../../external/lib/win32-msvc.net/3ds.lib |
399 |
- win32-msvc2005:LIBS += ../../external/lib/win32-msvc2005/3ds.lib |
400 |
- win32-msvc2008:LIBS += ../../external/lib/win32-msvc2008/3ds.lib |
401 |
- win32-g++:LIBS += ../../external/lib/win32-gcc/lib3ds.a |
402 |
--linux-g++:LIBS += ../../external/lib/linux-g++/lib3ds.a |
403 |
--linux-g++-32:LIBS += ../../external/lib/linux-g++-32/lib3ds.a |
404 |
--linux-g++-64:LIBS += ../../external/lib/linux-g++-64/lib3ds.a |
405 |
-+linux-g++:LIBS += -l3ds |
406 |
- |
407 |
- # unix:LIBS += -L../../../../code/lib/lib3ds-1.3.0/lib3ds/lib/unix -l3ds |
408 |
- |
409 |
|
410 |
diff --git a/media-gfx/meshlab/files/1.3.2/09_libbz2.patch b/media-gfx/meshlab/files/1.3.2/09_libbz2.patch |
411 |
deleted file mode 100644 |
412 |
index 1b064f7f6ae..00000000000 |
413 |
--- a/media-gfx/meshlab/files/1.3.2/09_libbz2.patch |
414 |
+++ /dev/null |
415 |
@@ -1,31 +0,0 @@ |
416 |
-From: Teemu Ikonen <tpikonen@×××××.com> |
417 |
-Subject: Use Debian libbz2. |
418 |
-Git-Branch: p/libbz2 |
419 |
-Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..a6e1a0b242a02075c0d686ec4fa8b8 |
420 |
- |
421 |
- meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.pro | 8 ++------ |
422 |
- 1 file changed, 2 insertions(+), 6 deletions(-) |
423 |
- |
424 |
-diff --git a/meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.pro b/meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.pro |
425 |
-index e317b99..94dc124 100644 |
426 |
---- a/meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.pro |
427 |
-+++ b/meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.pro |
428 |
-@@ -32,16 +32,12 @@ RESOURCES = edit_arc3D.qrc |
429 |
- win32-msvc2005:LIBS += ../../external/lib/win32-msvc2005/bz2.lib |
430 |
- win32-msvc2008:LIBS += ../../external/lib/win32-msvc2008/bz2.lib |
431 |
- win32-g++:LIBS += ../../external/lib/win32-gcc/libbz2.a |
432 |
--linux-g++:LIBS += ../../external/lib/linux-g++/libbz2.a |
433 |
--linux-g++-32:LIBS += ../../external/lib/linux-g++-32/libbz2.a |
434 |
--linux-g++-64:LIBS += ../../external/lib/linux-g++-64/libbz2.a |
435 |
-+linux-g++:LIBS += -lbz2 |
436 |
- |
437 |
- win32-msvc2005:INCLUDEPATH += ../../external/bzip2-1.0.5 |
438 |
- win32-msvc2008:INCLUDEPATH += ../../external/bzip2-1.0.5 |
439 |
- win32-g++:INCLUDEPATH += ../../external/bzip2-1.0.5 |
440 |
--linux-g++:INCLUDEPATH += ../../external/bzip2-1.0.5 |
441 |
--linux-g++-32:INCLUDEPATH += ../../external/bzip2-1.0.5 |
442 |
--linux-g++-64:INCLUDEPATH += ../../external/bzip2-1.0.5 |
443 |
-+linux-g++:INCLUDEPATH += /usr/include |
444 |
- |
445 |
- mac:LIBS += -lbz2 |
446 |
- |
447 |
|
448 |
diff --git a/media-gfx/meshlab/files/1.3.2/10_muparser.patch b/media-gfx/meshlab/files/1.3.2/10_muparser.patch |
449 |
deleted file mode 100644 |
450 |
index f640377c59f..00000000000 |
451 |
--- a/media-gfx/meshlab/files/1.3.2/10_muparser.patch |
452 |
+++ /dev/null |
453 |
@@ -1,30 +0,0 @@ |
454 |
-From: Teemu Ikonen <tpikonen@×××××.com> |
455 |
-Subject: Use Debian muparser. |
456 |
-Git-Branch: p/muparser |
457 |
-Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..5e9cfcdae805ddac6f550b2a9f7011 |
458 |
- |
459 |
- meshlab/src/meshlabplugins/filter_func/filter_func.pro | 6 ++---- |
460 |
- 1 file changed, 2 insertions(+), 4 deletions(-) |
461 |
- |
462 |
-diff --git a/meshlab/src/meshlabplugins/filter_func/filter_func.pro b/meshlab/src/meshlabplugins/filter_func/filter_func.pro |
463 |
-index 3bcce2a..9a147b2 100644 |
464 |
---- a/meshlab/src/meshlabplugins/filter_func/filter_func.pro |
465 |
-+++ b/meshlab/src/meshlabplugins/filter_func/filter_func.pro |
466 |
-@@ -6,7 +6,7 @@ SOURCES += filter_func.cpp |
467 |
- |
468 |
- TARGET = filter_func |
469 |
- |
470 |
--INCLUDEPATH += ../../external/muparser_v132/include |
471 |
-+INCLUDEPATH += /usr/include/muParser |
472 |
- |
473 |
- # Note: we need static libs so when building muparser lib use |
474 |
- # ./configure --enable-shared=no |
475 |
-@@ -14,7 +14,5 @@ INCLUDEPATH += ../../external/muparser_v132/include |
476 |
- win32-msvc2005:LIBS += ../../external/lib/win32-msvc2005/muparser.lib |
477 |
- win32-msvc2008:LIBS += ../../external/lib/win32-msvc2008/muparser.lib |
478 |
- macx:LIBS += $$MACLIBDIR/libmuparser.a |
479 |
--linux-g++:LIBS += ../../external/lib/linux-g++/libmuparser.a |
480 |
--linux-g++-32:LIBS += ../../external/lib/linux-g++-32/libmuparser.a |
481 |
--linux-g++-64:LIBS += ../../external/lib/linux-g++-64/libmuparser.a |
482 |
-+linux-g++:LIBS += -lmuparser |
483 |
- win32-g++:LIBS += ../../external/lib/win32-gcc/libmuparser.a |
484 |
|
485 |
diff --git a/media-gfx/meshlab/files/1.3.2/11_openctm.patch b/media-gfx/meshlab/files/1.3.2/11_openctm.patch |
486 |
deleted file mode 100644 |
487 |
index 7fcbced741a..00000000000 |
488 |
--- a/media-gfx/meshlab/files/1.3.2/11_openctm.patch |
489 |
+++ /dev/null |
490 |
@@ -1,31 +0,0 @@ |
491 |
-From: Teemu Ikonen <tpikonen@×××××.com> |
492 |
-Subject: Use Debian OpenCTM |
493 |
-Git-Branch: p/openctm |
494 |
-Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..e067d2c66c2408593f62f9c7776eed |
495 |
- |
496 |
- meshlab/src/meshlabplugins/io_ctm/io_ctm.pro | 6 ++---- |
497 |
- 1 file changed, 2 insertions(+), 4 deletions(-) |
498 |
- |
499 |
-diff --git a/meshlab/src/meshlabplugins/io_ctm/io_ctm.pro b/meshlab/src/meshlabplugins/io_ctm/io_ctm.pro |
500 |
-index 1084902..31f0237 100644 |
501 |
---- a/meshlab/src/meshlabplugins/io_ctm/io_ctm.pro |
502 |
-+++ b/meshlab/src/meshlabplugins/io_ctm/io_ctm.pro |
503 |
-@@ -3,7 +3,7 @@ HEADERS += io_ctm.h \ |
504 |
- $$VCGDIR/wrap/io_trimesh/import_ctm.h \ |
505 |
- $$VCGDIR/wrap/io_trimesh/export_ctm.h |
506 |
- SOURCES += io_ctm.cpp |
507 |
--INCLUDEPATH += ../../external/OpenCTM-1.0.3/lib |
508 |
-+INCLUDEPATH += /usr/include |
509 |
- TARGET = io_ctm |
510 |
- |
511 |
- win32-msvc.net:QMAKE_CXXFLAGS += /DOPENCTM_STATIC |
512 |
-@@ -15,8 +15,6 @@ win32-msvc.net:LIBS += ../../external/lib/win32-msvc.net/openctm.lib |
513 |
- win32-msvc2005:LIBS += ../../external/lib/win32-msvc2005/openctm.lib |
514 |
- win32-msvc2008:LIBS += ../../external/lib/win32-msvc2008/openctm.lib |
515 |
- win32-g++:LIBS += ../../external/lib/win32-gcc/libopenctm.a |
516 |
--linux-g++:LIBS += ../../external/lib/linux-g++/libopenctm.a |
517 |
--linux-g++-32:LIBS += ../../external/lib/linux-g++-32/libopenctm.a |
518 |
--linux-g++-64:LIBS += ../../external/lib/linux-g++-64/libopenctm.a |
519 |
-+linux-g++:LIBS += -lopenctm |
520 |
- #macx:LIBS += ../../external/lib/macx/libopenctm.a |
521 |
- macx:LIBS += $$MACLIBDIR/libopenctm.a |
522 |
|
523 |
diff --git a/media-gfx/meshlab/files/1.3.2/12_overflow.patch b/media-gfx/meshlab/files/1.3.2/12_overflow.patch |
524 |
deleted file mode 100644 |
525 |
index 7bf594302c8..00000000000 |
526 |
--- a/media-gfx/meshlab/files/1.3.2/12_overflow.patch |
527 |
+++ /dev/null |
528 |
@@ -1,23 +0,0 @@ |
529 |
-From: Teemu Ikonen <tpikonen@×××××.com> |
530 |
-Subject: Fix overflowing array index in VCGlib |
531 |
-Git-Branch: p/overflow |
532 |
-Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..ec0961589f0d134ab51265b8431c5f |
533 |
- |
534 |
-Fixes also E-array-bounds error in Debian build log scanner. |
535 |
- |
536 |
- vcglib/wrap/gl/addons.h | 2 +- |
537 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
538 |
- |
539 |
-diff --git a/vcglib/wrap/gl/addons.h b/vcglib/wrap/gl/addons.h |
540 |
-index 002ff1b..bc863bf 100644 |
541 |
---- a/vcglib/wrap/gl/addons.h |
542 |
-+++ b/vcglib/wrap/gl/addons.h |
543 |
-@@ -292,7 +292,7 @@ public: |
544 |
- P[1] = Point3f( 0, sinf(angle), cosf(angle)); |
545 |
- assert(!glGetError()); |
546 |
- glBegin(GL_TRIANGLES); |
547 |
-- Point3f n = ( (P[0]-p0) ^ (P[2]-p0) ).Normalize(); |
548 |
-+ Point3f n = ( (P[0]-p0) ^ (P[1]-p0) ).Normalize(); |
549 |
- glNormal3f(n[0],n[1],n[2]); |
550 |
- glVertex3f(p0[0],p0[1],p0[2]); |
551 |
- glNormal3f(N[0][0],N[0][1],N[0][2]); |
552 |
|
553 |
diff --git a/media-gfx/meshlab/files/1.3.2/13_pluginsdir.patch b/media-gfx/meshlab/files/1.3.2/13_pluginsdir.patch |
554 |
deleted file mode 100644 |
555 |
index f92ad6376ff..00000000000 |
556 |
--- a/media-gfx/meshlab/files/1.3.2/13_pluginsdir.patch |
557 |
+++ /dev/null |
558 |
@@ -1,21 +0,0 @@ |
559 |
-From: Teemu Ikonen <tpikonen@×××××.com> |
560 |
-Subject: Hardcode pluginsDir to the correct path in Debian |
561 |
-Git-Branch: p/pluginsdir |
562 |
-Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..e1db74a038fd5fc27cc5e9f0bee8d3 |
563 |
- |
564 |
- meshlab/src/common/pluginmanager.cpp | 2 +- |
565 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
566 |
- |
567 |
-diff --git a/meshlab/src/common/pluginmanager.cpp b/meshlab/src/common/pluginmanager.cpp |
568 |
-index d84c8fa..a039736 100644 |
569 |
---- a/meshlab/src/common/pluginmanager.cpp |
570 |
-+++ b/meshlab/src/common/pluginmanager.cpp |
571 |
-@@ -230,7 +230,7 @@ QString PluginManager::getBaseDirPath() |
572 |
- |
573 |
- QString PluginManager::getPluginDirPath() |
574 |
- { |
575 |
-- QDir pluginsDir(getBaseDirPath()); |
576 |
-+ QDir pluginsDir("/usr/lib/meshlab"); |
577 |
- if(!pluginsDir.exists("plugins")) |
578 |
- //QMessageBox::warning(0,"Meshlab Initialization","Serious error. Unable to find the plugins directory."); |
579 |
- qDebug("Meshlab Initialization: Serious error. Unable to find the plugins directory."); |
580 |
|
581 |
diff --git a/media-gfx/meshlab/files/1.3.2/14_ply_numeric.patch b/media-gfx/meshlab/files/1.3.2/14_ply_numeric.patch |
582 |
deleted file mode 100644 |
583 |
index 2f7c6e0a72d..00000000000 |
584 |
--- a/media-gfx/meshlab/files/1.3.2/14_ply_numeric.patch |
585 |
+++ /dev/null |
586 |
@@ -1,32 +0,0 @@ |
587 |
-From: Teemu Ikonen <tpikonen@×××××.com> |
588 |
-Subject: Set LC_NUMERIC to "C" |
589 |
-Git-Branch: p/ply_numeric |
590 |
-Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..2aeac7daa4785a9cf0b2480f663780 |
591 |
- |
592 |
-Fixes reading of ascii float values in locales which use the comma as a |
593 |
-float separator. |
594 |
- |
595 |
- meshlab/src/meshlab/main.cpp | 4 ++++ |
596 |
- 1 file changed, 4 insertions(+) |
597 |
- |
598 |
-diff --git a/meshlab/src/meshlab/main.cpp b/meshlab/src/meshlab/main.cpp |
599 |
-index 7058e31..e452e87 100644 |
600 |
---- a/meshlab/src/meshlab/main.cpp |
601 |
-+++ b/meshlab/src/meshlab/main.cpp |
602 |
-@@ -25,12 +25,16 @@ |
603 |
- #include <QMessageBox> |
604 |
- #include "mainwindow.h" |
605 |
- |
606 |
-+using namespace std; |
607 |
-+ |
608 |
- int main(int argc, char *argv[]) |
609 |
- { |
610 |
- MeshLabApplication app(argc, argv); |
611 |
- QLocale::setDefault(QLocale::C); |
612 |
- QCoreApplication::setOrganizationName("VCG"); |
613 |
- QCoreApplication::setApplicationName("MeshLab"); |
614 |
-+ |
615 |
-+ std::setlocale(LC_NUMERIC, "C"); |
616 |
- |
617 |
- if(argc>1) |
618 |
- { |
619 |
|
620 |
diff --git a/media-gfx/meshlab/files/1.3.2/15_qhull.patch b/media-gfx/meshlab/files/1.3.2/15_qhull.patch |
621 |
deleted file mode 100644 |
622 |
index 6c1f70a3f0b..00000000000 |
623 |
--- a/media-gfx/meshlab/files/1.3.2/15_qhull.patch |
624 |
+++ /dev/null |
625 |
@@ -1,67 +0,0 @@ |
626 |
-diff -Naur a/meshlab/src/meshlabplugins/filter_qhull/filter_qhull.pro b/meshlab/src/meshlabplugins/filter_qhull/filter_qhull.pro |
627 |
---- a/meshlab/src/meshlabplugins/filter_qhull/filter_qhull.pro 2013-10-30 21:12:42.000000000 +0000 |
628 |
-+++ b/meshlab/src/meshlabplugins/filter_qhull/filter_qhull.pro 2013-10-30 21:31:35.692580129 +0000 |
629 |
-@@ -8,28 +8,6 @@ |
630 |
- SOURCES += filter_qhull.cpp \ |
631 |
- qhull_tools.cpp |
632 |
- |
633 |
--HEADERS += ../../external/qhull-2003.1/src/geom.h \ |
634 |
-- ../../external/qhull-2003.1/src/io.h \ |
635 |
-- ../../external/qhull-2003.1/src/mem.h \ |
636 |
-- ../../external/qhull-2003.1/src/merge.h \ |
637 |
-- ../../external/qhull-2003.1/src/poly.h \ |
638 |
-- ../../external/qhull-2003.1/src/qhull.h \ |
639 |
-- ../../external/qhull-2003.1/src/qset.h \ |
640 |
-- ../../external/qhull-2003.1/src/stat.h \ |
641 |
-- ../../external/qhull-2003.1/src/user.h |
642 |
-- |
643 |
--SOURCES += ../../external/qhull-2003.1/src/geom.c \ |
644 |
-- ../../external/qhull-2003.1/src/geom2.c \ |
645 |
-- ../../external/qhull-2003.1/src/global.c \ |
646 |
-- ../../external/qhull-2003.1/src/io.c \ |
647 |
-- ../../external/qhull-2003.1/src/mem.c \ |
648 |
-- ../../external/qhull-2003.1/src/merge.c \ |
649 |
-- ../../external/qhull-2003.1/src/poly.c \ |
650 |
-- ../../external/qhull-2003.1/src/poly2.c \ |
651 |
-- ../../external/qhull-2003.1/src/qconvex.c \ |
652 |
-- ../../external/qhull-2003.1/src/qhull.c \ |
653 |
-- ../../external/qhull-2003.1/src/qset.c \ |
654 |
-- ../../external/qhull-2003.1/src/stat.c \ |
655 |
-- ../../external/qhull-2003.1/src/user.c |
656 |
-+LIBS += -lqhull |
657 |
- |
658 |
- TARGET = filter_qhull |
659 |
-\ В конце файла нет новой строки |
660 |
-diff -Naur a/meshlab/src/meshlabplugins/filter_qhull/qhull_tools.h b/meshlab/src/meshlabplugins/filter_qhull/qhull_tools.h |
661 |
---- a/meshlab/src/meshlabplugins/filter_qhull/qhull_tools.h 1970-01-01 00:00:00.000000000 +0000 |
662 |
-+++ b/meshlab/src/meshlabplugins/filter_qhull/qhull_tools.h 2013-10-30 21:32:57.242574626 +0000 |
663 |
-@@ -0,0 +1,29 @@ |
664 |
-+ |
665 |
-+#include <common/meshmodel.h> |
666 |
-+#include <math.h> |
667 |
-+ |
668 |
-+ |
669 |
-+#if defined(__cplusplus) |
670 |
-+extern "C" |
671 |
-+{ |
672 |
-+#endif |
673 |
-+#include <stdio.h> |
674 |
-+#include <stdlib.h> |
675 |
-+#include <libqhull/libqhull.h> |
676 |
-+#include <libqhull/mem.h> |
677 |
-+#include <libqhull/qset.h> |
678 |
-+#include <libqhull/geom.h> |
679 |
-+#include <libqhull/merge.h> |
680 |
-+#include <libqhull/poly.h> |
681 |
-+#include <libqhull/io.h> |
682 |
-+#include <libqhull/stat.h> |
683 |
-+#if defined(__cplusplus) |
684 |
-+} |
685 |
-+#endif |
686 |
-+ |
687 |
-+facetT *compute_convex_hull(int dim, int numpoints, MeshModel &m); |
688 |
-+facetT *compute_delaunay(int dim, int numpoints, MeshModel &m); |
689 |
-+bool compute_voronoi(int dim, int numpoints, MeshModel &m, MeshModel &pm,float threshold); |
690 |
-+bool compute_alpha_shapes(int dim, int numpoints, MeshModel &m, MeshModel &pm,double alpha, bool alphashape); |
691 |
-+int visible_points(int dim, int numpoints, MeshModel &m, MeshModel &pm,MeshModel &pm2, vcg::Point3f viewpointP,float threshold,bool convex_hullFP,bool triangVP); |
692 |
-+ |
693 |
|
694 |
diff --git a/media-gfx/meshlab/files/1.3.2/16_shadersdir.patch b/media-gfx/meshlab/files/1.3.2/16_shadersdir.patch |
695 |
deleted file mode 100644 |
696 |
index d8ebc206f04..00000000000 |
697 |
--- a/media-gfx/meshlab/files/1.3.2/16_shadersdir.patch |
698 |
+++ /dev/null |
699 |
@@ -1,49 +0,0 @@ |
700 |
-From: Teemu Ikonen <tpikonen@×××××.com> |
701 |
-Subject: Hardcode shadersDir to the correct path in Debian in various plugins |
702 |
-Git-Branch: p/shadersdir |
703 |
-Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..06b8aa9ce525fc0c5c221f5d675c29 |
704 |
- |
705 |
- meshlab/src/meshlabplugins/render_gdp/meshrender.cpp | 2 +- |
706 |
- meshlab/src/meshlabplugins/render_gdp/shaderDialog.cpp | 2 +- |
707 |
- meshlab/src/meshlabplugins/render_rfx/render_rfx.cpp | 2 +- |
708 |
- 3 files changed, 3 insertions(+), 3 deletions(-) |
709 |
- |
710 |
-diff --git a/meshlab/src/meshlabplugins/render_gdp/meshrender.cpp b/meshlab/src/meshlabplugins/render_gdp/meshrender.cpp |
711 |
-index 64dbcc3..c07998c 100644 |
712 |
---- a/meshlab/src/meshlabplugins/render_gdp/meshrender.cpp |
713 |
-+++ b/meshlab/src/meshlabplugins/render_gdp/meshrender.cpp |
714 |
-@@ -39,7 +39,7 @@ void MeshShaderRenderPlugin::initActionList() { |
715 |
- qaNone->setCheckable(false); |
716 |
- actionList << qaNone;*/ |
717 |
- |
718 |
-- QDir shadersDir = QDir(qApp->applicationDirPath()); |
719 |
-+ QDir shadersDir = QDir("/usr/share/meshlab"); |
720 |
- #if defined(Q_OS_WIN) |
721 |
- if (shadersDir.dirName() == "debug" || shadersDir.dirName() == "release" || shadersDir.dirName() == "plugins" ) |
722 |
- shadersDir.cdUp(); |
723 |
-diff --git a/meshlab/src/meshlabplugins/render_gdp/shaderDialog.cpp b/meshlab/src/meshlabplugins/render_gdp/shaderDialog.cpp |
724 |
-index 9c45981..0256805 100644 |
725 |
---- a/meshlab/src/meshlabplugins/render_gdp/shaderDialog.cpp |
726 |
-+++ b/meshlab/src/meshlabplugins/render_gdp/shaderDialog.cpp |
727 |
-@@ -323,7 +323,7 @@ void ShaderDialog::changeTexturePath(int i) { |
728 |
- void ShaderDialog::browseTexturePath(int i) { |
729 |
- QFileDialog fd(0,"Choose new texture"); |
730 |
- |
731 |
-- QDir shadersDir = QDir(qApp->applicationDirPath()); |
732 |
-+ QDir shadersDir = QDir("/usr/share/meshlab"); |
733 |
- #if defined(Q_OS_WIN) |
734 |
- if (shadersDir.dirName() == "debug" || shadersDir.dirName() == "release") |
735 |
- shadersDir.cdUp(); |
736 |
-diff --git a/meshlab/src/meshlabplugins/render_rfx/render_rfx.cpp b/meshlab/src/meshlabplugins/render_rfx/render_rfx.cpp |
737 |
-index e327cea..eb67fd2 100755 |
738 |
---- a/meshlab/src/meshlabplugins/render_rfx/render_rfx.cpp |
739 |
-+++ b/meshlab/src/meshlabplugins/render_rfx/render_rfx.cpp |
740 |
-@@ -55,7 +55,7 @@ QList<QAction*> RenderRFX::actions() |
741 |
- |
742 |
- void RenderRFX::initActionList() |
743 |
- { |
744 |
-- QDir shadersDir = PluginManager::getBaseDirPath(); |
745 |
-+ QDir shadersDir = QDir("/usr/share/meshlab"); |
746 |
- |
747 |
- #if defined(Q_OS_WIN) |
748 |
- if (shadersDir.dirName() == "debug" || |
749 |
|
750 |
diff --git a/media-gfx/meshlab/files/1.3.2/17_structuresynth.patch b/media-gfx/meshlab/files/1.3.2/17_structuresynth.patch |
751 |
deleted file mode 100644 |
752 |
index 6a6b84c8d68..00000000000 |
753 |
--- a/media-gfx/meshlab/files/1.3.2/17_structuresynth.patch |
754 |
+++ /dev/null |
755 |
@@ -1,48 +0,0 @@ |
756 |
-From: Teemu Ikonen <tpikonen@×××××.com> |
757 |
-Subject: Include glu.h where needed in included structure-synth code. |
758 |
-Git-Branch: p/structuresynth |
759 |
-Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..45495fd45078a06d7c5f7405ba636c |
760 |
- |
761 |
-Also link structuresynth code with libGLU. |
762 |
- |
763 |
-This FTBS was exposed by GCC-4.7. See Debian bug #672000 for the same |
764 |
-issue in the real structure-synth Debian package. |
765 |
- |
766 |
- .../structuresynth/ssynth/SyntopiaCore/GLEngine/EngineWidget.h | 1 + |
767 |
- .../src/external/structuresynth/ssynth/SyntopiaCore/GLEngine/Sphere.h | 1 + |
768 |
- meshlab/src/external/structuresynth/structuresynth.pro | 1 + |
769 |
- 3 files changed, 3 insertions(+) |
770 |
- |
771 |
-diff --git a/meshlab/src/external/structuresynth/ssynth/SyntopiaCore/GLEngine/EngineWidget.h b/meshlab/src/external/structuresynth/ssynth/SyntopiaCore/GLEngine/EngineWidget.h |
772 |
-index 8905cbe..e13b011 100644 |
773 |
---- a/meshlab/src/external/structuresynth/ssynth/SyntopiaCore/GLEngine/EngineWidget.h |
774 |
-+++ b/meshlab/src/external/structuresynth/ssynth/SyntopiaCore/GLEngine/EngineWidget.h |
775 |
-@@ -5,6 +5,7 @@ |
776 |
- #include <QMainWindow> |
777 |
- #include <QPoint> |
778 |
- #include <QList> |
779 |
-+#include <GL/glu.h> |
780 |
- |
781 |
- #include "SyntopiaCore/Math/Vector3.h" |
782 |
- #include "SyntopiaCore/Math/Matrix4.h" |
783 |
-diff --git a/meshlab/src/external/structuresynth/ssynth/SyntopiaCore/GLEngine/Sphere.h b/meshlab/src/external/structuresynth/ssynth/SyntopiaCore/GLEngine/Sphere.h |
784 |
-index 0b0dc40..ed95346 100644 |
785 |
---- a/meshlab/src/external/structuresynth/ssynth/SyntopiaCore/GLEngine/Sphere.h |
786 |
-+++ b/meshlab/src/external/structuresynth/ssynth/SyntopiaCore/GLEngine/Sphere.h |
787 |
-@@ -2,6 +2,7 @@ |
788 |
- |
789 |
- #include "SyntopiaCore/Math/Vector3.h" |
790 |
- #include "Object3D.h" |
791 |
-+#include <GL/glu.h> |
792 |
- |
793 |
- namespace SyntopiaCore { |
794 |
- namespace GLEngine { |
795 |
-diff --git a/meshlab/src/external/structuresynth/structuresynth.pro b/meshlab/src/external/structuresynth/structuresynth.pro |
796 |
-index 8579b03..362ce5d 100644 |
797 |
---- a/meshlab/src/external/structuresynth/structuresynth.pro |
798 |
-+++ b/meshlab/src/external/structuresynth/structuresynth.pro |
799 |
-@@ -120,3 +120,4 @@ win32-msvc2008:DESTDIR = ../lib/win32-msvc2008 |
800 |
- linux-g++-32:DESTDIR = ../lib/linux-g++-32 |
801 |
- linux-g++-64:DESTDIR = ../lib/linux-g++-64 |
802 |
- linux-g++:DESTDIR = ../lib/linux-g++ |
803 |
-+unix:LIBS+=-lGLU |
804 |
|
805 |
diff --git a/media-gfx/meshlab/files/1.3.2/18_glew.c18p1.patch b/media-gfx/meshlab/files/1.3.2/18_glew.c18p1.patch |
806 |
deleted file mode 100644 |
807 |
index 894f05cf242..00000000000 |
808 |
--- a/media-gfx/meshlab/files/1.3.2/18_glew.c18p1.patch |
809 |
+++ /dev/null |
810 |
@@ -1,146 +0,0 @@ |
811 |
-From: Teemu Ikonen <tpikonen@×××××.com> |
812 |
-Subject: Use Debian GLEW. |
813 |
-Git-Branch: p/glew |
814 |
-Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..7023f74389baab6b9032c08ae2e2b2 |
815 |
- |
816 |
- meshlab/src/common/common.pro | 5 ++--- |
817 |
- meshlab/src/meshlab/meshlab.pro | 4 +--- |
818 |
- meshlab/src/meshlabplugins/filter_plymc/plymc.pro | 2 +- |
819 |
- meshlab/src/meshlabserver/meshlabserver.pro | 6 ++---- |
820 |
- meshlab/src/shared.pri | 7 ++++--- |
821 |
- vcglib/apps/sample/trimesh_QT/trimesh_qt.pro | 5 +++-- |
822 |
- vcglib/apps/sample/trimesh_pos_demo/trimesh_pos_demo.pro | 4 ++-- |
823 |
- 7 files changed, 15 insertions(+), 18 deletions(-) |
824 |
- |
825 |
-diff --git a/meshlab/src/common/common.pro b/meshlab/src/common/common.pro |
826 |
-index eec1863..58bda06 100644 |
827 |
---- a/meshlab/src/common/common.pro |
828 |
-+++ b/meshlab/src/common/common.pro |
829 |
-@@ -1,9 +1,9 @@ |
830 |
- include (../general.pri) |
831 |
- EXIF_DIR = ../external/jhead-2.95 |
832 |
-+GLEWDIR = /usr |
833 |
-+LIBS += -lGLEW |
834 |
- |
835 |
- |
836 |
--GLEWCODE = $$GLEWDIR/src/glew.c |
837 |
-- |
838 |
- win32-msvc2005:DESTDIR = ../distrib |
839 |
- win32-msvc2008:DESTDIR = ../distrib |
840 |
- win32-msvc2010:DESTDIR = ../distrib |
841 |
-@@ -106,7 +106,6 @@ SOURCES += filterparameter.cpp \ |
842 |
- mlapplication.cpp \ |
843 |
- scriptsyntax.cpp \ |
844 |
- searcher.cpp \ |
845 |
-- $$GLEWCODE \ |
846 |
- meshlabdocumentxml.cpp \ |
847 |
- meshlabdocumentbundler.cpp |
848 |
- |
849 |
-diff --git a/meshlab/src/meshlab/meshlab.pro b/meshlab/src/meshlab/meshlab.pro |
850 |
-index 4a7d0fd..ecd9ed6 100644 |
851 |
---- a/meshlab/src/meshlab/meshlab.pro |
852 |
-+++ b/meshlab/src/meshlab/meshlab.pro |
853 |
-@@ -129,11 +129,9 @@ win32-g++:LIBS += -L../external/lib/win32-gcc -L../distrib -lcommon |
854 |
- # win32-g++:release:LIBS += -L../common/release -lcommon |
855 |
- #} |
856 |
- |
857 |
--linux-g++:LIBS += -L../external/lib/linux-g++ -ljhead -L../distrib -lcommon -lGLU |
858 |
-+linux-g++:LIBS += -L../external/lib/linux-g++ -ljhead -L../distrib -lcommon -lGLEW -lGLU |
859 |
- linux-g++:QMAKE_RPATHDIR += ../distrib |
860 |
--linux-g++-32:LIBS += -L../external/lib/linux-g++-32 -L../distrib -lcommon -lGLU |
861 |
- linux-g++-32:QMAKE_RPATHDIR += ../distrib |
862 |
--linux-g++-64:LIBS += -L../external/lib/linux-g++-64 -L../distrib -lcommon -lGLU |
863 |
- linux-g++-64:QMAKE_RPATHDIR += ../distrib |
864 |
- |
865 |
- # uncomment in your local copy only in emergency cases. |
866 |
-diff --git a/meshlab/src/meshlabplugins/filter_plymc/plymc.pro b/meshlab/src/meshlabplugins/filter_plymc/plymc.pro |
867 |
-index b609419..a89e8c6 100755 |
868 |
---- a/meshlab/src/meshlabplugins/filter_plymc/plymc.pro |
869 |
-+++ b/meshlab/src/meshlabplugins/filter_plymc/plymc.pro |
870 |
-@@ -1,7 +1,7 @@ |
871 |
- TARGET = plymc |
872 |
- DEPENDPATH += . |
873 |
- INCLUDEPATH += ../../../../vcglib \ |
874 |
-- ../../code/lib/glew/include |
875 |
-+ /usr/include |
876 |
- CONFIG += console \ |
877 |
- stl \ |
878 |
- debug_and_release |
879 |
-diff --git a/meshlab/src/meshlabserver/meshlabserver.pro b/meshlab/src/meshlabserver/meshlabserver.pro |
880 |
-index cca5560..9b070c7 100644 |
881 |
---- a/meshlab/src/meshlabserver/meshlabserver.pro |
882 |
-+++ b/meshlab/src/meshlabserver/meshlabserver.pro |
883 |
-@@ -1,4 +1,4 @@ |
884 |
--GLEWDIR = ../external/glew-1.5.1 |
885 |
-+GLEWDIR = /usr |
886 |
- |
887 |
- HEADERS = |
888 |
- |
889 |
-@@ -25,11 +25,9 @@ win32-msvc2005: LIBS += -L../distrib -lcommon |
890 |
- win32-msvc2008: LIBS += -L../distrib -lcommon |
891 |
- win32-msvc2010: LIBS += -L../distrib -lcommon |
892 |
- win32-g++: LIBS += -L../distrib -lcommon |
893 |
--linux-g++: LIBS += -L../distrib -lcommon |
894 |
-+linux-g++: LIBS += -L../distrib -lcommon -lGLEW |
895 |
- linux-g++:QMAKE_RPATHDIR += ../distrib |
896 |
--linux-g++-32: LIBS += -L../distrib -lcommon |
897 |
- linux-g++-32:QMAKE_RPATHDIR += ../distrib |
898 |
--linux-g++-64: LIBS += -L../distrib -lcommon |
899 |
- linux-g++-64:QMAKE_RPATHDIR += ../distrib |
900 |
- #CONFIG (release,debug | release) { |
901 |
- # win32-msvc2005:release: LIBS += -L../common/release -lcommon |
902 |
-diff --git a/meshlab/src/shared.pri b/meshlab/src/shared.pri |
903 |
-index 93ed32f..0ba3e67 100644 |
904 |
---- a/meshlab/src/shared.pri |
905 |
-+++ b/meshlab/src/shared.pri |
906 |
-@@ -17,9 +17,10 @@ win32-msvc2005: LIBS += ../../distrib/common.lib |
907 |
- win32-msvc2008: LIBS += ../../distrib/common.lib |
908 |
- win32-msvc2010: LIBS += ../../distrib/common.lib |
909 |
- win32-g++:LIBS += -L../../distrib -lcommon |
910 |
--linux-g++:LIBS += -L../../distrib -lcommon |
911 |
--linux-g++-32:LIBS += -L../../distrib -lcommon |
912 |
--linux-g++-64:LIBS += -L../../distrib -lcommon |
913 |
-+linux-g++:LIBS += -L../../distrib -lcommon -lGLEW |
914 |
-+#linux-g++-32:LIBS += -L../../distrib -lcommon |
915 |
-+#linux-g++-64:LIBS += -L../../distrib -lcommon |
916 |
-+ |
917 |
- |
918 |
- #CONFIG(debug, debug|release) { |
919 |
- # win32-msvc2005: LIBS += ../../common/debug/common.lib |
920 |
-diff --git a/vcglib/apps/sample/trimesh_QT/trimesh_qt.pro b/vcglib/apps/sample/trimesh_QT/trimesh_qt.pro |
921 |
-index 8a3c7fc..986116e 100644 |
922 |
---- a/vcglib/apps/sample/trimesh_QT/trimesh_qt.pro |
923 |
-+++ b/vcglib/apps/sample/trimesh_QT/trimesh_qt.pro |
924 |
-@@ -26,8 +26,9 @@ SOURCES += ../../../wrap/gui/trackmode.cpp |
925 |
- |
926 |
- # Compile glew |
927 |
- DEFINES += GLEW_STATIC |
928 |
--INCLUDEPATH += ../../../../code/lib/glew/include |
929 |
--SOURCES += ../../../../code/lib/glew/src/glew.c |
930 |
-+INCLUDEPATH += /usr/include |
931 |
-+#SOURCES += ../../../../code/lib/glew/src/glew.c |
932 |
-+LIBS += -lGLEW |
933 |
- |
934 |
- # Awful problem with windows.. |
935 |
- win32{ |
936 |
-diff --git a/vcglib/apps/sample/trimesh_pos_demo/trimesh_pos_demo.pro b/vcglib/apps/sample/trimesh_pos_demo/trimesh_pos_demo.pro |
937 |
-index e8ae178..4a69fef 100644 |
938 |
---- a/vcglib/apps/sample/trimesh_pos_demo/trimesh_pos_demo.pro |
939 |
-+++ b/vcglib/apps/sample/trimesh_pos_demo/trimesh_pos_demo.pro |
940 |
-@@ -1,14 +1,14 @@ |
941 |
--INCLUDEPATH += . ../../.. ../../../../code/lib ../../../../code/lib/glew/include |
942 |
-+INCLUDEPATH += . ../../.. ../../../../code/lib /usr/include |
943 |
- HEADERS = glwidget.h \ |
944 |
- window.h \ |
945 |
- mesh_type.h |
946 |
- SOURCES = glwidget.cpp \ |
947 |
- main.cpp \ |
948 |
- window.cpp\ |
949 |
-- ../../../../code/lib/glew/src/glew.c \ |
950 |
- ../../../wrap/ply/plylib.cpp\ |
951 |
- ../../../wrap/gui/trackmode.cpp\ |
952 |
- ../../../wrap/gui/trackball.cpp |
953 |
-+LIBS += -lGLEW |
954 |
- QT += opengl |
955 |
- |
956 |
- # install |
957 |
|
958 |
diff --git a/media-gfx/meshlab/files/1.3.2/19_CONFLICTS_IN_rpath.patch b/media-gfx/meshlab/files/1.3.2/19_CONFLICTS_IN_rpath.patch |
959 |
deleted file mode 100644 |
960 |
index c3dfc4de35b..00000000000 |
961 |
--- a/media-gfx/meshlab/files/1.3.2/19_CONFLICTS_IN_rpath.patch |
962 |
+++ /dev/null |
963 |
@@ -1,32 +0,0 @@ |
964 |
-reverted: |
965 |
---- b/meshlab/src/meshlab/meshlab.pro |
966 |
-+++ a/meshlab/src/meshlab/meshlab.pro |
967 |
-@@ -129,9 +129,11 @@ |
968 |
- # win32-g++:release:LIBS += -L../common/release -lcommon |
969 |
- #} |
970 |
- |
971 |
-+linux-g++:LIBS += -L../external/lib/linux-g++ -ljhead -L../distrib -lcommon -lGLU |
972 |
--linux-g++:LIBS += -L../external/lib/linux-g++ -ljhead -L../distrib -lcommon -lGLEW -lGLU |
973 |
- linux-g++:QMAKE_RPATHDIR += ../distrib |
974 |
-+linux-g++-32:LIBS += -L../external/lib/linux-g++-32 -L../distrib -lcommon -lGLU |
975 |
- linux-g++-32:QMAKE_RPATHDIR += ../distrib |
976 |
-+linux-g++-64:LIBS += -L../external/lib/linux-g++-64 -L../distrib -lcommon -lGLU |
977 |
- linux-g++-64:QMAKE_RPATHDIR += ../distrib |
978 |
- |
979 |
- # uncomment in your local copy only in emergency cases. |
980 |
-reverted: |
981 |
---- b/meshlab/src/meshlabserver/meshlabserver.pro |
982 |
-+++ a/meshlab/src/meshlabserver/meshlabserver.pro |
983 |
-@@ -25,9 +25,11 @@ |
984 |
- win32-msvc2008: LIBS += -L../distrib -lcommon |
985 |
- win32-msvc2010: LIBS += -L../distrib -lcommon |
986 |
- win32-g++: LIBS += -L../distrib -lcommon |
987 |
-+linux-g++: LIBS += -L../distrib -lcommon |
988 |
--linux-g++: LIBS += -L../distrib -lcommon -lGLEW |
989 |
- linux-g++:QMAKE_RPATHDIR += ../distrib |
990 |
-+linux-g++-32: LIBS += -L../distrib -lcommon |
991 |
- linux-g++-32:QMAKE_RPATHDIR += ../distrib |
992 |
-+linux-g++-64: LIBS += -L../distrib -lcommon |
993 |
- linux-g++-64:QMAKE_RPATHDIR += ../distrib |
994 |
- #CONFIG (release,debug | release) { |
995 |
- # win32-msvc2005:release: LIBS += -L../common/release -lcommon |
996 |
|
997 |
diff --git a/media-gfx/meshlab/files/1.3.2/20_rpath.c18p2.patch b/media-gfx/meshlab/files/1.3.2/20_rpath.c18p2.patch |
998 |
deleted file mode 100644 |
999 |
index e53d8bf1e79..00000000000 |
1000 |
--- a/media-gfx/meshlab/files/1.3.2/20_rpath.c18p2.patch |
1001 |
+++ /dev/null |
1002 |
@@ -1,43 +0,0 @@ |
1003 |
-From: Teemu Ikonen <tpikonen@×××××.com> |
1004 |
-Subject: Use /usr/lib/meshlab as RPATH in binaries. |
1005 |
-Git-Branch: p/rpath |
1006 |
-Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..0ecffa4d55bfff6f3b98a478d0cd82 |
1007 |
- |
1008 |
- meshlab/src/meshlab/meshlab.pro | 4 +--- |
1009 |
- meshlab/src/meshlabserver/meshlabserver.pro | 4 +--- |
1010 |
- 2 files changed, 2 insertions(+), 6 deletions(-) |
1011 |
- |
1012 |
-diff --git a/meshlab/src/meshlab/meshlab.pro b/meshlab/src/meshlab/meshlab.pro |
1013 |
-index 4a7d0fd..f67ba07 100644 |
1014 |
---- a/meshlab/src/meshlab/meshlab.pro |
1015 |
-+++ b/meshlab/src/meshlab/meshlab.pro |
1016 |
-@@ -130,11 +130,9 @@ win32-g++:LIBS += -L../external/lib/win32-gcc -L../distrib -lcommon |
1017 |
- #} |
1018 |
- |
1019 |
- linux-g++:LIBS += -L../external/lib/linux-g++ -ljhead -L../distrib -lcommon -lGLU |
1020 |
--linux-g++:QMAKE_RPATHDIR += ../distrib |
1021 |
-+linux-g++:QMAKE_RPATHDIR += /usr/lib/meshlab |
1022 |
- linux-g++-32:LIBS += -L../external/lib/linux-g++-32 -L../distrib -lcommon -lGLU |
1023 |
--linux-g++-32:QMAKE_RPATHDIR += ../distrib |
1024 |
- linux-g++-64:LIBS += -L../external/lib/linux-g++-64 -L../distrib -lcommon -lGLU |
1025 |
--linux-g++-64:QMAKE_RPATHDIR += ../distrib |
1026 |
- |
1027 |
- # uncomment in your local copy only in emergency cases. |
1028 |
- # We should never be too permissive |
1029 |
-diff --git a/meshlab/src/meshlabserver/meshlabserver.pro b/meshlab/src/meshlabserver/meshlabserver.pro |
1030 |
-index cca5560..6a19b81 100644 |
1031 |
---- a/meshlab/src/meshlabserver/meshlabserver.pro |
1032 |
-+++ b/meshlab/src/meshlabserver/meshlabserver.pro |
1033 |
-@@ -26,11 +26,9 @@ win32-msvc2008: LIBS += -L../distrib -lcommon |
1034 |
- win32-msvc2010: LIBS += -L../distrib -lcommon |
1035 |
- win32-g++: LIBS += -L../distrib -lcommon |
1036 |
- linux-g++: LIBS += -L../distrib -lcommon |
1037 |
--linux-g++:QMAKE_RPATHDIR += ../distrib |
1038 |
-+linux-g++:QMAKE_RPATHDIR += /usr/lib/meshlab |
1039 |
- linux-g++-32: LIBS += -L../distrib -lcommon |
1040 |
--linux-g++-32:QMAKE_RPATHDIR += ../distrib |
1041 |
- linux-g++-64: LIBS += -L../distrib -lcommon |
1042 |
--linux-g++-64:QMAKE_RPATHDIR += ../distrib |
1043 |
- #CONFIG (release,debug | release) { |
1044 |
- # win32-msvc2005:release: LIBS += -L../common/release -lcommon |
1045 |
- # win32-msvc2008:release: LIBS += -L../common/release -lcommon |
1046 |
|
1047 |
diff --git a/media-gfx/meshlab/files/1.3.2/21_RESOLUTION.patch b/media-gfx/meshlab/files/1.3.2/21_RESOLUTION.patch |
1048 |
deleted file mode 100644 |
1049 |
index 35c1cac4141..00000000000 |
1050 |
--- a/media-gfx/meshlab/files/1.3.2/21_RESOLUTION.patch |
1051 |
+++ /dev/null |
1052 |
@@ -1,29 +0,0 @@ |
1053 |
-Resolve patch overlaps. |
1054 |
---- a/meshlab/src/meshlab/meshlab.pro |
1055 |
-+++ b/meshlab/src/meshlab/meshlab.pro |
1056 |
-@@ -129,10 +129,8 @@ win32-g++:LIBS += -L../external/lib/win32-gcc -L../distrib -lcommon |
1057 |
- # win32-g++:release:LIBS += -L../common/release -lcommon |
1058 |
- #} |
1059 |
- |
1060 |
--linux-g++:LIBS += -L../external/lib/linux-g++ -ljhead -L../distrib -lcommon -lGLU |
1061 |
-+linux-g++:LIBS += -L../external/lib/linux-g++ -ljhead -L../distrib -lcommon -lGLEW -lGLU |
1062 |
- linux-g++:QMAKE_RPATHDIR += /usr/lib/meshlab |
1063 |
--linux-g++-32:LIBS += -L../external/lib/linux-g++-32 -L../distrib -lcommon -lGLU |
1064 |
--linux-g++-64:LIBS += -L../external/lib/linux-g++-64 -L../distrib -lcommon -lGLU |
1065 |
- |
1066 |
- # uncomment in your local copy only in emergency cases. |
1067 |
- # We should never be too permissive |
1068 |
---- a/meshlab/src/meshlabserver/meshlabserver.pro |
1069 |
-+++ b/meshlab/src/meshlabserver/meshlabserver.pro |
1070 |
-@@ -25,10 +25,8 @@ win32-msvc2005: LIBS += -L../distrib -lcommon |
1071 |
- win32-msvc2008: LIBS += -L../distrib -lcommon |
1072 |
- win32-msvc2010: LIBS += -L../distrib -lcommon |
1073 |
- win32-g++: LIBS += -L../distrib -lcommon |
1074 |
--linux-g++: LIBS += -L../distrib -lcommon |
1075 |
-+linux-g++: LIBS += -L../distrib -lcommon -lGLEW |
1076 |
- linux-g++:QMAKE_RPATHDIR += /usr/lib/meshlab |
1077 |
--linux-g++-32: LIBS += -L../distrib -lcommon |
1078 |
--linux-g++-64: LIBS += -L../distrib -lcommon |
1079 |
- #CONFIG (release,debug | release) { |
1080 |
- # win32-msvc2005:release: LIBS += -L../common/release -lcommon |
1081 |
- # win32-msvc2008:release: LIBS += -L../common/release -lcommon |
1082 |
|
1083 |
diff --git a/media-gfx/meshlab/files/1.3.2/22_aliasing.patch b/media-gfx/meshlab/files/1.3.2/22_aliasing.patch |
1084 |
deleted file mode 100644 |
1085 |
index 7f3b8447c2d..00000000000 |
1086 |
--- a/media-gfx/meshlab/files/1.3.2/22_aliasing.patch |
1087 |
+++ /dev/null |
1088 |
@@ -1,43 +0,0 @@ |
1089 |
-diff -urN meshlab-1.3.2-r1.old/meshlab/src/meshlabplugins/io_tri/io_tri.cpp meshlab-1.3.2-r1/meshlab/src/meshlabplugins/io_tri/io_tri.cpp |
1090 |
---- meshlab-1.3.2-r1.old/meshlab/src/meshlabplugins/io_tri/io_tri.cpp 2014-08-11 18:01:55.329182160 +0200 |
1091 |
-+++ meshlab-1.3.2-r1/meshlab/src/meshlabplugins/io_tri/io_tri.cpp 2014-08-11 15:11:20.000000000 +0200 |
1092 |
-@@ -149,9 +149,11 @@ |
1093 |
- fread(&numFaces,sizeof(int),1,fp); |
1094 |
- } |
1095 |
- // advance pointer ?? |
1096 |
-- char s[4]; |
1097 |
-+ |
1098 |
-+ char s[5]; |
1099 |
- fread(s,sizeof(char),4,fp); |
1100 |
-- printf("extara is %s (%d)\n", s, *(int*)(&s[0])); |
1101 |
-+ s[4]=0; |
1102 |
-+ printf("extara is %s (%d)\n", s, ((unsigned)s[0])|(((unsigned)s[1])<<8)|(((unsigned)s[2])<<16)|(((unsigned)s[3])<<24)); |
1103 |
- return 0; |
1104 |
- } |
1105 |
- |
1106 |
-@@ -284,7 +286,7 @@ |
1107 |
- bool floatFlag=false; |
1108 |
- |
1109 |
- int ret=fread(texCode,sizeof(char),4,fp); |
1110 |
-- qDebug("TexString code is '%s' (int:%d) (float:%f)\n", texCode, *(int*)(&texCode[0]), *(float*)(&texCode[0])); |
1111 |
-+ //qDebug("TexString code is '%s' (int:%d) (float:%f)\n", texCode, *(int*)((void*)(&texCode[0])), *(float*)((void*)(&texCode[0]))); |
1112 |
- |
1113 |
- if(feof(fp)){ |
1114 |
- qDebug("Premature end of file"); |
1115 |
-diff -urN meshlab-1.3.2-r1.old/vcglib/vcg/complex/algorithms/clustering.h meshlab-1.3.2-r1/vcglib/vcg/complex/algorithms/clustering.h |
1116 |
---- meshlab-1.3.2-r1.old/vcglib/vcg/complex/algorithms/clustering.h 2014-08-11 18:01:55.366182161 +0200 |
1117 |
-+++ meshlab-1.3.2-r1/vcglib/vcg/complex/algorithms/clustering.h 2014-08-11 14:36:38.000000000 +0200 |
1118 |
-@@ -233,12 +233,12 @@ |
1119 |
- // DuplicateFace=false a model with looks ok if you enable doublesided lighting and disable backfaceculling |
1120 |
- |
1121 |
- bool DuplicateFaceParam; |
1122 |
-- |
1123 |
- // This class keeps the references to the three cells where a face has its vertexes. |
1124 |
- class SimpleTri |
1125 |
- { |
1126 |
- public: |
1127 |
- CellType *v[3]; |
1128 |
-+#pragma GCC diagnostic ignored "-Wstrict-aliasing" |
1129 |
- int ii(int i) const {return *((int *)(&(v[i])));} |
1130 |
- bool operator < ( const SimpleTri &p) const { |
1131 |
- return (v[2]!=p.v[2])?(v[2]<p.v[2]): |
1132 |
|
1133 |
diff --git a/media-gfx/meshlab/files/1.3.3/gcc-4.7.patch b/media-gfx/meshlab/files/1.3.3/gcc-4.7.patch |
1134 |
deleted file mode 100644 |
1135 |
index 6329f23e794..00000000000 |
1136 |
--- a/media-gfx/meshlab/files/1.3.3/gcc-4.7.patch |
1137 |
+++ /dev/null |
1138 |
@@ -1,12 +0,0 @@ |
1139 |
-diff --git vcglib/wrap/ply/plystuff.h vcglib/wrap/ply/plystuff.h |
1140 |
-index 3e41e63..4af9508 100644 |
1141 |
---- a/vcglib/wrap/ply/plystuff.h |
1142 |
-+++ b/vcglib/wrap/ply/plystuff.h |
1143 |
-@@ -75,6 +75,7 @@ using namespace vcg; |
1144 |
- #define pb_close _close |
1145 |
- #define DIR_SEP "\\" |
1146 |
- #else |
1147 |
-+#include <unistd.h> |
1148 |
- #define pb_mkdir(n) mkdir(n,0755) |
1149 |
- #define pb_access access |
1150 |
- #define pb_stat stat |
1151 |
|
1152 |
diff --git a/media-gfx/meshlab/files/1.3.3/lapack.patch b/media-gfx/meshlab/files/1.3.3/lapack.patch |
1153 |
deleted file mode 100644 |
1154 |
index e2742eb9999..00000000000 |
1155 |
--- a/media-gfx/meshlab/files/1.3.3/lapack.patch |
1156 |
+++ /dev/null |
1157 |
@@ -1,11 +0,0 @@ |
1158 |
-diff -Nur meshlab.orig/src/external/levmar-2.3/lm.h meshlab/src/external/levmar-2.3/lm.h |
1159 |
---- a/meshlab/src/external/levmar-2.3/lm.h 2010-04-28 17:30:47.000000000 +1000 |
1160 |
-+++ b/meshlab/src/external/levmar-2.3/lm.h 2010-05-13 20:17:35.488505907 +1000 |
1161 |
-@@ -27,7 +27,6 @@ |
1162 |
- |
1163 |
- /* specify whether to use LAPACK or not. The first option is strongly recommended */ |
1164 |
- #define HAVE_LAPACK /* use LAPACK */ |
1165 |
-- #undef HAVE_LAPACK /* uncomment this to force not using LAPACK */ |
1166 |
- |
1167 |
- /* to avoid the overhead of repeated mallocs(), routines in Axb.c can be instructed to |
1168 |
- * retain working memory between calls. Such a choice, however, renders these routines |
1169 |
|
1170 |
diff --git a/media-gfx/meshlab/files/1.3.3/meshrender.patch b/media-gfx/meshlab/files/1.3.3/meshrender.patch |
1171 |
deleted file mode 100644 |
1172 |
index 33eb1cbf703..00000000000 |
1173 |
--- a/media-gfx/meshlab/files/1.3.3/meshrender.patch |
1174 |
+++ /dev/null |
1175 |
@@ -1,15 +0,0 @@ |
1176 |
---- a/meshlab/src/meshlabplugins/render_gdp/meshrender.cpp 2014-02-07 10:38:28.000000000 +0100 |
1177 |
-+++ b/meshlab/src/meshlabplugins/render_gdb/meshrender.cpp 2015-11-15 22:17:39.848179962 +0100 |
1178 |
-@@ -36,8 +36,11 @@ |
1179 |
- /*QAction * qaNone = new QAction("None", this); |
1180 |
- qaNone->setCheckable(false); |
1181 |
- actionList << qaNone;*/ |
1182 |
-- |
1183 |
-+#if defined(Q_OS_LINUX) |
1184 |
-+ QDir shadersDir = QDir("/usr/share/meshlab"); |
1185 |
-+#else |
1186 |
- QDir shadersDir = QDir(qApp->applicationDirPath()); |
1187 |
-+#endif |
1188 |
- #if defined(Q_OS_WIN) |
1189 |
- if (shadersDir.dirName() == "debug" || shadersDir.dirName() == "release" || shadersDir.dirName() == "plugins" ) |
1190 |
- shadersDir.cdUp(); |
1191 |
|
1192 |
diff --git a/media-gfx/meshlab/files/1.3.3/mpir.patch b/media-gfx/meshlab/files/1.3.3/mpir.patch |
1193 |
deleted file mode 100644 |
1194 |
index fae203e18a1..00000000000 |
1195 |
--- a/media-gfx/meshlab/files/1.3.3/mpir.patch |
1196 |
+++ /dev/null |
1197 |
@@ -1,10 +0,0 @@ |
1198 |
-diff -Nur meshlab.orig/src/meshlabplugins/filter_csg/filter_csg.pro meshlab/src/meshlabplugins/filter_csg/filter_csg.pro |
1199 |
---- a/meshlab/src/meshlabplugins/filter_csg/filter_csg.pro 2014-04-02 02:59:31.000000000 +1100 |
1200 |
-+++ b/meshlab/src/meshlabplugins/filter_csg/filter_csg.pro 2014-06-01 21:10:24.521095356 +1000 |
1201 |
-@@ -18,6 +18,4 @@ |
1202 |
- win32-msvc2008:LIBS += ../../external/lib/win32-msvc2008/mpirxx.lib ../../external/lib/win32-msvc2008/mpir.lib |
1203 |
- win32-msvc2010:LIBS += ../../external/lib/win32-msvc2008/mpirxx.lib ../../external/lib/win32-msvc2008/mpir.lib |
1204 |
- win32-msvc2012:LIBS += ../../external/lib/win32-msvc2008/mpirxx.lib ../../external/lib/win32-msvc2008/mpir.lib |
1205 |
--linux-g++:INCLUDEPATH += ../../external/inc/linux-g++/mpir-2.4.0 |
1206 |
--linux-g++:LIBS += ../../external/lib/linux-g++/libmpirxx.a ../../external/lib/linux-g++/libmpir.a |
1207 |
- |
1208 |
|
1209 |
diff --git a/media-gfx/meshlab/files/1.3.3/pluginmanager.patch b/media-gfx/meshlab/files/1.3.3/pluginmanager.patch |
1210 |
deleted file mode 100644 |
1211 |
index 853015da4d0..00000000000 |
1212 |
--- a/media-gfx/meshlab/files/1.3.3/pluginmanager.patch |
1213 |
+++ /dev/null |
1214 |
@@ -1,14 +0,0 @@ |
1215 |
---- a/meshlab/src/common/pluginmanager.cpp 2014-04-01 17:07:40.000000000 +0200 |
1216 |
-+++ b/meshlab/src/common/pluginmanager.cpp 2015-11-15 20:58:53.708227793 +0100 |
1217 |
-@@ -178,7 +178,11 @@ |
1218 |
- |
1219 |
- QString PluginManager::getBaseDirPath() |
1220 |
- { |
1221 |
-+#if defined(Q_OS_LINUX) |
1222 |
-+ QDir baseDir("/usr/lib/meshlab"); |
1223 |
-+#else |
1224 |
- QDir baseDir(qApp->applicationDirPath()); |
1225 |
-+#endif |
1226 |
- |
1227 |
- #if defined(Q_OS_WIN) |
1228 |
- // Windows: |
1229 |
|
1230 |
diff --git a/media-gfx/meshlab/files/1.3.3/qt-4.8.patch b/media-gfx/meshlab/files/1.3.3/qt-4.8.patch |
1231 |
deleted file mode 100644 |
1232 |
index bb1113a5c61..00000000000 |
1233 |
--- a/media-gfx/meshlab/files/1.3.3/qt-4.8.patch |
1234 |
+++ /dev/null |
1235 |
@@ -1,11 +0,0 @@ |
1236 |
-diff -Nur meshlab.orig/src/meshlab/meshlab.pro meshlab/src/meshlab/meshlab.pro |
1237 |
---- a/meshlab/src/meshlab/meshlab.pro 2011-02-15 20:39:47.000000000 +1100 |
1238 |
-+++ b/meshlab/src/meshlab/meshlab.pro 2012-01-07 11:57:18.055586086 +1100 |
1239 |
-@@ -85,6 +85,7 @@ |
1240 |
- QT += xmlpatterns |
1241 |
- QT += network |
1242 |
- QT += script |
1243 |
-+unix:LIBS += -lGLU |
1244 |
- |
1245 |
- |
1246 |
- # the following line is needed to avoid mismatch between |
1247 |
|
1248 |
diff --git a/media-gfx/meshlab/files/1.3.3/rfx.patch b/media-gfx/meshlab/files/1.3.3/rfx.patch |
1249 |
deleted file mode 100644 |
1250 |
index 0d7d03d3f09..00000000000 |
1251 |
--- a/media-gfx/meshlab/files/1.3.3/rfx.patch |
1252 |
+++ /dev/null |
1253 |
@@ -1,14 +0,0 @@ |
1254 |
---- a/meshlab/src/meshlabplugins/render_rfx/render_rfx.cpp 2014-02-07 10:38:29.000000000 +0100 |
1255 |
-+++ b/meshlab/src/meshlabplugins/render_rfx/render_rfx.cpp 2015-11-16 00:07:34.868113218 +0100 |
1256 |
-@@ -55,7 +55,11 @@ |
1257 |
- |
1258 |
- void RenderRFX::initActionList() |
1259 |
- { |
1260 |
-+#if defined(Q_OS_LINUX) |
1261 |
-+ QDir shadersDir("/usr/share/meshlab"); |
1262 |
-+#else |
1263 |
- QDir shadersDir = PluginManager::getBaseDirPath(); |
1264 |
-+#endif |
1265 |
- |
1266 |
- #if defined(Q_OS_WIN) |
1267 |
- if (shadersDir.dirName() == "debug" || |
1268 |
|
1269 |
diff --git a/media-gfx/meshlab/files/1.3.3/rmmeshrender.patch b/media-gfx/meshlab/files/1.3.3/rmmeshrender.patch |
1270 |
deleted file mode 100644 |
1271 |
index 1fbf686980b..00000000000 |
1272 |
--- a/media-gfx/meshlab/files/1.3.3/rmmeshrender.patch |
1273 |
+++ /dev/null |
1274 |
@@ -1,15 +0,0 @@ |
1275 |
---- a/meshlab/src/plugins_unsupported/render_rm/rmmeshrender.cpp 2013-05-22 17:08:53.000000000 +0200 |
1276 |
-+++ b/meshlab/src/plugins_unsupported/render_rm/rmmeshrender.cpp 2015-11-15 23:18:04.678143277 +0100 |
1277 |
-@@ -63,7 +63,12 @@ |
1278 |
- |
1279 |
- void RmMeshShaderRenderPlugin::initActionList() { |
1280 |
- |
1281 |
-+#if defined(Q_OS_LINUX) |
1282 |
-+ QDir shadersDir = QDir("/usr/share/meshlab/shaders"); |
1283 |
-+#else |
1284 |
- QDir shadersDir = QDir(qApp->applicationDirPath()); |
1285 |
-+#endif |
1286 |
-+ |
1287 |
- #if defined(Q_OS_WIN) |
1288 |
- if (shadersDir.dirName() == "debug" || |
1289 |
- shadersDir.dirName() == "release" || |
1290 |
|
1291 |
diff --git a/media-gfx/meshlab/files/1.3.3/rpath.patch b/media-gfx/meshlab/files/1.3.3/rpath.patch |
1292 |
deleted file mode 100644 |
1293 |
index 473d2a8fa48..00000000000 |
1294 |
--- a/media-gfx/meshlab/files/1.3.3/rpath.patch |
1295 |
+++ /dev/null |
1296 |
@@ -1,39 +0,0 @@ |
1297 |
-diff -Nur meshlab.orig/src/meshlab/meshlab.pro meshlab/src/meshlab/meshlab.pro |
1298 |
---- a/meshlab/src/meshlab/meshlab.pro 2012-05-31 00:32:44.000000000 +1000 |
1299 |
-+++ b/meshlab/src/meshlab/meshlab.pro 2012-08-06 21:26:01.405784190 +1000 |
1300 |
-@@ -130,11 +130,11 @@ |
1301 |
- #} |
1302 |
- |
1303 |
--linux-g++:LIBS += -L../external/lib/linux-g++ -ljhead -L../distrib -lcommon -lGLU |
1304 |
-+linux-g++:LIBS += -L../external/lib/linux-g++ -ljhead -L../distrib -lcommon -lGLU -lGLEW |
1305 |
--linux-g++:QMAKE_RPATHDIR += ../distrib |
1306 |
-+linux-g++:QMAKE_LFLAGS += -Wl,-rpath,\''$'$ORIGIN\' |
1307 |
--linux-g++-32:LIBS += -L../external/lib/linux-g++-32 -ljhead -L../distrib -lcommon -lGLU |
1308 |
-+linux-g++-32:LIBS += -L../external/lib/linux-g++-32 -ljhead -L../distrib -lcommon -lGLU -lGLEW |
1309 |
--linux-g++-32:QMAKE_RPATHDIR += ../distrib |
1310 |
-+linux-g++-32:QMAKE_LFLAGS += -Wl,-rpath,\''$'$ORIGIN\' |
1311 |
--linux-g++-64:LIBS += -L../external/lib/linux-g++-64 -ljhead -L../distrib -lcommon -lGLU |
1312 |
-+linux-g++-64:LIBS += -L../external/lib/linux-g++-64 -ljhead -L../distrib -lcommon -lGLU -lGLEW |
1313 |
--linux-g++-64:QMAKE_RPATHDIR += ../distrib |
1314 |
-+linux-g++-64:QMAKE_LFLAGS += -Wl,-rpath,\''$'$ORIGIN\' |
1315 |
- |
1316 |
- # uncomment in your local copy only in emergency cases. |
1317 |
- # We should never be too permissive |
1318 |
-diff -Nur meshlab.orig/src/meshlabserver/meshlabserver.pro meshlab/src/meshlabserver/meshlabserver.pro |
1319 |
---- a/meshlab/src/meshlabserver/meshlabserver.pro 2011-10-15 03:34:48.000000000 +1100 |
1320 |
-+++ b/meshlab/src/meshlabserver/meshlabserver.pro 2012-08-06 21:26:34.609557938 +1000 |
1321 |
-@@ -26,11 +26,11 @@ |
1322 |
- win32-msvc2010: LIBS += -L../distrib -lcommon |
1323 |
- win32-g++: LIBS += -L../distrib -lcommon |
1324 |
- linux-g++: LIBS += -L../distrib -lcommon |
1325 |
--linux-g++:QMAKE_RPATHDIR += ../distrib |
1326 |
-+linux-g++:QMAKE_LFLAGS += -Wl,-rpath,\''$'$ORIGIN\' |
1327 |
- linux-g++-32: LIBS += -L../distrib -lcommon |
1328 |
--linux-g++-32:QMAKE_RPATHDIR += ../distrib |
1329 |
-+linux-g++-32:QMAKE_LFLAGS += -Wl,-rpath,\''$'$ORIGIN\' |
1330 |
- linux-g++-64: LIBS += -L../distrib -lcommon |
1331 |
--linux-g++-64:QMAKE_RPATHDIR += ../distrib |
1332 |
-+linux-g++-64:QMAKE_LFLAGS += -Wl,-rpath,\''$'$ORIGIN\' |
1333 |
- #CONFIG (release,debug | release) { |
1334 |
- # win32-msvc2005:release: LIBS += -L../common/release -lcommon |
1335 |
- # win32-msvc2008:release: LIBS += -L../common/release -lcommon |
1336 |
|
1337 |
diff --git a/media-gfx/meshlab/files/1.3.3/structuresynth.patch b/media-gfx/meshlab/files/1.3.3/structuresynth.patch |
1338 |
deleted file mode 100644 |
1339 |
index e5d6d2baea9..00000000000 |
1340 |
--- a/media-gfx/meshlab/files/1.3.3/structuresynth.patch |
1341 |
+++ /dev/null |
1342 |
@@ -1,11 +0,0 @@ |
1343 |
---- a/meshlab/src/external/structuresynth-1.5/ssynth/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp 2014-02-07 12:38:23.000000000 +0300 |
1344 |
-+++ b/meshlab/src/external/structuresynth-1.5/ssynth/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp 2017-08-10 21:00:02.819783756 +0300 |
1345 |
-@@ -122,7 +122,7 @@ |
1346 |
- currentT = p; |
1347 |
- |
1348 |
- // We do not intersect grid. |
1349 |
-- if (!found) return false; |
1350 |
-+ if (!found) return NULL; |
1351 |
- } |
1352 |
- |
1353 |
- stepX = (dir.x() > 0) ? 1 : -1; |
1354 |
|
1355 |
diff --git a/media-gfx/meshlab/meshlab-1.3.2.ebuild b/media-gfx/meshlab/meshlab-1.3.2.ebuild |
1356 |
deleted file mode 100644 |
1357 |
index 8e91280e50f..00000000000 |
1358 |
--- a/media-gfx/meshlab/meshlab-1.3.2.ebuild |
1359 |
+++ /dev/null |
1360 |
@@ -1,83 +0,0 @@ |
1361 |
-# Copyright 1999-2017 Gentoo Foundation |
1362 |
-# Distributed under the terms of the GNU General Public License v2 |
1363 |
- |
1364 |
-EAPI=5 |
1365 |
- |
1366 |
-inherit eutils versionator multilib qt4-r2 |
1367 |
- |
1368 |
-DESCRIPTION="A mesh processing system" |
1369 |
-HOMEPAGE="https://meshlab.sourceforge.net/" |
1370 |
-MY_PV="$(delete_all_version_separators ${PV})" |
1371 |
-SRC_URI="mirror://sourceforge/project/${PN}/${PN}/MeshLab%20v${PV}/MeshLabSrc_AllInc_v${MY_PV}.tgz" |
1372 |
- |
1373 |
-LICENSE="GPL-2" |
1374 |
-SLOT="0" |
1375 |
-KEYWORDS="~amd64 ~x86" |
1376 |
-IUSE="" |
1377 |
-DEPEND="dev-cpp/eigen:3 |
1378 |
- dev-cpp/muParser |
1379 |
- dev-qt/qtcore:4 |
1380 |
- dev-qt/qtopengl:4 |
1381 |
- media-libs/glew:0= |
1382 |
- media-libs/qhull |
1383 |
- =media-libs/lib3ds-1* |
1384 |
- media-libs/openctm |
1385 |
- sci-libs/levmar |
1386 |
- sys-libs/libunwind" |
1387 |
-RDEPEND="${DEPEND}" |
1388 |
- |
1389 |
-S="${WORKDIR}/meshlab/src" |
1390 |
- |
1391 |
-src_prepare() { |
1392 |
- rm "${WORKDIR}"/meshlab/src/distrib/plugins/*.xml |
1393 |
- rm "${WORKDIR}"/meshlab/src/meshlabplugins/filter_qhull/qhull_tools.h |
1394 |
- cd ${PORTAGE_BUILDDIR} |
1395 |
- #patches from debian repo |
1396 |
- cd "${WORKDIR}" |
1397 |
- epatch "${FILESDIR}/${PV}"/01_crash-on-save.patch \ |
1398 |
- "${FILESDIR}/${PV}"/02_cstddef.patch \ |
1399 |
- "${FILESDIR}/${PV}"/03_disable-updates.patch \ |
1400 |
- "${FILESDIR}/${PV}"/05_externals.patch \ |
1401 |
- "${FILESDIR}/${PV}"/06_format-security.patch \ |
1402 |
- "${FILESDIR}/${PV}"/07_gcc47.patch \ |
1403 |
- "${FILESDIR}/${PV}"/08_lib3ds.patch \ |
1404 |
- "${FILESDIR}/${PV}"/09_libbz2.patch \ |
1405 |
- "${FILESDIR}/${PV}"/10_muparser.patch \ |
1406 |
- "${FILESDIR}/${PV}"/11_openctm.patch \ |
1407 |
- "${FILESDIR}/${PV}"/12_overflow.patch \ |
1408 |
- "${FILESDIR}/${PV}"/13_pluginsdir.patch \ |
1409 |
- "${FILESDIR}/${PV}"/14_ply_numeric.patch \ |
1410 |
- "${FILESDIR}/${PV}"/15_qhull.patch \ |
1411 |
- "${FILESDIR}/${PV}"/16_shadersdir.patch \ |
1412 |
- "${FILESDIR}/${PV}"/17_structuresynth.patch \ |
1413 |
- "${FILESDIR}/${PV}"/18_glew.c18p1.patch \ |
1414 |
- "${FILESDIR}/${PV}"/19_CONFLICTS_IN_rpath.patch \ |
1415 |
- "${FILESDIR}/${PV}"/20_rpath.c18p2.patch \ |
1416 |
- "${FILESDIR}/${PV}"/21_RESOLUTION.patch \ |
1417 |
- "${FILESDIR}/${PV}"/22_aliasing.patch |
1418 |
-} |
1419 |
- |
1420 |
-src_configure() { |
1421 |
- eqmake4 external/external.pro |
1422 |
- eqmake4 meshlab_full.pro |
1423 |
-} |
1424 |
- |
1425 |
-src_compile() { |
1426 |
- cd external && emake |
1427 |
- cd .. && emake |
1428 |
-} |
1429 |
- |
1430 |
-src_install() { |
1431 |
- dobin distrib/{meshlab,meshlabserver} |
1432 |
- dolib distrib/libcommon.so.1.0.0 |
1433 |
- dosym libcommon.so.1.0.0 /usr/$(get_libdir)/libcommon.so.1 |
1434 |
- dosym libcommon.so.1 /usr/$(get_libdir)/libcommon.so |
1435 |
- |
1436 |
- exeinto /usr/$(get_libdir)/meshlab/plugins |
1437 |
- doexe distrib/plugins/*.so |
1438 |
- |
1439 |
- insinto /usr/share/meshlab/shaders |
1440 |
- doins -r distrib/shaders/* |
1441 |
- newicon "${S}"/meshlab/images/eye64.png "${PN}".png |
1442 |
- make_desktop_entry meshlab "Meshlab" |
1443 |
-} |
1444 |
|
1445 |
diff --git a/media-gfx/meshlab/meshlab-1.3.3-r1.ebuild b/media-gfx/meshlab/meshlab-1.3.3-r1.ebuild |
1446 |
deleted file mode 100644 |
1447 |
index badcfa5d477..00000000000 |
1448 |
--- a/media-gfx/meshlab/meshlab-1.3.3-r1.ebuild |
1449 |
+++ /dev/null |
1450 |
@@ -1,72 +0,0 @@ |
1451 |
-# Copyright 1999-2017 Gentoo Foundation |
1452 |
-# Distributed under the terms of the GNU General Public License v2 |
1453 |
- |
1454 |
-EAPI=6 |
1455 |
- |
1456 |
-inherit eutils versionator |
1457 |
- |
1458 |
-DESCRIPTION="A mesh processing system" |
1459 |
-HOMEPAGE="https://meshlab.sourceforge.net/" |
1460 |
-MY_PV="$(delete_all_version_separators ${PV})" |
1461 |
-SRC_URI="mirror://sourceforge/project/${PN}/${PN}/MeshLab%20v${PV}/MeshLabSrc_AllInc_v${MY_PV}.tgz" |
1462 |
- |
1463 |
-LICENSE="GPL-2" |
1464 |
-SLOT="0" |
1465 |
-KEYWORDS="~amd64 ~x86" |
1466 |
-IUSE="" |
1467 |
-DEPEND="dev-cpp/eigen:3 |
1468 |
- dev-cpp/muParser |
1469 |
- dev-qt/qtcore:4 |
1470 |
- dev-qt/qtopengl:4 |
1471 |
- dev-qt/qtxmlpatterns:4 |
1472 |
- media-libs/glew:0= |
1473 |
- media-libs/qhull |
1474 |
- =media-libs/lib3ds-1* |
1475 |
- media-libs/openctm |
1476 |
- sci-libs/levmar |
1477 |
- sys-libs/libunwind |
1478 |
- sci-libs/mpir" |
1479 |
-RDEPEND="${DEPEND}" |
1480 |
- |
1481 |
-S="${WORKDIR}/meshlab/src" |
1482 |
- |
1483 |
-PATCHES=( "${FILESDIR}/${PV}/gcc-4.7.patch" |
1484 |
- "${FILESDIR}/${PV}/lapack.patch" |
1485 |
- "${FILESDIR}/${PV}/mpir.patch" |
1486 |
- "${FILESDIR}/${PV}/qt-4.8.patch" |
1487 |
- "${FILESDIR}/${PV}/rpath.patch" |
1488 |
- "${FILESDIR}/${PV}/pluginmanager.patch" |
1489 |
- "${FILESDIR}/${PV}/meshrender.patch" |
1490 |
- "${FILESDIR}/${PV}/rmmeshrender.patch" |
1491 |
- "${FILESDIR}/${PV}/rfx.patch" |
1492 |
- "${FILESDIR}/${PV}/structuresynth.patch" ) |
1493 |
- |
1494 |
-src_prepare() { |
1495 |
- cd "${WORKDIR}" || die |
1496 |
- default |
1497 |
-} |
1498 |
- |
1499 |
-src_configure() { |
1500 |
- qmake -recursive external/external.pro |
1501 |
- qmake -recursive meshlab_full.pro |
1502 |
-} |
1503 |
- |
1504 |
-src_compile() { |
1505 |
- cd external && emake |
1506 |
- cd .. && emake |
1507 |
-} |
1508 |
- |
1509 |
-src_install() { |
1510 |
- dobin distrib/{meshlab,meshlabserver} |
1511 |
- dolib distrib/libcommon.so.1.0.0 |
1512 |
- dosym libcommon.so.1.0.0 /usr/$(get_libdir)/libcommon.so.1 |
1513 |
- dosym libcommon.so.1 /usr/$(get_libdir)/libcommon.so |
1514 |
- |
1515 |
- exeinto /usr/$(get_libdir)/meshlab/plugins |
1516 |
- doexe distrib/plugins/*.so |
1517 |
- |
1518 |
- insinto /usr/share/meshlab/shaders |
1519 |
- doins -r distrib/shaders/* |
1520 |
- newicon "${S}"/meshlab/images/eye64.png "${PN}".png |
1521 |
- make_desktop_entry meshlab "Meshlab" |
1522 |
-} |