Sat Mar 5 19:53:22 2022 UTC ()
lilypond: Explain more clearly the guile situation

Upstream chooses to support only ancient guile.


(gdt)
diff -r1.134 -r1.135 pkgsrc/print/lilypond/Makefile

cvs diff -r1.134 -r1.135 pkgsrc/print/lilypond/Makefile (switch to unified diff)

--- pkgsrc/print/lilypond/Makefile 2021/12/08 16:06:14 1.134
+++ pkgsrc/print/lilypond/Makefile 2022/03/05 19:53:22 1.135
@@ -1,71 +1,74 @@ @@ -1,71 +1,74 @@
1# $NetBSD: Makefile,v 1.134 2021/12/08 16:06:14 adam Exp $ 1# $NetBSD: Makefile,v 1.135 2022/03/05 19:53:22 gdt Exp $
2 2
3DISTNAME= lilypond-2.18.2 3DISTNAME= lilypond-2.18.2
4PKGREVISION= 24 4PKGREVISION= 24
5CATEGORIES= print 5CATEGORIES= print
6MASTER_SITES= http://download.linuxaudio.org/lilypond/sources/v2.18/ 6MASTER_SITES= http://download.linuxaudio.org/lilypond/sources/v2.18/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://lilypond.org/ 9HOMEPAGE= http://lilypond.org/
10COMMENT= GNU Music Typesetter 10COMMENT= GNU Music Typesetter
11LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
12 12
13BUILD_DEPENDS+= tex-metafont-[0-9]*:../../fonts/tex-metafont 13BUILD_DEPENDS+= tex-metafont-[0-9]*:../../fonts/tex-metafont
14BUILD_DEPENDS+= tex-metapost-[0-9]*:../../graphics/tex-metapost 14BUILD_DEPENDS+= tex-metapost-[0-9]*:../../graphics/tex-metapost
15BUILD_DEPENDS+= urw-fonts-[0-9]*:../../fonts/urw-fonts 15BUILD_DEPENDS+= urw-fonts-[0-9]*:../../fonts/urw-fonts
16BUILD_DEPENDS+= intlfonts-[0-9]*:../../fonts/intlfonts 16BUILD_DEPENDS+= intlfonts-[0-9]*:../../fonts/intlfonts
17BUILD_DEPENDS+= font-cronyx-cyrillic-[0-9]*:../../fonts/font-cronyx-cyrillic 17BUILD_DEPENDS+= font-cronyx-cyrillic-[0-9]*:../../fonts/font-cronyx-cyrillic
18BUILD_DEPENDS+= kochi-ttf-[0-9]*:../../fonts/kochi-ttf 18BUILD_DEPENDS+= kochi-ttf-[0-9]*:../../fonts/kochi-ttf
19BUILD_DEPENDS+= fontforge>=20060125:../../fonts/fontforge 19BUILD_DEPENDS+= fontforge>=20060125:../../fonts/fontforge
20BUILD_DEPENDS+= t1utils>=1.33:../../fonts/t1utils 20BUILD_DEPENDS+= t1utils>=1.33:../../fonts/t1utils
21BUILD_DEPENDS+= dblatex-[0-9]*:../../textproc/dblatex 21BUILD_DEPENDS+= dblatex-[0-9]*:../../textproc/dblatex
22BUILD_DEPENDS+= rsync-[0-9]*:../../net/rsync 22BUILD_DEPENDS+= rsync-[0-9]*:../../net/rsync
23# pngtopnm 23# pngtopnm
24BUILD_DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm 24BUILD_DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm
25# convert 25# convert
26BUILD_DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick 26BUILD_DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
27 27
28DEPENDS+= tex-cyrillic-[0-9]*:../../print/tex-cyrillic 28DEPENDS+= tex-cyrillic-[0-9]*:../../print/tex-cyrillic
29DEPENDS+= tex-lh-[0-9]*:../../fonts/tex-lh 29DEPENDS+= tex-lh-[0-9]*:../../fonts/tex-lh
30DEPENDS+= tex-psnfss-[0-9]*:../../fonts/tex-psnfss 30DEPENDS+= tex-psnfss-[0-9]*:../../fonts/tex-psnfss
31DEPENDS+= tex-epsf-[0-9]*:../../print/tex-epsf 31DEPENDS+= tex-epsf-[0-9]*:../../print/tex-epsf
32DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics 32DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics
33# 1.7 coredumps when generating eps files 33# 1.7 coredumps when generating eps files
34DEPENDS+= potrace>=1.8:../../graphics/potrace 34DEPENDS+= potrace>=1.8:../../graphics/potrace
35 35
36GNU_CONFIGURE= YES 36GNU_CONFIGURE= YES
37USE_PKGLOCALEDIR= YES 37USE_PKGLOCALEDIR= YES
38USE_LANGUAGES= c c++ 38USE_LANGUAGES= c c++
39USE_TOOLS+= bison flex gmake gs:run makeinfo perl pkg-config msgfmt 39USE_TOOLS+= bison flex gmake gs:run makeinfo perl pkg-config msgfmt
40USE_TOOLS+= texi2html zip 40USE_TOOLS+= texi2html zip
41MAKE_FILE= GNUmakefile 41MAKE_FILE= GNUmakefile
42 42
43.include "../../mk/bsd.prefs.mk" 43.include "../../mk/bsd.prefs.mk"
44 44
45TEXINFO_REQD= 4.11 45TEXINFO_REQD= 4.11
46GCC_REQD+= 3.0.5 46GCC_REQD+= 3.0.5
47 47
48GNU_CONFIGURE_INFODIR= ${PREFIX}/${PKGINFODIR} 48GNU_CONFIGURE_INFODIR= ${PREFIX}/${PKGINFODIR}
49INFO_DIR= ${GNU_CONFIGURE_INFODIR} 49INFO_DIR= ${GNU_CONFIGURE_INFODIR}
50INFO_FILES= YES 50INFO_FILES= YES
51 51
52CONFIGURE_ARGS+= --disable-optimising 52CONFIGURE_ARGS+= --disable-optimising
53CONFIGURE_ARGS+= --with-ncsb-dir=${PREFIX}/share/fonts/urw 53CONFIGURE_ARGS+= --with-ncsb-dir=${PREFIX}/share/fonts/urw
54CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} 54CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
55 55
56REPLACE_PYTHON+= scripts/build/yyout2grammar.py 56REPLACE_PYTHON+= scripts/build/yyout2grammar.py
57PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 2.18.0 57PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 2.18.0
58PLIST_SUBST+= PKGVERSION=${PKGVERSION:S/nb${PKGREVISION}//} 58PLIST_SUBST+= PKGVERSION=${PKGVERSION:S/nb${PKGREVISION}//}
59 59
60# needs FlexLexer.h 60# needs FlexLexer.h
61# make sure we use the same version for that file and the flex binary 61# make sure we use the same version for that file and the flex binary
62FLEX_REQD= 2.6.0 62FLEX_REQD= 2.6.0
63BUILDLINK_API_DEPENDS.flex+= flex>=2.6.0 63BUILDLINK_API_DEPENDS.flex+= flex>=2.6.0
64.include "../../devel/flex/buildlink3.mk" 64.include "../../devel/flex/buildlink3.mk"
65.include "../../devel/pango/buildlink3.mk" 65.include "../../devel/pango/buildlink3.mk"
66.include "../../fonts/fontconfig/buildlink3.mk" 66.include "../../fonts/fontconfig/buildlink3.mk"
67# lilypond's configure rejects guile2 67# lilypond's configure rejects guile2. It is a bug in lilypond that
 68# maintained versions of guile are not usable, but it does not seem
 69# likely that will be fixed. See e.g.
 70# https://gitlab.com/lilypond/lilypond/-/issues/6163
68.include "../../lang/guile/buildlink3.mk" 71.include "../../lang/guile/buildlink3.mk"
69.include "../../lang/python/application.mk" 72.include "../../lang/python/application.mk"
70.include "../../mk/omf-scrollkeeper.mk" 73.include "../../mk/omf-scrollkeeper.mk"
71.include "../../mk/bsd.pkg.mk" 74.include "../../mk/bsd.pkg.mk"