From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Garlick Subject: [PATCH] gnu: Add opencascade-oce Date: Fri, 20 Jan 2017 22:21:37 +0000 Message-ID: <1484950897-25405-1-git-send-email-pgarlick@tourbillion-technology.com> References: <87k29s8bd3.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUhcL-0004io-7s for guix-devel@gnu.org; Fri, 20 Jan 2017 17:25:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUhcI-0002wI-3X for guix-devel@gnu.org; Fri, 20 Jan 2017 17:25:09 -0500 Received: from smtp.hosts.co.uk ([85.233.160.19]:48316) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cUhcH-0002tH-Sx for guix-devel@gnu.org; Fri, 20 Jan 2017 17:25:06 -0500 In-Reply-To: <87k29s8bd3.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: Paul Garlick * gnu/packages/maths.scm: Add it --- gnu/packages/maths.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 313f6ac..62415e7 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2016 Ludovic Courtès ;;; Copyright © 2016 Leo Famulari ;;; Copyright © 2016 Thomas Danckaert +;;; Copyright © 2017 Paul Garlick ;;; ;;; This file is part of GNU Guix. ;;; @@ -43,6 +44,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system r) #:use-module (gnu packages algebra) + #:use-module (gnu packages autotools) #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages check) @@ -52,6 +54,7 @@ #:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages documentation) #:use-module (gnu packages elf) + #:use-module (gnu packages file) #:use-module (gnu packages flex) #:use-module (gnu packages fltk) #:use-module (gnu packages fontutils) @@ -78,6 +81,7 @@ #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages qt) #:use-module (gnu packages readline) #:use-module (gnu packages tbb) #:use-module (gnu packages shells) @@ -2843,3 +2847,48 @@ instruction sets. Thus, an application written with Vc can be compiled for: @end enumerate\n") (home-page "https://github.com/VcDevel/Vc") (license license:bsd-3))) + +(define-public opencascade-oce + (package + (name "opencascade-oce") + (version "0.17.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/tpaviot/oce/archive/OCE-" + version + ".tar.gz")) + (sha256 + (base32 + "0vpmnb0k5y2f7lpmwx9pg9yfq24zjvnsak5alzacncfm1hv9b6cd")))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags + (list "-DOCE_TESTING:BOOL=ON" + (string-append "-DOCE_INSTALL_PREFIX:PATH=" + (assoc-ref %outputs "out"))))) + (inputs + `(("freetype" ,freetype) + ("ftgl" ,ftgl) + ("glu" ,glu) + ("qt" ,qt) + ("libtool" ,libtool) + ("libxmu" ,libxmu) + ("file" ,file) + ("tk" ,tk) + ("tcl" ,tcl) + ("mesa" ,mesa))) + (native-inputs + `(("python" ,python-wrapper))) + (home-page "https://github.com/tpaviot/oce") + (synopsis + "Libraries for 3D modeling and numerical simulation") + (description "OCE stands for Open CASCADE Community Edition. The project +gathers patches/improvements/experiments contributed by users over the official +Open CASCADE library.") + (license (list license:lgpl2.1; OCE libraries, with an exception for the + ; use of header files; see + ; OCCT_LGPL_EXCEPTION.txt + license:expat; file src/OpenGl/OpenGl_glext.h + license:bsd-3)))); test framework gtest -- 2.7.4