1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
4 ;;; This file is part of GNU Guix.
6 ;;; GNU Guix is free software; you can redistribute it and/or modify it
7 ;;; under the terms of the GNU General Public License as published by
8 ;;; the Free Software Foundation; either version 3 of the License, or (at
9 ;;; your option) any later version.
11 ;;; GNU Guix is distributed in the hope that it will be useful, but
12 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ;;; GNU General Public License for more details.
16 ;;; You should have received a copy of the GNU General Public License
17 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19 (define-module (gnu packages music)
20 #:use-module (guix utils)
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module ((guix licenses) #:prefix license:)
24 #:use-module (guix build-system gnu)
25 #:use-module (gnu packages)
26 #:use-module (gnu packages bison)
27 #:use-module (gnu packages docbook)
28 #:use-module (gnu packages flex)
29 #:use-module (gnu packages fonts)
30 #:use-module (gnu packages fontutils)
31 #:use-module (gnu packages gettext)
32 #:use-module (gnu packages ghostscript)
33 #:use-module (gnu packages gtk)
34 #:use-module (gnu packages guile)
35 #:use-module (gnu packages imagemagick)
36 #:use-module (gnu packages netpbm)
37 #:use-module (gnu packages perl)
38 #:use-module (gnu packages pkg-config)
39 #:use-module (gnu packages python)
40 #:use-module (gnu packages rsync)
41 #:use-module (gnu packages texinfo)
42 #:use-module (gnu packages texlive)
43 #:use-module (gnu packages zip))
45 (define-public lilypond
52 "http://download.linuxaudio.org/lilypond/sources/v"
53 (version-major+minor version) "/"
54 name "-" version ".tar.gz"))
57 "01xs9x2wjj7w9appaaqdhk15r1xvvdbz9qwahzhppfmhclvp779j"))))
58 (build-system gnu-build-system)
60 `(;; Tests fail with this error:
61 ;; Undefined subroutine &main::get_index called at
62 ;; ./lilypond-2.18.2/Documentation/lilypond-texi2html.init line 2127.
67 'configure 'prepare-configuration
69 (substitute* "configure"
70 (("SHELL=/bin/sh") "SHELL=sh"))
75 `(("guile" ,guile-1.8)
76 ("font-dejavu" ,font-dejavu)
77 ("fontconfig" ,fontconfig)
78 ("freetype" ,freetype)
79 ("ghostscript" ,ghostscript)
81 ("python" ,python-2)))
86 ("fontforge" ,fontforge)
88 ("gettext" ,gnu-gettext)
89 ("imagemagick" ,imagemagick)
90 ("netpbm" ,netpbm) ;for pngtopnm
91 ("texlive" ,texlive) ;metafont and metapost
93 ("texi2html" ,texi2html)
95 ("pkg-config" ,pkg-config)
97 (home-page "http://www.lilypond.org/")
98 (synopsis "Music typesetting")
100 "GNU LilyPond is a music typesetter, which produces high-quality sheet
101 music. Music is input in a text file containing control sequences which are
102 interpreted by LilyPond to produce the final document. It is extendable with
104 (license license:gpl3+)))