From patchwork Tue Oct 5 12:34:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 33621 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2479727BBE3; Tue, 5 Oct 2021 13:38:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9249C27BBE1 for ; Tue, 5 Oct 2021 13:38:17 +0100 (BST) Received: from localhost ([::1]:39706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXji4-0007C6-OE for patchwork@mira.cbaines.net; Tue, 05 Oct 2021 08:38:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXjhq-0007A2-6C for guix-patches@gnu.org; Tue, 05 Oct 2021 08:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55989) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXjhp-0000LL-V5 for guix-patches@gnu.org; Tue, 05 Oct 2021 08:38:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXjhp-00072t-T1 for guix-patches@gnu.org; Tue, 05 Oct 2021 08:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51033] [PATCH] gnu: Add gr-framework. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Oct 2021 12:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51033 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51033@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163343745227026 (code B ref -1); Tue, 05 Oct 2021 12:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Oct 2021 12:37:32 +0000 Received: from localhost ([127.0.0.1]:39300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXjhL-00071q-Nb for submit@debbugs.gnu.org; Tue, 05 Oct 2021 08:37:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:41912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXjhJ-00071g-Eg for submit@debbugs.gnu.org; Tue, 05 Oct 2021 08:37:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXjhH-0006NY-Rq for guix-patches@gnu.org; Tue, 05 Oct 2021 08:37:29 -0400 Received: from flashner.co.il ([178.62.234.194]:55446) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXjhF-0000Ip-Vf for guix-patches@gnu.org; Tue, 05 Oct 2021 08:37:27 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id E6D2240417; Tue, 5 Oct 2021 12:37:24 +0000 (UTC) From: Efraim Flashner Date: Tue, 5 Oct 2021 15:34:43 +0300 Message-Id: X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/graphics.scm (gr-framework): New variable. --- gnu/packages/graphics.scm | 50 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) base-commit: b54bf075c577b9f78041362035383dbbfb456617 diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 3f2be5766c..9a5e2f2195 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -1254,6 +1254,56 @@ (define-public openscenegraph-3.4 `(("libjpeg" ,libjpeg-turbo) ,@(package-inputs openscenegraph))))) +(define-public gr-framework + (package + (name "gr-framework") + (version "0.58.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sciapp/gr") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0q1rz4iyxbh0dc22y4w28ry3hr0yypdwdm6pw2zlwgjya7wkbvsw")) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file-recursively "3rdparty") + #t)))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) ; no test target + (inputs + `(("bzip2" ,bzip2) + ("cairo" ,cairo) + ("fontconfig" ,fontconfig) + ("ffmpeg" ,ffmpeg) + ("freetype" ,freetype) + ("ghostscript" ,ghostscript) + ("glfw" ,glfw) + ("libjpeg-turbo" ,libjpeg-turbo) + ("libpng" ,libpng) + ("libtiff" ,libtiff) + ("libx11" ,libx11) + ("libxft" ,libxft) + ("libxt" ,libxt) + ("pixman" ,pixman) + ("qtbase" ,qtbase-5) + ("qhull" ,qhull) + ("zlib" ,zlib))) + (home-page "https://gr-framework.org/") + (synopsis "Graphics library for visualisation applications") + (description "GR is a universal framework for cross-platform visualization +applications. It offers developers a compact, portable and consistent graphics +library for their programs. Applications range from publication quality 2D +graphs to the representation of complex 3D scenes. GR is essentially based on +an implementation of a @acronym{GKS, Graphical Kernel System}. As a +self-contained system it can quickly and easily be integrated into existing +applications (i.e. using the @code{ctypes} mechanism in Python or @code{ccall} +in Julia).") + (license license:expat))) (define-public openmw-openscenegraph ;; OpenMW prefers its own fork of openscenegraph: