unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#56242] [PATCH 1/1]: gnu: Add giza
@ 2022-06-26 21:30 Sharlatan Hellseher
  2022-07-04 10:25 ` bug#56242: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Sharlatan Hellseher @ 2022-06-26 21:30 UTC (permalink / raw)
  To: 56242

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

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0001-gnu-Add-giza.patch --]
[-- Type: text/x-patch, Size: 1904 bytes --]

From bd63d185da1aaaa8d084956bbc91da1a77fd7290 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Sun, 26 Jun 2022 22:28:33 +0100
Subject: [PATCH] gnu: Add giza

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

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 5e8fd7ae2d..65f07d3ac1 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -50,6 +50,7 @@
 ;;; Copyright © 2021 Jean-Baptiste Volatier <jbv@pm.me>
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
 ;;; Copyright © 2021 Pierre-Antoine Bouttier <pierre-antoine.bouttier@univ-grenoble-alpes.fr>
+;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1091,6 +1092,31 @@ (define-public feedgnuplot
 in the terminal or with an external viewer.")
     (license license:gpl1+))) ;any version
 
+(define-public giza
+  (package
+    (name "giza")
+    (version "1.3.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/danieljprice/giza")
+             (commit (string-append "v" version))))
+       (sha256
+        (base32 "1clklh3nzgwrwg80h3k5x65gdymbvcc84c44nql7m4bv9b8rqfsq"))
+       (file-name (git-file-name name version))))
+    (build-system gnu-build-system)
+    (native-inputs
+     (list perl pkg-config))
+    (inputs
+     (list cairo freetype gfortran))
+    (home-page "https://danieljprice.github.io/giza/")
+    (synopsis "Scientific plotting library for C/Fortran")
+    (description
+     "Giza is a lightweight scientific plotting library built on top of
+@code{cairo} that provides uniform output to multiple devices.")
+    (license license:lgpl2.0)))
+
 (define-public gnuplot
   (package
     (name "gnuplot")
-- 
2.36.0


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

* bug#56242: [PATCH 1/1]: gnu: Add giza
  2022-06-26 21:30 [bug#56242] [PATCH 1/1]: gnu: Add giza Sharlatan Hellseher
@ 2022-07-04 10:25 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-07-04 10:25 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 56242-done

Hi,

Sharlatan Hellseher <sharlatanus@gmail.com> skribis:

> From bd63d185da1aaaa8d084956bbc91da1a77fd7290 Mon Sep 17 00:00:00 2001
> From: Sharlatan Hellseher <sharlatanus@gmail.com>
> Date: Sun, 26 Jun 2022 22:28:33 +0100
> Subject: [PATCH] gnu: Add giza
>
> * gnu/packages/maths.scm (giza): New variable.

[...]

> +    (home-page "https://danieljprice.github.io/giza/")
> +    (synopsis "Scientific plotting library for C/Fortran")
> +    (description
> +     "Giza is a lightweight scientific plotting library built on top of
> +@code{cairo} that provides uniform output to multiple devices.")
> +    (license license:lgpl2.0)))

Changed the license to ‘gpl2+’ because that’s what the source file
headers say (rather, they do not restrict to any particular version).

Applied, thanks!

Ludo’.




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

end of thread, other threads:[~2022-07-04 10:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-26 21:30 [bug#56242] [PATCH 1/1]: gnu: Add giza Sharlatan Hellseher
2022-07-04 10:25 ` bug#56242: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).