* [bug#51305] [PATCH 1/4] gnu: Add julia-gr-jll.
2021-10-20 12:48 [bug#51305] [PATCH 0/4] More julia packages Efraim Flashner
@ 2021-10-20 12:51 ` Efraim Flashner
2021-10-21 13:01 ` [bug#51305] [PATCH 0/4] More julia packages zimoun
2021-10-20 12:51 ` [bug#51305] [PATCH 2/4] gnu: Add julia-gr Efraim Flashner
` (3 subsequent siblings)
4 siblings, 1 reply; 10+ messages in thread
From: Efraim Flashner @ 2021-10-20 12:51 UTC (permalink / raw)
To: 51305; +Cc: Efraim Flashner
* gnu/packages/julia-jll.scm (julia-gr-jll): New variable.
---
gnu/packages/julia-jll.scm | 50 ++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm
index d3677d0a33..51643819ae 100644
--- a/gnu/packages/julia-jll.scm
+++ b/gnu/packages/julia-jll.scm
@@ -36,6 +36,7 @@ (define-module (gnu packages julia-jll)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages graphics)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
@@ -522,6 +523,55 @@ (define-public julia-glib-jll
(description "This package provides a wrapper for the glib library.")
(license license:expat)))
+(define-public julia-gr-jll
+ (package
+ (name "julia-gr-jll")
+ (version "0.58.1+0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaBinaryWrappers/GR_jll.jl")
+ (commit (string-append "GR-v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "16m22n0wh86v3lh0im2pc9bg381djbmqji5hjx42j6aaz634gqiq"))))
+ (build-system julia-build-system)
+ (arguments
+ '(#:tests? #f ; no runtests
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'override-binary-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (map
+ (lambda (wrapper)
+ (substitute* wrapper
+ (("generate_wrapper_header.*")
+ (string-append
+ "generate_wrapper_header(\"GR\", \""
+ (assoc-ref inputs "gr-framework") "\")\n"))))
+ ;; There's a Julia file for each platform, override them all
+ (find-files "src/wrappers/" "\\.jl$")))))))
+ (inputs
+ `(("gr-framework" ,gr-framework)))
+ (propagated-inputs
+ `(("julia-jllwrappers" ,julia-jllwrappers)
+ ("julia-bzip2-jll" ,julia-bzip2-jll)
+ ("julia-cairo-jll" ,julia-cairo-jll)
+ ("julia-ffmpeg-jll" ,julia-ffmpeg-jll)
+ ("julia-fontconfig-jll" ,julia-fontconfig-jll)
+ ("julia-glfw-jll" ,julia-glfw-jll)
+ ("julia-jpegturbo-jll" ,julia-jpegturbo-jll)
+ ("julia-libpng-jll" ,julia-libpng-jll)
+ ("julia-libtiff-jll" ,julia-libtiff-jll)
+ ("julia-pixman-jll" ,julia-pixman-jll)
+ ("julia-qt5base-jll" ,julia-qt5base-jll)
+ ("julia-zlib-jll" ,julia-zlib-jll)))
+ (home-page "https://github.com/JuliaBinaryWrappers/GR_jll.jl")
+ (synopsis "GR framework library wrappers")
+ (description "This package provides a wrapper for the GR framework.")
+ (license license:expat)))
+
(define-public julia-gumbo-jll
(package
(name "julia-gumbo-jll")
--
2.33.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#51305] [PATCH 0/4] More julia packages
2021-10-20 12:51 ` [bug#51305] [PATCH 1/4] gnu: Add julia-gr-jll Efraim Flashner
@ 2021-10-21 13:01 ` zimoun
2021-10-24 6:16 ` Efraim Flashner
0 siblings, 1 reply; 10+ messages in thread
From: zimoun @ 2021-10-21 13:01 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 51305
Hi,
On mer., 20 oct. 2021 at 15:51, Efraim Flashner <efraim@flashner.co.il> wrote:
> * gnu/packages/julia-jll.scm (julia-gr-jll): New variable.
> ---
> gnu/packages/julia-jll.scm | 50 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 50 insertions(+)
LGTM, except...
> + (inputs
> + `(("gr-framework" ,gr-framework)))
> + (propagated-inputs
> + `(("julia-jllwrappers" ,julia-jllwrappers)
> + ("julia-bzip2-jll" ,julia-bzip2-jll)
> + ("julia-cairo-jll" ,julia-cairo-jll)
> + ("julia-ffmpeg-jll" ,julia-ffmpeg-jll)
> + ("julia-fontconfig-jll" ,julia-fontconfig-jll)
> + ("julia-glfw-jll" ,julia-glfw-jll)
> + ("julia-jpegturbo-jll" ,julia-jpegturbo-jll)
> + ("julia-libpng-jll" ,julia-libpng-jll)
> + ("julia-libtiff-jll" ,julia-libtiff-jll)
> + ("julia-pixman-jll" ,julia-pixman-jll)
> + ("julia-qt5base-jll" ,julia-qt5base-jll)
> + ("julia-zlib-jll" ,julia-zlib-jll)))
...is it possible to alphabetically sort? I find easier for maintenance
later. WDYT?
Cheers,
simon
^ permalink raw reply [flat|nested] 10+ messages in thread
* [bug#51305] [PATCH 0/4] More julia packages
2021-10-21 13:01 ` [bug#51305] [PATCH 0/4] More julia packages zimoun
@ 2021-10-24 6:16 ` Efraim Flashner
2021-10-24 7:54 ` zimoun
0 siblings, 1 reply; 10+ messages in thread
From: Efraim Flashner @ 2021-10-24 6:16 UTC (permalink / raw)
To: zimoun; +Cc: 51305
[-- Attachment #1: Type: text/plain, Size: 1534 bytes --]
On Thu, Oct 21, 2021 at 03:01:55PM +0200, zimoun wrote:
> Hi,
>
> On mer., 20 oct. 2021 at 15:51, Efraim Flashner <efraim@flashner.co.il> wrote:
> > * gnu/packages/julia-jll.scm (julia-gr-jll): New variable.
> > ---
> > gnu/packages/julia-jll.scm | 50 ++++++++++++++++++++++++++++++++++++++
> > 1 file changed, 50 insertions(+)
>
> LGTM, except...
>
> > + (inputs
> > + `(("gr-framework" ,gr-framework)))
> > + (propagated-inputs
> > + `(("julia-jllwrappers" ,julia-jllwrappers)
> > + ("julia-bzip2-jll" ,julia-bzip2-jll)
> > + ("julia-cairo-jll" ,julia-cairo-jll)
> > + ("julia-ffmpeg-jll" ,julia-ffmpeg-jll)
> > + ("julia-fontconfig-jll" ,julia-fontconfig-jll)
> > + ("julia-glfw-jll" ,julia-glfw-jll)
> > + ("julia-jpegturbo-jll" ,julia-jpegturbo-jll)
> > + ("julia-libpng-jll" ,julia-libpng-jll)
> > + ("julia-libtiff-jll" ,julia-libtiff-jll)
> > + ("julia-pixman-jll" ,julia-pixman-jll)
> > + ("julia-qt5base-jll" ,julia-qt5base-jll)
> > + ("julia-zlib-jll" ,julia-zlib-jll)))
>
> ...is it possible to alphabetically sort? I find easier for maintenance
> later. WDYT?
the julia-jllwrappers are intentionally at the top of the list because
then all the package jll packages are grouped together.
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* [bug#51305] [PATCH 0/4] More julia packages
2021-10-24 6:16 ` Efraim Flashner
@ 2021-10-24 7:54 ` zimoun
2021-10-24 8:42 ` bug#51305: " Efraim Flashner
0 siblings, 1 reply; 10+ messages in thread
From: zimoun @ 2021-10-24 7:54 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 51305
Hi Efraim,
On Sun, 24 Oct 2021 at 09:16, Efraim Flashner <efraim@flashner.co.il> wrote:
> the julia-jllwrappers are intentionally at the top of the list because
> then all the package jll packages are grouped together.
It makes sense. :-)
Thanks,
simon
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#51305: [PATCH 0/4] More julia packages
2021-10-24 7:54 ` zimoun
@ 2021-10-24 8:42 ` Efraim Flashner
0 siblings, 0 replies; 10+ messages in thread
From: Efraim Flashner @ 2021-10-24 8:42 UTC (permalink / raw)
To: zimoun; +Cc: 51305-done
[-- Attachment #1: Type: text/plain, Size: 603 bytes --]
On Sun, Oct 24, 2021 at 09:54:22AM +0200, zimoun wrote:
> Hi Efraim,
>
> On Sun, 24 Oct 2021 at 09:16, Efraim Flashner <efraim@flashner.co.il> wrote:
>
> > the julia-jllwrappers are intentionally at the top of the list because
> > then all the package jll packages are grouped together.
>
> It makes sense. :-)
>
> Thanks,
> simon
Thanks for the reviews! Patches pushed.
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* [bug#51305] [PATCH 2/4] gnu: Add julia-gr.
2021-10-20 12:48 [bug#51305] [PATCH 0/4] More julia packages Efraim Flashner
2021-10-20 12:51 ` [bug#51305] [PATCH 1/4] gnu: Add julia-gr-jll Efraim Flashner
@ 2021-10-20 12:51 ` Efraim Flashner
2021-10-20 12:51 ` [bug#51305] [PATCH 3/4] gnu: Add julia-geometrybasics Efraim Flashner
` (2 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: Efraim Flashner @ 2021-10-20 12:51 UTC (permalink / raw)
To: 51305; +Cc: Efraim Flashner
* gnu/packages/julia-xyz.scm (julia-gr): New variable.
---
gnu/packages/julia-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 58f58f36ec..1db5a1bc58 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1895,6 +1895,28 @@ (define-public julia-genericschur
matrices the Schur form is often more useful.")
(license license:expat)))
+(define-public julia-gr
+ (package
+ (name "julia-gr")
+ (version "0.58.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jheinen/GR.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18zxa1w2wmrf44c5l10qbh99zjdp7h94gxlymh47cf5kj5fc4xmx"))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ `(("julia-gr-jll" ,julia-gr-jll)))
+ (home-page "https://github.com/jheinen/GR.jl")
+ (synopsis "Plotting for Julia based on GR")
+ (description "This module provides a Julia interface to GR, a framework for
+visualisation applications.")
+ (license license:expat)))
+
(define-public julia-graphics
(package
(name "julia-graphics")
--
2.33.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#51305] [PATCH 3/4] gnu: Add julia-geometrybasics.
2021-10-20 12:48 [bug#51305] [PATCH 0/4] More julia packages Efraim Flashner
2021-10-20 12:51 ` [bug#51305] [PATCH 1/4] gnu: Add julia-gr-jll Efraim Flashner
2021-10-20 12:51 ` [bug#51305] [PATCH 2/4] gnu: Add julia-gr Efraim Flashner
@ 2021-10-20 12:51 ` Efraim Flashner
2021-10-20 12:51 ` [bug#51305] [PATCH 4/4] gnu: Add julia-infinity Efraim Flashner
2021-10-21 13:12 ` [bug#51305] [PATCH 0/4] More julia packages zimoun
4 siblings, 0 replies; 10+ messages in thread
From: Efraim Flashner @ 2021-10-20 12:51 UTC (permalink / raw)
To: 51305; +Cc: Efraim Flashner
* gnu/packages/julia-xyz.scm (julia-geometrybasics): New variable.
---
gnu/packages/julia-xyz.scm | 45 ++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 1db5a1bc58..74bec305f0 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1895,6 +1895,51 @@ (define-public julia-genericschur
matrices the Schur form is often more useful.")
(license license:expat)))
+(define-public julia-geometrybasics
+ (package
+ (name "julia-geometrybasics")
+ (version "0.4.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaGeometry/GeometryBasics.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "057j3hjpli3q5b98cqkpi4p10x2k9pyksrz62hjmv1kb5qzdvhsj"))))
+ (build-system julia-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-earcut
+ (lambda _
+ (substitute* '("Project.toml"
+ "src/GeometryBasics.jl")
+ ((".*EarCut.*") ""))
+ #t))
+ (add-after 'unpack 'skip-incompatible-test
+ (lambda _
+ (substitute* "test/runtests.jl"
+ (("@testset.*MetaT and heterogeneous data.*" all)
+ (string-append all "return\n")))
+ #t)))))
+ (propagated-inputs
+ `(("julia-itertools" ,julia-itertools)
+ ("julia-staticarrays" ,julia-staticarrays)
+ ("julia-structarrays" ,julia-structarrays)
+ ("julia-tables" ,julia-tables)))
+ (native-inputs
+ `(("julia-offsetarrays" ,julia-offsetarrays)))
+ (home-page "https://github.com/JuliaGeometry/GeometryBasics.jl")
+ (synopsis "Basic Geometry Types")
+ (description "This package aims to offer a standard set of Geometry types,
+which easily work with metadata, query frameworks on geometries and different
+memory layouts. The aim is to create a solid basis for Graphics/Plotting,
+finite elements analysis, Geo applications, and general geometry manipulations
+- while offering a Julian API, that still allows performant C-interop.")
+ (license license:expat)))
+
(define-public julia-gr
(package
(name "julia-gr")
--
2.33.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#51305] [PATCH 4/4] gnu: Add julia-infinity.
2021-10-20 12:48 [bug#51305] [PATCH 0/4] More julia packages Efraim Flashner
` (2 preceding siblings ...)
2021-10-20 12:51 ` [bug#51305] [PATCH 3/4] gnu: Add julia-geometrybasics Efraim Flashner
@ 2021-10-20 12:51 ` Efraim Flashner
2021-10-21 13:12 ` [bug#51305] [PATCH 0/4] More julia packages zimoun
4 siblings, 0 replies; 10+ messages in thread
From: Efraim Flashner @ 2021-10-20 12:51 UTC (permalink / raw)
To: 51305; +Cc: Efraim Flashner
* gnu/packages/julia-xyz.scm (julia-infinity): New variable.
---
gnu/packages/julia-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 74bec305f0..93fadf318c 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -2448,6 +2448,39 @@ (define-public julia-indirectarrays
indexed images, sometimes called \"colormap images\" or \"paletted images.\"")
(license license:expat)))
+(define-public julia-infinity
+ (package
+ (name "julia-infinity")
+ (version "0.2.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cjdoris/Infinity.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1941lwvrdjnrynigzixxin3chpg1ba6xplvcwc89x0f6z658hwmm"))))
+ (build-system julia-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-timezones.jl
+ (lambda _
+ (substitute* "test/runtests.jl"
+ (("using TimeZones.*") "")
+ ((".*infextendedtime.*") ""))
+ #t)))))
+ (propagated-inputs
+ `(("julia-requires" ,julia-requires)))
+ (native-inputs
+ `(("julia-compat" ,julia-compat)))
+ (home-page "https://docs.juliahub.com/Infinity/")
+ (synopsis "Representation of infinity in Julia")
+ (description "This package provides representations for infinity and
+negative infinity in Julia.")
+ (license license:expat)))
+
(define-public julia-inifile
(package
(name "julia-inifile")
--
2.33.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#51305] [PATCH 0/4] More julia packages
2021-10-20 12:48 [bug#51305] [PATCH 0/4] More julia packages Efraim Flashner
` (3 preceding siblings ...)
2021-10-20 12:51 ` [bug#51305] [PATCH 4/4] gnu: Add julia-infinity Efraim Flashner
@ 2021-10-21 13:12 ` zimoun
4 siblings, 0 replies; 10+ messages in thread
From: zimoun @ 2021-10-21 13:12 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 51305
Hi Efraim,
On mer., 20 oct. 2021 at 15:48, Efraim Flashner <efraim@flashner.co.il> wrote:
> Efraim Flashner (4):
> gnu: Add julia-gr-jll.
> gnu: Add julia-gr.
> gnu: Add julia-geometrybasics.
> gnu: Add julia-infinity.
LGTM. Except minor comment about julia-gr-jll.
Thanks,
simon
^ permalink raw reply [flat|nested] 10+ messages in thread