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.
This commit is contained in:
		
							parent
							
								
									109da1c082
								
							
						
					
					
						commit
						00ebe4740a
					
				
					 2 changed files with 33 additions and 31 deletions
				
			
		| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; GNU Guix --- Functional package management for GNU
 | 
				
			||||||
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
 | 
					;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
| 
						 | 
					@ -34,7 +34,6 @@
 | 
				
			||||||
  #:use-module (gnu packages ncurses)
 | 
					  #:use-module (gnu packages ncurses)
 | 
				
			||||||
  #:use-module (gnu packages ed)
 | 
					  #:use-module (gnu packages ed)
 | 
				
			||||||
  #:use-module (gnu packages which)
 | 
					  #:use-module (gnu packages which)
 | 
				
			||||||
  #:use-module (gnu packages gtk)
 | 
					 | 
				
			||||||
  #:use-module (guix packages)
 | 
					  #:use-module (guix packages)
 | 
				
			||||||
  #:use-module (guix download)
 | 
					  #:use-module (guix download)
 | 
				
			||||||
  #:use-module (guix build-system gnu)
 | 
					  #:use-module (guix build-system gnu)
 | 
				
			||||||
| 
						 | 
					@ -368,33 +367,4 @@ http:://json.org specification.  These are the main features:
 | 
				
			||||||
- Allows JSON pretty printing.")
 | 
					- Allows JSON pretty printing.")
 | 
				
			||||||
    (license lgpl3+)))
 | 
					    (license lgpl3+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public guile-charting
 | 
					 | 
				
			||||||
  (package
 | 
					 | 
				
			||||||
    (name "guile-charting")
 | 
					 | 
				
			||||||
    (version "0.2.0")
 | 
					 | 
				
			||||||
    (source (origin
 | 
					 | 
				
			||||||
              (method url-fetch)
 | 
					 | 
				
			||||||
              (uri (string-append "http://wingolog.org/pub/guile-charting/"
 | 
					 | 
				
			||||||
                                  "guile-charting-" version ".tar.gz"))
 | 
					 | 
				
			||||||
              (sha256
 | 
					 | 
				
			||||||
               (base32
 | 
					 | 
				
			||||||
                "0w5qiyv9v0ip5li22x762bm48g8xnw281w66iyw094zdw611pb2m"))
 | 
					 | 
				
			||||||
              (modules '((guix build utils)))
 | 
					 | 
				
			||||||
              (snippet
 | 
					 | 
				
			||||||
               '(begin
 | 
					 | 
				
			||||||
                  ;; Use the standard location for modules.
 | 
					 | 
				
			||||||
                  (substitute* "Makefile.in"
 | 
					 | 
				
			||||||
                    (("godir = .*$")
 | 
					 | 
				
			||||||
                     "godir = $(moddir)\n"))))))
 | 
					 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					 | 
				
			||||||
    (native-inputs `(("pkg-config" ,pkg-config)))
 | 
					 | 
				
			||||||
    (inputs `(("guile" ,guile-2.0)))
 | 
					 | 
				
			||||||
    (propagated-inputs `(("guile-cairo" ,guile-cairo)))
 | 
					 | 
				
			||||||
    (home-page "http://wingolog.org/software/guile-charting/")
 | 
					 | 
				
			||||||
    (synopsis "Create charts and graphs in Guile")
 | 
					 | 
				
			||||||
    (description
 | 
					 | 
				
			||||||
     "Guile-Charting is a Guile Scheme library to create bar charts and graphs
 | 
					 | 
				
			||||||
using the Cairo drawing library.")
 | 
					 | 
				
			||||||
    (license lgpl2.1+)))
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
;;; guile.scm ends here
 | 
					;;; guile.scm ends here
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -23,6 +23,9 @@
 | 
				
			||||||
  #:use-module (guix build-system gnu)
 | 
					  #:use-module (guix build-system gnu)
 | 
				
			||||||
  #:use-module (gnu packages xorg)
 | 
					  #:use-module (gnu packages xorg)
 | 
				
			||||||
  #:use-module (gnu packages image)
 | 
					  #:use-module (gnu packages image)
 | 
				
			||||||
 | 
					  #:use-module (gnu packages guile)
 | 
				
			||||||
 | 
					  #:use-module (gnu packages gtk)
 | 
				
			||||||
 | 
					  #:use-module (gnu packages pkg-config)
 | 
				
			||||||
  #:use-module (gnu packages))
 | 
					  #:use-module (gnu packages))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public plotutils
 | 
					(define-public plotutils
 | 
				
			||||||
| 
						 | 
					@ -62,3 +65,32 @@ graphics in many file formats.  It also has support for 2D vector graphics
 | 
				
			||||||
animations.  The package also contains command-line programs for plotting
 | 
					animations.  The package also contains command-line programs for plotting
 | 
				
			||||||
scientific data.")
 | 
					scientific data.")
 | 
				
			||||||
    (license gpl2+)))
 | 
					    (license gpl2+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public guile-charting
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "guile-charting")
 | 
				
			||||||
 | 
					    (version "0.2.0")
 | 
				
			||||||
 | 
					    (source (origin
 | 
				
			||||||
 | 
					              (method url-fetch)
 | 
				
			||||||
 | 
					              (uri (string-append "http://wingolog.org/pub/guile-charting/"
 | 
				
			||||||
 | 
					                                  "guile-charting-" version ".tar.gz"))
 | 
				
			||||||
 | 
					              (sha256
 | 
				
			||||||
 | 
					               (base32
 | 
				
			||||||
 | 
					                "0w5qiyv9v0ip5li22x762bm48g8xnw281w66iyw094zdw611pb2m"))
 | 
				
			||||||
 | 
					              (modules '((guix build utils)))
 | 
				
			||||||
 | 
					              (snippet
 | 
				
			||||||
 | 
					               '(begin
 | 
				
			||||||
 | 
					                  ;; Use the standard location for modules.
 | 
				
			||||||
 | 
					                  (substitute* "Makefile.in"
 | 
				
			||||||
 | 
					                    (("godir = .*$")
 | 
				
			||||||
 | 
					                     "godir = $(moddir)\n"))))))
 | 
				
			||||||
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
 | 
					    (native-inputs `(("pkg-config" ,pkg-config)))
 | 
				
			||||||
 | 
					    (inputs `(("guile" ,guile-2.0)))
 | 
				
			||||||
 | 
					    (propagated-inputs `(("guile-cairo" ,guile-cairo)))
 | 
				
			||||||
 | 
					    (home-page "http://wingolog.org/software/guile-charting/")
 | 
				
			||||||
 | 
					    (synopsis "Create charts and graphs in Guile")
 | 
				
			||||||
 | 
					    (description
 | 
				
			||||||
 | 
					     "Guile-Charting is a Guile Scheme library to create bar charts and graphs
 | 
				
			||||||
 | 
					using the Cairo drawing library.")
 | 
				
			||||||
 | 
					    (license lgpl2.1+)))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue