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