summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-01-19 21:37:30 +0100
committerLudovic Courtès <ludo@gnu.org>2015-01-19 23:30:11 +0100
commit00ebe4740adf1156772471397222046bd5cb3f40 (patch)
tree65ae1ba867a30270b569f130aa22514a0a06d57d /gnu
parent109da1c08233b59563ab093aae84fceef2555ea5 (diff)
gnu: Move guile-charting to (gnu packages plotutils).
This removes the dependency from (gnu packages guile) to (gnu packages gtk), which potentially reduces the memory/IO/CPU footprint given that 'guile' is used during bootstrap. * gnu/packages/guile.scm (guile-charting): Move to... * gnu/packages/plotutils.scm (guile-charting): ... here.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/guile.scm32
-rw-r--r--gnu/packages/plotutils.scm32
2 files changed, 33 insertions, 31 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index c0c5ced0f3a..f71201b553d 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -1,5 +1,5 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
3;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org> 3;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
4;;; 4;;;
5;;; This file is part of GNU Guix. 5;;; This file is part of GNU Guix.
@@ -34,7 +34,6 @@
34 #:use-module (gnu packages ncurses) 34 #:use-module (gnu packages ncurses)
35 #:use-module (gnu packages ed) 35 #:use-module (gnu packages ed)
36 #:use-module (gnu packages which) 36 #:use-module (gnu packages which)
37 #:use-module (gnu packages gtk)
38 #:use-module (guix packages) 37 #:use-module (guix packages)
39 #:use-module (guix download) 38 #:use-module (guix download)
40 #:use-module (guix build-system gnu) 39 #:use-module (guix build-system gnu)
@@ -368,33 +367,4 @@ http:://json.org specification. These are the main features:
368- Allows JSON pretty printing.") 367- Allows JSON pretty printing.")
369 (license lgpl3+))) 368 (license lgpl3+)))
370 369
371(define-public guile-charting
372 (package
373 (name "guile-charting")
374 (version "0.2.0")
375 (source (origin
376 (method url-fetch)
377 (uri (string-append "http://wingolog.org/pub/guile-charting/"
378 "guile-charting-" version ".tar.gz"))
379 (sha256
380 (base32
381 "0w5qiyv9v0ip5li22x762bm48g8xnw281w66iyw094zdw611pb2m"))
382 (modules '((guix build utils)))
383 (snippet
384 '(begin
385 ;; Use the standard location for modules.
386 (substitute* "Makefile.in"
387 (("godir = .*$")
388 "godir = $(moddir)\n"))))))
389 (build-system gnu-build-system)
390 (native-inputs `(("pkg-config" ,pkg-config)))
391 (inputs `(("guile" ,guile-2.0)))
392 (propagated-inputs `(("guile-cairo" ,guile-cairo)))
393 (home-page "http://wingolog.org/software/guile-charting/")
394 (synopsis "Create charts and graphs in Guile")
395 (description
396 "Guile-Charting is a Guile Scheme library to create bar charts and graphs
397using the Cairo drawing library.")
398 (license lgpl2.1+)))
399
400;;; guile.scm ends here 370;;; guile.scm ends here
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
index 41df88088e8..da40e283341 100644
--- a/gnu/packages/plotutils.scm
+++ b/gnu/packages/plotutils.scm
@@ -23,6 +23,9 @@
23 #:use-module (guix build-system gnu) 23 #:use-module (guix build-system gnu)
24 #:use-module (gnu packages xorg) 24 #:use-module (gnu packages xorg)
25 #:use-module (gnu packages image) 25 #:use-module (gnu packages image)
26 #:use-module (gnu packages guile)
27 #:use-module (gnu packages gtk)
28 #:use-module (gnu packages pkg-config)
26 #:use-module (gnu packages)) 29 #:use-module (gnu packages))
27 30
28(define-public plotutils 31(define-public plotutils
@@ -62,3 +65,32 @@ graphics in many file formats. It also has support for 2D vector graphics
62animations. The package also contains command-line programs for plotting 65animations. The package also contains command-line programs for plotting
63scientific data.") 66scientific data.")
64 (license gpl2+))) 67 (license gpl2+)))
68
69(define-public guile-charting
70 (package
71 (name "guile-charting")
72 (version "0.2.0")
73 (source (origin
74 (method url-fetch)
75 (uri (string-append "http://wingolog.org/pub/guile-charting/"
76 "guile-charting-" version ".tar.gz"))
77 (sha256
78 (base32
79 "0w5qiyv9v0ip5li22x762bm48g8xnw281w66iyw094zdw611pb2m"))
80 (modules '((guix build utils)))
81 (snippet
82 '(begin
83 ;; Use the standard location for modules.
84 (substitute* "Makefile.in"
85 (("godir = .*$")
86 "godir = $(moddir)\n"))))))
87 (build-system gnu-build-system)
88 (native-inputs `(("pkg-config" ,pkg-config)))
89 (inputs `(("guile" ,guile-2.0)))
90 (propagated-inputs `(("guile-cairo" ,guile-cairo)))
91 (home-page "http://wingolog.org/software/guile-charting/")
92 (synopsis "Create charts and graphs in Guile")
93 (description
94 "Guile-Charting is a Guile Scheme library to create bar charts and graphs
95using the Cairo drawing library.")
96 (license lgpl2.1+)))