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/files/, media-sound/lilypond/
Date: Fri, 08 May 2020 09:54:44
Message-Id: 1588931669.76107a464dde77a13302ff67f29be020fb5075f9.fordfrog@gentoo
1 commit: 76107a464dde77a13302ff67f29be020fb5075f9
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 8 09:54:17 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Fri May 8 09:54:29 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76107a46
7
8 media-sound/lilypond: removed obsolete 2.18.2-r3
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-sound/lilypond/Manifest | 1 -
14 .../lilypond/files/lilypond-2.17.2-tex-docs.patch | 20 ---
15 .../lilypond/files/lilypond-2.18.2-fontforge.patch | 29 -----
16 media-sound/lilypond/lilypond-2.18.2-r3.ebuild | 140 ---------------------
17 4 files changed, 190 deletions(-)
18
19 diff --git a/media-sound/lilypond/Manifest b/media-sound/lilypond/Manifest
20 index 6e142f16da3..c08f1a07927 100644
21 --- a/media-sound/lilypond/Manifest
22 +++ b/media-sound/lilypond/Manifest
23 @@ -1,3 +1,2 @@
24 -DIST lilypond-2.18.2.tar.gz 16027977 BLAKE2B b19b608891e22403efe8e18dd9e86c8d0c85ba516f34242f2a8bcb53c8849a3aa0fe83726036d168f26ee1a7d868a24cc54bd86016b016d634218956e8faf0d4 SHA512 0692f6eb41733076ba7f610cd1e65762f4dfd67307e2ab9e222b140d58ae3a1bb1c6b3be3bcff778d57f161868cf6d57e99bf43bf20f2663d042a07493942ec6
25 DIST lilypond-2.19.83.tar.gz 17996428 BLAKE2B d6048bfa0dbfbb08c25c5c11287f971936e82d30d88d80deb7fca8fe8d7c8d3d517c37a24b1d52e592c15e166e04eb79d99b4c64ddd4b7f392ec69bff0259d89 SHA512 c8a6acbff055196aba015ecd4786bed25934f04f3718ae9dd9a0dc49d2954f348806874cfe350903cd8bb2b25a0d05700ef5947cac180b20a8a355033ff98604
26 DIST lilypond-2.21.1.tar.gz 18135688 BLAKE2B 4a797c325e254b59cb314b28a801198f398efd7a37cac448b79d8161ab7248b0c9ca45ce742b82d0aebb784a98637209c84df74304a9e8c8f744b9f5033e18d2 SHA512 596f6a09d0f9a0c39ca717a9e4e246e03679a6cf40a78491eac9bc3eccf173799c75a0baef491cae8385bf1abda53244fd731695762b6fd841396edb92d0ab75
27
28 diff --git a/media-sound/lilypond/files/lilypond-2.17.2-tex-docs.patch b/media-sound/lilypond/files/lilypond-2.17.2-tex-docs.patch
29 deleted file mode 100644
30 index 9e0d7082c0d..00000000000
31 --- a/media-sound/lilypond/files/lilypond-2.17.2-tex-docs.patch
32 +++ /dev/null
33 @@ -1,20 +0,0 @@
34 ---- lilypond-2.17.2/GNUmakefile.in
35 -+++ lilypond-2.17.2/GNUmakefile.in
36 -@@ -5,7 +5,7 @@
37 - SUBDIRS = python scripts \
38 - flower lily \
39 - mf ly \
40 -- tex ps scm \
41 -+ ps scm \
42 - po \
43 - elisp vim \
44 - input \
45 -@@ -14,7 +14,7 @@
46 -
47 - ## this convoluted construction is necessary, since we don't know the
48 - ## value of DOCUMENTATION here.
49 --documentation-dir=$(if $(findstring no,$(DOCUMENTATION)),,Documentation)
50 -+documentation-dir=$(if $(findstring no,$(DOCUMENTATION)),,Documentation tex)
51 -
52 - SCRIPTS = configure autogen.sh smart-autogen.sh smart-configure.sh
53 - README_FILES = COPYING COPYING.FDL DEDICATION ROADMAP HACKING \
54
55 diff --git a/media-sound/lilypond/files/lilypond-2.18.2-fontforge.patch b/media-sound/lilypond/files/lilypond-2.18.2-fontforge.patch
56 deleted file mode 100644
57 index cfd3295b394..00000000000
58 --- a/media-sound/lilypond/files/lilypond-2.18.2-fontforge.patch
59 +++ /dev/null
60 @@ -1,29 +0,0 @@
61 -From a832764e7300d48468a6812077b899a4beed271b Mon Sep 17 00:00:00 2001
62 -From: Masamichi Hosoda <trueroad@××××××××.jp>
63 -Date: Sat, 22 Aug 2015 21:20:17 +0900
64 -Subject: [PATCH] Fix fontforge version detection
65 -
66 -Newer fontforge shows git hash in `fontforge --version`.
67 -In that case, configure script
68 -might recognize it as date (version).
69 ----
70 - aclocal.m4 | 3 ++-
71 - 1 file changed, 2 insertions(+), 1 deletion(-)
72 -
73 -diff --git a/aclocal.m4 b/aclocal.m4
74 -index 48d0b77..0037c58 100644
75 ---- a/aclocal.m4
76 -+++ b/aclocal.m4
77 -@@ -42,7 +42,8 @@ AC_DEFUN(STEPMAKE_GET_VERSION, [
78 -
79 - if test -z "$_ver"; then
80 - ## If empty, try date [fontforge]
81 -- eval _ver=\"\`("$1" --version || "$1" -V) 2>&1 | grep '[0-9]\{6,8\}' \
82 -+ eval _ver=\"\`("$1" --version || "$1" -V) 2>&1 \
83 -+ | grep '\(^\|[^0-9a-f]\)[0-9]\{6,8\}\([^0-9a-f]\|$\)' \
84 - | head -n 1 \
85 - | sed -e 's/^[^.0-9]*//' -e 's/[^.0-9]*$//'\`\"
86 - fi
87 ---
88 -2.6.2
89 -
90
91 diff --git a/media-sound/lilypond/lilypond-2.18.2-r3.ebuild b/media-sound/lilypond/lilypond-2.18.2-r3.ebuild
92 deleted file mode 100644
93 index 610f8b27f2c..00000000000
94 --- a/media-sound/lilypond/lilypond-2.18.2-r3.ebuild
95 +++ /dev/null
96 @@ -1,140 +0,0 @@
97 -# Copyright 1999-2020 Gentoo Authors
98 -# Distributed under the terms of the GNU General Public License v2
99 -
100 -EAPI=6
101 -PYTHON_COMPAT=( python2_7 )
102 -
103 -inherit elisp-common autotools python-single-r1 toolchain-funcs xdg-utils
104 -
105 -DESCRIPTION="GNU Music Typesetter"
106 -SRC_URI="http://download.linuxaudio.org/lilypond/sources/v${PV:0:4}/${P}.tar.gz"
107 -HOMEPAGE="http://lilypond.org/"
108 -
109 -LICENSE="GPL-3 FDL-1.3"
110 -SLOT="0"
111 -KEYWORDS="amd64 ~arm ~hppa x86"
112 -LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW"
113 -IUSE="debug emacs profile vim-syntax"
114 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
115 -
116 -RDEPEND=">=app-text/ghostscript-gpl-8.15
117 - >=dev-scheme/guile-1.8.2:12[deprecated,regex]
118 - <dev-scheme/guile-2.0:12
119 - media-fonts/urw-fonts
120 - media-libs/fontconfig
121 - media-libs/freetype:2
122 - >=x11-libs/pango-1.12.3
123 - emacs? ( >=app-editors/emacs-23.1:* )
124 - ${PYTHON_DEPS}"
125 -DEPEND="${RDEPEND}
126 - app-text/t1utils
127 - dev-lang/perl
128 - dev-libs/kpathsea
129 - >=dev-texlive/texlive-metapost-2013
130 - || (
131 - >=app-text/texlive-core-2013
132 - >=dev-tex/metapost-1.803
133 - )
134 - virtual/pkgconfig
135 - media-gfx/fontforge[png]
136 - >=sys-apps/texinfo-4.11
137 - >=sys-devel/bison-2.0
138 - sys-devel/flex
139 - sys-devel/gettext
140 - sys-devel/make"
141 -
142 -# Correct output data for tests isn't bundled with releases
143 -RESTRICT="test"
144 -
145 -PATCHES=(
146 - "${FILESDIR}"/${PN}-2.17.2-tex-docs.patch
147 - "${FILESDIR}"/${P}-fontforge.patch
148 -)
149 -
150 -DOCS=( AUTHORS.txt NEWS.txt README.txt )
151 -
152 -pkg_setup() {
153 - # make sure >=metapost-1.803 is selected if it's installed, bug 498704
154 - if [[ ${MERGE_TYPE} != binary ]] && has_version ">=dev-tex/metapost-1.803" ; then
155 - if [[ $(readlink "${EROOT}"/usr/bin/mpost) =~ mpost-texlive-* ]] ; then
156 - einfo "Updating metapost symlink"
157 - eselect mpost update || die
158 - fi
159 - fi
160 -
161 - python-single-r1_pkg_setup
162 -}
163 -
164 -src_prepare() {
165 - eapply "${PATCHES[@]}"
166 -
167 - if ! use vim-syntax ; then
168 - sed -i 's/vim//' GNUmakefile.in || die
169 - fi
170 -
171 - # respect CFLAGS
172 - sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die
173 -
174 - for lang in ${LANGS}; do
175 - has ${lang} ${LINGUAS-${lang}} || rm po/${lang}.po || die
176 - done
177 -
178 - # respect AR
179 - sed -i "s:^AR=ar:AR=$(tc-getAR):" stepmake/stepmake/library-vars.make || die
180 -
181 - # remove bundled texinfo file (fixes bug #448560)
182 - rm tex/texinfo.tex || die
183 -
184 - eapply_user
185 -
186 - eautoreconf
187 -
188 - xdg_environment_reset #586592
189 -}
190 -
191 -src_configure() {
192 - # documentation generation currently not supported since it requires a newer
193 - # version of texi2html than is currently in the tree
194 -
195 - econf \
196 - --with-ncsb-dir=/usr/share/fonts/urw-fonts \
197 - --disable-documentation \
198 - --disable-optimising \
199 - --disable-pipe \
200 - $(use_enable debug debugging) \
201 - $(use_enable profile profiling)
202 -}
203 -
204 -src_compile() {
205 - default
206 -
207 - if use emacs ; then
208 - elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \
209 - || die "elisp-compile failed"
210 - fi
211 -}
212 -
213 -src_install() {
214 - emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install
215 -
216 - # remove elisp files since they are in the wrong directory
217 - rm -r "${ED}"/usr/share/emacs || die
218 -
219 - if use emacs ; then
220 - elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \
221 - || die "elisp-install failed"
222 - elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
223 - fi
224 -
225 - python_fix_shebang "${ED}"
226 -
227 - einstalldocs
228 -}
229 -
230 -pkg_postinst() {
231 - use emacs && elisp-site-regen
232 -}
233 -
234 -pkg_postrm() {
235 - use emacs && elisp-site-regen
236 -}