all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Trying to package GNU Gama...
@ 2015-07-25 20:58 Mathieu Lirzin
  2015-08-18 14:19 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Lirzin @ 2015-07-25 20:58 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 249 bytes --]

Hello Guix,

I'm trying to package GNU Gama, but I'm blocking on 2 tests failing due
to file IO problems.  Maybe can someone with more experience find how to
fix that? If not I will send un updated patch with the tests disabled.

--
Mathieu Lirzin


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-gama.patch --]
[-- Type: text/x-diff, Size: 1901 bytes --]

From 05770a3ff9dc8f763b1e75528e506ace7b0b271c Mon Sep 17 00:00:00 2001
From: Mathieu Lirzin <mthl@openmailbox.org>
Date: Sat, 25 Jul 2015 22:47:59 +0200
Subject: [PATCH] gnu: Add gama.

* gnu/packages/maths.scm (gama): New variable.
---
 gnu/packages/maths.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 2fc3ce1..6915782 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -42,6 +42,7 @@
   #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages curl)
+  #:use-module (gnu packages databases)
   #:use-module (gnu packages elf)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages fltk)
@@ -146,6 +147,29 @@ semiconductors.")
     (license license:gpl3+)
     (home-page "http://www.gnu.org/software/dionysus/")))
 
+(define-public gama
+  (package
+    (name "gama")
+    (version "1.16")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnu/gama/gama-" version ".tar.gz"))
+              (sha256
+               (base32
+                "17pfiz0lj1r4z6nwy6aq333vq5336raf9wwssccawawg5c3kyrqf"))))
+    (build-system gnu-build-system)
+    (inputs `(("expat"  ,expat)
+              ("sqlite" ,sqlite)))
+    (native-inputs `(("xmllint" ,libxml2)))
+    (synopsis "Adjustment of geodetic networks")
+    (description "GNU Gama is a program for the adjustment of geodetic
+networks.  It is useful in measurements where Global Positioning System (GPS)
+is not available, such as underground.  It features the ability to adjust in
+local Cartesian coordinates as well as partial support for adjustments in
+global coordinate systems.")
+    (home-page "http://www.gnu.org/software/gama/")
+    (license license:gpl3+)))
+
 (define-public gsl
   (package
     (name "gsl")
-- 
2.4.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Trying to package GNU Gama...
  2015-07-25 20:58 Trying to package GNU Gama Mathieu Lirzin
@ 2015-08-18 14:19 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-08-18 14:19 UTC (permalink / raw)
  To: Mathieu Lirzin; +Cc: guix-devel

Mathieu Lirzin <mthl@openmailbox.org> skribis:

> I'm trying to package GNU Gama, but I'm blocking on 2 tests failing due
> to file IO problems.  Maybe can someone with more experience find how to
> fix that? If not I will send un updated patch with the tests disabled.

What’s the error message for those file I/O issues?  Perhaps bug-gama
could provide hints?  Otherwise you could always strace things...

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-18 14:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-25 20:58 Trying to package GNU Gama Mathieu Lirzin
2015-08-18 14:19 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.