Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/gambit/, sci-visualization/v_sim/, sci-libs/scikits_image/, ...
Date: Sat, 27 Oct 2018 21:16:53
Message-Id: 1540674481.5cefc888f78905782495d48eef860c64f23bf319.jlec@gentoo
1 commit: 5cefc888f78905782495d48eef860c64f23bf319
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 27 21:08:01 2018 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 27 21:08:01 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5cefc888
7
8 Drop obsolete packages
9
10 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
11
12 sci-geosciences/qgis/metadata.xml | 19 ----
13 sci-geosciences/qgis/qgis-9999.ebuild | 109 ----------------------
14 sci-libs/libgeodecomp/files/cmake.patch | 17 ----
15 sci-libs/libgeodecomp/libgeodecomp-9999.ebuild | 75 ---------------
16 sci-libs/libgeodecomp/metadata.xml | 41 --------
17 sci-libs/scikits_image/metadata.xml | 19 ----
18 sci-libs/scikits_image/scikits_image-9999.ebuild | 52 -----------
19 sci-mathematics/gambit/gambit-0.2010.09.01.ebuild | 32 -------
20 sci-mathematics/gambit/metadata.xml | 20 ----
21 sci-visualization/v_sim/metadata.xml | 17 ----
22 sci-visualization/v_sim/v_sim-3.6.0.ebuild | 84 -----------------
23 11 files changed, 485 deletions(-)
24
25 diff --git a/sci-geosciences/qgis/metadata.xml b/sci-geosciences/qgis/metadata.xml
26 deleted file mode 100644
27 index b2ca3f8c7..000000000
28 --- a/sci-geosciences/qgis/metadata.xml
29 +++ /dev/null
30 @@ -1,19 +0,0 @@
31 -<?xml version="1.0" encoding="UTF-8"?>
32 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 -<pkgmetadata>
34 - <maintainer type="project">
35 - <email>sci-geosciences@g.o</email>
36 - <name>Gentoo Geosciences Project</name>
37 - </maintainer>
38 - <longdescription lang="en">
39 -Quantum GIS (QGIS) is a user friendly Open Source Geographic
40 -Information System (GIS). QGIS supports vector, raster, and database
41 -formats. QGIS lets you browse and create map data on your
42 -computer. It supports many common spatial data formats (e.g. ESRI
43 -ShapeFile, geotiff). QGIS supports plugins to do things like display
44 -tracks from your GPS.
45 -</longdescription>
46 - <use>
47 - <flag name="grass">Add support for <pkg>sci-geosciences/grass</pkg></flag>
48 - </use>
49 -</pkgmetadata>
50
51 diff --git a/sci-geosciences/qgis/qgis-9999.ebuild b/sci-geosciences/qgis/qgis-9999.ebuild
52 deleted file mode 100644
53 index 53ae4df98..000000000
54 --- a/sci-geosciences/qgis/qgis-9999.ebuild
55 +++ /dev/null
56 @@ -1,109 +0,0 @@
57 -# Copyright 1999-2015 Gentoo Foundation
58 -# Distributed under the terms of the GNU General Public License v2
59 -
60 -EAPI=5
61 -
62 -PYTHON_COMPAT=( python2_7 )
63 -PYTHON_REQ_USE="sqlite"
64 -
65 -inherit cmake-utils gnome2-utils multilib python-single-r1 subversion eutils
66 -
67 -DESCRIPTION="User friendly Geographic Information System"
68 -HOMEPAGE="http://www.qgis.org/"
69 -ESVN_REPO_URI="http://svn.osgeo.org/qgis/trunk/qgis"
70 -SRC_URI="examples? ( http://download.osgeo.org/qgis/data/qgis_sample_data.tar.gz )"
71 -
72 -LICENSE="GPL-2"
73 -SLOT="0"
74 -KEYWORDS=""
75 -IUSE="examples gps grass gsl postgres python sqlite"
76 -
77 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
78 -
79 -RDEPEND="
80 - >=sci-libs/gdal-1.6.1[geos,postgres?,python?,sqlite?]
81 - dev-qt/qtcore:4[qt3support]
82 - dev-qt/qtgui:4
83 - dev-qt/qtsvg:4
84 - dev-qt/qtsql:4
85 - dev-qt/qtwebkit:4
86 - sci-libs/geos
87 - gps? (
88 - dev-libs/expat
89 - sci-geosciences/gpsbabel
90 - x11-libs/qwt:6=
91 - )
92 - grass? ( >=sci-geosciences/grass-6.4.0_rc6[postgres?,python?,sqlite?] )
93 - gsl? ( sci-libs/gsl )
94 - postgres? ( dev-db/postgresql:* )
95 - python? (
96 - ${PYTHON_DEPS}
97 - dev-python/PyQt4[sql,svg,${PYTHON_USEDEP}]
98 - dev-python/sip[${PYTHON_USEDEP}] )
99 - sqlite? ( dev-db/sqlite:3 )"
100 -
101 -DEPEND="${RDEPEND}
102 - sys-devel/bison
103 - sys-devel/flex"
104 -
105 -pkg_setup() {
106 - python-single-r1_pkg_setup
107 -}
108 -
109 -src_configure() {
110 - local mycmakeargs
111 - mycmakeargs+=(
112 - "-DQGIS_MANUAL_SUBDIR=/share/man/"
113 - "-DBUILD_SHARED_LIBS=ON"
114 - "-DBINDINGS_GLOBAL_INSTALL=ON"
115 - "-DQGIS_LIB_SUBDIR=$(get_libdir)"
116 - "-DQGIS_PLUGIN_SUBDIR=$(get_libdir)/qgis"
117 - "-DWITH_INTERNAL_SPATIALITE:BOOL=OFF"
118 - $(cmake-utils_use_with postgres POSTGRESQL)
119 - $(cmake-utils_use_with grass)
120 - $(cmake-utils_use_with gps EXPAT)
121 - $(cmake-utils_use_with gps QWT)
122 - $(cmake-utils_use_with gsl)
123 - $(cmake-utils_use_with python BINDINGS)
124 - $(cmake-utils_use python BINDINGS_GLOBAL_INSTALL)
125 - $(cmake-utils_use_with spatialite SPATIALITE)
126 - $(cmake-utils_use_enable test TESTS)
127 - $(usex grass "-DGRASS_PREFIX=/usr/" "")
128 - )
129 -
130 - cmake-utils_src_configure
131 -}
132 -
133 -src_install() {
134 - cmake-utils_src_install
135 - dodoc BUGS ChangeLog CODING README
136 -
137 - newicon -s 128 images/icons/qgis-icon.png qgis.png
138 - make_desktop_entry qgis "Quantum GIS " qgis
139 -
140 - if use examples; then
141 - insinto /usr/share/doc/${PF}/examples
142 - doins -r "${WORKDIR}"/qgis_sample_data/*
143 - fi
144 - python_fix_shebang "${D}"/usr/share/qgis/grass/scripts
145 - python_optimize "${D}"/usr/share/qgis/python/plugins \
146 - "${D}"/$(python_get_sitedir)/qgis \
147 - "${D}"/usr/share/qgis/grass/scripts
148 -}
149 -
150 -pkg_preinst() {
151 - gnome2_icon_savelist
152 -}
153 -
154 -pkg_postinst() {
155 - if use postgres; then
156 - elog "If you don't intend to use an external PostGIS server"
157 - elog "you should install:"
158 - elog " dev-db/postgis"
159 - fi
160 - gnome2_icon_cache_update
161 -}
162 -
163 -pkg_postrm() {
164 - gnome2_icon_cache_update
165 -}
166
167 diff --git a/sci-libs/libgeodecomp/files/cmake.patch b/sci-libs/libgeodecomp/files/cmake.patch
168 deleted file mode 100644
169 index de6e42f41..000000000
170 --- a/sci-libs/libgeodecomp/files/cmake.patch
171 +++ /dev/null
172 @@ -1,17 +0,0 @@
173 -diff -ru libgeodecomp-0.1.0/src/util.cmake libgeodecomp-0.1.0-nju/src/util.cmake
174 ---- libgeodecomp-0.1.0/src/util.cmake 2012-06-27 12:26:46.000000000 +0200
175 -+++ libgeodecomp-0.1.0-nju/src/util.cmake 2013-01-29 20:52:43.306376967 +0100
176 -@@ -54,11 +54,11 @@
177 - endforeach(i)
178 -
179 - if(STRIPPED_SOURCES)
180 -- list(SORT STRIPPED_SOURCES ${STRIPPED_SOURCES})
181 -+ list(SORT STRIPPED_SOURCES)
182 - endif(STRIPPED_SOURCES)
183 -
184 - if(STRIPPED_HEADERS)
185 -- list(SORT STRIPPED_HEADERS ${STRIPPED_HEADERS})
186 -+ list(SORT STRIPPED_HEADERS)
187 - endif(STRIPPED_HEADERS)
188 -
189 - set(MY_AUTO "set(SOURCES \${SOURCES}\n")
190
191 diff --git a/sci-libs/libgeodecomp/libgeodecomp-9999.ebuild b/sci-libs/libgeodecomp/libgeodecomp-9999.ebuild
192 deleted file mode 100644
193 index 08622044c..000000000
194 --- a/sci-libs/libgeodecomp/libgeodecomp-9999.ebuild
195 +++ /dev/null
196 @@ -1,75 +0,0 @@
197 -# Copyright 1999-2014 Gentoo Foundation
198 -# Distributed under the terms of the GNU General Public License v2
199 -
200 -EAPI=5
201 -
202 -if [ ${PV} == "9999" ] ; then
203 - _SCM=mercurial
204 - EHG_REPO_URI="http://bitbucket.org/gentryx/libgeodecomp"
205 - SRC_URI=""
206 - KEYWORDS=""
207 - CMAKE_USE_DIR="${S}"
208 -else
209 - SRC_URI="http://www.libgeodecomp.org/archive/${P}.tar.bz2"
210 - KEYWORDS="~amd64 ~ppc ~x86"
211 - S="${WORKDIR}/${P}"
212 -fi
213 -
214 -inherit cmake-utils cuda ${_SCM}
215 -
216 -DESCRIPTION="An auto-parallelizing library to speed up computer simulations"
217 -HOMEPAGE="http://www.libgeodecomp.org"
218 -
219 -SLOT="0"
220 -LICENSE="Boost-1.0"
221 -IUSE="cuda doc hpx mpi opencl opencv qt4 scotch threads visit"
222 -
223 -RDEPEND="
224 - >=dev-libs/boost-1.48
225 - =dev-libs/libflatarray-9999
226 - cuda? ( dev-util/nvidia-cuda-toolkit )
227 - hpx? ( =sys-cluster/hpx-9999 )
228 - mpi? ( virtual/mpi )
229 - opencl? ( virtual/opencl )
230 - opencv? ( media-libs/opencv )
231 - qt4? ( dev-qt/qtgui:4 )
232 - scotch? ( sci-libs/scotch )
233 - visit? ( sci-visualization/visit )"
234 -DEPEND="${RDEPEND}
235 - doc? ( app-doc/doxygen )"
236 -
237 -src_prepare() {
238 - rm -rf {lib,src}/libflatarray || die
239 -}
240 -
241 -src_configure() {
242 - local mycmakeargs=(
243 - -DWITH_BOOST_SERIALIZATION=true
244 - $(cmake-utils_use_with cuda CUDA)
245 - $(cmake-utils_use_with hpx HPX)
246 - $(cmake-utils_use_with mpi BOOST_MPI)
247 - $(cmake-utils_use_with mpi MPI)
248 - $(cmake-utils_use_with opencl OPENCL)
249 - $(cmake-utils_use_with opencv OPENCV)
250 - $(cmake-utils_use_with qt4 QT)
251 - $(cmake-utils_use_with scotch SCOTCH)
252 - $(cmake-utils_use_with threads THREADS)
253 - $(cmake-utils_use_with visit VISIT)
254 - )
255 - cmake-utils_src_configure
256 -}
257 -
258 -src_compile() {
259 - cmake-utils_src_compile
260 - use doc && cmake-utils_src_make doc
261 -}
262 -
263 -src_install() {
264 - DOCS=( README )
265 - use doc && HTML_DOCS=( doc/html/* )
266 - cmake-utils_src_install
267 -}
268 -
269 -src_test() {
270 - cmake-utils_src_make test
271 -}
272
273 diff --git a/sci-libs/libgeodecomp/metadata.xml b/sci-libs/libgeodecomp/metadata.xml
274 deleted file mode 100644
275 index b1b9ce281..000000000
276 --- a/sci-libs/libgeodecomp/metadata.xml
277 +++ /dev/null
278 @@ -1,41 +0,0 @@
279 -<?xml version="1.0" encoding="UTF-8"?>
280 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
281 -<pkgmetadata>
282 - <longdescription>
283 -LibGeoDecomp is an auto-parallelizing library to speed up stencil
284 -code based computer simulations. It runs on virtually all current
285 -architectures, be it multi-cores, GPUs, or large scale MPI
286 -clusters.
287 -</longdescription>
288 - <maintainer type="person">
289 - <email>gentryx@×××.de</email>
290 - </maintainer>
291 - <maintainer type="project">
292 - <email>cluster@g.o</email>
293 - <name>Gentoo Cluster Project</name>
294 - </maintainer>
295 - <use>
296 - <flag name="cuda">
297 -Enables plugins for NVIDIA GPUs (e.g. CUDASimulator and CUDAStepper)
298 -</flag>
299 - <flag name="hpx">
300 -Activates the HPX backend as an alternative to the usual MPI backends.
301 -</flag>
302 - <flag name="opencl">
303 -Builds those plugins which can offload to OpenCL devices.
304 -</flag>
305 - <flag name="opencv">
306 -Some input components can read from cameras etc. via OpenCV
307 -</flag>
308 - <flag name="qt4">
309 -Adds the QTWidgetWriter, which allows in situ visualization of a
310 -running simulation.
311 -</flag>
312 - <flag name="scotch">
313 -Optinally use Scotch for domain decomposition.
314 -</flag>
315 - <flag name="visit">
316 -Add in situ visualization for big simulations via VisIt.
317 -</flag>
318 - </use>
319 -</pkgmetadata>
320
321 diff --git a/sci-libs/scikits_image/metadata.xml b/sci-libs/scikits_image/metadata.xml
322 deleted file mode 100644
323 index 5ec0e96ff..000000000
324 --- a/sci-libs/scikits_image/metadata.xml
325 +++ /dev/null
326 @@ -1,19 +0,0 @@
327 -<?xml version="1.0" encoding="UTF-8"?>
328 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
329 -<pkgmetadata>
330 - <maintainer type="project">
331 - <email>sci@g.o</email>
332 - <name>Gentoo Science Project</name>
333 - </maintainer>
334 - <longdescription lang="en">
335 -This SciKit (toolkit for SciPy) includes useful image processing
336 -algorithms for use with Python and NumPy. While SciPy’s ndimage
337 -provides low-level manipulation, scikits.image centres around
338 -algorithms and applications.
339 -</longdescription>
340 - <use>
341 - <flag name="freeimage">Enable support for image i/o via
342 -<pkg>media-libs/freeimage</pkg></flag>
343 - <flag name="pyamg">Enable support for algebraic solvers via <pkg>dev-python/pyamg</pkg></flag>
344 - </use>
345 -</pkgmetadata>
346
347 diff --git a/sci-libs/scikits_image/scikits_image-9999.ebuild b/sci-libs/scikits_image/scikits_image-9999.ebuild
348 deleted file mode 100644
349 index e00facde2..000000000
350 --- a/sci-libs/scikits_image/scikits_image-9999.ebuild
351 +++ /dev/null
352 @@ -1,52 +0,0 @@
353 -# Copyright 1999-2015 Gentoo Foundation
354 -# Distributed under the terms of the GNU General Public License v2
355 -
356 -EAPI=5
357 -
358 -PYTHON_COMPAT=( python2_7 python3_{3,4} )
359 -
360 -inherit distutils-r1 eutils git-r3 virtualx
361 -
362 -DESCRIPTION="Image processing routines for SciPy"
363 -HOMEPAGE="http://scikit-image.org/"
364 -EGIT_REPO_URI="https://github.com/scikit-image/scikit-image.git"
365 -
366 -LICENSE="BSD"
367 -SLOT="0"
368 -KEYWORDS=""
369 -IUSE="doc freeimage gtk pyamg qt4 test"
370 -
371 -RDEPEND="
372 - >=dev-python/matplotlib-1.1.0[${PYTHON_USEDEP}]
373 - >=dev-python/networkx-1.8[${PYTHON_USEDEP}]
374 - >=dev-python/numpy-1.6.1[${PYTHON_USEDEP}]
375 - >=dev-python/pillow-1.7.8[${PYTHON_USEDEP}]
376 - >=dev-python/six-1.3[${PYTHON_USEDEP}]
377 - >=sci-libs/scipy-0.9[sparse,${PYTHON_USEDEP}]
378 - freeimage? ( media-libs/freeimage )
379 - gtk? ( dev-python/pygtk[$(python_gen_usedep 'python2*')] )
380 - pyamg? ( dev-python/pyamg[$(python_gen_usedep 'python2*')] )
381 - qt4? ( dev-python/PyQt4[${PYTHON_USEDEP}] )"
382 -DEPEND="${RDEPEND}
383 - >=dev-python/cython-0.21[${PYTHON_USEDEP}]
384 - dev-python/setuptools[${PYTHON_USEDEP}]
385 - test? (
386 - dev-python/nose[${PYTHON_USEDEP}]
387 - )"
388 -
389 -DOCS=( CONTRIBUTORS.txt CONTRIBUTING.txt README.md DEPENDS.txt RELEASE.txt TASKS.txt )
390 -
391 -python_test() {
392 - distutils_install_for_testing
393 - mkdir for_test && cd for_test || die
394 - echo "backend : Agg" > matplotlibrc || die
395 - echo "backend.qt4 : PyQt4" >> matplotlibrc || die
396 - VIRTUALX_COMMAND=nosetests
397 - MPLCONFIGDIR=. virtualmake --exe -v skimage || die
398 -}
399 -
400 -pkg_postinst() {
401 - optfeature "FITS io capability" dev-python/astropy
402 - #optfeature "io plugin providing a wide variety of formats, including specialized formats using in medical imaging." dev-python/simpleitk
403 - #optfeature "io plugin providing most standard formats" dev-python/imread
404 -}
405
406 diff --git a/sci-mathematics/gambit/gambit-0.2010.09.01.ebuild b/sci-mathematics/gambit/gambit-0.2010.09.01.ebuild
407 deleted file mode 100644
408 index 0d78c8971..000000000
409 --- a/sci-mathematics/gambit/gambit-0.2010.09.01.ebuild
410 +++ /dev/null
411 @@ -1,32 +0,0 @@
412 -# Copyright 1999-2015 Gentoo Foundation
413 -# Distributed under the terms of the GNU General Public License v2
414 -
415 -EAPI=5
416 -
417 -WX_GTK_VER="2.8"
418 -
419 -inherit wxwidgets
420 -
421 -DESCRIPTION="Gambit: Software Tools for Game Theory"
422 -HOMEPAGE="http://www.gambit-project.org/doc/index.html"
423 -SRC_URI="mirror://sourceforge/project/${PN}/${PN}-stable/${PV}/${P}.tar.gz"
424 -
425 -LICENSE="GPL-2"
426 -SLOT="0"
427 -KEYWORDS="~amd64 ~x86"
428 -IUSE="X"
429 -
430 -DEPEND="
431 - X? (
432 - x11-libs/wxGTK:2.8[X]
433 - x11-libs/gtk+:2 )"
434 -RDEPEND="${DEPEND}"
435 -
436 -src_configure() {
437 - local myconf
438 - if use amd64; then
439 - myconf='--disable-enumpoly'
440 - fi
441 - econf "${myconf}" \
442 - $(use_enable X gui)
443 -}
444
445 diff --git a/sci-mathematics/gambit/metadata.xml b/sci-mathematics/gambit/metadata.xml
446 deleted file mode 100644
447 index c19ddfa46..000000000
448 --- a/sci-mathematics/gambit/metadata.xml
449 +++ /dev/null
450 @@ -1,20 +0,0 @@
451 -<?xml version="1.0" encoding="UTF-8"?>
452 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
453 -<pkgmetadata>
454 - <maintainer type="person">
455 - <email>dongxuli2011@×××××.com</email>
456 - <name>Dongxu Li</name>
457 - </maintainer>
458 - <maintainer type="project">
459 - <email>sci-mathematics@g.o</email>
460 - <name>Gentoo Mathematics Project</name>
461 - </maintainer>
462 - <use>
463 - <flag name="X">
464 -Enable gui support using wxWidgets.
465 -</flag>
466 - </use>
467 - <upstream>
468 - <remote-id type="sourceforge">gambit</remote-id>
469 - </upstream>
470 -</pkgmetadata>
471
472 diff --git a/sci-visualization/v_sim/metadata.xml b/sci-visualization/v_sim/metadata.xml
473 deleted file mode 100644
474 index 6a2245773..000000000
475 --- a/sci-visualization/v_sim/metadata.xml
476 +++ /dev/null
477 @@ -1,17 +0,0 @@
478 -<?xml version="1.0" encoding="UTF-8"?>
479 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
480 -<pkgmetadata>
481 - <maintainer type="person">
482 - <email>dongxuli2011@×××××.com</email>
483 - </maintainer>
484 - <maintainer type="project">
485 - <email>sci@g.o</email>
486 - <name>Gentoo Science Project</name>
487 - </maintainer>
488 - <use>
489 - <flag name="abinit">Add support for ABINIT file formats <pkg>sci-physics/abinit</pkg></flag>
490 - <flag name="cube">Add support plug-in support for Cube files (densities and structures)</flag>
491 - <flag name="openbabel">Add support for ABINIT file formats <pkg>sci-chemistry/openbabel</pkg></flag>
492 - <flag name="xsf">plug-in support for files that follow the XCrysDen format for structural positions and densities</flag>
493 - </use>
494 -</pkgmetadata>
495
496 diff --git a/sci-visualization/v_sim/v_sim-3.6.0.ebuild b/sci-visualization/v_sim/v_sim-3.6.0.ebuild
497 deleted file mode 100644
498 index cb94d01f8..000000000
499 --- a/sci-visualization/v_sim/v_sim-3.6.0.ebuild
500 +++ /dev/null
501 @@ -1,84 +0,0 @@
502 -# Copyright 1999-2015 Gentoo Foundation
503 -# Distributed under the terms of the GNU General Public License v2
504 -
505 -EAPI=5
506 -
507 -inherit eutils multilib
508 -
509 -DESCRIPTION="Displays atomic structures such as crystals, gain boudaries, molecules"
510 -HOMEPAGE="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/index.en.html"
511 -SRC_URI="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/download/${P}.tar.bz2"
512 -
513 -LICENSE="CeCILL-1.1"
514 -SLOT="0"
515 -KEYWORDS="~amd64 ~x86"
516 -
517 -# doc: Adds developer documentation (/usr/share/doc/${PF}/APIreference/)
518 -# Example files are copied even when USE='-doc'
519 -# debug: Adds console debug messages. This is really verbose.
520 -IUSE="abinit blas cube debug doc netcdf openbabel xsf"
521 -
522 -RDEPEND="
523 - x11-libs/gtk+:2
524 - dev-libs/glib:2
525 - x11-libs/pango
526 - media-libs/libpng:0=
527 - virtual/opengl"
528 -DEPEND="${RDEPEND}
529 - abinit? ( sci-physics/abinit sci-libs/etsf_io )
530 - blas? ( virtual/blas )
531 - netcdf? ( sci-libs/netcdf )
532 - openbabel? ( sci-chemistry/openbabel )
533 - doc? ( >=dev-util/gtk-doc-1.4-r1 )"
534 -
535 -src_prepare() {
536 - # The author follows Debian conventions, hence the example files and docs
537 - # end up in /usr/share/doc/${PN} instead of /usr/share/doc/${PF}. We
538 - # correct this here.
539 - sed -i -e "s@/doc/.\${package}.@/doc/${PF}@g" -e "s@/doc/\$PACKAGE@/doc/${PF}@g" configure \
540 - || die "sed failed on tweaking configure file"
541 - # TODO: test if this can be done via --docdir
542 -
543 - # The /share/ directories are #define in the code and must be adapted.
544 - sed -i -e "s:/usr/local/:/usr/:g" src/visu_basic.c || die "sed failed on updating directories in visu_basic.c"
545 -}
546 -
547 -src_configure() {
548 - if use doc ; then
549 - gtkdocize || die
550 - fi
551 - local MY_CONF="--without-etsf-io"
552 - use abinit && MY_CONF="--with-etsf-io=/usr --with-etsf-io-include=/usr/lib/finclude --with-etsf-io-libdir=/usr/$(get_libdir)"
553 - econf "${MY_CONF}" \
554 - $(use_with blas) \
555 - $(use_with cube) \
556 - $(use_with netcdf) \
557 - $(use_with openbabel) \
558 - $(use_with xsf) \
559 - $(use_enable doc gtk-doc) \
560 - $(use_enable debug debug-messages)
561 -}
562 -
563 -src_compile() {
564 - HOME="${S}" emake
565 -}
566 -
567 -pkg_postinst() {
568 - einfo "Example files are in /usr/share/doc/${PF}/examples"
569 - einfo "(even with USE='-doc')"
570 - einfo ""
571 - einfo "The global v_sim config files are in /usr/share/${PN}/"
572 - einfo "There are a few options which can only be configured in these files"
573 - einfo "and not through the UI. For example, one can specify different"
574 - einfo "colors for the box and the axes in the files, but in the UI one can"
575 - einfo "only change them together."
576 - einfo ""
577 - einfo "V_sim uses by default its own weird gtk skin. You can edit the"
578 - einfo "skin settings in /usr/share/${PN}/v_sim.rc"
579 - einfo "You can change the skin file used in the config file v_sim.par:"
580 - einfo "Go to the line 'config_skin[gtk]: V_Sim'. The argument may be:"
581 - einfo "'V_Sim', 'none' or the path to your own rc file. The keyword "
582 - einfo "'V_Sim' stands for the default rc file, /usr/share/v_sim/v_sim.rc"
583 - einfo "If you choose 'none' or if you comment the line, your current"
584 - einfo "gtk skin will be used."
585 -}