diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2014-07-10 21:34:07 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2014-07-10 21:34:07 +0200 |
| commit | 501de668f139b32c75a185fc88600e98a5aeedc7 (patch) | |
| tree | 4f1ea7ca88bc5edc68bb34ff8e223ac6baed201f | |
| parent | a6eb1a95d6866fe9128faa49e13fdef2fc16173d (diff) | |
gnu: Add VTK.
* gnu/packages/vtk.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
| -rw-r--r-- | gnu-system.am | 1 | ||||
| -rw-r--r-- | gnu/packages/vtk.scm | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/gnu-system.am b/gnu-system.am index e25c9228e84..d09c0b19847 100644 --- a/gnu-system.am +++ b/gnu-system.am | |||
| @@ -235,6 +235,7 @@ GNU_SYSTEM_MODULES = \ | |||
| 235 | gnu/packages/video.scm \ | 235 | gnu/packages/video.scm \ |
| 236 | gnu/packages/vim.scm \ | 236 | gnu/packages/vim.scm \ |
| 237 | gnu/packages/vpn.scm \ | 237 | gnu/packages/vpn.scm \ |
| 238 | gnu/packages/vtk.scm \ | ||
| 238 | gnu/packages/w3m.scm \ | 239 | gnu/packages/w3m.scm \ |
| 239 | gnu/packages/wdiff.scm \ | 240 | gnu/packages/wdiff.scm \ |
| 240 | gnu/packages/web.scm \ | 241 | gnu/packages/web.scm \ |
diff --git a/gnu/packages/vtk.scm b/gnu/packages/vtk.scm new file mode 100644 index 00000000000..3d302796839 --- /dev/null +++ b/gnu/packages/vtk.scm | |||
| @@ -0,0 +1,61 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | ||
| 2 | ;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org> | ||
| 3 | ;;; | ||
| 4 | ;;; This file is part of GNU Guix. | ||
| 5 | ;;; | ||
| 6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | ||
| 7 | ;;; under the terms of the GNU General Public License as published by | ||
| 8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | ||
| 9 | ;;; your option) any later version. | ||
| 10 | ;;; | ||
| 11 | ;;; GNU Guix is distributed in the hope that it will be useful, but | ||
| 12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | ;;; GNU General Public License for more details. | ||
| 15 | ;;; | ||
| 16 | ;;; You should have received a copy of the GNU General Public License | ||
| 17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | ||
| 18 | |||
| 19 | (define-module (gnu packages vtk) | ||
| 20 | #:use-module (guix packages) | ||
| 21 | #:use-module (guix download) | ||
| 22 | #:use-module (guix licenses) | ||
| 23 | #:use-module (guix build-system cmake) | ||
| 24 | #:use-module (gnu packages xorg) | ||
| 25 | #:use-module (gnu packages gl)) | ||
| 26 | |||
| 27 | (define-public vtk | ||
| 28 | (package | ||
| 29 | (name "vtk") | ||
| 30 | (version "6.1.0") | ||
| 31 | (source (origin | ||
| 32 | (method url-fetch) | ||
| 33 | (uri (string-append "http://www.vtk.org/files/release/" | ||
| 34 | (substring version 0 | ||
| 35 | (string-rindex version #\.)) | ||
| 36 | "/VTK-" version ".tar.gz")) | ||
| 37 | (sha256 | ||
| 38 | (base32 | ||
| 39 | "0d7shccdkyj4mbh2riilslgx3gd28in4c7xpm0lxa1ln8w5g2zdx")))) | ||
| 40 | (build-system cmake-build-system) | ||
| 41 | (arguments | ||
| 42 | ;; Build without '-g' to save space. | ||
| 43 | '(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release") | ||
| 44 | #:tests? #f)) ;XXX: no "test" target | ||
| 45 | (inputs | ||
| 46 | `(("libXt" ,libxt) | ||
| 47 | ("xproto" ,xproto) | ||
| 48 | ("libX11" ,libx11) | ||
| 49 | ("mesa" ,mesa))) | ||
| 50 | (home-page "http://www.vtk.org/") | ||
| 51 | (synopsis "Libraries for 3D computer graphics") | ||
| 52 | (description | ||
| 53 | "The Visualization Toolkit (VTK) is a C++ library for 3D computer graphics, | ||
| 54 | image processing and visualization. It supports a wide variety of | ||
| 55 | visualization algorithms including: scalar, vector, tensor, texture, and | ||
| 56 | volumetric methods; and advanced modeling techniques such as: implicit | ||
| 57 | modeling, polygon reduction, mesh smoothing, cutting, contouring, and Delaunay | ||
| 58 | triangulation. VTK has an extensive information visualization framework, has | ||
| 59 | a suite of 3D interaction widgets, supports parallel processing, and | ||
| 60 | integrates with various databases on GUI toolkits such as Qt and Tk.") | ||
| 61 | (license bsd-3))) | ||
