1 |
commit: a238909f1edd38c6528c88832665e256d1bdeea8 |
2 |
Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 7 22:49:58 2021 +0000 |
4 |
Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 9 08:17:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a238909f |
7 |
|
8 |
media-gfx/meshlab: drop old |
9 |
|
10 |
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/18987 |
12 |
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org> |
13 |
|
14 |
media-gfx/meshlab/Manifest | 2 - |
15 |
.../files/2016.12/0001-compile-server.patch | 22 --- |
16 |
.../files/2016.12/0001-depend-on-system-glew.patch | 72 --------- |
17 |
.../files/2016.12/0001-disable-edit-quality.patch | 25 ---- |
18 |
.../files/2016.12/0001-disable-filter-layer.patch | 25 ---- |
19 |
.../files/2016.12/0001-disable-filter-ssynth.patch | 25 ---- |
20 |
.../2016.12/0001-remove-not-sane-plugins.patch | 25 ---- |
21 |
.../0001-set-shader-and-texture-paths.patch | 164 --------------------- |
22 |
.../0001-update-1.3.3-pluginmanager.patch.patch | 29 ---- |
23 |
.../files/2016.12/0001-use-external-bzip.patch | 51 ------- |
24 |
.../files/2016.12/0001-use-external-glew.patch | 95 ------------ |
25 |
.../files/2016.12/0001-use-external-jhead.patch | 56 ------- |
26 |
.../files/2016.12/0001-use-external-lib3ds.patch | 48 ------ |
27 |
.../files/2016.12/0001-use-external-muParser.patch | 37 ----- |
28 |
.../files/2016.12/0001-use-external-openctm.patch | 43 ------ |
29 |
.../files/2016.12/meshlab-2016.12-align1.patch | 16 -- |
30 |
.../files/2016.12/meshlab-2016.12-align2.patch | 11 -- |
31 |
.../files/2016.12/meshlab-2016.12-asString.patch | 62 -------- |
32 |
.../2016.12/meshlab-2016.12-fix-plugins-path.patch | 17 --- |
33 |
.../files/2016.12/meshlab-2016.12-qprintable.patch | 20 --- |
34 |
.../files/2016.12/meshlab-2016.12-qt-5.15.patch | 33 ----- |
35 |
.../2016.12/meshlab-2016.12-qt-includes.patch | 22 --- |
36 |
.../2016.12/meshlab-2016.12-remove-header.patch | 38 ----- |
37 |
.../files/2016.12/remove-edit_mutualcorrs.patch | 10 -- |
38 |
.../meshlab/files/2016.12/remove-io_TXT.patch | 10 -- |
39 |
media-gfx/meshlab/meshlab-2016.12-r4.ebuild | 113 -------------- |
40 |
26 files changed, 1071 deletions(-) |
41 |
|
42 |
diff --git a/media-gfx/meshlab/Manifest b/media-gfx/meshlab/Manifest |
43 |
index 0a2b15bdb8d..0f1b247f501 100644 |
44 |
--- a/media-gfx/meshlab/Manifest |
45 |
+++ b/media-gfx/meshlab/Manifest |
46 |
@@ -1,4 +1,2 @@ |
47 |
-DIST meshlab-2016.12.tar.gz 94194402 BLAKE2B 53dda75b51198d529d35ae64e1b9d8ec240ec6031835e6cde2ff1ad21403086112a6f4b9acf5c6f53328787078b3e1a90cc177f5e009834b310cdf6b168c59b0 SHA512 68bf863fc390725a949578b545bc749bbe2c07ca75d1461772c7777fd6a4b095f11b64b5b0e8b729f83fea1bb9e3ca4b41123cdea3799a8eee0de587eb7bf1d8 |
48 |
DIST meshlab-2020.12.tar.gz 111438055 BLAKE2B 4969c1f8f60be6ff55effd710c0bceb290ad6ac01153c233fd6a943f15e86189c04c06aa474ea89899d31b77d6960ffabbda6a12c3107d750469945e0c73c335 SHA512 0a00493f3e622a7bb0b70ddf0e1710376b47bd844aa785782a62f31a46ae1ee4b493c1e4ae0184f51f30be263f84efc0073e266d50748adc10ef229f107e4c87 |
49 |
-DIST vcglib-1.0.1.tar.gz 9063634 BLAKE2B 91fba7ebf1ac18d0dfb33d3e26656e546b7c35ae753777730c44ebdf327413dfe94dd5e84907eb7e1644d70bfdf7d00ae8ecd0a81587d790a31354f7db09d626 SHA512 55d1854054744abae2d41e7b5041df89253bae108df5fc1cfe777013de7192dce04bc474475cb11a1d0343ebcab1ea61b381d9d9c36c452528043e85e75bc211 |
50 |
DIST vcglib-2020.12.tar.gz 6777201 BLAKE2B 9e2e3eb4ae7b930a8a334d58ee4bdadaf43e9a031d523471d17ca39d241c0dd66ec846a360cbcccd53d8728a2c7a6b6fa7d7a3efc04c01515ac3366b10f01aa8 SHA512 d7eec0c9c847e6ade7a3bee9aa1cddbb6855c388b15e2b35889ce998ea9a1c7afb0034ec31c38de3cbc2d867c8d8a474b13e4e2e3218e636926967abe4e54924 |
51 |
|
52 |
diff --git a/media-gfx/meshlab/files/2016.12/0001-compile-server.patch b/media-gfx/meshlab/files/2016.12/0001-compile-server.patch |
53 |
deleted file mode 100644 |
54 |
index 6e2e31af9bd..00000000000 |
55 |
--- a/media-gfx/meshlab/files/2016.12/0001-compile-server.patch |
56 |
+++ /dev/null |
57 |
@@ -1,22 +0,0 @@ |
58 |
-From 188c3465b9cc5be7c72b21e012a89b9d07e6e2c4 Mon Sep 17 00:00:00 2001 |
59 |
-From: Sobhan Mohammadpour <mohammadpour.sobhan@×××××.com> |
60 |
-Date: Mon, 20 Nov 2017 14:40:02 +0330 |
61 |
-Subject: [PATCH] compile server |
62 |
- |
63 |
---- |
64 |
- meshlab_mini.pro | 2 +- |
65 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
66 |
- |
67 |
-diff --git a/meshlab_mini.pro b/meshlab_mini.pro |
68 |
-index abe0259..b18771e 100644 |
69 |
---- a/meshlab_mini.pro |
70 |
-+++ b/meshlab_mini.pro |
71 |
-@@ -34,4 +34,4 @@ SUBDIRS = common \ |
72 |
- # meshlabplugins/filter_unsharp \ |
73 |
- # meshlabplugins/io_collada \ |
74 |
- # meshlabplugins/io_x3d \ |
75 |
--# meshlabserver |
76 |
-+ meshlabserver |
77 |
--- |
78 |
-2.15.0 |
79 |
- |
80 |
|
81 |
diff --git a/media-gfx/meshlab/files/2016.12/0001-depend-on-system-glew.patch b/media-gfx/meshlab/files/2016.12/0001-depend-on-system-glew.patch |
82 |
deleted file mode 100644 |
83 |
index d8c5bb1f5aa..00000000000 |
84 |
--- a/media-gfx/meshlab/files/2016.12/0001-depend-on-system-glew.patch |
85 |
+++ /dev/null |
86 |
@@ -1,72 +0,0 @@ |
87 |
-From 58a86b4c48ef89faa5d4d16c502d5350fb1c5df3 Mon Sep 17 00:00:00 2001 |
88 |
-From: Sobhan Mohammadpour <www.sobhan.mohammadpour@×××××.com> |
89 |
-Date: Thu, 23 Nov 2017 00:57:42 +0330 |
90 |
-Subject: [PATCH] depend-on-system-glew |
91 |
- |
92 |
---- |
93 |
- common/common.pro | 7 +------ |
94 |
- meshlab/meshlab.pro | 2 -- |
95 |
- 2 files changed, 1 insertion(+), 8 deletions(-) |
96 |
- |
97 |
-diff --git a/common/common.pro b/common/common.pro |
98 |
-index 51cdcb5..85849dc 100644 |
99 |
---- a/common/common.pro |
100 |
-+++ b/common/common.pro |
101 |
-@@ -1,7 +1,6 @@ |
102 |
- include (../general.pri) |
103 |
- EXIF_DIR = ../external/jhead-2.95 |
104 |
- |
105 |
--GLEWCODE = $$GLEWDIR/src/glew.c |
106 |
- |
107 |
- win32-msvc2005:DESTDIR = ../distrib |
108 |
- win32-msvc2008:DESTDIR = ../distrib |
109 |
-@@ -53,9 +52,7 @@ ln -s ../../../meshlab/src/distrib/shaders ../distrib/shaders ;\ |
110 |
- echo "linked shader dir"; \ |
111 |
- fi;\ |
112 |
- " |
113 |
--INCLUDEPATH *= ../.. \ |
114 |
-- $$VCGDIR \ |
115 |
-- $$GLEWDIR/include |
116 |
-+ |
117 |
- TEMPLATE = lib |
118 |
- linux-g++:CONFIG += dll |
119 |
- linux-g++:DESTDIR = ../distrib |
120 |
-@@ -80,7 +77,6 @@ QT += script |
121 |
- TARGET = common |
122 |
- DEPENDPATH += . |
123 |
- INCLUDEPATH += . $$EXIF_DIR |
124 |
--DEFINES += GLEW_STATIC |
125 |
- win32-msvc2005:DEFINES += _CRT_SECURE_NO_WARNINGS |
126 |
- win32-msvc2008:DEFINES += _CRT_SECURE_NO_WARNINGS |
127 |
- win32-msvc2010:DEFINES += _CRT_SECURE_NO_WARNINGS |
128 |
-@@ -117,7 +113,6 @@ SOURCES += filterparameter.cpp \ |
129 |
- mlapplication.cpp \ |
130 |
- scriptsyntax.cpp \ |
131 |
- searcher.cpp \ |
132 |
-- $$GLEWCODE \ |
133 |
- meshlabdocumentxml.cpp \ |
134 |
- meshlabdocumentbundler.cpp \ |
135 |
- ml_shared_data_context.cpp |
136 |
-diff --git a/meshlab/meshlab.pro b/meshlab/meshlab.pro |
137 |
-index 0e50581..37d44ba 100644 |
138 |
---- a/meshlab/meshlab.pro |
139 |
-+++ b/meshlab/meshlab.pro |
140 |
-@@ -9,7 +9,6 @@ INCLUDEPATH *= . \ |
141 |
- .. \ |
142 |
- ../.. \ |
143 |
- $$VCGDIR \ |
144 |
-- $$GLEWDIR/include \ |
145 |
- $$EXIF_DIR |
146 |
- DEPENDPATH += $$VCGDIR \ |
147 |
- $$VCGDIR/vcg \ |
148 |
-@@ -64,7 +63,6 @@ SOURCES = main.cpp \ |
149 |
- $$VCGDIR/wrap/gui/trackball.cpp \ |
150 |
- $$VCGDIR/wrap/gui/trackmode.cpp \ |
151 |
- $$VCGDIR/wrap/gui/coordinateframe.cpp \ |
152 |
-- #$$GLEWDIR/src/glew.c \ |
153 |
- glarea_setting.cpp \ |
154 |
- filterthread.cpp |
155 |
- |
156 |
--- |
157 |
-2.15.0 |
158 |
- |
159 |
|
160 |
diff --git a/media-gfx/meshlab/files/2016.12/0001-disable-edit-quality.patch b/media-gfx/meshlab/files/2016.12/0001-disable-edit-quality.patch |
161 |
deleted file mode 100644 |
162 |
index ed58bc0cb97..00000000000 |
163 |
--- a/media-gfx/meshlab/files/2016.12/0001-disable-edit-quality.patch |
164 |
+++ /dev/null |
165 |
@@ -1,25 +0,0 @@ |
166 |
-From 59588b3198e0ca6cd97265a65ea87b40897d3bd9 Mon Sep 17 00:00:00 2001 |
167 |
-From: Sobhan Mohammadpour <www.sobhan.mohammadpour@×××××.com> |
168 |
-Date: Thu, 23 Nov 2017 00:41:15 +0330 |
169 |
-Subject: [PATCH] disable-edit-quality |
170 |
- |
171 |
---- |
172 |
- meshlab_full.pro | 2 +- |
173 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
174 |
- |
175 |
-diff --git a/meshlab_full.pro b/meshlab_full.pro |
176 |
-index 143e226..9939225 100644 |
177 |
---- a/meshlab_full.pro |
178 |
-+++ b/meshlab_full.pro |
179 |
-@@ -69,7 +69,7 @@ SUBDIRS = common \ |
180 |
- meshlabplugins/edit_pickpoints \ |
181 |
- meshlabplugins/edit_point\ |
182 |
- plugins_experimental/edit_referencing \ |
183 |
-- meshlabplugins/edit_quality \ |
184 |
-+# meshlabplugins/edit_quality \ |
185 |
- meshlabplugins/edit_select \ |
186 |
- # Sample Plugins |
187 |
- sampleplugins/sampleedit \ |
188 |
--- |
189 |
-2.15.0 |
190 |
- |
191 |
|
192 |
diff --git a/media-gfx/meshlab/files/2016.12/0001-disable-filter-layer.patch b/media-gfx/meshlab/files/2016.12/0001-disable-filter-layer.patch |
193 |
deleted file mode 100644 |
194 |
index 407d7775f9f..00000000000 |
195 |
--- a/media-gfx/meshlab/files/2016.12/0001-disable-filter-layer.patch |
196 |
+++ /dev/null |
197 |
@@ -1,25 +0,0 @@ |
198 |
-From 90862a887b923984e17343447c30251f2d6fc541 Mon Sep 17 00:00:00 2001 |
199 |
-From: Sobhan Mohammadpour <www.sobhan.mohammadpour@×××××.com> |
200 |
-Date: Thu, 23 Nov 2017 12:37:14 +0330 |
201 |
-Subject: [PATCH] disable filter layer |
202 |
- |
203 |
---- |
204 |
- meshlab_full.pro | 2 +- |
205 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
206 |
- |
207 |
-diff --git a/meshlab_full.pro b/meshlab_full.pro |
208 |
-index 9939225..1691d31 100644 |
209 |
---- a/meshlab_full.pro |
210 |
-+++ b/meshlab_full.pro |
211 |
-@@ -34,7 +34,7 @@ SUBDIRS = common \ |
212 |
- sampleplugins/filter_geodesic \ |
213 |
- meshlabplugins/filter_img_patch_param \ |
214 |
- meshlabplugins/filter_isoparametrization \ |
215 |
-- meshlabplugins/filter_layer \ |
216 |
-+# meshlabplugins/filter_layer \ |
217 |
- meshlabplugins/filter_measure \ |
218 |
- meshlabplugins/filter_meshing \ |
219 |
- plugins_experimental/filter_mutualglobal \ |
220 |
--- |
221 |
-2.15.0 |
222 |
- |
223 |
|
224 |
diff --git a/media-gfx/meshlab/files/2016.12/0001-disable-filter-ssynth.patch b/media-gfx/meshlab/files/2016.12/0001-disable-filter-ssynth.patch |
225 |
deleted file mode 100644 |
226 |
index c5f84998a62..00000000000 |
227 |
--- a/media-gfx/meshlab/files/2016.12/0001-disable-filter-ssynth.patch |
228 |
+++ /dev/null |
229 |
@@ -1,25 +0,0 @@ |
230 |
-From 22f946dece8e56683a197204ac05292045a3dda1 Mon Sep 17 00:00:00 2001 |
231 |
-From: Sobhan Mohammadpour <www.sobhan.mohammadpour@×××××.com> |
232 |
-Date: Wed, 22 Nov 2017 23:20:57 +0330 |
233 |
-Subject: [PATCH] disable-filter-ssynth |
234 |
- |
235 |
---- |
236 |
- meshlab_full.pro | 2 +- |
237 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
238 |
- |
239 |
-diff --git a/meshlab_full.pro b/meshlab_full.pro |
240 |
-index 4a256a1..143e226 100644 |
241 |
---- a/meshlab_full.pro |
242 |
-+++ b/meshlab_full.pro |
243 |
-@@ -49,7 +49,7 @@ SUBDIRS = common \ |
244 |
- meshlabplugins/filter_sdfgpu \ |
245 |
- meshlabplugins/filter_select \ |
246 |
- plugins_experimental/filter_sketchfab \ |
247 |
-- meshlabplugins/filter_ssynth \ |
248 |
-+# meshlabplugins/filter_ssynth \ |
249 |
- meshlabplugins/filter_texture \ |
250 |
- meshlabplugins/filter_trioptimize \ |
251 |
- meshlabplugins/filter_unsharp \ |
252 |
--- |
253 |
-2.15.0 |
254 |
- |
255 |
|
256 |
diff --git a/media-gfx/meshlab/files/2016.12/0001-remove-not-sane-plugins.patch b/media-gfx/meshlab/files/2016.12/0001-remove-not-sane-plugins.patch |
257 |
deleted file mode 100644 |
258 |
index 320912c40ed..00000000000 |
259 |
--- a/media-gfx/meshlab/files/2016.12/0001-remove-not-sane-plugins.patch |
260 |
+++ /dev/null |
261 |
@@ -1,25 +0,0 @@ |
262 |
-From 0358aad037efc55701622884bf0ed1249a08387f Mon Sep 17 00:00:00 2001 |
263 |
-From: Sobhan Mohammadpour <www.sobhan.mohammadpour@×××××.com> |
264 |
-Date: Thu, 23 Nov 2017 02:23:03 +0330 |
265 |
-Subject: [PATCH] remove not sane plugins |
266 |
- |
267 |
---- |
268 |
- meshlab_full.pro | 2 +- |
269 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
270 |
- |
271 |
-diff --git a/meshlab_full.pro b/meshlab_full.pro |
272 |
-index 9939225..b8a6bce 100644 |
273 |
---- a/meshlab_full.pro |
274 |
-+++ b/meshlab_full.pro |
275 |
-@@ -27,7 +27,7 @@ SUBDIRS = common \ |
276 |
- meshlabplugins/filter_color_projection \ |
277 |
- meshlabplugins/filter_create \ |
278 |
- sampleplugins/filter_createiso \ |
279 |
-- meshlabplugins/filter_csg \ |
280 |
-+# meshlabplugins/filter_csg \ |
281 |
- meshlabplugins/filter_dirt \ |
282 |
- meshlabplugins/filter_fractal \ |
283 |
- meshlabplugins/filter_func \ |
284 |
--- |
285 |
-2.15.0 |
286 |
- |
287 |
|
288 |
diff --git a/media-gfx/meshlab/files/2016.12/0001-set-shader-and-texture-paths.patch b/media-gfx/meshlab/files/2016.12/0001-set-shader-and-texture-paths.patch |
289 |
deleted file mode 100644 |
290 |
index a1a4f3f860a..00000000000 |
291 |
--- a/media-gfx/meshlab/files/2016.12/0001-set-shader-and-texture-paths.patch |
292 |
+++ /dev/null |
293 |
@@ -1,164 +0,0 @@ |
294 |
-From 4780d519177021364427b44567fd9a67879435aa Mon Sep 17 00:00:00 2001 |
295 |
-From: Sobhan Mohammadpour <www.sobhan.mohammadpour@×××××.com> |
296 |
-Date: Fri, 24 Nov 2017 18:20:11 +0330 |
297 |
-Subject: [PATCH] set shader and texture paths |
298 |
- |
299 |
---- |
300 |
- meshlabplugins/render_gdp/meshrender.cpp | 6 +++++- |
301 |
- meshlabplugins/render_gdp/shaderDialog.cpp | 6 +++++- |
302 |
- plugins_experimental/render_splatpyramid/dialog.cpp | 7 +++++-- |
303 |
- plugins_experimental/render_splatpyramid/splat_pyramid.cc | 6 +++++- |
304 |
- plugins_unsupported/render_rm/glstateholder.cpp | 12 ++++++++++-- |
305 |
- plugins_unsupported/render_rm/rmmeshrender.cpp | 6 +++++- |
306 |
- plugins_unsupported/render_rm/rmshaderdialog.cpp | 10 +++++++++- |
307 |
- 7 files changed, 44 insertions(+), 9 deletions(-) |
308 |
- |
309 |
-diff --git a/meshlabplugins/render_gdp/meshrender.cpp b/meshlabplugins/render_gdp/meshrender.cpp |
310 |
-index 5841ce6..28e66b3 100644 |
311 |
---- a/meshlabplugins/render_gdp/meshrender.cpp |
312 |
-+++ b/meshlabplugins/render_gdp/meshrender.cpp |
313 |
-@@ -38,7 +38,11 @@ void MeshShaderRenderPlugin::initActionList() { |
314 |
- qaNone->setCheckable(false); |
315 |
- actionList << qaNone;*/ |
316 |
- |
317 |
-- QDir shadersDir = QDir(qApp->applicationDirPath()); |
318 |
-+#if defined(Q_OS_LINUX) |
319 |
-+ QDir shadersDir("/usr/share/meshlab"); |
320 |
-+#else |
321 |
-+ QDir shadersDir = QDir(qApp->applicationDirPath()); |
322 |
-+#endif |
323 |
- #if defined(Q_OS_WIN) |
324 |
- if (shadersDir.dirName() == "debug" || shadersDir.dirName() == "release" || shadersDir.dirName() == "plugins") |
325 |
- shadersDir.cdUp(); |
326 |
-diff --git a/meshlabplugins/render_gdp/shaderDialog.cpp b/meshlabplugins/render_gdp/shaderDialog.cpp |
327 |
-index 1315757..168c0f8 100644 |
328 |
---- a/meshlabplugins/render_gdp/shaderDialog.cpp |
329 |
-+++ b/meshlabplugins/render_gdp/shaderDialog.cpp |
330 |
-@@ -317,7 +317,11 @@ void ShaderDialog::changeTexturePath(int i) { |
331 |
- void ShaderDialog::browseTexturePath(int i) { |
332 |
- QFileDialog fd(0,"Choose new texture"); |
333 |
- |
334 |
-- QDir shadersDir = QDir(qApp->applicationDirPath()); |
335 |
-+#if defined(Q_OS_LINUX) |
336 |
-+ QDir shadersDir("/usr/share/meshlab"); |
337 |
-+#else |
338 |
-+ QDir shadersDir = QDir(qApp->applicationDirPath()); |
339 |
-+#endif |
340 |
- #if defined(Q_OS_WIN) |
341 |
- if (shadersDir.dirName() == "debug" || shadersDir.dirName() == "release") |
342 |
- shadersDir.cdUp(); |
343 |
-diff --git a/plugins_experimental/render_splatpyramid/dialog.cpp b/plugins_experimental/render_splatpyramid/dialog.cpp |
344 |
-index 589ba48..11cf3fe 100644 |
345 |
---- a/plugins_experimental/render_splatpyramid/dialog.cpp |
346 |
-+++ b/plugins_experimental/render_splatpyramid/dialog.cpp |
347 |
-@@ -122,8 +122,11 @@ void Dialog::changeTexturePath(int i) { |
348 |
- |
349 |
- void Dialog::browseTexturePath(int i) { |
350 |
- QFileDialog fd(0,"Choose new texture"); |
351 |
-- |
352 |
-- QDir shadersDir = QDir(qApp->applicationDirPath()); |
353 |
-+#if defined(Q_OS_LINUX) |
354 |
-+ QDir shadersDir("/usr/share/meshlab"); |
355 |
-+#else |
356 |
-+ QDir shadersDir = QDir(qApp->applicationDirPath()); |
357 |
-+#endif |
358 |
- #if defined(Q_OS_WIN) |
359 |
- if (shadersDir.dirName() == "debug" || shadersDir.dirName() == "release") |
360 |
- shadersDir.cdUp(); |
361 |
-diff --git a/plugins_experimental/render_splatpyramid/splat_pyramid.cc b/plugins_experimental/render_splatpyramid/splat_pyramid.cc |
362 |
-index a4915d1..75074a6 100644 |
363 |
---- a/plugins_experimental/render_splatpyramid/splat_pyramid.cc |
364 |
-+++ b/plugins_experimental/render_splatpyramid/splat_pyramid.cc |
365 |
-@@ -85,7 +85,11 @@ void PyramidPointRendererPlugin::Init(QAction *, MeshDocument &md, RenderMode &, |
366 |
- objects[i].setRendererType( render_mode ); |
367 |
- |
368 |
- /// Sets the path to the meshlab's shaders directory |
369 |
-- QDir shadersDir = QDir(qApp->applicationDirPath()); |
370 |
-+#if defined(Q_OS_LINUX) |
371 |
-+ QDir shadersDir("/usr/share/meshlab"); |
372 |
-+#else |
373 |
-+ QDir shadersDir = QDir(qApp->applicationDirPath()); |
374 |
-+#endif |
375 |
- #if defined(Q_OS_WIN) |
376 |
- if (shadersDir.dirName() == "debug" || shadersDir.dirName() == "release" || shadersDir.dirName() == "plugins" ) |
377 |
- shadersDir.cdUp(); |
378 |
-diff --git a/plugins_unsupported/render_rm/glstateholder.cpp b/plugins_unsupported/render_rm/glstateholder.cpp |
379 |
-index fa7cdd9..544c6b3 100644 |
380 |
---- a/plugins_unsupported/render_rm/glstateholder.cpp |
381 |
-+++ b/plugins_unsupported/render_rm/glstateholder.cpp |
382 |
-@@ -75,8 +75,12 @@ UniformValue::UniformValue(UniformVar &v) |
383 |
- |
384 |
- // if it's a texture, try to load it from the standard path |
385 |
- if (!textureFilename.isEmpty()) { |
386 |
-+#if defined(Q_OS_LINUX) |
387 |
-+ QDir textureDir("/usr/share/meshlab"); |
388 |
-+#else |
389 |
- QDir textureDir = QDir(qApp->applicationDirPath()); |
390 |
-- |
391 |
-+#endif |
392 |
-+ |
393 |
- #if defined(Q_OS_WIN) |
394 |
- if (textureDir.dirName() == "debug" || |
395 |
- textureDir.dirName() == "release" || |
396 |
-@@ -158,7 +162,11 @@ void UniformValue::updateUniformVariableValuesFromDialog(int rowIdx, int colIdx, |
397 |
- // * choose the filename with a dialog (55 by convention) |
398 |
- if (rowIdx == 5 && colIdx == 5) { |
399 |
- QFileDialog fd(0, "Choose new texture"); |
400 |
-- QDir texturesDir = QDir(qApp->applicationDirPath()); |
401 |
-+#if defined(Q_OS_LINUX) |
402 |
-+ QDir textureDir("/usr/share/meshlab"); |
403 |
-+#else |
404 |
-+ QDir textureDir = QDir(qApp->applicationDirPath()); |
405 |
-+#endif |
406 |
- |
407 |
- #if defined(Q_OS_WIN) |
408 |
- if (texturesDir.dirName() == "debug" || |
409 |
-diff --git a/plugins_unsupported/render_rm/rmmeshrender.cpp b/plugins_unsupported/render_rm/rmmeshrender.cpp |
410 |
-index 9e516d2..f367842 100644 |
411 |
---- a/plugins_unsupported/render_rm/rmmeshrender.cpp |
412 |
-+++ b/plugins_unsupported/render_rm/rmmeshrender.cpp |
413 |
-@@ -63,7 +63,11 @@ QList<QAction*> RmMeshShaderRenderPlugin::actions() |
414 |
- |
415 |
- void RmMeshShaderRenderPlugin::initActionList() { |
416 |
- |
417 |
-- QDir shadersDir = QDir(qApp->applicationDirPath()); |
418 |
-+#if defined(Q_OS_LINUX) |
419 |
-+ QDir shadersDir("/usr/share/meshlab/shaders"); |
420 |
-+#else |
421 |
-+ QDir shadersDir = QDir(qApp->applicationDirPath()); |
422 |
-+#endif |
423 |
- #if defined(Q_OS_WIN) |
424 |
- if (shadersDir.dirName() == "debug" || |
425 |
- shadersDir.dirName() == "release" || |
426 |
-diff --git a/plugins_unsupported/render_rm/rmshaderdialog.cpp b/plugins_unsupported/render_rm/rmshaderdialog.cpp |
427 |
-index 1f6c02b..6c8af80 100644 |
428 |
---- a/plugins_unsupported/render_rm/rmshaderdialog.cpp |
429 |
-+++ b/plugins_unsupported/render_rm/rmshaderdialog.cpp |
430 |
-@@ -332,7 +332,11 @@ void RmShaderDialog::fillTabsWithPass(int index) |
431 |
- |
432 |
- QFileInfo finfo(v.textureFilename); |
433 |
- |
434 |
-+ #if defined(Q_OS_LINUX) |
435 |
-+ QDir textureDir("/usr/share/meshlab"); |
436 |
-+ #else |
437 |
- QDir textureDir = QDir(qApp->applicationDirPath()); |
438 |
-+ #endif |
439 |
- #if defined(Q_OS_WIN) |
440 |
- if (textureDir.dirName() == "debug" || textureDir.dirName() == "release" || textureDir.dirName() == "plugins" ) textureDir.cdUp(); |
441 |
- #elif defined(Q_OS_MAC) |
442 |
-@@ -444,7 +448,11 @@ void RmShaderDialog::valuesChanged(const QString & varNameAndIndex ) |
443 |
- // choose the filename with a dialog |
444 |
- QFileDialog fd(0,"Choose new texture"); |
445 |
- |
446 |
-- QDir texturesDir = QDir(qApp->applicationDirPath()); |
447 |
-+#if defined(Q_OS_LINUX) |
448 |
-+ QDir textureDir("/usr/share/meshlab"); |
449 |
-+#else |
450 |
-+ QDir textureDir = QDir(qApp->applicationDirPath()); |
451 |
-+#endif |
452 |
- #if defined(Q_OS_WIN) |
453 |
- if (texturesDir.dirName() == "debug" || texturesDir.dirName() == "release") texturesDir.cdUp(); |
454 |
- #elif defined(Q_OS_MAC) |
455 |
--- |
456 |
-2.15.0 |
457 |
- |
458 |
|
459 |
diff --git a/media-gfx/meshlab/files/2016.12/0001-update-1.3.3-pluginmanager.patch.patch b/media-gfx/meshlab/files/2016.12/0001-update-1.3.3-pluginmanager.patch.patch |
460 |
deleted file mode 100644 |
461 |
index 9f6d7487817..00000000000 |
462 |
--- a/media-gfx/meshlab/files/2016.12/0001-update-1.3.3-pluginmanager.patch.patch |
463 |
+++ /dev/null |
464 |
@@ -1,29 +0,0 @@ |
465 |
-From 6310a419f2a0e0f11f59a60fee850a1b64c2f41e Mon Sep 17 00:00:00 2001 |
466 |
-From: Sobhan Mohammadpour <www.sobhan.mohammadpour@×××××.com> |
467 |
-Date: Fri, 24 Nov 2017 17:47:43 +0330 |
468 |
-Subject: [PATCH] update 1.3.3/pluginmanager.patch |
469 |
- |
470 |
---- |
471 |
- common/pluginmanager.cpp | 5 ++++- |
472 |
- 1 file changed, 4 insertions(+), 1 deletion(-) |
473 |
- |
474 |
-diff --git a/common/pluginmanager.cpp b/common/pluginmanager.cpp |
475 |
-index 5354055..551e73f 100644 |
476 |
---- a/common/pluginmanager.cpp |
477 |
-+++ b/common/pluginmanager.cpp |
478 |
-@@ -189,8 +189,11 @@ QString PluginManager::osDependentFileBaseName(const QString &plname) |
479 |
- |
480 |
- QString PluginManager::getBaseDirPath() |
481 |
- { |
482 |
-+ #if defined(Q_OS_LINUX) |
483 |
-+ QDir baseDir("/usr/lib/meshlab"); |
484 |
-+ #else |
485 |
- QDir baseDir(qApp->applicationDirPath()); |
486 |
-- |
487 |
-+ #endif |
488 |
- #if defined(Q_OS_WIN) |
489 |
- // Windows: |
490 |
- // during development with visual studio binary could be in the debug/release subdir. |
491 |
--- |
492 |
-2.15.0 |
493 |
- |
494 |
|
495 |
diff --git a/media-gfx/meshlab/files/2016.12/0001-use-external-bzip.patch b/media-gfx/meshlab/files/2016.12/0001-use-external-bzip.patch |
496 |
deleted file mode 100644 |
497 |
index e01d5ebae85..00000000000 |
498 |
--- a/media-gfx/meshlab/files/2016.12/0001-use-external-bzip.patch |
499 |
+++ /dev/null |
500 |
@@ -1,51 +0,0 @@ |
501 |
-From 731519b5573ab503b78f2c892e2d5c4bcabef1ea Mon Sep 17 00:00:00 2001 |
502 |
-From: Sobhan Mohammadpour <www.sobhan.mohammadpour@×××××.com> |
503 |
-Date: Wed, 22 Nov 2017 23:33:11 +0330 |
504 |
-Subject: [PATCH] use-external-bzip |
505 |
- |
506 |
---- |
507 |
- meshlabplugins/edit_arc3D/edit_arc3D.pro | 31 ------------------------------- |
508 |
- 1 file changed, 31 deletions(-) |
509 |
- |
510 |
-diff --git a/meshlabplugins/edit_arc3D/edit_arc3D.pro b/meshlabplugins/edit_arc3D/edit_arc3D.pro |
511 |
-index 08b5860..75db42c 100644 |
512 |
---- a/meshlabplugins/edit_arc3D/edit_arc3D.pro |
513 |
-+++ b/meshlabplugins/edit_arc3D/edit_arc3D.pro |
514 |
-@@ -28,34 +28,3 @@ SOURCES += edit_arc3D.cpp \ |
515 |
- TARGET = edit_arc3D |
516 |
- RESOURCES = edit_arc3D.qrc |
517 |
- |
518 |
--win32-msvc2005:LIBS += ../../external/lib/win32-msvc2005/bz2.lib |
519 |
--win32-msvc2008:LIBS += ../../external/lib/win32-msvc2008/bz2.lib |
520 |
--win32-msvc2010:LIBS += ../../external/lib/win32-msvc2010/bz2.lib |
521 |
--win32-msvc2012:LIBS += ../../external/lib/win32-msvc2012/bz2.lib |
522 |
--win32-msvc2013:LIBS += ../../external/lib/win32-msvc2013/bz2.lib |
523 |
--win32-msvc2015:LIBS += ../../external/lib/win32-msvc2015/bz2.lib |
524 |
--win32-g++:LIBS += ../../external/lib/win32-gcc/libbz2.a |
525 |
--linux-g++:LIBS += ../../external/lib/linux-g++/libbz2.a |
526 |
--linux-g++-32:LIBS += ../../external/lib/linux-g++-32/libbz2.a |
527 |
--linux-g++-64:LIBS += ../../external/lib/linux-g++-64/libbz2.a |
528 |
--mac:LIBS += -lbz2 |
529 |
-- |
530 |
--win32-msvc2005:INCLUDEPATH += ../../external/bzip2-1.0.5 |
531 |
--win32-msvc2008:INCLUDEPATH += ../../external/bzip2-1.0.5 |
532 |
--win32-msvc2010:INCLUDEPATH += ../../external/bzip2-1.0.5 |
533 |
--win32-msvc2012:INCLUDEPATH += ../../external/bzip2-1.0.5 |
534 |
--win32-msvc2013:INCLUDEPATH += ../../external/bzip2-1.0.5 |
535 |
--win32-msvc2015:INCLUDEPATH += ../../external/bzip2-1.0.5 |
536 |
-- |
537 |
--win32-g++:INCLUDEPATH += ../../external/bzip2-1.0.5 |
538 |
--linux-g++:INCLUDEPATH += ../../external/bzip2-1.0.5 |
539 |
--linux-g++-32:INCLUDEPATH += ../../external/bzip2-1.0.5 |
540 |
--linux-g++-64:INCLUDEPATH += ../../external/bzip2-1.0.5 |
541 |
-- |
542 |
-- |
543 |
--CONFIG(release, debug|release) { |
544 |
-- win32-g++:release:QMAKE_CXXFLAGS -= -O2 |
545 |
-- win32-g++:release:QMAKE_CFLAGS -= -O2 |
546 |
-- win32-g++:release:QMAKE_CXXFLAGS += -O3 -mtune=pentium3 -ffast-math |
547 |
--} |
548 |
-- |
549 |
--- |
550 |
-2.15.0 |
551 |
- |
552 |
|
553 |
diff --git a/media-gfx/meshlab/files/2016.12/0001-use-external-glew.patch b/media-gfx/meshlab/files/2016.12/0001-use-external-glew.patch |
554 |
deleted file mode 100644 |
555 |
index 58d76049992..00000000000 |
556 |
--- a/media-gfx/meshlab/files/2016.12/0001-use-external-glew.patch |
557 |
+++ /dev/null |
558 |
@@ -1,95 +0,0 @@ |
559 |
-From 3b698bccccaeeee03c4bf454971b9c4bc00f2450 Mon Sep 17 00:00:00 2001 |
560 |
-From: Sobhan Mohammadpour <www.sobhan.mohammadpour@×××××.com> |
561 |
-Date: Thu, 23 Nov 2017 01:22:19 +0330 |
562 |
-Subject: [PATCH] use-external-glew |
563 |
- |
564 |
---- |
565 |
- common/common.pro | 7 ++++--- |
566 |
- meshlab/meshlab.pro | 8 ++++---- |
567 |
- meshlabserver/meshlabserver.pro | 8 ++++---- |
568 |
- 3 files changed, 12 insertions(+), 11 deletions(-) |
569 |
- |
570 |
-diff --git a/common/common.pro b/common/common.pro |
571 |
-index 8bdf6a5..0edc245 100644 |
572 |
---- a/common/common.pro |
573 |
-+++ b/common/common.pro |
574 |
-@@ -1,7 +1,7 @@ |
575 |
- include (../general.pri) |
576 |
- #EXIF_DIR = ../external/jhead-2.95 |
577 |
- |
578 |
--GLEWCODE = $$GLEWDIR/src/glew.c |
579 |
-+#GLEWCODE = $$GLEWDIR/src/glew.c |
580 |
- |
581 |
- win32-msvc2005:DESTDIR = ../distrib |
582 |
- win32-msvc2008:DESTDIR = ../distrib |
583 |
-@@ -55,7 +55,8 @@ fi;\ |
584 |
- " |
585 |
- INCLUDEPATH *= ../.. \ |
586 |
- $$VCGDIR \ |
587 |
-- $$GLEWDIR/include |
588 |
-+# $$GLEWDIR/include |
589 |
-+ |
590 |
- TEMPLATE = lib |
591 |
- linux-g++:CONFIG += dll |
592 |
- linux-g++:DESTDIR = ../distrib |
593 |
-@@ -80,7 +81,7 @@ QT += script |
594 |
- TARGET = common |
595 |
- DEPENDPATH += . |
596 |
- #INCLUDEPATH += . $$EXIF_DIR |
597 |
--DEFINES += GLEW_STATIC |
598 |
-+#DEFINES += GLEW_STATIC |
599 |
- win32-msvc2005:DEFINES += _CRT_SECURE_NO_WARNINGS |
600 |
- win32-msvc2008:DEFINES += _CRT_SECURE_NO_WARNINGS |
601 |
- win32-msvc2010:DEFINES += _CRT_SECURE_NO_WARNINGS |
602 |
-diff --git a/meshlab/meshlab.pro b/meshlab/meshlab.pro |
603 |
-index 5456342..9d45834 100644 |
604 |
---- a/meshlab/meshlab.pro |
605 |
-+++ b/meshlab/meshlab.pro |
606 |
-@@ -9,7 +9,7 @@ INCLUDEPATH *= . \ |
607 |
- .. \ |
608 |
- ../.. \ |
609 |
- $$VCGDIR \ |
610 |
-- $$GLEWDIR/include \ |
611 |
-+# $$GLEWDIR/include \ |
612 |
- # $$EXIF_DIR |
613 |
- |
614 |
- DEPENDPATH += $$VCGDIR \ |
615 |
-@@ -151,11 +151,11 @@ win32-g++:LIBS += -L../external/lib/win32-gcc -ljhead -L../distrib -lcom |
616 |
- # win32-g++:release:LIBS += -L../common/release -lcommon |
617 |
- #} |
618 |
- |
619 |
--linux-g++:LIBS += -L../external/lib/linux-g++ -ljhead -L../distrib -lcommon -lGLU |
620 |
-+linux-g++:LIBS += -L../external/lib/linux-g++ -ljhead -L../distrib -lcommon -lGLU -lGLEW |
621 |
- linux-g++:QMAKE_RPATHDIR += ../distrib |
622 |
--linux-g++-32:LIBS += -L../external/lib/linux-g++-32 -ljhead -L../distrib -lcommon -lGLU |
623 |
-+linux-g++-32:LIBS += -L../external/lib/linux-g++-32 -ljhead -L../distrib -lcommon -lGLU -lGLEW |
624 |
- linux-g++-32:QMAKE_RPATHDIR += ../distrib |
625 |
--linux-g++-64:LIBS += -L../external/lib/linux-g++-64 -ljhead -L../distrib -lcommon -lGLU |
626 |
-+linux-g++-64:LIBS += -L../external/lib/linux-g++-64 -ljhead -L../distrib -lcommon -lGLU -lGLEW |
627 |
- linux-g++-64:QMAKE_RPATHDIR += ../distrib |
628 |
- |
629 |
- # uncomment in your local copy only in emergency cases. |
630 |
-diff --git a/meshlabserver/meshlabserver.pro b/meshlabserver/meshlabserver.pro |
631 |
-index c9f5d0e..2b96033 100644 |
632 |
---- a/meshlabserver/meshlabserver.pro |
633 |
-+++ b/meshlabserver/meshlabserver.pro |
634 |
-@@ -28,12 +28,12 @@ win32-msvc2008: LIBS += -L../distrib -lcommon -lopengl32 -lGLU32 |
635 |
- win32-msvc2010: LIBS += -L../distrib -lcommon -lopengl32 -lGLU32 |
636 |
- win32-msvc2012: LIBS += -L../distrib -lcommon -lopengl32 -lGLU32 |
637 |
- win32-msvc2015: LIBS += -L../distrib -lcommon -lopengl32 -lGLU32 |
638 |
--win32-g++: LIBS += -L../distrib -lcommon |
639 |
--linux-g++: LIBS += -L../distrib -lcommon |
640 |
-+win32-g++: LIBS += -L../distrib -lcommon |
641 |
-+linux-g++: LIBS += -L../distrib -lcommon -lGLEW |
642 |
- linux-g++:QMAKE_RPATHDIR += ../distrib |
643 |
--linux-g++-32: LIBS += -L../distrib -lcommon |
644 |
-+linux-g++-32: LIBS += -L../distrib -lcommon -lGLEW |
645 |
- linux-g++-32:QMAKE_RPATHDIR += ../distrib |
646 |
--linux-g++-64: LIBS += -L../distrib -lcommon |
647 |
-+linux-g++-64: LIBS += -L../distrib -lcommon -lGLEW |
648 |
- linux-g++-64:QMAKE_RPATHDIR += ../distrib |
649 |
- #CONFIG (release,debug | release) { |
650 |
- # win32-msvc2005:release: LIBS += -L../common/release -lcommon |
651 |
--- |
652 |
-2.15.0 |
653 |
- |
654 |
|
655 |
diff --git a/media-gfx/meshlab/files/2016.12/0001-use-external-jhead.patch b/media-gfx/meshlab/files/2016.12/0001-use-external-jhead.patch |
656 |
deleted file mode 100644 |
657 |
index 002c2dc3bdf..00000000000 |
658 |
--- a/media-gfx/meshlab/files/2016.12/0001-use-external-jhead.patch |
659 |
+++ /dev/null |
660 |
@@ -1,56 +0,0 @@ |
661 |
-From 68d92b2de5d598d4d85e2cdbddec5219ba317796 Mon Sep 17 00:00:00 2001 |
662 |
-From: Sobhan Mohammadpour <www.sobhan.mohammadpour@×××××.com> |
663 |
-Date: Thu, 23 Nov 2017 01:21:10 +0330 |
664 |
-Subject: [PATCH] use-external-jhead |
665 |
- |
666 |
---- |
667 |
- common/common.pro | 4 ++-- |
668 |
- meshlab/meshlab.pro | 5 +++-- |
669 |
- 2 files changed, 5 insertions(+), 4 deletions(-) |
670 |
- |
671 |
-diff --git a/common/common.pro b/common/common.pro |
672 |
-index 51cdcb5..8bdf6a5 100644 |
673 |
---- a/common/common.pro |
674 |
-+++ b/common/common.pro |
675 |
-@@ -1,5 +1,5 @@ |
676 |
- include (../general.pri) |
677 |
--EXIF_DIR = ../external/jhead-2.95 |
678 |
-+#EXIF_DIR = ../external/jhead-2.95 |
679 |
- |
680 |
- GLEWCODE = $$GLEWDIR/src/glew.c |
681 |
- |
682 |
-@@ -79,7 +79,7 @@ QT += script |
683 |
- |
684 |
- TARGET = common |
685 |
- DEPENDPATH += . |
686 |
--INCLUDEPATH += . $$EXIF_DIR |
687 |
-+#INCLUDEPATH += . $$EXIF_DIR |
688 |
- DEFINES += GLEW_STATIC |
689 |
- win32-msvc2005:DEFINES += _CRT_SECURE_NO_WARNINGS |
690 |
- win32-msvc2008:DEFINES += _CRT_SECURE_NO_WARNINGS |
691 |
-diff --git a/meshlab/meshlab.pro b/meshlab/meshlab.pro |
692 |
-index 0e50581..5456342 100644 |
693 |
---- a/meshlab/meshlab.pro |
694 |
-+++ b/meshlab/meshlab.pro |
695 |
-@@ -1,7 +1,7 @@ |
696 |
- include (../general.pri) |
697 |
- #CONFIG += debug_and_release |
698 |
- DESTDIR = ../distrib |
699 |
--EXIF_DIR = ../external/jhead-2.95 |
700 |
-+#EXIF_DIR = ../external/jhead-2.95 |
701 |
- |
702 |
- DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x000000 |
703 |
- |
704 |
-@@ -10,7 +10,8 @@ INCLUDEPATH *= . \ |
705 |
- ../.. \ |
706 |
- $$VCGDIR \ |
707 |
- $$GLEWDIR/include \ |
708 |
-- $$EXIF_DIR |
709 |
-+# $$EXIF_DIR |
710 |
-+ |
711 |
- DEPENDPATH += $$VCGDIR \ |
712 |
- $$VCGDIR/vcg \ |
713 |
- $$VCGDIR/wrap |
714 |
--- |
715 |
-2.15.0 |
716 |
- |
717 |
|
718 |
diff --git a/media-gfx/meshlab/files/2016.12/0001-use-external-lib3ds.patch b/media-gfx/meshlab/files/2016.12/0001-use-external-lib3ds.patch |
719 |
deleted file mode 100644 |
720 |
index acbd8f4b5fe..00000000000 |
721 |
--- a/media-gfx/meshlab/files/2016.12/0001-use-external-lib3ds.patch |
722 |
+++ /dev/null |
723 |
@@ -1,48 +0,0 @@ |
724 |
-From 911bc805f89c464540fdce4c16e15f64476cf161 Mon Sep 17 00:00:00 2001 |
725 |
-From: Sobhan Mohammadpour <www.sobhan.mohammadpour@×××××.com> |
726 |
-Date: Wed, 22 Nov 2017 19:25:35 +0330 |
727 |
-Subject: [PATCH] use-external-lib3ds |
728 |
- |
729 |
---- |
730 |
- meshlabplugins/io_3ds/io_3ds.pro | 24 ------------------------ |
731 |
- 1 file changed, 24 deletions(-) |
732 |
- |
733 |
-diff --git a/meshlabplugins/io_3ds/io_3ds.pro b/meshlabplugins/io_3ds/io_3ds.pro |
734 |
-index 601f5da..5a19589 100644 |
735 |
---- a/meshlabplugins/io_3ds/io_3ds.pro |
736 |
-+++ b/meshlabplugins/io_3ds/io_3ds.pro |
737 |
-@@ -9,31 +9,7 @@ HEADERS = meshio.h \ |
738 |
- io_3ds.h |
739 |
- |
740 |
- SOURCES += meshio.cpp \ |
741 |
-- |
742 |
--DEFINES += LIB3DS_STATIC |
743 |
- |
744 |
- TARGET = io_3ds |
745 |
- |
746 |
--INCLUDEPATH += ../../external/lib3ds-1.3.0/ |
747 |
-- |
748 |
--# Notes on the paths of lib3ds files. |
749 |
--# Once you have compiled the library put the lib files in a dir named lib/XXX/ |
750 |
--# where XXX is the name of your system according to the QT naming style. |
751 |
--# Linux users can rely on their own package managers and hope that it is installing the last version of lib3ds |
752 |
-- |
753 |
--win32-msvc2015:LIBS += ../../external/lib/win32-msvc2015/3ds.lib |
754 |
--win32-msvc.net:LIBS += ../../external/lib/win32-msvc.net/3ds.lib |
755 |
--win32-msvc2005:LIBS += ../../external/lib/win32-msvc2005/3ds.lib |
756 |
--win32-msvc2008:LIBS += ../../external/lib/win32-msvc2008/3ds.lib |
757 |
--win32-g++:LIBS += ../../external/lib/win32-gcc/lib3ds.a |
758 |
--linux-g++:LIBS += ../../external/lib/linux-g++/lib3ds.a |
759 |
--linux-g++-32:LIBS += ../../external/lib/linux-g++-32/lib3ds.a |
760 |
--linux-g++-64:LIBS += ../../external/lib/linux-g++-64/lib3ds.a |
761 |
-- |
762 |
--# unix:LIBS += -L../../../../code/lib/lib3ds-1.3.0/lib3ds/lib/unix -l3ds |
763 |
-- |
764 |
--# mac:LIBS -= -l3ds |
765 |
--# mac:LIBS += ../../../../code/lib/lib3ds-1.3.0/lib/mac/lib3ds.a |
766 |
-- |
767 |
--macx:LIBS += $$MACLIBDIR/lib3ds.a |
768 |
- |
769 |
--- |
770 |
-2.15.0 |
771 |
- |
772 |
|
773 |
diff --git a/media-gfx/meshlab/files/2016.12/0001-use-external-muParser.patch b/media-gfx/meshlab/files/2016.12/0001-use-external-muParser.patch |
774 |
deleted file mode 100644 |
775 |
index f107d5bc69e..00000000000 |
776 |
--- a/media-gfx/meshlab/files/2016.12/0001-use-external-muParser.patch |
777 |
+++ /dev/null |
778 |
@@ -1,37 +0,0 @@ |
779 |
-From 0928f85bc8fb8215a98c5a115d85269f51f65b5e Mon Sep 17 00:00:00 2001 |
780 |
-From: Sobhan Mohammadpour <www.sobhan.mohammadpour@×××××.com> |
781 |
-Date: Wed, 22 Nov 2017 22:49:16 +0330 |
782 |
-Subject: [PATCH] use-external-muParser |
783 |
- |
784 |
---- |
785 |
- meshlabplugins/filter_func/filter_func.pro | 17 ----------------- |
786 |
- 1 file changed, 17 deletions(-) |
787 |
- |
788 |
-diff --git a/meshlabplugins/filter_func/filter_func.pro b/meshlabplugins/filter_func/filter_func.pro |
789 |
-index a7cc17a..23d5578 100644 |
790 |
---- a/meshlabplugins/filter_func/filter_func.pro |
791 |
-+++ b/meshlabplugins/filter_func/filter_func.pro |
792 |
-@@ -6,20 +6,3 @@ SOURCES += filter_func.cpp |
793 |
- |
794 |
- TARGET = filter_func |
795 |
- |
796 |
--INCLUDEPATH += ../../external/muparser_v225/include |
797 |
-- |
798 |
--# Note: we need static libs so when building muparser lib use |
799 |
--# ./configure --enable-shared=no |
800 |
-- |
801 |
--win32-msvc2005:LIBS += ../../external/lib/win32-msvc2005/muparser.lib |
802 |
--win32-msvc2008:LIBS += ../../external/lib/win32-msvc2008/muparser.lib |
803 |
--win32-msvc2010:LIBS += ../../external/lib/win32-msvc2010/muparser.lib |
804 |
--win32-msvc2012:LIBS += ../../external/lib/win32-msvc2012/muparser.lib |
805 |
--win32-msvc2013:LIBS += ../../external/lib/win32-msvc2013/muparser.lib |
806 |
--win32-msvc2015:LIBS += ../../external/lib/win32-msvc2015/muparser.lib |
807 |
-- |
808 |
--macx:LIBS += $$MACLIBDIR/libmuparser.a |
809 |
--linux-g++:LIBS += ../../external/lib/linux-g++/libmuparser.a |
810 |
--linux-g++-32:LIBS += ../../external/lib/linux-g++-32/libmuparser.a |
811 |
--linux-g++-64:LIBS += ../../external/lib/linux-g++-64/libmuparser.a |
812 |
--win32-g++:LIBS += ../../external/lib/win32-gcc/libmuparser.a |
813 |
--- |
814 |
-2.15.0 |
815 |
- |
816 |
|
817 |
diff --git a/media-gfx/meshlab/files/2016.12/0001-use-external-openctm.patch b/media-gfx/meshlab/files/2016.12/0001-use-external-openctm.patch |
818 |
deleted file mode 100644 |
819 |
index 7c48aa14a74..00000000000 |
820 |
--- a/media-gfx/meshlab/files/2016.12/0001-use-external-openctm.patch |
821 |
+++ /dev/null |
822 |
@@ -1,43 +0,0 @@ |
823 |
-From 7af5fa63c7577d4da060a2a8442b2f453023be86 Mon Sep 17 00:00:00 2001 |
824 |
-From: Sobhan Mohammadpour <www.sobhan.mohammadpour@×××××.com> |
825 |
-Date: Wed, 22 Nov 2017 22:41:39 +0330 |
826 |
-Subject: [PATCH] use-external-openctm |
827 |
- |
828 |
---- |
829 |
- meshlabplugins/io_ctm/io_ctm.pro | 20 -------------------- |
830 |
- 1 file changed, 20 deletions(-) |
831 |
- |
832 |
-diff --git a/meshlabplugins/io_ctm/io_ctm.pro b/meshlabplugins/io_ctm/io_ctm.pro |
833 |
-index 479b64e..434e6ad 100644 |
834 |
---- a/meshlabplugins/io_ctm/io_ctm.pro |
835 |
-+++ b/meshlabplugins/io_ctm/io_ctm.pro |
836 |
-@@ -3,26 +3,6 @@ HEADERS += io_ctm.h \ |
837 |
- $$VCGDIR/wrap/io_trimesh/import_ctm.h \ |
838 |
- $$VCGDIR/wrap/io_trimesh/export_ctm.h |
839 |
- SOURCES += io_ctm.cpp |
840 |
--INCLUDEPATH += ../../external/OpenCTM-1.0.3/lib |
841 |
- TARGET = io_ctm |
842 |
- |
843 |
--win32-msvc.net:QMAKE_CXXFLAGS += /DOPENCTM_STATIC |
844 |
--win32-msvc2005:QMAKE_CXXFLAGS += /DOPENCTM_STATIC |
845 |
--win32-msvc2008:QMAKE_CXXFLAGS += /DOPENCTM_STATIC |
846 |
--win32-msvc2010:QMAKE_CXXFLAGS += /DOPENCTM_STATIC |
847 |
--win32-msvc2012:QMAKE_CXXFLAGS += /DOPENCTM_STATIC |
848 |
--win32-msvc2015:QMAKE_CXXFLAGS += /DOPENCTM_STATIC |
849 |
--win32-g++:DEFINES += OPENCTM_STATIC |
850 |
- |
851 |
--win32-msvc.net:LIBS += ../../external/lib/win32-msvc.net/openctm.lib |
852 |
--win32-msvc2005:LIBS += ../../external/lib/win32-msvc2005/openctm.lib |
853 |
--win32-msvc2008:LIBS += ../../external/lib/win32-msvc2008/openctm.lib |
854 |
--win32-msvc2010:LIBS += ../../external/lib/win32-msvc2010/openctm.lib |
855 |
--win32-msvc2012:LIBS += ../../external/lib/win32-msvc2012/openctm.lib |
856 |
--win32-msvc2015:LIBS += ../../external/lib/win32-msvc2015/openctm.lib |
857 |
--win32-g++:LIBS += ../../external/lib/win32-gcc/libopenctm.a |
858 |
--linux-g++:LIBS += ../../external/lib/linux-g++/libopenctm.a |
859 |
--linux-g++-32:LIBS += ../../external/lib/linux-g++-32/libopenctm.a |
860 |
--linux-g++-64:LIBS += ../../external/lib/linux-g++-64/libopenctm.a |
861 |
--#macx:LIBS += ../../external/lib/macx/libopenctm.a |
862 |
--macx:LIBS += $$MACLIBDIR/libopenctm.a |
863 |
--- |
864 |
-2.15.0 |
865 |
- |
866 |
|
867 |
diff --git a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-align1.patch b/media-gfx/meshlab/files/2016.12/meshlab-2016.12-align1.patch |
868 |
deleted file mode 100644 |
869 |
index cdba89c0ac3..00000000000 |
870 |
--- a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-align1.patch |
871 |
+++ /dev/null |
872 |
@@ -1,16 +0,0 @@ |
873 |
---- a/meshlabplugins/edit_align/align/AlignGlobal.cpp 2016-12-23 13:24:59.000000000 +0300 |
874 |
-+++ b/meshlabplugins/edit_align/align/AlignGlobal.cpp 2017-11-26 03:05:11.010113483 +0300 |
875 |
-@@ -429,11 +429,11 @@ |
876 |
- |
877 |
- ******************************/ |
878 |
- |
879 |
--bool AlignGlobal::GlobalAlign(const std::map<int,string> &Names, const double epsilon, int maxiter, bool Rigid, FILE *elfp, CallBack* cb ) |
880 |
-+bool AlignGlobal::GlobalAlign(const std::map<int,string> &Names, const double epsilon, int maxiter, bool Rigid, FILE *elfp, CallBackPos* cb ) |
881 |
- { |
882 |
- double change; |
883 |
- int step, localmaxiter; |
884 |
-- cb("Global Alignment..."); |
885 |
-+ cb(0,"Global Alignment..."); |
886 |
- LOG(elfp,"----------------\n----------------\nGlobalAlignment (target eps %7.3f)\n",epsilon); |
887 |
- |
888 |
- queue<AlignGlobal::Node *> Q; |
889 |
|
890 |
diff --git a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-align2.patch b/media-gfx/meshlab/files/2016.12/meshlab-2016.12-align2.patch |
891 |
deleted file mode 100644 |
892 |
index 455eec096c8..00000000000 |
893 |
--- a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-align2.patch |
894 |
+++ /dev/null |
895 |
@@ -1,11 +0,0 @@ |
896 |
---- a/meshlabplugins/edit_align/align/AlignGlobal.h 2016-12-23 13:24:59.000000000 +0300 |
897 |
-+++ b/meshlabplugins/edit_align/align/AlignGlobal.h 2017-11-26 03:10:09.210116792 +0300 |
898 |
-@@ -115,7 +115,7 @@ |
899 |
- Node *ChooseDormantWithMostActiveLink (); |
900 |
- void MakeAllDormant(); |
901 |
- void Clear(); |
902 |
-- bool GlobalAlign(const std::map<int,std::string> &Names, const double epsilon, int maxiter, bool Rigid, FILE *elfp=0, CallBack * cb=DummyCallBack ); |
903 |
-+ bool GlobalAlign(const std::map<int,std::string> &Names, const double epsilon, int maxiter, bool Rigid, FILE *elfp=0, CallBackPos * cb=DummyCallBackPos ); |
904 |
- |
905 |
- bool CheckGraph(); |
906 |
- |
907 |
|
908 |
diff --git a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-asString.patch b/media-gfx/meshlab/files/2016.12/meshlab-2016.12-asString.patch |
909 |
deleted file mode 100644 |
910 |
index 7e58790590a..00000000000 |
911 |
--- a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-asString.patch |
912 |
+++ /dev/null |
913 |
@@ -1,62 +0,0 @@ |
914 |
-From e1410053455a497d32b1e896eb7e99a7224b6832 Mon Sep 17 00:00:00 2001 |
915 |
-From: Miro Hrončok <miro@×××××××.cz> |
916 |
-Date: Aug 29 2018 20:40:58 +0000 |
917 |
-Subject: Fix FTBFS (#1604819) |
918 |
- |
919 |
- |
920 |
---- |
921 |
- |
922 |
-diff --git a/meshlab-2016.12-qprintable.patch b/meshlab-2016.12-qprintable.patch |
923 |
-new file mode 100644 |
924 |
-index 0000000..9a916f6 |
925 |
---- /dev/null |
926 |
-+++ b/meshlab-2016.12-qprintable.patch |
927 |
-@@ -0,0 +1,20 @@ |
928 |
-+--- a/src/meshlabserver/mainserver.cpp 2016-12-23 11:24:59.000000000 +0100 |
929 |
-++++ b/src/meshlabserver/mainserver.cpp.a 2018-08-29 20:32:03.009295180 +0200 |
930 |
-+@@ -897,7 +897,7 @@ |
931 |
-+ } |
932 |
-+ |
933 |
-+ if (meshDocument.size() < outmeshlist.size()) |
934 |
-+- fprintf(logfp, "Error: trying to save %i meshes, but only %i available in the project\n", qPrintable(outmeshlist.size()), qPrintable(meshDocument.size())); |
935 |
-++ fprintf(logfp, "Error: trying to save %i meshes, but only %i available in the project\n", outmeshlist.size(), meshDocument.size()); |
936 |
-+ else |
937 |
-+ { |
938 |
-+ for (int ii = 0; ii < outmeshlist.size(); ++ii) |
939 |
-+@@ -911,7 +911,7 @@ |
940 |
-+ fprintf(logfp, "Output mesh %s has NOT been saved\n", qPrintable(outmeshlist[ii].filename)); |
941 |
-+ } |
942 |
-+ else |
943 |
-+- fprintf(logfp, "Invalid layer %i. Output mesh %s will not be saved\n", qPrintable(ii), qPrintable(outmeshlist[ii].filename)); |
944 |
-++ fprintf(logfp, "Invalid layer %i. Output mesh %s will not be saved\n", ii, qPrintable(outmeshlist[ii].filename)); |
945 |
-+ } |
946 |
-+ |
947 |
-+ } |
948 |
-diff --git a/meshlab-2016.12-qt-includes.patch b/meshlab-2016.12-qt-includes.patch |
949 |
-new file mode 100644 |
950 |
-index 0000000..66e4f67 |
951 |
---- /dev/null |
952 |
-+++ b/meshlab-2016.12-qt-includes.patch |
953 |
-@@ -0,0 +1,21 @@ |
954 |
-+--- a/src/meshlabplugins/render_gdp/shaderDialog.h 2016-12-23 11:24:59.000000000 +0100 |
955 |
-++++ b/src/meshlabplugins/render_gdp/shaderDialog.h.a 2018-08-29 20:55:01.414996789 +0200 |
956 |
-+@@ -32,6 +32,8 @@ |
957 |
-+ #include "shaderStructs.h" |
958 |
-+ #include "ui_shaderDialog.h" |
959 |
-+ #include <QMap> |
960 |
-++#include <QLineEdit> |
961 |
-++#include <QSlider> |
962 |
-+ |
963 |
-+ class QGLWidget; |
964 |
-+ |
965 |
-+--- ./meshlab-2016.12/src/meshlabplugins/edit_paint/paintbox.cpp 2016-12-23 11:24:59.000000000 +0100 |
966 |
-++++ ./meshlab-2016.12/src/meshlabplugins/edit_paint/paintbox.cpp.a 2018-08-29 21:19:42.411581082 +0200 |
967 |
-+@@ -23,6 +23,7 @@ |
968 |
-+ |
969 |
-+ #include "paintbox.h" |
970 |
-+ #include <QFileDialog> |
971 |
-++#include <QAction> |
972 |
-+ |
973 |
-+ Paintbox::Paintbox(QWidget * parent, Qt::WindowFlags flags) : QWidget(parent, flags) |
974 |
-+ { |
975 |
- |
976 |
|
977 |
diff --git a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-fix-plugins-path.patch b/media-gfx/meshlab/files/2016.12/meshlab-2016.12-fix-plugins-path.patch |
978 |
deleted file mode 100644 |
979 |
index d7b17fe904b..00000000000 |
980 |
--- a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-fix-plugins-path.patch |
981 |
+++ /dev/null |
982 |
@@ -1,17 +0,0 @@ |
983 |
-diff --git a/common/pluginmanager.cpp b/common/pluginmanager.cpp |
984 |
-index 5354055..9a523d4 100644 |
985 |
---- a/common/pluginmanager.cpp |
986 |
-+++ b/common/pluginmanager.cpp |
987 |
-@@ -189,7 +189,11 @@ QString PluginManager::osDependentFileBaseName(const QString &plname) |
988 |
- |
989 |
- QString PluginManager::getBaseDirPath() |
990 |
- { |
991 |
-- QDir baseDir(qApp->applicationDirPath()); |
992 |
-+ #if defined(Q_OS_LINUX) |
993 |
-+ QDir baseDir("/usr/share/meshlab"); |
994 |
-+ #else |
995 |
-+ QDir baseDir(qApp->applicationDirPath()); |
996 |
-+ #endif |
997 |
- |
998 |
- #if defined(Q_OS_WIN) |
999 |
- // Windows: |
1000 |
|
1001 |
diff --git a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-qprintable.patch b/media-gfx/meshlab/files/2016.12/meshlab-2016.12-qprintable.patch |
1002 |
deleted file mode 100644 |
1003 |
index 61965baa9a9..00000000000 |
1004 |
--- a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-qprintable.patch |
1005 |
+++ /dev/null |
1006 |
@@ -1,20 +0,0 @@ |
1007 |
---- a/meshlabserver/mainserver.cpp |
1008 |
-+++ b/meshlabserver/mainserver.cpp |
1009 |
-@@ -897,7 +897,7 @@ |
1010 |
- } |
1011 |
- |
1012 |
- if (meshDocument.size() < outmeshlist.size()) |
1013 |
-- fprintf(logfp, "Error: trying to save %i meshes, but only %i available in the project\n", qPrintable(outmeshlist.size()), qPrintable(meshDocument.size())); |
1014 |
-+ fprintf(logfp, "Error: trying to save %i meshes, but only %i available in the project\n", outmeshlist.size(), meshDocument.size()); |
1015 |
- else |
1016 |
- { |
1017 |
- for (int ii = 0; ii < outmeshlist.size(); ++ii) |
1018 |
-@@ -911,7 +911,7 @@ |
1019 |
- fprintf(logfp, "Output mesh %s has NOT been saved\n", qPrintable(outmeshlist[ii].filename)); |
1020 |
- } |
1021 |
- else |
1022 |
-- fprintf(logfp, "Invalid layer %i. Output mesh %s will not be saved\n", qPrintable(ii), qPrintable(outmeshlist[ii].filename)); |
1023 |
-+ fprintf(logfp, "Invalid layer %i. Output mesh %s will not be saved\n", ii, qPrintable(outmeshlist[ii].filename)); |
1024 |
- } |
1025 |
- |
1026 |
- } |
1027 |
|
1028 |
diff --git a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-qt-5.15.patch b/media-gfx/meshlab/files/2016.12/meshlab-2016.12-qt-5.15.patch |
1029 |
deleted file mode 100644 |
1030 |
index ab052cd69eb..00000000000 |
1031 |
--- a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-qt-5.15.patch |
1032 |
+++ /dev/null |
1033 |
@@ -1,33 +0,0 @@ |
1034 |
-From c57222e79f1c7840e1ed01a4abd17d089f5e5185 Mon Sep 17 00:00:00 2001 |
1035 |
-From: alemuntoni <muntoni.alessandro@×××××.com> |
1036 |
-Date: Tue, 26 May 2020 12:35:03 +0200 |
1037 |
-Subject: [PATCH] missing include |
1038 |
- |
1039 |
---- |
1040 |
- meshlab/glarea.cpp | 1 + |
1041 |
- meshlab/meshlab.pro | 1 + |
1042 |
- 2 files changed, 2 insertions(+) |
1043 |
- |
1044 |
-diff --git a/meshlab/glarea.cpp b/meshlab/glarea.cpp |
1045 |
-index 6c0421062..dfd7af229 100644 |
1046 |
---- a/meshlab/glarea.cpp |
1047 |
-+++ b/meshlab/glarea.cpp |
1048 |
-@@ -34,6 +34,7 @@ |
1049 |
- #include <QFileDialog> |
1050 |
- #include <QClipboard> |
1051 |
- #include <QLocale> |
1052 |
-+#include <QPainterPath> |
1053 |
- |
1054 |
- #include <wrap/gl/picking.h> |
1055 |
- #include <wrap/qt/trackball.h> |
1056 |
-diff --git a/meshlab/meshlab.pro b/meshlab/meshlab.pro |
1057 |
-index 26ef88d00..842eb5ea5 100644 |
1058 |
---- a/meshlab/meshlab.pro |
1059 |
-+++ b/meshlab/meshlab.pro |
1060 |
-@@ -1,5 +1,6 @@ |
1061 |
- # You have to copy the file by hand into the meshlab.app/Contents/Resources directory. |
1062 |
- # ICON += images/meshlab_obj.icns |
1063 |
-+QT += gui |
1064 |
- QT += opengl |
1065 |
- QT += xml |
1066 |
- QT += xmlpatterns |
1067 |
|
1068 |
diff --git a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-qt-includes.patch b/media-gfx/meshlab/files/2016.12/meshlab-2016.12-qt-includes.patch |
1069 |
deleted file mode 100644 |
1070 |
index 0991bfc71e1..00000000000 |
1071 |
--- a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-qt-includes.patch |
1072 |
+++ /dev/null |
1073 |
@@ -1,22 +0,0 @@ |
1074 |
---- a/meshlabplugins/render_gdp/shaderDialog.h |
1075 |
-+++ b/meshlabplugins/render_gdp/shaderDialog.h |
1076 |
-@@ -32,6 +32,8 @@ |
1077 |
- #include "shaderStructs.h" |
1078 |
- #include "ui_shaderDialog.h" |
1079 |
- #include <QMap> |
1080 |
-+#include <QLineEdit> |
1081 |
-+#include <QSlider> |
1082 |
- |
1083 |
- class QGLWidget; |
1084 |
- |
1085 |
---- a/meshlabplugins/edit_paint/paintbox.cpp |
1086 |
-+++ b/meshlabplugins/edit_paint/paintbox.cpp |
1087 |
-@@ -23,6 +23,7 @@ |
1088 |
- |
1089 |
- #include "paintbox.h" |
1090 |
- #include <QFileDialog> |
1091 |
-+#include <QAction> |
1092 |
- |
1093 |
- Paintbox::Paintbox(QWidget * parent, Qt::WindowFlags flags) : QWidget(parent, flags) |
1094 |
- { |
1095 |
- |
1096 |
|
1097 |
diff --git a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-remove-header.patch b/media-gfx/meshlab/files/2016.12/meshlab-2016.12-remove-header.patch |
1098 |
deleted file mode 100644 |
1099 |
index 8aeace8546a..00000000000 |
1100 |
--- a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-remove-header.patch |
1101 |
+++ /dev/null |
1102 |
@@ -1,38 +0,0 @@ |
1103 |
-diff -ru vcglib/wrap/io_trimesh/import_nvm.h vcglib/wrap/io_trimesh/import_nvm.h |
1104 |
---- a/vcglib/wrap/io_trimesh/import_nvm.h 2016-12-29 12:54:58.000000000 +0300 |
1105 |
-+++ b/vcglib/wrap/io_trimesh/import_nvm.h 2017-12-28 12:20:14.591670159 +0300 |
1106 |
-@@ -85,15 +85,6 @@ |
1107 |
- return true; |
1108 |
- } |
1109 |
- |
1110 |
--static bool ReadHeader(const char * filename,unsigned int &/*num_cams*/, unsigned int &/*num_points*/){ |
1111 |
-- FILE *fp = fopen(filename, "r"); |
1112 |
-- if(!fp) return false; |
1113 |
-- ReadHeader(fp); |
1114 |
-- fclose(fp); |
1115 |
-- return true; |
1116 |
--} |
1117 |
-- |
1118 |
-- |
1119 |
- static int Open( OpenMeshType &m, std::vector<Shot<ScalarType> > & shots, |
1120 |
- std::vector<std::string > & image_filenames, |
1121 |
- const char * filename, CallBackPos *cb=0) |
1122 |
-diff -ru vcglib/wrap/io_trimesh/import_out.h vcglib/wrap/io_trimesh/import_out.h |
1123 |
---- a/vcglib/wrap/io_trimesh/import_out.h 2016-12-29 12:54:58.000000000 +0300 |
1124 |
-+++ b/vcglib/wrap/io_trimesh/import_out.h 2017-12-28 12:20:48.434017234 +0300 |
1125 |
-@@ -85,15 +85,6 @@ |
1126 |
- return true; |
1127 |
- } |
1128 |
- |
1129 |
--static bool ReadHeader(const char * filename,unsigned int &/*num_cams*/, unsigned int &/*num_points*/){ |
1130 |
-- FILE *fp = fopen(filename, "r"); |
1131 |
-- if(!fp) return false; |
1132 |
-- ReadHeader(fp); |
1133 |
-- fclose(fp); |
1134 |
-- return true; |
1135 |
--} |
1136 |
-- |
1137 |
-- |
1138 |
- static int Open( OpenMeshType &m, std::vector<Shot<ScalarType> > & shots, |
1139 |
- std::vector<std::string > & image_filenames, |
1140 |
- const char * filename,const char * filename_images, CallBackPos *cb=0) |
1141 |
|
1142 |
diff --git a/media-gfx/meshlab/files/2016.12/remove-edit_mutualcorrs.patch b/media-gfx/meshlab/files/2016.12/remove-edit_mutualcorrs.patch |
1143 |
deleted file mode 100644 |
1144 |
index b372c7baf5e..00000000000 |
1145 |
--- a/media-gfx/meshlab/files/2016.12/remove-edit_mutualcorrs.patch |
1146 |
+++ /dev/null |
1147 |
@@ -1,10 +0,0 @@ |
1148 |
---- a/meshlab_full.pro 2017-10-25 21:39:01.438252054 +0200 |
1149 |
-+++ b/meshlab_full.pro 2017-10-25 21:39:25.417251424 +0200 |
1150 |
-@@ -66,7 +66,6 @@ |
1151 |
- meshlabplugins/edit_arc3D \ |
1152 |
- meshlabplugins/edit_manipulators \ |
1153 |
- meshlabplugins/edit_measure \ |
1154 |
-- plugins_experimental/edit_mutualcorrs \ |
1155 |
- meshlabplugins/edit_paint\ |
1156 |
- meshlabplugins/edit_pickpoints \ |
1157 |
- meshlabplugins/edit_point\ |
1158 |
|
1159 |
diff --git a/media-gfx/meshlab/files/2016.12/remove-io_TXT.patch b/media-gfx/meshlab/files/2016.12/remove-io_TXT.patch |
1160 |
deleted file mode 100644 |
1161 |
index 3d0eb74429b..00000000000 |
1162 |
--- a/media-gfx/meshlab/files/2016.12/remove-io_TXT.patch |
1163 |
+++ /dev/null |
1164 |
@@ -1,10 +0,0 @@ |
1165 |
---- a/meshlab_full.pro 2017-10-25 21:41:57.178247439 +0200 |
1166 |
-+++ b/meshlab_full.pro 2017-10-25 21:42:11.629247060 +0200 |
1167 |
-@@ -16,7 +16,6 @@ |
1168 |
- meshlabplugins/io_x3d \ |
1169 |
- meshlabplugins/io_expe \ |
1170 |
- meshlabplugins/io_pdb \ |
1171 |
-- plugins_experimental/io_TXT \ |
1172 |
- # Filter plugins |
1173 |
- meshlabplugins/filter_aging \ |
1174 |
- meshlabplugins/filter_ao \ |
1175 |
|
1176 |
diff --git a/media-gfx/meshlab/meshlab-2016.12-r4.ebuild b/media-gfx/meshlab/meshlab-2016.12-r4.ebuild |
1177 |
deleted file mode 100644 |
1178 |
index 07d45d2ba90..00000000000 |
1179 |
--- a/media-gfx/meshlab/meshlab-2016.12-r4.ebuild |
1180 |
+++ /dev/null |
1181 |
@@ -1,113 +0,0 @@ |
1182 |
-# Copyright 1999-2021 Gentoo Authors |
1183 |
-# Distributed under the terms of the GNU General Public License v2 |
1184 |
- |
1185 |
-EAPI=7 |
1186 |
- |
1187 |
-inherit desktop qmake-utils |
1188 |
- |
1189 |
-DESCRIPTION="The open source system for processing and editing 3D triangular meshes" |
1190 |
-HOMEPAGE="http://www.meshlab.net" |
1191 |
-VCG_VERSION="1.0.1" |
1192 |
-SRC_URI="https://github.com/cnr-isti-vclab/meshlab/archive/v${PV}.tar.gz -> ${P}.tar.gz |
1193 |
- https://github.com/cnr-isti-vclab/vcglib/archive/v${VCG_VERSION}.tar.gz -> vcglib-${VCG_VERSION}.tar.gz |
1194 |
-" |
1195 |
- |
1196 |
-LICENSE="GPL-2" |
1197 |
-SLOT="0" |
1198 |
-KEYWORDS="~amd64 ~x86" |
1199 |
-IUSE="-minimal" |
1200 |
- |
1201 |
-DEPEND="dev-cpp/eigen:3 |
1202 |
- dev-cpp/muParser |
1203 |
- dev-qt/qtcore:5 |
1204 |
- dev-qt/qtopengl:5 |
1205 |
- dev-qt/qtscript:5 |
1206 |
- dev-qt/qtxmlpatterns:5 |
1207 |
- >=media-gfx/jhead-3.00-r2 |
1208 |
- media-libs/glew:0= |
1209 |
- media-libs/qhull:= |
1210 |
- =media-libs/lib3ds-1* |
1211 |
- media-libs/openctm:= |
1212 |
- sci-libs/levmar |
1213 |
- sci-libs/mpir:=" |
1214 |
- |
1215 |
-RDEPEND="${DEPEND}" |
1216 |
- |
1217 |
-S="${WORKDIR}/meshlab-${PV}/src" |
1218 |
- |
1219 |
-PATCHES=( |
1220 |
- "${FILESDIR}/${PV}/0001-set-shader-and-texture-paths.patch" |
1221 |
- #remove ot working plugins |
1222 |
- "${FILESDIR}/${PV}/remove-edit_mutualcorrs.patch" |
1223 |
- "${FILESDIR}/${PV}/remove-io_TXT.patch" |
1224 |
- #since structure synth doesn't seem to be compiling |
1225 |
- "${FILESDIR}/${PV}/0001-disable-filter-ssynth.patch" |
1226 |
- #this has been fixed in the tree |
1227 |
- "${FILESDIR}/${PV}/0001-disable-edit-quality.patch" |
1228 |
- #this causes segfaults |
1229 |
- "${FILESDIR}/${PV}/0001-disable-filter-layer.patch" |
1230 |
- #for when we use minimal |
1231 |
- "${FILESDIR}/${PV}/0001-compile-server.patch" |
1232 |
- "${FILESDIR}/${PV}/0001-use-external-lib3ds.patch" |
1233 |
- "${FILESDIR}/${PV}/0001-use-external-openctm.patch" |
1234 |
- "${FILESDIR}/${PV}/0001-use-external-muParser.patch" |
1235 |
- "${FILESDIR}/${PV}/0001-use-external-bzip.patch" |
1236 |
- "${FILESDIR}/${PV}/0001-use-external-jhead.patch" |
1237 |
- "${FILESDIR}/${PV}/0001-use-external-glew.patch" |
1238 |
- #cause gnu stack quickstart related qa |
1239 |
- "${FILESDIR}/${PV}/0001-remove-not-sane-plugins.patch" |
1240 |
- "${FILESDIR}/${PV}/${P}-fix-plugins-path.patch" |
1241 |
- "${FILESDIR}/${PV}/${P}-align1.patch" |
1242 |
- "${FILESDIR}/${PV}/${P}-align2.patch" |
1243 |
- "${FILESDIR}/${PV}/${P}-asString.patch" |
1244 |
- "${FILESDIR}/${PV}/${P}-qprintable.patch" |
1245 |
- "${FILESDIR}/${PV}/${P}-qt-includes.patch" |
1246 |
- "${FILESDIR}/${PV}/${P}-qt-5.15.patch" |
1247 |
-) |
1248 |
- |
1249 |
-src_prepare() { |
1250 |
- mv "${WORKDIR}/vcglib-${VCG_VERSION}" "${WORKDIR}/vcglib" || die "vcglib mv failed" |
1251 |
- default |
1252 |
- #proof of patchset |
1253 |
- #remove libs that are being used from the system |
1254 |
- rm -r "external/lib3ds-1.3.0" || die "rm failed" |
1255 |
- rm -r "external/OpenCTM-1.0.3" || die "rm failed" |
1256 |
- rm -r "external/muparser_v132" || die "rm failed" |
1257 |
- rm -r "external/muparser_v225" || die "rm failed" |
1258 |
- rm -r "external/bzip2-1.0.5" || die "rm failed" |
1259 |
- rm -r "external/jhead-2.95" || die "rm failed" |
1260 |
- rm -r "external/glew-1.5.1" || die "rm failed" |
1261 |
- rm -r "external/glew-1.7.0" || die "rm failed" |
1262 |
- #we still depend on lm.h |
1263 |
- #rm -r "external" |
1264 |
- rm -r "distrib/plugins/U3D_W32" || die |
1265 |
- rm -r "distrib/plugins/U3D_OSX" || die |
1266 |
- |
1267 |
- # Fix bug 638796 |
1268 |
- cd "${WORKDIR}" || die |
1269 |
- eapply "${FILESDIR}/${PV}/${P}-remove-header.patch" |
1270 |
-} |
1271 |
- |
1272 |
-src_configure() { |
1273 |
- use minimal || eqmake5 -r meshlab_full.pro |
1274 |
- use minimal && eqmake5 -r meshlab_mini.pro |
1275 |
-} |
1276 |
- |
1277 |
-src_install() { |
1278 |
- dobin distrib/{meshlab,meshlabserver} |
1279 |
- dolib.so distrib/libcommon.so.1.0.0 |
1280 |
- dosym libcommon.so.1.0.0 /usr/$(get_libdir)/libcommon.so.1 |
1281 |
- dosym libcommon.so.1 /usr/$(get_libdir)/libcommon.so |
1282 |
- exeinto /usr/$(get_libdir)/meshlab/plugins |
1283 |
- doexe distrib/plugins/*.so |
1284 |
- insinto /usr/share/meshlab/shaders |
1285 |
- doins -r distrib/shaders/* |
1286 |
- insinto /usr/share/meshlab/plugins |
1287 |
- doins -r distrib/plugins/* |
1288 |
- insinto /usr/share/meshlab/textures |
1289 |
- doins -r distrib/textures/* |
1290 |
- insinto /usr/share/meshlab/sample |
1291 |
- doins -r distrib/sample/* |
1292 |
- newicon "${S}"/meshlab/images/eye512.png "${PN}".png |
1293 |
- make_desktop_entry meshlab "Meshlab" "${PN}" Graphics |
1294 |
-} |