all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#57416] [PATCH] gnu: Add gnudatalanguage.
@ 2022-08-25 19:38 Antero Mejr via Guix-patches via
  2022-08-25 19:48 ` [bug#57416] [PATCH] gnu: Add plplot Antero Mejr via Guix-patches via
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Antero Mejr via Guix-patches via @ 2022-08-25 19:38 UTC (permalink / raw)
  To: 57416; +Cc: Antero Mejr

* gnu/packages/maths.scm (gnudatalanguage): New variable.
---
Depends on eccodes, patch #57410
https://issues.guix.gnu.org/57410

 gnu/packages/maths.scm | 51 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 72d5e9a83a..f276b72697 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -98,6 +98,7 @@ (define-module (gnu packages maths)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages boost)
+  #:use-module (gnu packages c)
   #:use-module (gnu packages check)
   #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
@@ -116,8 +117,10 @@ (define-module (gnu packages maths)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages gd)
+  #:use-module (gnu packages geo)
   #:use-module (gnu packages ghostscript)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages graph)
   #:use-module (gnu packages graphviz)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages icu4c)
@@ -7823,3 +7826,51 @@ (define-public optizelle
 provided for applications written in C++ and Python.  Parallel
 computation is supported via MPI.")
     (license license:bsd-2))))
+
+(define-public gnudatalanguage
+  (package
+    (name "gnudatalanguage")
+    (version "1.0.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/gnudatalanguage/gdl")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1bb3nin3qrzx2dwdk08vffp4bblrcpv6vv1ybaj499qhqcpqpc12"))))
+    (build-system cmake-build-system)
+    (native-inputs (list python python-numpy))
+    (inputs (list eccodes
+                  eigen
+                  expat
+                  fftw
+                  fftwf
+                  glpk
+                  graphicsmagick
+                  gsl
+                  hdf4-alt
+                  hdf5
+                  libgeotiff
+                  libjpeg-turbo
+                  libpng
+                  libtiff
+                  libtirpc
+                  ncurses
+                  netcdf
+                  plplot
+                  proj
+                  readline
+                  shapelib
+                  udunits
+                  wxwidgets
+                  zlib))
+    (home-page "https://gnudatalanguage.github.io/")
+    (synopsis "Compiler for GDL, an IDL-compatible programming language")
+    (description "GDL (GNU Data Language) is an incremental compiler compatible
+with IDL (Interactive Data Language) and to some extent with PV-WAVE.  Together
+with its library routines it serves as a tool for data analysis and
+visualization in such disciplines as astronomy, geosciences and medical
+imaging.")
+    (license license:gpl2)))
-- 
2.37.2





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

* [bug#57416] [PATCH] gnu: Add plplot.
  2022-08-25 19:38 [bug#57416] [PATCH] gnu: Add gnudatalanguage Antero Mejr via Guix-patches via
@ 2022-08-25 19:48 ` Antero Mejr via Guix-patches via
  2022-12-13 10:56 ` [bug#57416] Sharlatan Hellseher
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Antero Mejr via Guix-patches via @ 2022-08-25 19:48 UTC (permalink / raw)
  To: 57416; +Cc: Antero Mejr

* gnu/packages/graph.scm (plplot): New variable.
---
 gnu/packages/graph.scm | 46 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index 109ba68675..4560fa1023 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -62,6 +62,7 @@ (define-module (gnu packages graph)
   #:use-module (gnu packages statistics)
   #:use-module (gnu packages swig)
   #:use-module (gnu packages time)
+  #:use-module (gnu packages wxwidgets)
   #:use-module (gnu packages xml))
 
 (define-public plfit
@@ -659,3 +660,48 @@ (define-public python-graph-tool
 time) to that of a pure C/C++ library.")
     (home-page "https://graph-tool.skewed.de/")
     (license license:lgpl3+)))
+
+(define-public plplot
+  (package
+    (name "plplot")
+    (version "5.15.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/plplot/plplot/"
+                                  version "%20Source/plplot-" version
+                                  ".tar.gz"))
+              (sha256
+               (base32
+                "0ywccb6bs1389zjfmc9zwdvdsvlpm7vg957whh6b5a96yvcf8bdr"))
+              (modules '((guix build utils)))
+              (snippet #~(begin (delete-file-recursively "www")
+                                (substitute* "CMakeLists.txt"
+                                  (("add_subdirectory\\(www\\)") ""))))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:configure-flags #~(list (string-append "-DLIB_DIR=" #$output "/lib")
+                                     "-DBUILD_TEST=TRUE"
+                                     "-DENABLE_wxwidgets=TRUE")))
+    (native-inputs (list pkg-config))
+    (inputs (list wxwidgets))
+    (home-page "http://plplot.org/") ;no HTTPS
+    (synopsis "Scientific plotting library with Unicode support")
+    (description "PLplot is a software package for creating scientific plots.
+The PLplot core library can be used to create:
+
+@itemize
+@item standard x-y plots
+@item semi-log plots
+@item log-log plots
+@item contour plots
+@item 3D surface plots
+@item mesh plots
+@item bar charts
+@item pie charts
+@end itemize")
+    (license (list license:lgpl2.0
+                   license:gpl2+ ;octave bindings
+                   license:bsd-2 ;docbook docs
+                   license:ogl-psi1.0 ;files in data/ss
+                   license:cc-by-sa3.0 ;examples/Chloe.pgm
+                   license:expat)))) ;Cmake files
-- 
2.37.2





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

* [bug#57416]
  2022-08-25 19:38 [bug#57416] [PATCH] gnu: Add gnudatalanguage Antero Mejr via Guix-patches via
  2022-08-25 19:48 ` [bug#57416] [PATCH] gnu: Add plplot Antero Mejr via Guix-patches via
@ 2022-12-13 10:56 ` Sharlatan Hellseher
  2023-02-02 23:58 ` [bug#57416] Sharlatan Hellseher
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Sharlatan Hellseher @ 2022-12-13 10:56 UTC (permalink / raw)
  To: 57416

Hi,

GDL is very nice project to have in Guix Asto belt, there is a large chain
which depends on IDL (commercial version) but could be compiled with GDL.

PLPlot was in a queue to review for a long time as it needs more love for
packaging all components and adjust configure to detect all of the inputs.
https://issues.guix.gnu.org/46160

I've got some progress on it but it still not picking up most of the inputs.
https://git.sr.ht/~hellseher/ffab/tree/wip-maths/item/ffab/packages/maths.scm#L56

Regards,
Oleg

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

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

* [bug#57416]
  2022-08-25 19:38 [bug#57416] [PATCH] gnu: Add gnudatalanguage Antero Mejr via Guix-patches via
  2022-08-25 19:48 ` [bug#57416] [PATCH] gnu: Add plplot Antero Mejr via Guix-patches via
  2022-12-13 10:56 ` [bug#57416] Sharlatan Hellseher
@ 2023-02-02 23:58 ` Sharlatan Hellseher
  2023-02-17 17:14 ` [bug#57416] [PATCH] gnu: Add gnudatalanguage Simon Tournier
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Sharlatan Hellseher @ 2023-02-02 23:58 UTC (permalink / raw)
  To: 57416; +Cc: Ludovic Courtès, zimoun

Hi Guix team,

Upping this issue as GDL is a nice tool (widely used in astronomy) and
Libre replacement of commercial IDL

Related paaper:
https://joss.theoj.org/papers/10.21105/joss.04633

Regards,
Oleg


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

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

* [bug#57416] [PATCH] gnu: Add gnudatalanguage.
  2022-08-25 19:38 [bug#57416] [PATCH] gnu: Add gnudatalanguage Antero Mejr via Guix-patches via
                   ` (2 preceding siblings ...)
  2023-02-02 23:58 ` [bug#57416] Sharlatan Hellseher
@ 2023-02-17 17:14 ` Simon Tournier
  2023-02-18 10:01   ` Andreas Enge
  2023-10-12 23:48 ` [bug#57416] Sharlatan Hellseher
  2024-04-13 22:16 ` bug#57416: [PATCH] gnu: Add gnudatalanguage Sharlatan Hellseher
  5 siblings, 1 reply; 9+ messages in thread
From: Simon Tournier @ 2023-02-17 17:14 UTC (permalink / raw)
  To: 57416
  Cc: Andreas Enge, Antero Mejr, Sharlatan Hellseher, Efraim Flashner,
	Eric Bavier

Hi,

CC: team science

Thanks for this patch.

On jeu., 25 août 2022 at 15:38, Antero Mejr via Guix-patches via <guix-patches@gnu.org> wrote:

> +    (license license:gpl2)))

Since GDL is a piece of software, maybe the license of GDL is not only
GPL version 2.  For instance, according to Debian, it reads:

https://metadata.ftp-master.debian.org/changelogs//main/g/gnudatalanguage/gnudatalanguage_0.9.9-13_copyright

Well, WDYT?


Cheers,
simon




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

* [bug#57416] [PATCH] gnu: Add gnudatalanguage.
  2023-02-17 17:14 ` [bug#57416] [PATCH] gnu: Add gnudatalanguage Simon Tournier
@ 2023-02-18 10:01   ` Andreas Enge
  0 siblings, 0 replies; 9+ messages in thread
From: Andreas Enge @ 2023-02-18 10:01 UTC (permalink / raw)
  To: Simon Tournier
  Cc: Antero Mejr, Sharlatan Hellseher, Efraim Flashner, 57416,
	Eric Bavier

Hello,

Am Fri, Feb 17, 2023 at 06:14:24PM +0100 schrieb Simon Tournier:
> Since GDL is a piece of software, maybe the license of GDL is not only
> GPL version 2.  For instance, according to Debian, it reads:
> https://metadata.ftp-master.debian.org/changelogs//main/g/gnudatalanguage/gnudatalanguage_0.9.9-13_copyright

looking at this page, the combined licenses combine to gpl2+.
I do not think it is necessary to be as detailed as Debian in our
poor little license field, so would add the "+" to the patch.

Andreas





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

* [bug#57416]
  2022-08-25 19:38 [bug#57416] [PATCH] gnu: Add gnudatalanguage Antero Mejr via Guix-patches via
                   ` (3 preceding siblings ...)
  2023-02-17 17:14 ` [bug#57416] [PATCH] gnu: Add gnudatalanguage Simon Tournier
@ 2023-10-12 23:48 ` Sharlatan Hellseher
  2023-12-22 16:17   ` [bug#57416] Ludovic Courtès
  2024-04-13 22:16 ` bug#57416: [PATCH] gnu: Add gnudatalanguage Sharlatan Hellseher
  5 siblings, 1 reply; 9+ messages in thread
From: Sharlatan Hellseher @ 2023-10-12 23:48 UTC (permalink / raw)
  To: 57416

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

Hi,

I can help with adjusting this patch set if it would help.

Regards,
Oleg

[-- Attachment #2: Type: text/html, Size: 214 bytes --]

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

* [bug#57416]
  2023-10-12 23:48 ` [bug#57416] Sharlatan Hellseher
@ 2023-12-22 16:17   ` Ludovic Courtès
  0 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2023-12-22 16:17 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 57416

Hello,

Sharlatan Hellseher <sharlatanus@gmail.com> skribis:

> I can help with adjusting this patch set if it would help.

Yes, please!  Looks almost ready.

Thanks,
Ludo’.




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

* bug#57416: [PATCH] gnu: Add gnudatalanguage.
  2022-08-25 19:38 [bug#57416] [PATCH] gnu: Add gnudatalanguage Antero Mejr via Guix-patches via
                   ` (4 preceding siblings ...)
  2023-10-12 23:48 ` [bug#57416] Sharlatan Hellseher
@ 2024-04-13 22:16 ` Sharlatan Hellseher
  5 siblings, 0 replies; 9+ messages in thread
From: Sharlatan Hellseher @ 2024-04-13 22:16 UTC (permalink / raw)
  To: 57416-done

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


Hi,

I've applied license modification raised by Andreas. A new module is
added - data-language.scm as the project contains IDE and future
expansion. The main reasoning - it's a new language compiler which would
not fit math.scm module.

Pushed as 2006874c2b..56549cad7c to master.
--
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

end of thread, other threads:[~2024-04-13 22:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-25 19:38 [bug#57416] [PATCH] gnu: Add gnudatalanguage Antero Mejr via Guix-patches via
2022-08-25 19:48 ` [bug#57416] [PATCH] gnu: Add plplot Antero Mejr via Guix-patches via
2022-12-13 10:56 ` [bug#57416] Sharlatan Hellseher
2023-02-02 23:58 ` [bug#57416] Sharlatan Hellseher
2023-02-17 17:14 ` [bug#57416] [PATCH] gnu: Add gnudatalanguage Simon Tournier
2023-02-18 10:01   ` Andreas Enge
2023-10-12 23:48 ` [bug#57416] Sharlatan Hellseher
2023-12-22 16:17   ` [bug#57416] Ludovic Courtès
2024-04-13 22:16 ` bug#57416: [PATCH] gnu: Add gnudatalanguage Sharlatan Hellseher

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.