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: Tue, 31 Oct 2017 17:05:51
Message-Id: 1509469528.f426b91b05aca75dcbc09c1f9647a1a08c9a47e5.grozin@gentoo
1 commit: f426b91b05aca75dcbc09c1f9647a1a08c9a47e5
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 31 17:05:28 2017 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 31 17:05:28 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f426b91b
7
8 media-gfx/asymptote: cleaning 2.36 and 2.38
9
10 Package-Manager: Portage-2.3.11, Repoman-2.3.3
11
12 media-gfx/asymptote/Manifest | 2 -
13 media-gfx/asymptote/asymptote-2.36.ebuild | 210 ---------------------
14 media-gfx/asymptote/asymptote-2.38.ebuild | 210 ---------------------
15 .../files/asymptote-2.36-configure-ac.patch | 32 ----
16 .../asymptote/files/asymptote-2.36-info.patch | 13 --
17 .../asymptote/files/asymptote-2.36-xdg-utils.patch | 23 ---
18 .../files/asymptote-2.38-configure-ac.patch | 13 --
19 .../asymptote/files/asymptote-2.38-info.patch | 13 --
20 .../asymptote/files/asymptote-2.38-xdg-utils.patch | 23 ---
21 9 files changed, 539 deletions(-)
22
23 diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
24 index c87ab5087f6..57ab324d0a5 100644
25 --- a/media-gfx/asymptote/Manifest
26 +++ b/media-gfx/asymptote/Manifest
27 @@ -1,4 +1,2 @@
28 DIST asymptote-2.32.src.tgz 1794495 SHA256 2035035e02774598312d5588da2685d20fb85a378ea2bbe48b825c5442b18fa5 SHA512 a0663f1768cb4340bb6e9224d4fbc6e2f8b41501b1f59793d84db2e0f99b9ff071d3dd8fa5c4715c1874f8ef1af713a54b27de37ff40d8ca042f0f48579a57f9 WHIRLPOOL 38a8aaa581acb07bcc7ac0c802222501acf77abaf609d5ae758d9b5668ac6b8b1343640259cc3948e62a39862404709ddb64b4bbd11bcf20dbb7ce29d4fc25d1
29 -DIST asymptote-2.36.src.tgz 3449528 SHA256 cd3276cba498965f8c9e6c56b157d2f22304b0453d175bd9017b4c62b3fd1750 SHA512 18b079829f90561f88ebde0391f5d842d89ea28bf7b00306b908faeeca21b421127423af3a335bab9afa22036b3d93611702a579513d8a458be2f8cdd542222f WHIRLPOOL 532b221d619c8af077e0ef4cda960e6bc1b2c2eab263cfa1eb729df5928f7ae1d9e05459efee18a5a4fa4464b0b3aacd7f5ab42076e8af4e1fc3745f75dd9b6c
30 -DIST asymptote-2.38.src.tgz 3460789 SHA256 e9c6dbb3fed27cbaf9ba01fd2264f0cff51781466acb29e76418bed801debcb7 SHA512 c54974a0476a33112c7913cfd8962e80a5ff10bc11f65b59a2bc0641f3c2fcfe69ba4592d84b33078d85c43fab7261670195766eca6419f6fd4923fd1ace6904 WHIRLPOOL f1d0a31fe25046c072a4963f64c92f718d980712f46637db65a5664c0a94c1eba162902c9ec4e787685f2250158ecffa9e834564ecbd69c6e3b948c5ad7d7a24
31 DIST asymptote-2.41.src.tgz 3516426 SHA256 1d6e7e89fb5293fad7d836fb0477f785a113f689bd71f37a05af18ff0c5eeef0 SHA512 93f737a44b085c2290c4553c765cf49679820e6623bc5b6d0229818409868876275d6f0571abeb76033955fa95ee594e37d10c9901c54755b085e36760fd96cb WHIRLPOOL e75a6a2b4e29c3388f221b86958b6564edb14a46dad014acdc81554e1f0ac6b889c757f5a0626af6fb46783bf02393f73e92d2209080a31d665bc23550714a39
32
33 diff --git a/media-gfx/asymptote/asymptote-2.36.ebuild b/media-gfx/asymptote/asymptote-2.36.ebuild
34 deleted file mode 100644
35 index ce68c0d99b8..00000000000
36 --- a/media-gfx/asymptote/asymptote-2.36.ebuild
37 +++ /dev/null
38 @@ -1,210 +0,0 @@
39 -# Copyright 1999-2016 Gentoo Foundation
40 -# Distributed under the terms of the GNU General Public License v2
41 -
42 -EAPI=5
43 -
44 -PYTHON_COMPAT=( python2_7 )
45 -
46 -inherit autotools elisp-common eutils latex-package multilib python-single-r1
47 -
48 -DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
49 -HOMEPAGE="http://asymptote.sourceforge.net/"
50 -SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
51 -
52 -LICENSE="GPL-3"
53 -SLOT="0"
54 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
55 -IUSE="+boehm-gc doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg vim-syntax X"
56 -
57 -REQUIRED_USE="
58 - ${PYTHON_REQUIRED_USE}
59 - offscreen? ( opengl )"
60 -
61 -RDEPEND="
62 - >=sys-libs/ncurses-5.4-r5:0=
63 - >=sys-libs/readline-4.3-r5:0=
64 - imagemagick? ( media-gfx/imagemagick[png] )
65 - opengl? ( >=media-libs/mesa-8 )
66 - offscreen? ( media-libs/mesa[osmesa] )
67 - svg? ( app-text/dvisvgm )
68 - sigsegv? ( dev-libs/libsigsegv )
69 - boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
70 - fftw? ( >=sci-libs/fftw-3.0.1 )
71 - gsl? ( sci-libs/gsl )
72 - python? ( ${PYTHON_DEPS} )
73 - X? (
74 - ${PYTHON_DEPS}
75 - x11-misc/xdg-utils
76 - dev-python/pillow[tk,${PYTHON_USEDEP}]
77 - )
78 - latex? (
79 - virtual/latex-base
80 - >=dev-texlive/texlive-latexextra-2013
81 - )
82 - emacs? ( virtual/emacs )
83 - vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
84 -DEPEND="${RDEPEND}
85 - doc? (
86 - dev-lang/perl
87 - media-gfx/imagemagick[png]
88 - virtual/texi2dvi
89 - virtual/latex-base
90 - )"
91 -
92 -TEXMF=/usr/share/texmf-site
93 -
94 -pkg_setup() {
95 - (use python || use X) && python-single-r1_pkg_setup
96 -}
97 -
98 -src_prepare() {
99 - # Fixing sigsegv enabling
100 - epatch "${FILESDIR}/${P}-configure-ac.patch"
101 - einfo "Patching configure.ac"
102 - sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
103 - -i configure.ac \
104 - || die "sed configure.ac failed"
105 -
106 - # Changing pdf, ps, image viewers to xdg-open
107 - epatch "${FILESDIR}/${P}-xdg-utils.patch"
108 -
109 - # Bug #322473
110 - epatch "${FILESDIR}/${P}-info.patch"
111 -
112 - eautoreconf
113 -}
114 -
115 -src_configure() {
116 - # for the CPPFLAGS see
117 - # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
118 - econf \
119 - CPPFLAGS=-DHAVE_SYS_TYPES_H \
120 - CFLAGS="${CXXFLAGS}" \
121 - --disable-gc-debug \
122 - $(use_enable boehm-gc gc system) \
123 - $(use_enable fftw) \
124 - $(use_enable gsl) \
125 - $(use_enable opengl gl) \
126 - $(use_enable offscreen) \
127 - $(use_with sigsegv)
128 -}
129 -
130 -src_compile() {
131 - default
132 -
133 - cd doc || die
134 - emake asy.1
135 - if use doc; then
136 - # info
137 - einfo "Making info"
138 - emake ${PN}.info
139 - cd FAQ || die
140 - emake
141 - cd .. || die
142 - # pdf
143 - einfo "Making pdf docs"
144 - export VARTEXFONTS="${T}"/fonts
145 - # see bug #260606
146 - emake -j1 asymptote.pdf
147 - emake CAD.pdf
148 - fi
149 - cd .. || die
150 -
151 - if use emacs; then
152 - einfo "Compiling emacs lisp files"
153 - elisp-compile base/*.el
154 - fi
155 -}
156 -
157 -src_install() {
158 - # the program
159 - dobin asy
160 -
161 - # .asy files
162 - insinto /usr/share/${PN}
163 - doins base/*.asy
164 -
165 - # documentation
166 - dodoc BUGS ChangeLog README ReleaseNotes TODO
167 - doman doc/asy.1
168 -
169 - # X GUI
170 - if use X; then
171 - python_scriptinto /usr/share/${PN}/GUI
172 - python_doscript GUI/*.py
173 - dosym /usr/share/${PN}/GUI/xasy.py /usr/bin/xasy
174 - doman doc/xasy.1x
175 - fi
176 -
177 - # examples
178 - if use examples; then
179 - insinto /usr/share/${PN}/examples
180 - doins \
181 - examples/*.asy \
182 - examples/*.eps \
183 - doc/*.asy \
184 - doc/*.csv \
185 - doc/*.dat \
186 - doc/extra/*.asy
187 - use X && doins GUI/*.asy
188 -
189 - insinto /usr/share/${PN}/examples/animations
190 - doins examples/animations/*.asy
191 - fi
192 -
193 - # LaTeX style
194 - if use latex; then
195 - cd doc || die
196 - insinto "${TEXMF}"/tex/latex/${PN}
197 - doins ${PN}.sty asycolors.sty
198 - if use examples; then
199 - insinto /usr/share/${PN}/examples
200 - doins latexusage.tex
201 - fi
202 - cd .. || die
203 - fi
204 -
205 - # asymptote.py
206 - use python && python_domodule base/${PN}.py
207 -
208 - # emacs mode
209 - if use emacs; then
210 - elisp-install ${PN} base/*.el base/*.elc
211 - elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
212 - fi
213 -
214 - # vim syntax
215 - if use vim-syntax; then
216 - insinto /usr/share/vim/vimfiles/syntax
217 - doins base/asy.vim
218 - insinto /usr/share/vim/vimfiles/ftdetect
219 - doins "${FILESDIR}"/asy-ftd.vim
220 - fi
221 -
222 - # extra documentation
223 - if use doc; then
224 - cd doc || die
225 - doinfo ${PN}.info*
226 - cd FAQ || die
227 - dodoc asy-faq.ascii
228 - doinfo asy-faq.info
229 - insinto /usr/share/doc/${PF}/html/FAQ
230 - doins asy-faq.html/*
231 - cd .. || die
232 - insinto /usr/share/doc/${PF}
233 - doins ${PN}.pdf CAD.pdf
234 - fi
235 -}
236 -
237 -pkg_postinst() {
238 - use latex && latex-package_rehash
239 - use emacs && elisp-site-regen
240 -
241 - elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
242 - elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
243 -}
244 -
245 -pkg_postrm() {
246 - use latex && latex-package_rehash
247 - use emacs && elisp-site-regen
248 -}
249
250 diff --git a/media-gfx/asymptote/asymptote-2.38.ebuild b/media-gfx/asymptote/asymptote-2.38.ebuild
251 deleted file mode 100644
252 index 7c441dfe248..00000000000
253 --- a/media-gfx/asymptote/asymptote-2.38.ebuild
254 +++ /dev/null
255 @@ -1,210 +0,0 @@
256 -# Copyright 1999-2016 Gentoo Foundation
257 -# Distributed under the terms of the GNU General Public License v2
258 -
259 -EAPI=5
260 -
261 -PYTHON_COMPAT=( python2_7 )
262 -
263 -inherit autotools elisp-common eutils latex-package multilib python-single-r1
264 -
265 -DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
266 -HOMEPAGE="http://asymptote.sourceforge.net/"
267 -SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
268 -
269 -LICENSE="GPL-3"
270 -SLOT="0"
271 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
272 -IUSE="+boehm-gc doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg vim-syntax X"
273 -
274 -REQUIRED_USE="
275 - ${PYTHON_REQUIRED_USE}
276 - offscreen? ( opengl )"
277 -
278 -RDEPEND="
279 - >=sys-libs/ncurses-5.4-r5:0=
280 - >=sys-libs/readline-4.3-r5:0=
281 - imagemagick? ( media-gfx/imagemagick[png] )
282 - opengl? ( >=media-libs/mesa-8 )
283 - offscreen? ( media-libs/mesa[osmesa] )
284 - svg? ( app-text/dvisvgm )
285 - sigsegv? ( dev-libs/libsigsegv )
286 - boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
287 - fftw? ( >=sci-libs/fftw-3.0.1 )
288 - gsl? ( sci-libs/gsl )
289 - python? ( ${PYTHON_DEPS} )
290 - X? (
291 - ${PYTHON_DEPS}
292 - x11-misc/xdg-utils
293 - dev-python/pillow[tk,${PYTHON_USEDEP}]
294 - )
295 - latex? (
296 - virtual/latex-base
297 - >=dev-texlive/texlive-latexextra-2013
298 - )
299 - emacs? ( virtual/emacs )
300 - vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
301 -DEPEND="${RDEPEND}
302 - doc? (
303 - dev-lang/perl
304 - media-gfx/imagemagick[png]
305 - virtual/texi2dvi
306 - virtual/latex-base
307 - )"
308 -
309 -TEXMF=/usr/share/texmf-site
310 -
311 -pkg_setup() {
312 - (use python || use X) && python-single-r1_pkg_setup
313 -}
314 -
315 -src_prepare() {
316 - # gc.h -> gc/gc.h
317 - epatch "${FILESDIR}/${P}-configure-ac.patch"
318 -
319 - sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
320 - -i configure.ac \
321 - || die "sed configure.ac failed"
322 -
323 - # Changing pdf, ps, image viewers to xdg-open
324 - epatch "${FILESDIR}/${P}-xdg-utils.patch"
325 -
326 - # Bug #322473
327 - epatch "${FILESDIR}/${P}-info.patch"
328 -
329 - eautoreconf
330 -}
331 -
332 -src_configure() {
333 - # for the CPPFLAGS see
334 - # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
335 - econf \
336 - CPPFLAGS=-DHAVE_SYS_TYPES_H \
337 - CFLAGS="${CXXFLAGS}" \
338 - --disable-gc-debug \
339 - $(use_enable boehm-gc gc system) \
340 - $(use_enable fftw) \
341 - $(use_enable gsl) \
342 - $(use_enable opengl gl) \
343 - $(use_enable offscreen) \
344 - $(use_enable sigsegv)
345 -}
346 -
347 -src_compile() {
348 - default
349 -
350 - cd doc || die
351 - emake asy.1
352 - if use doc; then
353 - # info
354 - einfo "Making info"
355 - emake ${PN}.info
356 - cd FAQ || die
357 - emake
358 - cd .. || die
359 - # pdf
360 - einfo "Making pdf docs"
361 - export VARTEXFONTS="${T}"/fonts
362 - # see bug #260606
363 - emake -j1 asymptote.pdf
364 - emake CAD.pdf
365 - fi
366 - cd .. || die
367 -
368 - if use emacs; then
369 - einfo "Compiling emacs lisp files"
370 - elisp-compile base/*.el
371 - fi
372 -}
373 -
374 -src_install() {
375 - # the program
376 - dobin asy
377 -
378 - # .asy files
379 - insinto /usr/share/${PN}
380 - doins base/*.asy
381 -
382 - # documentation
383 - dodoc BUGS ChangeLog README ReleaseNotes TODO
384 - doman doc/asy.1
385 -
386 - # X GUI
387 - if use X; then
388 - python_scriptinto /usr/share/${PN}/GUI
389 - python_doscript GUI/*.py
390 - dosym /usr/share/${PN}/GUI/xasy.py /usr/bin/xasy
391 - doman doc/xasy.1x
392 - fi
393 -
394 - # examples
395 - if use examples; then
396 - insinto /usr/share/${PN}/examples
397 - doins \
398 - examples/*.asy \
399 - examples/*.eps \
400 - doc/*.asy \
401 - doc/*.csv \
402 - doc/*.dat \
403 - doc/extra/*.asy
404 - use X && doins GUI/*.asy
405 -
406 - insinto /usr/share/${PN}/examples/animations
407 - doins examples/animations/*.asy
408 - fi
409 -
410 - # LaTeX style
411 - if use latex; then
412 - cd doc || die
413 - insinto "${TEXMF}"/tex/latex/${PN}
414 - doins ${PN}.sty asycolors.sty
415 - if use examples; then
416 - insinto /usr/share/${PN}/examples
417 - doins latexusage.tex
418 - fi
419 - cd .. || die
420 - fi
421 -
422 - # asymptote.py
423 - use python && python_domodule base/${PN}.py
424 -
425 - # emacs mode
426 - if use emacs; then
427 - elisp-install ${PN} base/*.el base/*.elc
428 - elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
429 - fi
430 -
431 - # vim syntax
432 - if use vim-syntax; then
433 - insinto /usr/share/vim/vimfiles/syntax
434 - doins base/asy.vim
435 - insinto /usr/share/vim/vimfiles/ftdetect
436 - doins "${FILESDIR}"/asy-ftd.vim
437 - fi
438 -
439 - # extra documentation
440 - if use doc; then
441 - cd doc || die
442 - doinfo ${PN}.info*
443 - cd FAQ || die
444 - dodoc asy-faq.ascii
445 - doinfo asy-faq.info
446 - insinto /usr/share/doc/${PF}/html/FAQ
447 - doins asy-faq.html/*
448 - cd .. || die
449 - insinto /usr/share/doc/${PF}
450 - doins ${PN}.pdf CAD.pdf
451 - fi
452 -}
453 -
454 -pkg_postinst() {
455 - use latex && latex-package_rehash
456 - use emacs && elisp-site-regen
457 -
458 - elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
459 - elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
460 -}
461 -
462 -pkg_postrm() {
463 - use latex && latex-package_rehash
464 - use emacs && elisp-site-regen
465 -}
466
467 diff --git a/media-gfx/asymptote/files/asymptote-2.36-configure-ac.patch b/media-gfx/asymptote/files/asymptote-2.36-configure-ac.patch
468 deleted file mode 100644
469 index ea8bc4525d2..00000000000
470 --- a/media-gfx/asymptote/files/asymptote-2.36-configure-ac.patch
471 +++ /dev/null
472 @@ -1,32 +0,0 @@
473 -Index: asymptote-2.36/configure.ac
474 -===================================================================
475 ---- asymptote-2.36.orig/configure.ac
476 -+++ asymptote-2.36/configure.ac
477 -@@ -156,7 +156,7 @@ if test "x$ac_cv_use_gc" != "xno" ; then
478 - fi
479 - CPPFLAGS_SAVE=$CPPFLAGS
480 - CPPFLAGS=$CPPFLAGS" $INCL"
481 -- AC_CHECK_HEADER(gc.h,
482 -+ AC_CHECK_HEADER([gc/gc.h],
483 - AC_CHECK_LIB([gc],[GC_malloc],[
484 - LIBS=$LIBS"-lgc "
485 - AC_MSG_NOTICE([enabling system $GCNAME])],[
486 -@@ -231,7 +231,17 @@ AC_MSG_ERROR([*** Please install libm on
487 - AC_CHECK_LIB([z], [deflate],,
488 - AC_MSG_ERROR([*** Please install libz or zlib-devel on your system ***]))
489 - AX_PTHREAD
490 --AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler])
491 -+
492 -+AC_ARG_WITH(sigsegv,
493 -+ [ --with-sigsegv use libsigsegv],
494 -+ [with_sigsegv=$withval],
495 -+ [with_sigsegv="no"])
496 -+if test "$with_sigsegv" = "yes"; then
497 -+AC_CHECK_HEADER([sigsegv.h],
498 -+ AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]),
499 -+ AC_MSG_NOTICE([*** Header file sigsegv.h not found ***]))
500 -+fi
501 -+
502 - AC_CHECK_LIB([rt], [sched_yield])
503 -
504 - AC_ARG_ENABLE(readline,
505
506 diff --git a/media-gfx/asymptote/files/asymptote-2.36-info.patch b/media-gfx/asymptote/files/asymptote-2.36-info.patch
507 deleted file mode 100644
508 index 950732838e3..00000000000
509 --- a/media-gfx/asymptote/files/asymptote-2.36-info.patch
510 +++ /dev/null
511 @@ -1,13 +0,0 @@
512 -Index: asymptote-2.36/doc/asymptote.texi
513 -===================================================================
514 ---- asymptote-2.36.orig/doc/asymptote.texi
515 -+++ asymptote-2.36/doc/asymptote.texi
516 -@@ -21,7 +21,7 @@ file LICENSE in the top-level source dir
517 -
518 - @dircategory Languages
519 - @direntry
520 --* asymptote: (asymptote/asymptote). Vector graphics language.
521 -+* asymptote: (asymptote). Vector graphics language.
522 - @end direntry
523 -
524 - @titlepage
525
526 diff --git a/media-gfx/asymptote/files/asymptote-2.36-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.36-xdg-utils.patch
527 deleted file mode 100644
528 index 4763a52084e..00000000000
529 --- a/media-gfx/asymptote/files/asymptote-2.36-xdg-utils.patch
530 +++ /dev/null
531 @@ -1,23 +0,0 @@
532 -Index: asymptote-2.36/settings.cc
533 -===================================================================
534 ---- asymptote-2.36.orig/settings.cc
535 -+++ asymptote-2.36/settings.cc
536 -@@ -90,15 +90,15 @@ bool msdos=false;
537 - string HOME="HOME";
538 - string docdir=ASYMPTOTE_DOCDIR;
539 - const char pathSeparator=':';
540 --string defaultPSViewer="gv";
541 -+string defaultPSViewer="xdg-open";
542 - #ifdef __APPLE__
543 - string defaultPDFViewer="open";
544 - #else
545 --string defaultPDFViewer="acroread";
546 -+string defaultPDFViewer="xdg-open";
547 - #endif
548 - string defaultGhostscript="gs";
549 - string defaultGhostscriptLibrary="/usr/lib/libgs.so";
550 --string defaultDisplay="display";
551 -+string defaultDisplay="xdg-open";
552 - string defaultAnimate="animate";
553 - void queryRegistry() {}
554 - const string dirsep="/";
555
556 diff --git a/media-gfx/asymptote/files/asymptote-2.38-configure-ac.patch b/media-gfx/asymptote/files/asymptote-2.38-configure-ac.patch
557 deleted file mode 100644
558 index 3acff863dad..00000000000
559 --- a/media-gfx/asymptote/files/asymptote-2.38-configure-ac.patch
560 +++ /dev/null
561 @@ -1,13 +0,0 @@
562 -Index: asymptote-2.38/configure.ac
563 -===================================================================
564 ---- asymptote-2.38.orig/configure.ac
565 -+++ asymptote-2.38/configure.ac
566 -@@ -156,7 +156,7 @@ if test "x$ac_cv_use_gc" != "xno" ; then
567 - fi
568 - CPPFLAGS_SAVE=$CPPFLAGS
569 - CPPFLAGS=$CPPFLAGS" $INCL"
570 -- AC_CHECK_HEADER(gc.h,
571 -+ AC_CHECK_HEADER([gc/gc.h],
572 - AC_CHECK_LIB([gc],[GC_malloc],[
573 - LIBS=$LIBS"-lgc "
574 - AC_MSG_NOTICE([enabling system $GCNAME])],[
575
576 diff --git a/media-gfx/asymptote/files/asymptote-2.38-info.patch b/media-gfx/asymptote/files/asymptote-2.38-info.patch
577 deleted file mode 100644
578 index 7005f152518..00000000000
579 --- a/media-gfx/asymptote/files/asymptote-2.38-info.patch
580 +++ /dev/null
581 @@ -1,13 +0,0 @@
582 -Index: asymptote-2.38/doc/asymptote.texi
583 -===================================================================
584 ---- asymptote-2.38.orig/doc/asymptote.texi
585 -+++ asymptote-2.38/doc/asymptote.texi
586 -@@ -21,7 +21,7 @@ file LICENSE in the top-level source dir
587 -
588 - @dircategory Languages
589 - @direntry
590 --* asymptote: (asymptote/asymptote). Vector graphics language.
591 -+* asymptote: (asymptote). Vector graphics language.
592 - @end direntry
593 -
594 - @titlepage
595
596 diff --git a/media-gfx/asymptote/files/asymptote-2.38-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.38-xdg-utils.patch
597 deleted file mode 100644
598 index 044244e4008..00000000000
599 --- a/media-gfx/asymptote/files/asymptote-2.38-xdg-utils.patch
600 +++ /dev/null
601 @@ -1,23 +0,0 @@
602 -Index: asymptote-2.38/settings.cc
603 -===================================================================
604 ---- asymptote-2.38.orig/settings.cc
605 -+++ asymptote-2.38/settings.cc
606 -@@ -91,15 +91,15 @@ bool msdos=false;
607 - string HOME="HOME";
608 - string docdir=ASYMPTOTE_DOCDIR;
609 - const char pathSeparator=':';
610 --string defaultPSViewer="gv";
611 -+string defaultPSViewer="xdg-open";
612 - #ifdef __APPLE__
613 - string defaultPDFViewer="open";
614 - #else
615 --string defaultPDFViewer="acroread";
616 -+string defaultPDFViewer="xdg-open";
617 - #endif
618 - string defaultGhostscript="gs";
619 - string defaultGhostscriptLibrary="/usr/lib/libgs.so";
620 --string defaultDisplay="display";
621 -+string defaultDisplay="xdg-open";
622 - string defaultAnimate="animate";
623 - void queryRegistry() {}
624 - const string dirsep="/";