Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/lilypond/
Date: Fri, 07 Aug 2020 12:05:14
Message-Id: 1596801888.1a38c1ce10a896855b8917a58ffc50bcc693802d.fordfrog@gentoo
1 commit: 1a38c1ce10a896855b8917a58ffc50bcc693802d
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 7 12:04:48 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 7 12:04:48 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a38c1ce
7
8 media-sound/lilypond: removed vulnerable 2.21.1
9
10 Bug: https://bugs.gentoo.org/736074
11 Package-Manager: Portage-3.0.1, Repoman-2.3.23
12 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
13
14 media-sound/lilypond/lilypond-2.21.1.ebuild | 129 ----------------------------
15 1 file changed, 129 deletions(-)
16
17 diff --git a/media-sound/lilypond/lilypond-2.21.1.ebuild b/media-sound/lilypond/lilypond-2.21.1.ebuild
18 deleted file mode 100644
19 index 53f73d164f5..00000000000
20 --- a/media-sound/lilypond/lilypond-2.21.1.ebuild
21 +++ /dev/null
22 @@ -1,129 +0,0 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -PYTHON_COMPAT=( python3_{6,7,8} )
28 -
29 -inherit elisp-common autotools python-single-r1 toolchain-funcs xdg-utils
30 -
31 -if [[ "${PV}" = "9999" ]]; then
32 - inherit git-r3
33 - EGIT_REPO_URI="https://git.savannah.gnu.org/git/lilypond.git"
34 -else
35 - MAIN_VER=$(ver_cut 1-2)
36 - SRC_URI="http://lilypond.org/download/sources/v${MAIN_VER}/${P}.tar.gz"
37 - KEYWORDS="amd64 ~arm arm64 ~hppa x86"
38 -fi
39 -
40 -DESCRIPTION="GNU Music Typesetter"
41 -HOMEPAGE="http://lilypond.org/"
42 -
43 -LICENSE="GPL-3 FDL-1.3"
44 -SLOT="0"
45 -IUSE="debug emacs guile2 profile vim-syntax"
46 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
47 -
48 -BDEPEND="
49 - >=dev-texlive/texlive-metapost-2020
50 - >=sys-apps/texinfo-4.11
51 - >=sys-devel/bison-2.0
52 - sys-devel/flex
53 - virtual/pkgconfig
54 -"
55 -RDEPEND=">=app-text/ghostscript-gpl-8.15
56 - >=dev-scheme/guile-1.8.2:12=[deprecated,regex]
57 - media-fonts/tex-gyre
58 - media-libs/fontconfig
59 - media-libs/freetype:2
60 - >=x11-libs/pango-1.12.3
61 - emacs? ( >=app-editors/emacs-23.1:* )
62 - guile2? ( >=dev-scheme/guile-2.2:12 )
63 - !guile2? (
64 - >=dev-scheme/guile-1.8.2:12=[deprecated,regex]
65 - <dev-scheme/guile-2.0:12
66 - )
67 - ${PYTHON_DEPS}"
68 -DEPEND="${RDEPEND}
69 - app-text/t1utils
70 - dev-lang/perl
71 - dev-libs/kpathsea
72 - media-gfx/fontforge[png,python]
73 - sys-devel/gettext"
74 -
75 -# Correct output data for tests isn't bundled with releases
76 -RESTRICT="test"
77 -
78 -PATCHES=(
79 - "${FILESDIR}"/${P}-fix-font-size.patch
80 -)
81 -
82 -DOCS=( DEDICATION HACKING README.txt ROADMAP )
83 -
84 -src_prepare() {
85 - default
86 -
87 - if ! use vim-syntax ; then
88 - sed -i 's/vim//' GNUmakefile.in || die
89 - fi
90 -
91 - # respect CFLAGS
92 - sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die
93 -
94 - # remove bundled texinfo file (fixes bug #448560)
95 - rm tex/texinfo.tex || die
96 -
97 - eautoreconf
98 -
99 - xdg_environment_reset #586592
100 -}
101 -
102 -src_configure() {
103 - # documentation generation currently not supported since it requires a newer
104 - # version of texi2html than is currently in the tree
105 -
106 - local myeconfargs=(
107 - --with-texgyre-dir=/usr/share/fonts/tex-gyre
108 - --disable-documentation
109 - --disable-optimising
110 - --disable-pipe
111 - $(use_enable debug debugging)
112 - $(use_enable profile profiling)
113 - )
114 - export VARTEXFONTS="${T}/fonts" # https://bugs.gentoo.org/692010
115 -
116 - econf "${myeconfargs[@]}"
117 -}
118 -
119 -src_compile() {
120 - default
121 -
122 - if use emacs ; then
123 - elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \
124 - || die "elisp-compile failed"
125 - fi
126 -}
127 -
128 -src_install() {
129 - emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install
130 -
131 - # remove elisp files since they are in the wrong directory
132 - rm -r "${ED}"/usr/share/emacs || die
133 -
134 - if use emacs ; then
135 - elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \
136 - || die "elisp-install failed"
137 - elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
138 - fi
139 -
140 - python_fix_shebang "${ED}"
141 -
142 - einstalldocs
143 -}
144 -
145 -pkg_postinst() {
146 - use emacs && elisp-site-regen
147 -}
148 -
149 -pkg_postrm() {
150 - use emacs && elisp-site-regen
151 -}