;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 Ludovic Courtès ;;; Copyright © 2014 Mark H Weaver ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu packages vtk) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix licenses) #:use-module (guix build-system cmake) #:use-module (gnu packages) #:use-module (gnu packages xorg) #:use-module (gnu packages gl)) (define-public vtk (package (name "vtk") (version "6.1.0") (source (origin (method url-fetch) (uri (string-append "http://www.vtk.org/files/release/" (substring version 0 (string-rindex version #\.)) "/VTK-" version ".tar.gz")) (sha256 (base32 "0d7shccdkyj4mbh2riilslgx3gd28in4c7xpm0lxa1ln8w5g2zdx")) (patches (search-patches "vtk-mesa-10.patch")))) (build-system cmake-build-system) (arguments ;; Build without '-g' to save space. '(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release") #:tests? #f)) ;XXX: no "test" target (inputs `(("libXt" ,libxt) ("xproto" ,xproto) ("libX11" ,libx11) ("mesa" ,mesa) ("glu" ,glu))) (home-page "http://www.vtk.org/") (synopsis "Libraries for 3D computer graphics") (description "The Visualization Toolkit (VTK) is a C++ library for 3D computer graphics, image processing and visualization. It supports a wide variety of visualization algorithms including: scalar, vector, tensor, texture, and volumetric methods; and advanced modeling techniques such as: implicit modeling, polygon reduction, mesh smoothing, cutting, contouring, and Delaunay triangulation. VTK has an extensive information visualization framework, has a suite of 3D interaction widgets, supports parallel processing, and integrates with various databases on GUI toolkits such as Qt and Tk.") (license bsd-3))) id=eab88f2e458035560310f5dd2be92ee47183f8b9'>Collapse)Author 2023-09-05gnu: ibus: Add search-path for 'GUIX_GTK3_IM_MODULE_FILE'.宋文武 * gnu/packages/ibus.scm (ibus)[native-search-paths]: Add 'GUIX_GTK3_IM_MODULE_FILE'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> 2023-09-05gnu: ibus: Disable registry cache.宋文武 Fixes <https://issues.guix.gnu.org/22707>. * gnu/packages/ibus.scm (ibus)[arguments]: Add 'disable-registry-cache' phase. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> 2023-08-22gnu: ibus-anthy: Update to 1.5.15.Maxim Cournoyer * gnu/packages/ibus.scm (ibus-anthy): Update to 1.5.15. * gnu/packages/patches/ibus-anthy-fix-tests.patch: Update patch. 2023-08-03gnu: Add ibus-table-others.Nguyễn Gia Phong * gnu/packages/ibus.scm (ibus-table-others): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> 2023-08-03gnu: Add ibus-table.Nguyễn Gia Phong * gnu/packages/patches/ibus-table-paths.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/ibus.scm (ibus-table): New variable. Co-authored-by: 宋文武 <iyzsong@member.fsf.org> 2023-08-03gnu: ibus: Wrap ibus-daemon with GUIX_PYTHONPATH and GI_TYPELIB_PATH.宋文武 * gnu/packages/ibus.scm (ibus)[arguments]: Wrap 'ibus-daemon' in the same way as 'ibus-setup'. 2023-07-30gnu: ibus-anthy: Fix runtime errors.宋文武 This fixes <https://issues.guix.gnu.org/64941>. * gnu/packages/ibus.scm (ibus-anthy) [build-system]: Switch to glib-or-gtk-build-system, for GSettings schema. [arguments]: Add a pre-configure phase to regenerate '_config.py'. Pass "--with-anthy-zipcode" to configure-flags. 2023-06-14gnu: ibus-anthy: Prepare for tests.Maxim Cournoyer * gnu/packages/patches/ibus-anthy-fix-tests.patch: New patch. * gnu/packages/ibus.scm (ibus-anthy): Register it. * gnu/packages/ibus.scm (ibus-anthy) [source]: Apply patch. [arguments]: Clarify #:tests? comment. Add a fix-check, do-not-override-GI_TYPELIB_PATH and prepare-for-tests phases. [native-inputs]: Add procps, python-pycotap, util-linux and xorg-server-for-tests.