GNU bug report logs -
#51305
[PATCH 0/4] More julia packages
Previous Next
Reported by: Efraim Flashner <efraim <at> flashner.co.il>
Date: Wed, 20 Oct 2021 12:50:02 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51305 in the body.
You can then email your comments to 51305 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#51305
; Package
guix-patches
.
(Wed, 20 Oct 2021 12:50:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 20 Oct 2021 12:50:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I figured out where earcut is from finally and I'm skipping it for now.
The package providing libearcut.so is from Julia's Yggdrasil itself so
I'm not sure about it. TimeZones.jl is rough, I need to figure out how
to generate portions of it from our tzdata package.
Efraim Flashner (4):
gnu: Add julia-gr-jll.
gnu: Add julia-gr.
gnu: Add julia-geometrybasics.
gnu: Add julia-infinity.
gnu/packages/julia-jll.scm | 50 +++++++++++++++++++
gnu/packages/julia-xyz.scm | 100 +++++++++++++++++++++++++++++++++++++
2 files changed, 150 insertions(+)
base-commit: 19d3cfec72720a4a1339be3d14f4d88ae5bd59f4
--
2.33.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#51305
; Package
guix-patches
.
(Wed, 20 Oct 2021 12:52:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 51305 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#51305
; Package
guix-patches
.
(Wed, 20 Oct 2021 12:53:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 51305 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#51305
; Package
guix-patches
.
(Wed, 20 Oct 2021 12:54:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 51305 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#51305
; Package
guix-patches
.
(Wed, 20 Oct 2021 12:54:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 51305 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#51305
; Package
guix-patches
.
(Thu, 21 Oct 2021 13:13:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 51305 <at> debbugs.gnu.org (full text, mbox):
Hi,
On mer., 20 oct. 2021 at 15:51, Efraim Flashner <efraim <at> 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#51305
; Package
guix-patches
.
(Thu, 21 Oct 2021 13:13:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 51305 <at> debbugs.gnu.org (full text, mbox):
Hi Efraim,
On mer., 20 oct. 2021 at 15:48, Efraim Flashner <efraim <at> 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#51305
; Package
guix-patches
.
(Sun, 24 Oct 2021 06:20:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 51305 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Thu, Oct 21, 2021 at 03:01:55PM +0200, zimoun wrote:
> Hi,
>
> On mer., 20 oct. 2021 at 15:51, Efraim Flashner <efraim <at> 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 <at> 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
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#51305
; Package
guix-patches
.
(Sun, 24 Oct 2021 08:00:01 GMT)
Full text and
rfc822 format available.
Message #29 received at 51305 <at> debbugs.gnu.org (full text, mbox):
Hi Efraim,
On Sun, 24 Oct 2021 at 09:16, Efraim Flashner <efraim <at> 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
Reply sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
You have taken responsibility.
(Sun, 24 Oct 2021 08:46:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
bug acknowledged by developer.
(Sun, 24 Oct 2021 08:46:02 GMT)
Full text and
rfc822 format available.
Message #34 received at 51305-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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 <at> 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 <at> 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
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 21 Nov 2021 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 156 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.