lilypond: 2.18.2 -> 2.20.0
This commit is contained in:
parent
33746be61f
commit
2e099c7e53
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchgit, ghostscript, texinfo, imagemagick, texi2html, guile
|
{ stdenv, lib, fetchurl, ghostscript, gyre-fonts, texinfo, imagemagick, texi2html, guile
|
||||||
, python2, gettext, flex, perl, bison, pkgconfig, autoreconfHook, dblatex
|
, python2, gettext, flex, perl, bison, pkgconfig, autoreconfHook, dblatex
|
||||||
, fontconfig, freetype, pango, fontforge, help2man, zip, netpbm, groff
|
, fontconfig, freetype, pango, fontforge, help2man, zip, netpbm, groff
|
||||||
, makeWrapper, t1utils
|
, makeWrapper, t1utils
|
||||||
@ -7,22 +7,17 @@
|
|||||||
}
|
}
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
version = "2.18.2";
|
|
||||||
|
|
||||||
in
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "lilypond";
|
pname = "lilypond";
|
||||||
inherit version;
|
version = "2.20.0";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchurl {
|
||||||
url = "https://git.savannah.gnu.org/r/lilypond.git";
|
url = "http://lilypond.org/download/sources/v${lib.versions.majorMinor version}/lilypond-${version}.tar.gz";
|
||||||
rev = "release/${version}-1";
|
sha256 = "0qd6pd4siss016ffmcyw5qc6pr2wihnvrgd4kh1x725w7wr02nar";
|
||||||
sha256 = "0fk045fmmb6fcv7jdvkbqr04qlwnxzwclr2gzx3gja714xy6a76x";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./findlib.patch ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
for f in "$out/bin/"*; do
|
for f in "$out/bin/"*; do
|
||||||
# Override default argv[0] setting so LilyPond can find
|
# Override default argv[0] setting so LilyPond can find
|
||||||
@ -35,7 +30,9 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--disable-documentation"
|
"--disable-documentation"
|
||||||
"--with-ncsb-dir=${ghostscript}/share/ghostscript/fonts"
|
# FIXME: these URW fonts are not OTF, configure reports "URW++ OTF files... no".
|
||||||
|
"--with-urwotf-dir=${ghostscript}/share/ghostscript/fonts"
|
||||||
|
"--with-texgyre-dir=${gyre-fonts}/share/fonts/truetype/"
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
@ -43,25 +40,23 @@ stdenv.mkDerivation {
|
|||||||
export HOME=$TMPDIR/home
|
export HOME=$TMPDIR/home
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper pkgconfig autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook bison flex makeWrapper pkgconfig ];
|
||||||
|
|
||||||
autoreconfPhase = "NOCONFIGURE=1 sh autogen.sh";
|
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ ghostscript texinfo imagemagick texi2html guile dblatex tex zip netpbm
|
[ ghostscript texinfo imagemagick texi2html guile dblatex tex zip netpbm
|
||||||
python2 gettext flex perl bison fontconfig freetype pango
|
python2 gettext perl fontconfig freetype pango
|
||||||
fontforge help2man groff t1utils
|
fontforge help2man groff t1utils
|
||||||
];
|
];
|
||||||
|
|
||||||
|
autoreconfPhase = "NOCONFIGURE=1 sh autogen.sh";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
description = "Music typesetting system";
|
description = "Music typesetting system";
|
||||||
homepage = "http://lilypond.org/";
|
homepage = "http://lilypond.org/";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = with maintainers; [ marcweber yurrriq ];
|
maintainers = with maintainers; [ marcweber yurrriq ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./findlib.patch ];
|
|
||||||
}
|
}
|
||||||
|
@ -18,10 +18,4 @@ lilypond.overrideAttrs (oldAttrs: {
|
|||||||
meta = oldAttrs.meta // {
|
meta = oldAttrs.meta // {
|
||||||
broken = stdenv.isDarwin;
|
broken = stdenv.isDarwin;
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [
|
|
||||||
"--disable-documentation"
|
|
||||||
"--with-urwotf-dir=${ghostscript}/share/ghostscript/fonts"
|
|
||||||
"--with-texgyre-dir=${gyre-fonts}/share/fonts/truetype/"
|
|
||||||
];
|
|
||||||
})
|
})
|
||||||
|
@ -25159,13 +25159,9 @@ in
|
|||||||
|
|
||||||
lilypond-unstable = callPackage ../misc/lilypond/unstable.nix { };
|
lilypond-unstable = callPackage ../misc/lilypond/unstable.nix { };
|
||||||
|
|
||||||
lilypond-with-fonts = callPackage ../misc/lilypond/with-fonts.nix {
|
lilypond-with-fonts = callPackage ../misc/lilypond/with-fonts.nix { };
|
||||||
lilypond = lilypond-unstable;
|
|
||||||
};
|
|
||||||
|
|
||||||
openlilylib-fonts = callPackage ../misc/lilypond/fonts.nix {
|
openlilylib-fonts = callPackage ../misc/lilypond/fonts.nix { };
|
||||||
lilypond = lilypond-unstable;
|
|
||||||
};
|
|
||||||
|
|
||||||
loop = callPackage ../tools/misc/loop { };
|
loop = callPackage ../tools/misc/loop { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user