1 |
commit: 00e86d362b301de831131147ba4a1f541200d883 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 1 16:34:21 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 7 07:27:02 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00e86d36 |
7 |
|
8 |
media-gfx/freecad: Remove last-rited |
9 |
|
10 |
Closes: https://bugs.gentoo.org/620702 |
11 |
|
12 |
media-gfx/freecad/Manifest | 1 - |
13 |
.../files/freecad-0.14.3702-install-paths.patch | 21 ---- |
14 |
.../freecad/files/freecad-0.17_pre-no-webkit.patch | 45 ------- |
15 |
media-gfx/freecad/files/freecad.sharedmimeinfo | 8 -- |
16 |
media-gfx/freecad/freecad-0.16.6712.ebuild | 131 --------------------- |
17 |
media-gfx/freecad/metadata.xml | 12 -- |
18 |
profiles/package.mask | 4 - |
19 |
7 files changed, 222 deletions(-) |
20 |
|
21 |
diff --git a/media-gfx/freecad/Manifest b/media-gfx/freecad/Manifest |
22 |
deleted file mode 100644 |
23 |
index 662e0f20394..00000000000 |
24 |
--- a/media-gfx/freecad/Manifest |
25 |
+++ /dev/null |
26 |
@@ -1 +0,0 @@ |
27 |
-DIST freecad-0.16.6712.tar.gz 111706423 BLAKE2B ef6386fb953a9acfc51856b4a898aaefd1c24750b5eb07e5266392e54e357252327d594311030c3cc19144ead6e7f274710b532f7cd4993008850a3af6ec31c2 SHA512 ea8214b37f7a10a3e3e558e6c1223d9212d6c2906b79961c8cb9211edff97a41e2da0ce6cf64cdc7a22610f6ff13495163c46573b5dd84d4a7cc0260f15e371e |
28 |
|
29 |
diff --git a/media-gfx/freecad/files/freecad-0.14.3702-install-paths.patch b/media-gfx/freecad/files/freecad-0.14.3702-install-paths.patch |
30 |
deleted file mode 100644 |
31 |
index d042695e88c..00000000000 |
32 |
--- a/media-gfx/freecad/files/freecad-0.14.3702-install-paths.patch |
33 |
+++ /dev/null |
34 |
@@ -1,21 +0,0 @@ |
35 |
---- freecad-0.14.3702/CMakeLists.txt |
36 |
-+++ freecad-0.14.3702/CMakeLists.txt |
37 |
-@@ -69,9 +69,15 @@ |
38 |
- SET(CMAKE_INSTALL_PREFIX "/usr/lib${LIB_SUFFIX}/freecad" CACHE PATH "Installation root directory") |
39 |
- endif(WIN32) |
40 |
- |
41 |
--SET(CMAKE_INSTALL_DATADIR data CACHE PATH "Output directory for data and resource files") |
42 |
--SET(CMAKE_INSTALL_INCLUDEDIR include CACHE PATH "Output directory for header files") |
43 |
--SET(CMAKE_INSTALL_DOCDIR doc CACHE PATH "Output directory for documentation and license files") |
44 |
-+if(NOT CMAKE_INSTALL_DATADIR) |
45 |
-+ SET(CMAKE_INSTALL_DATADIR data CACHE PATH "Output directory for data and resource files") |
46 |
-+endif(NOT CMAKE_INSTALL_DATADIR) |
47 |
-+if(NOT CMAKE_INSTALL_INCLUDEDIR) |
48 |
-+ SET(CMAKE_INSTALL_INCLUDEDIR include CACHE PATH "Output directory for header files") |
49 |
-+endif(NOT CMAKE_INSTALL_INCLUDEDIR) |
50 |
-+if(NOT CMAKE_INSTALL_DOCDIR) |
51 |
-+ SET(CMAKE_INSTALL_DOCDIR doc CACHE PATH "Output directory for documentation and license files") |
52 |
-+endif(NOT CMAKE_INSTALL_DOCDIR) |
53 |
- # Don't set it without manual adaption of LibDir variable in src/App/FreeCADInit.py |
54 |
- SET(CMAKE_INSTALL_LIBDIR lib CACHE PATH "Output directory for libraries") |
55 |
- |
56 |
|
57 |
diff --git a/media-gfx/freecad/files/freecad-0.17_pre-no-webkit.patch b/media-gfx/freecad/files/freecad-0.17_pre-no-webkit.patch |
58 |
deleted file mode 100644 |
59 |
index 60dcfed22c7..00000000000 |
60 |
--- a/media-gfx/freecad/files/freecad-0.17_pre-no-webkit.patch |
61 |
+++ /dev/null |
62 |
@@ -1,45 +0,0 @@ |
63 |
-Description: Remove Qt4-Webkit dependency |
64 |
-Author: Anton Gladky <gladk@××××××.org> |
65 |
-Bug-Debian: https://bugs.debian.org/784464 |
66 |
-Last-Update: 2017-09-06 |
67 |
- |
68 |
-* asturm: tidied up and amended to use and not override BUILD_WEB |
69 |
- |
70 |
---- a/src/Gui/DownloadManager.cpp |
71 |
-+++ b/src/Gui/DownloadManager.cpp |
72 |
-@@ -33,7 +33,6 @@ |
73 |
- #include <QMetaEnum> |
74 |
- #include <QSettings> |
75 |
- #include <QFileIconProvider> |
76 |
--#include <QWebSettings> |
77 |
- |
78 |
- #include "DownloadItem.h" |
79 |
- #include "DownloadManager.h" |
80 |
-@@ -224,11 +223,12 @@ void DownloadManager::updateRow() |
81 |
- ui->downloadsView->setRowHeight(row, item->minimumSizeHint().height()); |
82 |
- |
83 |
- bool remove = false; |
84 |
-+/* |
85 |
- QWebSettings *globalSettings = QWebSettings::globalSettings(); |
86 |
- if (!item->downloading() |
87 |
- && globalSettings->testAttribute(QWebSettings::PrivateBrowsingEnabled)) |
88 |
- remove = true; |
89 |
-- |
90 |
-+*/ |
91 |
- if (item->downloadedSuccessfully() |
92 |
- && removePolicy() == DownloadManager::SuccessFullDownload) { |
93 |
- remove = true; |
94 |
---- a/CMakeLists.txt 2018-03-02 22:39:46.374140506 +0100 |
95 |
-+++ b/CMakeLists.txt 2018-03-02 22:41:59.904216932 +0100 |
96 |
-@@ -351,11 +351,6 @@ |
97 |
- set(BUILD_MESH ON) |
98 |
- endif(BUILD_JTREADER) |
99 |
- |
100 |
--#a runtime dependency |
101 |
--if(BUILD_START) |
102 |
-- set(BUILD_WEB ON) |
103 |
--endif(BUILD_START) |
104 |
-- |
105 |
- #leaving test module for someone else. |
106 |
- #image has none. as far as I can tell. |
107 |
- #mesh has none. as far as I can tell. |
108 |
|
109 |
diff --git a/media-gfx/freecad/files/freecad.sharedmimeinfo b/media-gfx/freecad/files/freecad.sharedmimeinfo |
110 |
deleted file mode 100644 |
111 |
index 6d5e93e7d13..00000000000 |
112 |
--- a/media-gfx/freecad/files/freecad.sharedmimeinfo |
113 |
+++ /dev/null |
114 |
@@ -1,8 +0,0 @@ |
115 |
-<?xml version="1.0" encoding="UTF-8"?> |
116 |
-<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'> |
117 |
- <mime-type type="application/x-extension-fcstd"> |
118 |
- <!-- <sub-class-of type="application/zip"/> --> |
119 |
- <comment>FreeCAD document files</comment> |
120 |
- <glob pattern="*.fcstd"/> |
121 |
- </mime-type> |
122 |
-</mime-info> |
123 |
|
124 |
diff --git a/media-gfx/freecad/freecad-0.16.6712.ebuild b/media-gfx/freecad/freecad-0.16.6712.ebuild |
125 |
deleted file mode 100644 |
126 |
index 0c65c49697b..00000000000 |
127 |
--- a/media-gfx/freecad/freecad-0.16.6712.ebuild |
128 |
+++ /dev/null |
129 |
@@ -1,131 +0,0 @@ |
130 |
-# Copyright 1999-2018 Gentoo Foundation |
131 |
-# Distributed under the terms of the GNU General Public License v2 |
132 |
- |
133 |
-EAPI=6 |
134 |
- |
135 |
-PYTHON_COMPAT=( python2_7 ) |
136 |
- |
137 |
-inherit cmake-utils desktop xdg-utils fortran-2 python-single-r1 |
138 |
- |
139 |
-DESCRIPTION="Qt based Computer Aided Design application" |
140 |
-HOMEPAGE="https://www.freecadweb.org/" |
141 |
- |
142 |
-if [[ ${PV} == *9999 ]]; then |
143 |
- inherit git-r3 |
144 |
- EGIT_REPO_URI="https://github.com/FreeCAD/FreeCAD.git" |
145 |
-else |
146 |
- SRC_URI="https://github.com/FreeCAD/FreeCAD/archive/${PV}.tar.gz -> ${P}.tar.gz" |
147 |
- KEYWORDS="~amd64 ~x86" |
148 |
-fi |
149 |
- |
150 |
-LICENSE="GPL-2" |
151 |
-SLOT="0" |
152 |
-IUSE="" |
153 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
154 |
- |
155 |
-COMMON_DEPEND="${PYTHON_DEPS} |
156 |
- dev-cpp/eigen:3 |
157 |
- dev-libs/boost:=[python,${PYTHON_USEDEP}] |
158 |
- dev-libs/xerces-c[icu] |
159 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
160 |
- dev-python/pyside:0[X,svg,${PYTHON_USEDEP}] |
161 |
- dev-python/shiboken:0[${PYTHON_USEDEP}] |
162 |
- dev-qt/designer:4 |
163 |
- dev-qt/qtgui:4[-egl] |
164 |
- dev-qt/qtopengl:4[-egl] |
165 |
- dev-qt/qtsvg:4 |
166 |
- media-libs/coin |
167 |
- media-libs/freetype |
168 |
- sci-libs/opencascade:*[vtk(+)] |
169 |
- sci-libs/orocos_kdl |
170 |
- sys-libs/zlib |
171 |
- virtual/glu" |
172 |
-RDEPEND="${COMMON_DEPEND} |
173 |
- dev-python/numpy[${PYTHON_USEDEP}] |
174 |
- dev-python/pivy[${PYTHON_USEDEP}] |
175 |
- dev-qt/assistant:4" |
176 |
-DEPEND="${COMMON_DEPEND} |
177 |
- >=dev-lang/swig-2.0.4-r1:0 |
178 |
- dev-python/pyside-tools:0[${PYTHON_USEDEP}]" |
179 |
- |
180 |
-PATCHES=( |
181 |
- "${FILESDIR}"/${PN}-0.14.3702-install-paths.patch |
182 |
- "${FILESDIR}"/${PN}-0.17_pre-no-webkit.patch |
183 |
-) |
184 |
- |
185 |
-# https://bugs.gentoo.org/show_bug.cgi?id=352435 |
186 |
-# https://www.gentoo.org/foundation/en/minutes/2011/20110220_trustees.meeting_log.txt |
187 |
-RESTRICT="mirror" |
188 |
- |
189 |
-# TODO: |
190 |
-# DEPEND and RDEPEND: |
191 |
-# salome-smesh - science overlay |
192 |
-# zipio++ - not in portage yet |
193 |
- |
194 |
-S="${WORKDIR}/FreeCAD-${PV}" |
195 |
- |
196 |
-DOCS=( README.md ChangeLog.txt ) |
197 |
- |
198 |
-pkg_setup() { |
199 |
- fortran-2_pkg_setup |
200 |
- python-single-r1_pkg_setup |
201 |
- |
202 |
- [[ -z ${CASROOT} ]] && die "empty \$CASROOT, run eselect opencascade set or define otherwise" |
203 |
-} |
204 |
- |
205 |
-src_configure() { |
206 |
- export QT_SELECT=4 |
207 |
- |
208 |
- #-DOCC_* defined with cMake/FindOpenCasCade.cmake |
209 |
- #-DCOIN3D_* defined with cMake/FindCoin3D.cmake |
210 |
- #-DSOQT_ not used |
211 |
- local mycmakeargs=( |
212 |
- -DOCC_INCLUDE_DIR="${CASROOT}"/inc |
213 |
- -DOCC_LIBRARY_DIR="${CASROOT}"/$(get_libdir) |
214 |
- -DCMAKE_INSTALL_DATADIR=share/${P} |
215 |
- -DCMAKE_INSTALL_DOCDIR=share/doc/${PF} |
216 |
- -DCMAKE_INSTALL_INCLUDEDIR=include/${P} |
217 |
- -DFREECAD_USE_EXTERNAL_KDL=ON |
218 |
- -DBUILD_WEB=OFF |
219 |
- ) |
220 |
- |
221 |
- # TODO to remove embedded dependencies: |
222 |
- # |
223 |
- # -DFREECAD_USE_EXTERNAL_ZIPIOS="ON" -- this option needs zipios++ but it's not yet in portage so the embedded zipios++ |
224 |
- # (under src/zipios++) will be used |
225 |
- # salomesmesh is in 3rdparty but upstream's find_package function is not complete yet to compile against external version |
226 |
- # (external salomesmesh is available in "science" overlay) |
227 |
- |
228 |
- cmake-utils_src_configure |
229 |
- einfo "${P} will be built against opencascade version ${CASROOT}" |
230 |
-} |
231 |
- |
232 |
-src_install() { |
233 |
- cmake-utils_src_install |
234 |
- |
235 |
- make_desktop_entry FreeCAD "FreeCAD" "" "" "MimeType=application/x-extension-fcstd;" |
236 |
- |
237 |
- # install mimetype for FreeCAD files |
238 |
- insinto /usr/share/mime/packages |
239 |
- newins "${FILESDIR}"/${PN}.sharedmimeinfo "${PN}.xml" |
240 |
- |
241 |
- # install icons to correct place rather than /usr/share/freecad |
242 |
- pushd "${ED%/}"/usr/share/${P} || die |
243 |
- local size |
244 |
- for size in 16 32 48 64; do |
245 |
- newicon -s ${size} freecad-icon-${size}.png freecad.png |
246 |
- done |
247 |
- doicon -s scalable freecad.svg |
248 |
- newicon -s 64 -c mimetypes freecad-doc.png application-x-extension-fcstd.png |
249 |
- popd || die |
250 |
- |
251 |
- python_optimize "${ED%/}"/usr/{,share/${P}/}Mod/ |
252 |
-} |
253 |
- |
254 |
-pkg_postinst() { |
255 |
- xdg_mimeinfo_database_update |
256 |
-} |
257 |
- |
258 |
-pkg_postrm() { |
259 |
- xdg_mimeinfo_database_update |
260 |
-} |
261 |
|
262 |
diff --git a/media-gfx/freecad/metadata.xml b/media-gfx/freecad/metadata.xml |
263 |
deleted file mode 100644 |
264 |
index fd959a35b4f..00000000000 |
265 |
--- a/media-gfx/freecad/metadata.xml |
266 |
+++ /dev/null |
267 |
@@ -1,12 +0,0 @@ |
268 |
-<?xml version='1.0' encoding='UTF-8'?> |
269 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
270 |
-<pkgmetadata> |
271 |
- <maintainer type="person"> |
272 |
- <email>xmw@g.o</email> |
273 |
- <name>Michael Weber</name> |
274 |
- </maintainer> |
275 |
- <upstream> |
276 |
- <remote-id type="sourceforge">free-cad</remote-id> |
277 |
- <remote-id type="github">FreeCAD/FreeCAD</remote-id> |
278 |
- </upstream> |
279 |
-</pkgmetadata> |
280 |
|
281 |
diff --git a/profiles/package.mask b/profiles/package.mask |
282 |
index 4668d160578..c11114ea5e8 100644 |
283 |
--- a/profiles/package.mask |
284 |
+++ b/profiles/package.mask |
285 |
@@ -380,10 +380,6 @@ virtual/jre:9 |
286 |
# (<0.6) that have been punted from the tree. |
287 |
net-misc/cocaine-core |
288 |
|
289 |
-# Andreas Sturmlechner <asturm@g.o> (16 Nov 2017) |
290 |
-# Depends on dead Qt4. Last-rites on hold for chance of Qt5-port. Bug #620702 |
291 |
-<media-gfx/freecad-0.17 |
292 |
- |
293 |
# Patrice Clement <monsieurp@g.o> (28 Oct 2017) |
294 |
# Missing dependencies. |
295 |
>=dev-python/scrapy-1.4.0 |