Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/files/, media-gfx/asymptote/
Date: Fri, 10 Jan 2020 14:39:27
Message-Id: 1578667127.fa3562e44e75c75cea9d5269be43e221040ee3da.grozin@gentoo
1 commit: fa3562e44e75c75cea9d5269be43e221040ee3da
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 10 14:38:47 2020 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 10 14:38:47 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa3562e4
7
8 media-gfx/asymptote: remove version 2.41
9
10 Closes: https://bugs.gentoo.org/703498
11 Package-Manager: Portage-2.3.84, Repoman-2.3.20
12 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
13
14 media-gfx/asymptote/Manifest | 1 -
15 media-gfx/asymptote/asymptote-2.41-r1.ebuild | 218 ---------------------
16 .../files/asymptote-2.41-configure-ac.patch | 13 --
17 .../asymptote/files/asymptote-2.41-info.patch | 13 --
18 .../asymptote/files/asymptote-2.41-perl-5.26.patch | 10 -
19 .../asymptote/files/asymptote-2.41-xdg-utils.patch | 23 ---
20 6 files changed, 278 deletions(-)
21
22 diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
23 index db67379a2aa..d98d14ac790 100644
24 --- a/media-gfx/asymptote/Manifest
25 +++ b/media-gfx/asymptote/Manifest
26 @@ -1,3 +1,2 @@
27 -DIST asymptote-2.41.src.tgz 3516426 BLAKE2B d4623609be58566e32de82c5c47f635ed737459fa27cd2da0622d639cd8207fc69988a7ecbf82993b051435fbf223c1f1178d213aea258a2b57fd3a698eee9cb SHA512 93f737a44b085c2290c4553c765cf49679820e6623bc5b6d0229818409868876275d6f0571abeb76033955fa95ee594e37d10c9901c54755b085e36760fd96cb
28 DIST asymptote-2.60.src.tgz 4650347 BLAKE2B d969e4716a2493ae926ea1f58d0b247986e49a6a1902fb94859a45177ece4f149f5875cf788eace1c27c968652c49b2ace7b98aba02380cf8e1e3d4231560476 SHA512 a0653b9647d8c2a77656ea82faf8b69d28a43cf5ac61cfa9c6c62e2c51b4939e83202b95056495d10bee86a81e48b765ed4604a4d882a47a36b1dd6d5f9ad96b
29 DIST asymptote-2.61.src.tgz 4623504 BLAKE2B 8432f07ce21f630c5bdae609650c0bb2bcd237a121df68030dc19d1cae986f0bfa56dd0e241570809f9fcb202440e8b9b3c6d47a22eeaabe3eb9523360a166ca SHA512 34bb610360b4536da70ca9edf1e069ebbf0c9225948b92b3d59ea25e8684587364fa7bbb03909ba02617e6ee81d41a2e530c9ed639141e4cda42096143cab5f7
30
31 diff --git a/media-gfx/asymptote/asymptote-2.41-r1.ebuild b/media-gfx/asymptote/asymptote-2.41-r1.ebuild
32 deleted file mode 100644
33 index 774ccebfa07..00000000000
34 --- a/media-gfx/asymptote/asymptote-2.41-r1.ebuild
35 +++ /dev/null
36 @@ -1,218 +0,0 @@
37 -# Copyright 1999-2019 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=6
41 -
42 -PYTHON_COMPAT=( python2_7 )
43 -
44 -inherit autotools elisp-common latex-package multilib python-single-r1
45 -
46 -DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
47 -HOMEPAGE="http://asymptote.sourceforge.net/"
48 -SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
49 -
50 -LICENSE="GPL-3"
51 -SLOT="0"
52 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
53 -IUSE="+boehm-gc doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg test vim-syntax X"
54 -RESTRICT="!test? ( test )"
55 -
56 -REQUIRED_USE="
57 - ${PYTHON_REQUIRED_USE}
58 - offscreen? ( opengl )"
59 -
60 -RDEPEND="
61 - >=sys-libs/ncurses-5.4-r5:0=
62 - >=sys-libs/readline-4.3-r5:0=
63 - imagemagick? ( media-gfx/imagemagick[png] )
64 - opengl? ( >=media-libs/mesa-8[X(+)] )
65 - offscreen? ( media-libs/mesa[osmesa] )
66 - svg? ( app-text/dvisvgm )
67 - sigsegv? ( dev-libs/libsigsegv )
68 - boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
69 - fftw? ( >=sci-libs/fftw-3.0.1 )
70 - gsl? ( sci-libs/gsl )
71 - python? ( ${PYTHON_DEPS} )
72 - X? (
73 - ${PYTHON_DEPS}
74 - x11-misc/xdg-utils
75 - dev-python/pillow[tk,${PYTHON_USEDEP}]
76 - )
77 - latex? (
78 - virtual/latex-base
79 - >=dev-texlive/texlive-latexextra-2013
80 - )
81 - emacs? ( >=app-editors/emacs-23.1:* )
82 - vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
83 -DEPEND="${RDEPEND}
84 - doc? (
85 - dev-lang/perl
86 - media-gfx/imagemagick[png]
87 - virtual/texi2dvi
88 - virtual/latex-base
89 - app-text/ghostscript-gpl )
90 - test? ( app-text/ghostscript-gpl )"
91 -
92 -TEXMF=/usr/share/texmf-site
93 -
94 -PATCHES=(
95 - # gc.h -> gc/gc.h
96 - "${FILESDIR}/${P}-configure-ac.patch"
97 -
98 - # Changing pdf, ps, image viewers to xdg-open
99 - "${FILESDIR}/${P}-xdg-utils.patch"
100 -
101 - # Bug #322473
102 - "${FILESDIR}/${P}-info.patch"
103 -
104 - # Bug #635984 - perl-5.26 no longer has . in @INC
105 - "${FILESDIR}/${P}-perl-5.26.patch"
106 -)
107 -
108 -pkg_setup() {
109 - (use python || use X) && python-single-r1_pkg_setup
110 -}
111 -
112 -src_prepare() {
113 - sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
114 - -i configure.ac \
115 - || die "sed configure.ac failed"
116 -
117 - default
118 - eautoreconf
119 -}
120 -
121 -src_configure() {
122 - # for the CPPFLAGS see
123 - # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
124 - econf \
125 - CPPFLAGS=-DHAVE_SYS_TYPES_H \
126 - CFLAGS="${CXXFLAGS}" \
127 - --disable-gc-debug \
128 - $(use_enable boehm-gc gc system) \
129 - $(use_enable fftw) \
130 - $(use_enable gsl) \
131 - $(use_enable opengl gl) \
132 - $(use_enable offscreen) \
133 - $(use_enable sigsegv)
134 -}
135 -
136 -src_compile() {
137 - default
138 -
139 - cd doc || die
140 - emake asy.1
141 - if use doc; then
142 - # info
143 - einfo "Making info"
144 - emake ${PN}.info
145 - cd FAQ || die
146 - emake
147 - cd .. || die
148 - # pdf
149 - einfo "Making pdf docs"
150 - export VARTEXFONTS="${T}"/fonts
151 - # see bug #260606
152 - emake -j1 asymptote.pdf
153 - emake CAD.pdf
154 - fi
155 - cd .. || die
156 -
157 - if use emacs; then
158 - einfo "Compiling emacs lisp files"
159 - elisp-compile base/*.el
160 - fi
161 -}
162 -
163 -src_install() {
164 - # the program
165 - dobin asy
166 -
167 - # .asy files
168 - insinto /usr/share/${PN}
169 - doins base/*.asy
170 -
171 - # documentation
172 - dodoc BUGS ChangeLog README ReleaseNotes TODO
173 - doman doc/asy.1
174 -
175 - # X GUI
176 - if use X; then
177 - python_scriptinto /usr/share/${PN}/GUI
178 - python_doscript GUI/*.py
179 - dosym /usr/share/${PN}/GUI/xasy.py /usr/bin/xasy
180 - doman doc/xasy.1x
181 - fi
182 -
183 - # examples
184 - if use examples; then
185 - insinto /usr/share/${PN}/examples
186 - doins \
187 - examples/*.asy \
188 - examples/*.eps \
189 - doc/*.asy \
190 - doc/*.csv \
191 - doc/*.dat \
192 - doc/extra/*.asy
193 - use X && doins GUI/*.asy
194 -
195 - insinto /usr/share/${PN}/examples/animations
196 - doins examples/animations/*.asy
197 - fi
198 -
199 - # LaTeX style
200 - if use latex; then
201 - cd doc || die
202 - insinto "${TEXMF}"/tex/latex/${PN}
203 - doins ${PN}.sty asycolors.sty
204 - if use examples; then
205 - insinto /usr/share/${PN}/examples
206 - doins latexusage.tex
207 - fi
208 - cd .. || die
209 - fi
210 -
211 - # asymptote.py
212 - use python && python_domodule base/${PN}.py
213 -
214 - # emacs mode
215 - if use emacs; then
216 - elisp-install ${PN} base/*.el base/*.elc
217 - elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
218 - fi
219 -
220 - # vim syntax
221 - if use vim-syntax; then
222 - insinto /usr/share/vim/vimfiles/syntax
223 - doins base/asy.vim
224 - insinto /usr/share/vim/vimfiles/ftdetect
225 - doins "${FILESDIR}"/asy-ftd.vim
226 - fi
227 -
228 - # extra documentation
229 - if use doc; then
230 - cd doc || die
231 - doinfo ${PN}.info*
232 - cd FAQ || die
233 - dodoc asy-faq.ascii
234 - doinfo asy-faq.info
235 - insinto /usr/share/doc/${PF}/html/FAQ
236 - doins asy-faq.html/*
237 - cd .. || die
238 - insinto /usr/share/doc/${PF}
239 - doins ${PN}.pdf CAD.pdf
240 - fi
241 -}
242 -
243 -pkg_postinst() {
244 - use latex && latex-package_rehash
245 - use emacs && elisp-site-regen
246 -
247 - elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
248 - elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
249 -}
250 -
251 -pkg_postrm() {
252 - use latex && latex-package_rehash
253 - use emacs && elisp-site-regen
254 -}
255
256 diff --git a/media-gfx/asymptote/files/asymptote-2.41-configure-ac.patch b/media-gfx/asymptote/files/asymptote-2.41-configure-ac.patch
257 deleted file mode 100644
258 index 984ec7c2e95..00000000000
259 --- a/media-gfx/asymptote/files/asymptote-2.41-configure-ac.patch
260 +++ /dev/null
261 @@ -1,13 +0,0 @@
262 -Index: asymptote-2.41/configure.ac
263 -===================================================================
264 ---- asymptote-2.41.orig/configure.ac
265 -+++ asymptote-2.41/configure.ac
266 -@@ -159,7 +159,7 @@ if test "x$ac_cv_use_gc" != "xno" ; then
267 - fi
268 - CPPFLAGS_SAVE=$CPPFLAGS
269 - CPPFLAGS=$CPPFLAGS" $INCL"
270 -- AC_CHECK_HEADER(gc.h,
271 -+ AC_CHECK_HEADER([gc/gc.h],
272 - AC_CHECK_LIB([gc],[GC_malloc],[
273 - LIBS=$LIBS"-lgc "
274 - AC_MSG_NOTICE([enabling system $GCNAME])],[
275
276 diff --git a/media-gfx/asymptote/files/asymptote-2.41-info.patch b/media-gfx/asymptote/files/asymptote-2.41-info.patch
277 deleted file mode 100644
278 index f1dc4309aa8..00000000000
279 --- a/media-gfx/asymptote/files/asymptote-2.41-info.patch
280 +++ /dev/null
281 @@ -1,13 +0,0 @@
282 -Index: asymptote-2.41/doc/asymptote.texi
283 -===================================================================
284 ---- asymptote-2.41.orig/doc/asymptote.texi
285 -+++ asymptote-2.41/doc/asymptote.texi
286 -@@ -21,7 +21,7 @@ file LICENSE in the top-level source dir
287 -
288 - @dircategory Languages
289 - @direntry
290 --* asymptote: (asymptote/asymptote). Vector graphics language.
291 -+* asymptote: (asymptote). Vector graphics language.
292 - @end direntry
293 -
294 - @titlepage
295
296 diff --git a/media-gfx/asymptote/files/asymptote-2.41-perl-5.26.patch b/media-gfx/asymptote/files/asymptote-2.41-perl-5.26.patch
297 deleted file mode 100644
298 index 54499b74e6c..00000000000
299 --- a/media-gfx/asymptote/files/asymptote-2.41-perl-5.26.patch
300 +++ /dev/null
301 @@ -1,10 +0,0 @@
302 -diff -r -U2 asymptote-2.41.orig/doc/FAQ/bfnnconv.pl asymptote-2.41/doc/FAQ/bfnnconv.pl
303 ---- asymptote-2.41.orig/doc/FAQ/bfnnconv.pl 2017-03-22 14:56:46.000000000 +0700
304 -+++ asymptote-2.41/doc/FAQ/bfnnconv.pl 2017-10-31 23:44:05.511045390 +0700
305 -@@ -62,5 +62,5 @@
306 - open(U,">$prefix.xrefdb-new");
307 -
308 --for $x (@outputs) { require("m-$x.pl"); }
309 -+for $x (@outputs) { require("./m-$x.pl"); }
310 -
311 - &call('init');
312
313 diff --git a/media-gfx/asymptote/files/asymptote-2.41-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.41-xdg-utils.patch
314 deleted file mode 100644
315 index 7f9b3344035..00000000000
316 --- a/media-gfx/asymptote/files/asymptote-2.41-xdg-utils.patch
317 +++ /dev/null
318 @@ -1,23 +0,0 @@
319 -Index: asymptote-2.41/settings.cc
320 -===================================================================
321 ---- asymptote-2.41.orig/settings.cc
322 -+++ asymptote-2.41/settings.cc
323 -@@ -91,15 +91,15 @@ bool msdos=false;
324 - string HOME="HOME";
325 - string docdir=ASYMPTOTE_DOCDIR;
326 - const char pathSeparator=':';
327 --string defaultPSViewer="gv";
328 -+string defaultPSViewer="xdg-open";
329 - #ifdef __APPLE__
330 - string defaultPDFViewer="open";
331 - #else
332 --string defaultPDFViewer="acroread";
333 -+string defaultPDFViewer="xdg-open";
334 - #endif
335 - string defaultGhostscript="gs";
336 - string defaultGhostscriptLibrary="/usr/lib/libgs.so";
337 --string defaultDisplay="display";
338 -+string defaultDisplay="xdg-open";
339 - string defaultAnimate="animate";
340 - void queryRegistry() {}
341 - const string dirsep="/";