[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/14: gnu: coin3D: Use a specific changeset.
From: |
guix-commits |
Subject: |
10/14: gnu: coin3D: Use a specific changeset. |
Date: |
Mon, 7 Oct 2019 23:30:25 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 24268ec4184860192d2ec9043501ab6dc8aee99e
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Mon Oct 7 23:13:51 2019 +0200
gnu: coin3D: Use a specific changeset.
* gnu/packages/graphics.scm (coin3D)[source]: Use HG-FETCH and…
GIT-FILE-NAME.
---
gnu/packages/graphics.scm | 86 +++++++++++++++++++++++++----------------------
1 file changed, 46 insertions(+), 40 deletions(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 88bb500..caaf6c6 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -7,7 +7,7 @@
;;; Copyright © 2016 Andreas Enge <address@hidden>
;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <address@hidden>
;;; Copyright © 2017, 2018 Ben Woodcroft <address@hidden>
-;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright © 2018 Mathieu Othacehe <address@hidden>
;;; Copyright © 2018 Alex Kost <address@hidden>
;;; Copyright © 2018 Kei Kebreau <address@hidden>
@@ -79,6 +79,7 @@
#:use-module (guix build-system python)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix hg-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils))
@@ -1106,47 +1107,52 @@ or by subtracting one shape from the other.")
(license license:gpl2))))
(define-public coin3D
- (package
- (name "coin3D")
- (version "4.0.0")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://bitbucket.org/Coin3D/coin/downloads/coin-"
- version "-src.zip"))
- (sha256
- (base32
- "1mqwlqzvc9ydfxi0bfskwlil16mbnkphfz36p0zl2mvw6h05aqh0"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (for-each delete-file
- '("cfg/csubst.exe"
- "cfg/wrapmsvc.exe"))
- #t))))
- (build-system cmake-build-system)
- (native-inputs
- `(("doxygen" ,doxygen)
- ("graphviz" ,graphviz)))
- (inputs
- `(("boost" ,boost)
- ("freeglut" ,freeglut)
- ("glew" ,glew)))
- (arguments
- `(#:configure-flags
- (list
- "-DCOIN_BUILD_DOCUMENTATION_MAN=ON"
- (string-append "-DBOOST_ROOT="
- (assoc-ref %build-inputs "boost")))))
- (home-page "https://bitbucket.org/Coin3D/coin/wiki/Home")
- (synopsis
- "High-level 3D visualization library with Open Inventor 2.1 API")
- (description
- "Coin is a 3D graphics library with an Application Programming Interface
+ ;; The ‘4.0.0’ zip archive isn't stable, nor in fact a release. See:
+ ;;
https://bitbucket.org/Coin3D/coin/issues/179/coin-400-srczip-has-been-modified
+ (let ((revision 1)
+ (changeset "ab8d0e47a4de3230a8137feb39c142d6ba45f97d"))
+ (package
+ (name "coin3D")
+ (version
+ (simple-format #f "3.1.3-~A-~A" revision (string-take changeset 7)))
+ (source
+ (origin
+ (method hg-fetch)
+ (uri (hg-reference
+ (url "https://bitbucket.org/Coin3D/coin")
+ (changeset changeset)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ff44jz6lg4rylljvy69n1hcjh9y6achbv9jpn1cv2sf8cxn3r2j"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (for-each delete-file
+ '("cfg/csubst.exe"
+ "cfg/wrapmsvc.exe"))
+ #t))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("doxygen" ,doxygen)
+ ("graphviz" ,graphviz)))
+ (inputs
+ `(("boost" ,boost)
+ ("freeglut" ,freeglut)
+ ("glew" ,glew)))
+ (arguments
+ `(#:configure-flags
+ (list
+ "-DCOIN_BUILD_DOCUMENTATION_MAN=ON"
+ (string-append "-DBOOST_ROOT="
+ (assoc-ref %build-inputs "boost")))))
+ (home-page "https://bitbucket.org/Coin3D/coin/wiki/Home")
+ (synopsis
+ "High-level 3D visualization library with Open Inventor 2.1 API")
+ (description
+ "Coin is a 3D graphics library with an Application Programming Interface
based on the Open Inventor 2.1 API. For those who are not familiar with
Open Inventor, it is a scene-graph based retain-mode rendering and model
interaction library, written in C++, which has become the de facto
standard graphics library for 3D visualization and visual simulation
software in the scientific and engineering community.")
- (license license:bsd-3)))
+ (license license:bsd-3))))
- branch master updated (edaa616 -> d7a6a3f), guix-commits, 2019/10/07
- 03/14: gnu: maxflow: Correct version to 3.0.5., guix-commits, 2019/10/07
- 12/14: gnu: linux-libre@4.19: Update to 4.19.77., guix-commits, 2019/10/07
- 11/14: gnu: linux-libre@5.2: Update to 5.2.19., guix-commits, 2019/10/07
- 10/14: gnu: coin3D: Use a specific changeset.,
guix-commits <=
- 14/14: gnu: linux-libre@4.14: Update to 4.14.147., guix-commits, 2019/10/07
- 06/14: gnu: licensecheck: Update to 3.0.37., guix-commits, 2019/10/07
- 01/14: gnu: lynis: Update to 2.7.5., guix-commits, 2019/10/07
- 02/14: gnu: maxflow: Use GIT-FILE-NAME., guix-commits, 2019/10/07
- 13/14: gnu: linux-libre@4.9: Update to 4.9.195., guix-commits, 2019/10/07
- 09/14: gnu: me-cleaner: Update to 1.2., guix-commits, 2019/10/07
- 04/14: gnu: qucs-s: Update to 0.0.21., guix-commits, 2019/10/07
- 07/14: gnu: maxflow: Use HTTPS home page., guix-commits, 2019/10/07
- 08/14: gnu: perl-async-interrupt: Update to 1.25., guix-commits, 2019/10/07
- 05/14: gnu: perl-regexp-pattern-license: Update to 3.1.94., guix-commits, 2019/10/07